/* Match detail V19 — Hero and official market presentation only. */

/* Hero: competition label, strong team identities and a fixed central kickoff axis. */
html:root .pd-md-v19 .pd-md-hero {
    gap:14px;
    padding:16px 28px 18px;
    border-color:rgba(64,132,214,.48);
    background:
        radial-gradient(circle at 50% -20%,rgba(39,120,210,.28),transparent 48%),
        linear-gradient(135deg,rgba(10,30,56,.98),rgba(7,20,39,.98));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 16px 38px rgba(1,8,20,.14);
}
html:root .pd-md-v19 .pd-md-hero-top { min-height:22px; justify-content:flex-start; }
html:root .pd-md-v19 .pd-v17-competition { max-width:100%; }
html:root .pd-md-v19 .pd-v17-competition .pd-v3-sport { color:#8ea8c9; font-size:11px; font-weight:650; }
html:root .pd-md-v19 .pd-v17-competition .pd-md-hero-league {
    color:#c9dcf4;
    font-size:11px;
    font-weight:750;
    letter-spacing:.01em;
}
html:root .pd-md-v19 .pd-v17-scoreboard {
    grid-template-columns:minmax(0,1fr) minmax(210px,.46fr) minmax(0,1fr);
    align-items:center;
    width:100%;
    max-width:1160px;
    min-height:92px;
    gap:24px;
}
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team,
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away {
    display:flex;
    flex-direction:row;
    grid-template:none;
    align-items:center;
    width:100%;
    min-width:0;
    min-height:80px;
    gap:16px;
}
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team { justify-content:flex-start; }
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away { justify-content:flex-end; }
html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-team-copy {
    display:flex;
    flex:1 1 auto;
    align-items:center;
    min-width:0;
    min-height:80px;
}
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo,
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo img {
    width:76px;
    height:76px;
}
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo {
    flex:0 0 76px;
    border-radius:15px;
    background:rgba(15,38,66,.82);
    box-shadow:0 10px 24px rgba(0,0,0,.24),inset 0 0 0 1px rgba(127,181,239,.13);
}
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo img { padding:5px; box-sizing:border-box; }
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-initial { font-size:19px; font-weight:850; }
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-name,
html:root .pd-md-v19 .pd-v17-scoreboard .is-away .pd-md-hero-name {
    width:100%;
    max-width:100%;
    overflow:visible;
    color:#f5f9ff;
    font-size:26px;
    font-weight:850;
    line-height:1.17;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team .pd-md-hero-name { text-align:left; }
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away .pd-md-hero-name { text-align:right; }
html:root .pd-md-v19 .pd-v17-kickoff {
    position:relative;
    display:flex;
    align-self:stretch;
    align-items:center;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:0 30px;
}
html:root .pd-md-v19 .pd-v17-kickoff::before,
html:root .pd-md-v19 .pd-v17-kickoff::after {
    position:absolute;
    top:18px;
    bottom:18px;
    width:1px;
    background:linear-gradient(180deg,transparent,rgba(118,161,215,.38),transparent);
    content:"";
}
html:root .pd-md-v19 .pd-v17-kickoff::before { left:0; }
html:root .pd-md-v19 .pd-v17-kickoff::after { right:0; }
html:root .pd-md-v19 .pd-v17-kickoff > span:first-child { color:#a9bdd7; font-size:12px; font-weight:700; }
html:root .pd-md-v19 .pd-v17-kickoff strong {
    margin-top:7px;
    color:#fff;
    font-size:42px;
    font-weight:850;
    line-height:1;
    letter-spacing:-.035em;
    text-shadow:0 5px 18px rgba(0,0,0,.3);
}
html:root .pd-md-v19 .pd-md-hero > .pd-md-probability { padding-top:12px; }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choices {
    width:100%;
    max-width:1200px;
    height:38px;
    overflow:hidden;
    border:1px solid rgba(126,166,211,.13);
    border-radius:999px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 18px rgba(0,0,0,.16);
}
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice {
    flex-direction:row;
    min-width:82px;
    gap:5px;
    padding:0 12px;
    white-space:nowrap;
}
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice:nth-child(1) { background:linear-gradient(90deg,#198de0,#2ba8f5); }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice:nth-child(2) { background:linear-gradient(90deg,#64748b,#7b8ca2); }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice:nth-child(3) { background:linear-gradient(90deg,#7045db,#8d50ec); }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice + .pd-md-prob-choice { border-left:1px solid rgba(7,20,39,.72); }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice strong {
    flex:0 0 auto;
    font-size:14px;
    font-weight:900;
}
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-label {
    min-width:0;
    overflow:hidden;
    font-size:12px;
    font-weight:800;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* Recent: keep the two independent data streams while giving each the full content width. */
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-cols {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:22px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col,
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col + .pd-md-form-col {
    min-width:0;
    margin:0;
    padding:18px 20px 16px;
    border:1px solid rgba(65,133,211,.3);
    border-radius:15px;
    background:linear-gradient(145deg,rgba(7,25,45,.9),rgba(6,20,37,.78));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team {
    display:flex;
    align-items:center;
    min-height:48px;
    gap:12px;
    padding:0 4px 14px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role {
    flex:none;
    padding:8px 12px;
    border-radius:8px;
    color:#fff;
    font-size:12px;
    font-weight:850;
    white-space:nowrap;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role.is-home { background:linear-gradient(135deg,#198de0,#319ff0); }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role.is-away { background:linear-gradient(135deg,#df3657,#ef4b68); }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo,
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo img {
    width:44px;
    height:44px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo {
    position:relative;
    display:inline-grid;
    flex:0 0 44px;
    place-items:center;
    overflow:hidden;
    border-radius:10px;
    background:rgba(15,38,66,.84);
    box-shadow:inset 0 0 0 1px rgba(127,181,239,.14);
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo img {
    position:absolute;
    inset:0;
    display:block;
    box-sizing:border-box;
    padding:3px;
    object-fit:contain;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name {
    min-width:0;
    overflow:visible;
    color:#f2f7ff;
    font-size:20px;
    font-weight:850;
    line-height:1.25;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-n {
    flex:none;
    margin-left:auto;
    color:#91a9c8;
    font-size:12px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-columns,
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-row {
    display:grid;
    grid-template-columns:110px minmax(150px,220px) minmax(0,1fr) 82px 44px;
    gap:12px;
    align-items:center;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-columns {
    min-height:38px;
    padding:0 14px;
    border:1px solid rgba(91,142,205,.16);
    border-radius:9px 9px 0 0;
    background:rgba(22,51,83,.52);
    color:#91a8c6;
    font-size:11px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-columns span:nth-child(n+3) { text-align:center; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-list {
    border:1px solid rgba(91,142,205,.14);
    border-top:0;
    border-radius:0 0 9px 9px;
    background:rgba(5,18,33,.28);
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-row {
    min-height:62px;
    padding:9px 14px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-row + .pd-md-form-row { border-top:1px solid rgba(91,142,205,.13); }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-history-meta { display:contents; }
html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-md-form-date,.pd-md-form-league,.pd-md-form-match,.pd-md-form-score,.pd-md-form-badge) { grid-row:1; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-date {
    grid-column:1;
    color:#9ab0cb;
    font-size:12px;
    white-space:nowrap;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-league {
    display:block;
    grid-column:2;
    min-width:0;
    margin:0;
    overflow:visible;
    color:#849ab7;
    font-size:11px;
    line-height:1.35;
    text-align:left;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match {
    display:grid;
    grid-column:3;
    grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
    align-items:center;
    justify-self:stretch;
    width:100%;
    max-width:none;
    min-width:0;
    gap:10px;
    overflow:visible;
    color:#dce7f5;
    font-size:13px;
    line-height:1.35;
    white-space:normal;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > span:not(.pd-md-form-vs) {
    min-width:0;
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > span:first-child { text-align:right; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > span:last-child { text-align:left; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-vs {
    margin:0;
    color:#667f9f;
    font-size:10px;
    text-align:center;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-score {
    grid-column:4;
    justify-self:center;
    min-width:64px;
    box-sizing:border-box;
    padding:8px 10px;
    border-radius:8px;
    background:rgba(29,61,96,.66);
    color:#fff;
    font-size:17px;
    font-weight:900;
    text-align:center;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-badge {
    grid-column:5;
    justify-self:center;
    width:32px;
    height:32px;
    border-radius:9px;
    font-size:12px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-sum { margin-top:12px; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-more {
    display:grid;
    grid-template-columns:110px minmax(150px,220px) minmax(0,1fr) 82px 44px;
    gap:12px;
    margin-top:14px;
    padding:0 14px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-more-btn {
    grid-column:3;
    justify-self:center;
}

/* H2H: preserve stored rows and statistics while giving the panel one clear hierarchy. */
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-summary {
    padding:22px 26px 24px;
    border-color:rgba(65,133,211,.34);
    border-radius:15px;
    background:
        radial-gradient(circle at 50% 0,rgba(42,103,181,.16),transparent 52%),
        linear-gradient(145deg,rgba(7,25,45,.9),rgba(6,20,37,.78));
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-scoreline {
    grid-template-columns:minmax(0,1fr) minmax(230px,.72fr) minmax(0,1fr);
    gap:28px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team {
    display:flex;
    align-items:center;
    min-width:0;
    gap:16px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team.is-away {
    justify-content:flex-end;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong {
    min-width:0;
    overflow:visible;
    color:#f3f8ff;
    font-size:22px;
    font-weight:850;
    line-height:1.22;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team.is-away strong { text-align:right; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo img {
    width:62px;
    height:62px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo {
    position:relative;
    display:inline-grid;
    flex:0 0 62px;
    place-items:center;
    overflow:hidden;
    border-radius:13px;
    background:rgba(15,38,66,.84);
    box-shadow:0 8px 20px rgba(0,0,0,.2),inset 0 0 0 1px rgba(127,181,239,.14);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo img {
    position:absolute;
    inset:0;
    display:block;
    box-sizing:border-box;
    padding:4px;
    object-fit:contain;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small {
    margin-bottom:9px;
    color:#91a9c8;
    font-size:13px;
    font-weight:700;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record > div { gap:0; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b {
    min-width:70px;
    padding:0 15px;
    font-size:32px;
    font-weight:900;
    line-height:1.1;
    white-space:nowrap;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b + b {
    border-left:1px solid rgba(110,150,199,.28);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:24px 0 10px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head .pd-v16-h2h-list-title {
    margin:0;
    color:#f0f6ff;
    font-size:19px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head > span {
    color:#8da4c3;
    font-size:12px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row {
    display:grid;
    grid-template-columns:100px minmax(140px,190px) minmax(0,1fr) 90px 44px;
    gap:12px;
    align-items:center;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns {
    min-height:38px;
    padding:0 14px;
    border:1px solid rgba(91,142,205,.16);
    border-radius:9px 9px 0 0;
    background:rgba(22,51,83,.52);
    color:#91a8c6;
    font-size:11px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns span:nth-child(3),
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns span:nth-child(4),
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns span:nth-child(5) { text-align:center; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-list {
    border:1px solid rgba(91,142,205,.14);
    border-top:0;
    border-radius:0 0 9px 9px;
    background:rgba(5,18,33,.28);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row {
    min-height:66px;
    padding:10px 14px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row + .pd-md-h2h-row {
    border-top:1px solid rgba(91,142,205,.13);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-history-meta { display:contents; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-date,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-lg,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-form-badge { grid-row:1; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-date {
    grid-column:1;
    color:#9ab0cb;
    font-size:12px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-lg {
    display:block;
    grid-column:2;
    min-width:0;
    margin:0;
    overflow:visible;
    color:#849ab7;
    font-size:11px;
    line-height:1.35;
    text-align:left;
    text-overflow:clip;
    white-space:normal;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match {
    display:grid;
    grid-column:3;
    grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
    align-items:center;
    justify-self:stretch;
    width:100%;
    max-width:none;
    min-width:0;
    gap:10px;
    overflow:visible;
    color:#dce7f5;
    font-size:13px;
    line-height:1.35;
    white-space:normal;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span {
    min-width:0;
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span:first-child { text-align:right; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span:last-child { text-align:left; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-focus { color:#68b9ff; font-weight:800; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-vs {
    margin:0;
    color:#667f9f;
    font-size:10px;
    text-align:center;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score {
    grid-column:4;
    justify-self:center;
    min-width:64px;
    box-sizing:border-box;
    padding:8px 10px;
    border-radius:8px;
    background:rgba(29,61,96,.66);
    color:#fff;
    font-size:17px;
    font-weight:900;
    text-align:center;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-form-badge {
    grid-column:5;
    justify-self:center;
    width:32px;
    height:32px;
    border-radius:9px;
    font-size:12px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more {
    display:grid;
    grid-template-columns:100px minmax(140px,190px) minmax(0,1fr) 90px 44px;
    gap:12px;
    padding:0 14px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more-btn {
    grid-column:3;
    justify-self:center;
}

/* Recent/H2H typography: one scale for equivalent roles in both panels. */
html:root .pd-md-v19 .pd-v15-history {
    --pd-history-title-size:19px;
    --pd-history-team-heading-size:18px;
    --pd-history-match-size:14px;
    --pd-history-meta-size:12px;
}
html:root .pd-md-v19 .pd-v15-history,
html:root .pd-md-v19 .pd-v15-history * { font-family:var(--md-font); }
html:root .pd-md-v19 .pd-v15-history-head h2 {
    font-size:var(--pd-history-title-size);
    font-weight:700;
}
html:root .pd-md-v19 .pd-v15-tabs button {
    font-size:12px;
    font-weight:650;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong {
    font-size:var(--pd-history-team-heading-size);
    font-weight:700;
    line-height:1.3;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-n,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head > span {
    font-size:var(--pd-history-meta-size);
    font-weight:500;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-columns,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns {
    font-size:var(--pd-history-meta-size);
    font-weight:500;
}
html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-md-form-date,.pd-md-form-league),
html:root .pd-md-v19 #pd-v15-panel-h2h :is(.pd-md-h2h-date,.pd-md-h2h-lg) {
    font-size:var(--pd-history-meta-size);
    font-weight:500;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match {
    font-size:var(--pd-history-match-size);
    font-weight:650;
    line-height:1.4;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > span:not(.pd-md-form-vs),
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span:not(.pd-v16-h2h-vs) {
    font-weight:650;
    line-height:1.4;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > .pd-md-form-focus,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > .pd-md-h2h-focus { font-weight:750; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-vs,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-vs {
    font-size:12px;
    font-style:normal;
    font-weight:400;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-score,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score {
    font-size:14px;
    font-weight:700;
}
html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-v20-form-role,.pd-md-form-badge),
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-form-badge {
    font-size:12px;
    font-weight:700;
}
html:root .pd-md-v19 .pd-v15-history .pd-md-more-btn {
    font-size:12px;
    font-weight:600;
    line-height:1.2;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b {
    font-size:28px;
    font-weight:800;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head .pd-v16-h2h-list-title {
    font-size:18px;
    font-weight:700;
}

@media(max-width:700px) {
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-cols { gap:14px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col,
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col + .pd-md-form-col { padding:12px 10px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team { min-height:40px; gap:7px; padding:0 0 11px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role { padding:6px 8px; border-radius:7px; font-size:10px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo,
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo img { width:36px; height:36px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo { flex-basis:36px; border-radius:8px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name { font-size:14px; line-height:1.25; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-n { font-size:10px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-columns { display:none; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-list { border-top:1px solid rgba(91,142,205,.14); border-radius:9px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-row {
        grid-template-columns:minmax(0,1fr) auto 28px;
        grid-template-rows:auto auto;
        gap:8px 7px;
        min-height:86px;
        padding:11px 9px;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-history-meta {
        display:flex;
        grid-column:1/-1;
        grid-row:1;
        align-items:flex-start;
        flex-wrap:wrap;
        gap:3px 10px;
        min-width:0;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-date { flex:none; font-size:10px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-league { display:block; flex:1 1 170px; font-size:10px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match {
        grid-column:1;
        grid-row:2;
        gap:5px;
        font-size:11px;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-score {
        grid-column:2;
        grid-row:2;
        min-width:52px;
        padding:7px 6px;
        font-size:14px;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-badge {
        grid-column:3;
        grid-row:2;
        width:28px;
        height:28px;
        font-size:11px;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-sum { gap:7px; padding:10px 2px 0; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-more {
        display:block;
        padding:0;
        text-align:center;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-summary { padding:14px 10px 15px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-scoreline {
        grid-template-columns:minmax(0,1fr) 104px minmax(0,1fr);
        gap:7px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team { gap:6px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong { font-size:12px; line-height:1.25; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo,
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo img { width:38px; height:38px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo { flex-basis:38px; border-radius:9px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small { margin-bottom:5px; font-size:8px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b { min-width:0; padding:0 1px; font-size:12px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head { margin-top:18px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head .pd-v16-h2h-list-title { font-size:16px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns { display:none; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-list { border-top:1px solid rgba(91,142,205,.14); border-radius:9px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row {
        grid-template-columns:minmax(0,1fr) auto 30px;
        grid-template-rows:auto auto;
        gap:8px 7px;
        min-height:86px;
        padding:11px 9px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-history-meta {
        display:flex;
        grid-column:1/-1;
        grid-row:1;
        align-items:flex-start;
        flex-wrap:wrap;
        gap:3px 10px;
        min-width:0;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-date { flex:none; font-size:10px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-lg { display:block; flex:1 1 170px; font-size:10px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match {
        grid-column:1;
        grid-row:2;
        gap:5px;
        font-size:11px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score {
        grid-column:2;
        grid-row:2;
        min-width:52px;
        padding:7px 6px;
        font-size:14px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-form-badge {
        grid-column:3;
        grid-row:2;
        width:28px;
        height:28px;
        font-size:11px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more {
        display:block;
        padding:0;
        text-align:center;
    }
    html:root .pd-md-v19 .pd-v15-history {
        --pd-history-title-size:18px;
        --pd-history-team-heading-size:14px;
        --pd-history-match-size:12px;
        --pd-history-meta-size:11px;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name,
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong { font-size:var(--pd-history-team-heading-size); }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-n,
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small,
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head > span { font-size:var(--pd-history-meta-size); }
    html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-md-form-date,.pd-md-form-league),
    html:root .pd-md-v19 #pd-v15-panel-h2h :is(.pd-md-h2h-date,.pd-md-h2h-lg) { font-size:var(--pd-history-meta-size); }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match,
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match { font-size:var(--pd-history-match-size); }
    html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-v20-form-role,.pd-md-form-badge),
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-form-badge { font-size:11px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b { font-size:13px; }
}

/* Markets: keep every official button and data attribute, strengthen card hierarchy. */
html:root .pd-md-v19 #pd-predict { gap:16px; }
html:root .pd-md-v19 #pd-predict .pd-md-lines {
    padding:14px 16px;
    border-color:rgba(67,128,204,.38);
    background:linear-gradient(150deg,rgba(10,29,52,.97),rgba(7,20,38,.97));
}
html:root .pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head {
    padding-bottom:10px;
    border-bottom:1px solid rgba(94,145,205,.25);
}
html:root .pd-md-v19 #pd-predict .pd-v6-heading .pd-md-panel-title { font-size:20px; }
html:root .pd-md-v19 #pd-predict .pd-md-mk { padding:10px 1px; }
html:root .pd-md-v19 #pd-predict .pd-md-mk:last-child { padding-bottom:0; }
html:root .pd-md-v19 #pd-predict .pd-md-mk + .pd-md-mk { border-top-color:rgba(91,142,205,.2); }
html:root .pd-md-v19 #pd-predict .pd-md-mk-head { margin-bottom:6px; gap:7px; }
html:root .pd-md-v19 #pd-predict .pd-v7-market-icon { flex-basis:23px; width:23px; height:23px; }
html:root .pd-md-v19 #pd-predict .pd-v7-market-icon .pd-v9-icon { width:17px; height:17px; }
html:root .pd-md-v19 #pd-predict .pd-md-mk-name { color:#edf5ff; font-size:14px; font-weight:800; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-outs { gap:8px; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out {
    grid-template-columns:minmax(0,1fr) auto;
    min-height:50px;
    padding:7px 12px;
    border-color:rgba(105,145,197,.42);
    border-radius:11px;
    background:linear-gradient(145deg,rgba(24,47,78,.92),rgba(15,33,58,.94));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 18px rgba(0,0,0,.08);
}
html:root .pd-md-v19 #pd-predict .pd-md-out:hover:not(:disabled):not(.is-ineligible) {
    border-color:#4ea9ff;
    background:linear-gradient(145deg,rgba(29,62,102,.96),rgba(17,40,70,.96));
}
html:root .pd-md-v19 #pd-predict .pd-md-out.is-picked,
html:root .pd-md-v19 #pd-predict .pd-md-out[aria-pressed="true"] {
    border-color:#5aaeff;
    background:linear-gradient(135deg,rgba(26,78,145,.92),rgba(45,48,125,.9));
    box-shadow:inset 0 0 0 1px rgba(126,184,255,.34),0 10px 23px rgba(12,76,167,.18);
}
html:root .pd-md-v19 #pd-predict .pd-md-out:disabled,
html:root .pd-md-v19 #pd-predict .pd-md-out.is-ineligible {
    border-color:rgba(92,111,137,.24);
    background:rgba(22,35,53,.68);
    filter:saturate(.45);
    opacity:.5;
}
html:root .pd-md-v19 #pd-predict .pd-md-out-name {
    color:#dce9fa;
    font-size:13px;
    font-weight:700;
    line-height:1.35;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-predict .pd-md-out-odds {
    color:#fff;
    font-size:17px;
    font-weight:900;
    font-variant-numeric:tabular-nums;
    letter-spacing:-.025em;
}
html:root .pd-md-v19 #pd-predict .pd-md-mk-state {
    margin-left:auto;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(100,116,139,.18);
    color:#aebdce;
    font-size:9px;
    font-weight:800;
}
html:root .pd-md-v19 #pd-predict .pd-md-side > .pd-md-panel {
    border-color:rgba(126,81,230,.62);
    background:linear-gradient(160deg,rgba(24,28,64,.96),rgba(8,20,39,.98) 45%);
}

@media(max-width:900px) {
    html:root .pd-md-v19 .pd-v17-scoreboard {
        grid-template-columns:minmax(0,1fr) minmax(150px,.4fr) minmax(0,1fr);
        gap:14px;
    }
}

@media(max-width:700px) {
    html:root .pd-md-v19 .pd-md-hero { gap:10px; padding:11px 9px 10px; }
    html:root .pd-md-v19 .pd-md-hero-top { min-height:18px; }
    html:root .pd-md-v19 .pd-v17-competition .pd-md-hero-league {
        overflow:hidden;
        font-size:10px;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    html:root .pd-md-v19 .pd-v17-scoreboard {
        grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);
        align-items:center;
        min-height:72px;
        gap:6px;
    }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team,
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away {
        min-height:64px;
        gap:6px;
    }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-team-copy { min-height:64px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team:not(.is-away) .rt-team-logo { order:1; }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team:not(.is-away) .pd-v17-team-copy { order:2; }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away .pd-v17-team-copy { order:1; }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away .rt-team-logo { order:2; }
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo,
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo img { width:42px; height:42px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo { flex:0 0 42px; border-radius:10px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-initial { font-size:13px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-name,
    html:root .pd-md-v19 .pd-v17-scoreboard .is-away .pd-md-hero-name {
        font-size:13px;
        line-height:1.22;
    }
    html:root .pd-md-v19 .pd-v17-kickoff { align-self:stretch; padding:0 7px; }
    html:root .pd-md-v19 .pd-v17-kickoff::before,
    html:root .pd-md-v19 .pd-v17-kickoff::after { top:9px; bottom:9px; }
    html:root .pd-md-v19 .pd-v17-kickoff > span:first-child { font-size:8px; }
    html:root .pd-md-v19 .pd-v17-kickoff strong { margin-top:4px; font-size:24px; }
    html:root .pd-md-v19 .pd-md-hero > .pd-md-probability { padding-top:8px; }
    html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choices { height:34px; }
    html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice { flex-direction:row; min-width:70px; gap:3px; padding:0 6px; }
    html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice strong { font-size:11px; }
    html:root .pd-md-v19 .pd-md-hero .pd-md-prob-label { font-size:9px; }
    html:root .pd-md-v19 #pd-predict { gap:11px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines { padding:11px 9px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head { padding-bottom:8px; }
    html:root .pd-md-v19 #pd-predict .pd-v6-heading .pd-md-panel-title { font-size:18px; }
    html:root .pd-md-v19 #pd-predict .pd-md-mk { padding:8px 0; }
    html:root .pd-md-v19 #pd-predict .pd-md-mk-head { margin-bottom:5px; }
    html:root .pd-md-v19 #pd-predict .pd-md-mk-name { font-size:13px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-outs { gap:6px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out {
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        min-height:54px;
        gap:4px;
        padding:7px 7px;
        text-align:left;
    }
    html:root .pd-md-v19 #pd-predict .pd-md-out-name { width:auto; font-size:10px; }
    html:root .pd-md-v19 #pd-predict .pd-md-out-odds { font-size:16px; }
}

@media(max-width:390px) {
    html:root .pd-md-v19 .pd-v17-scoreboard { grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr); }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-name,
    html:root .pd-md-v19 .pd-v17-scoreboard .is-away .pd-md-hero-name { font-size:13px; }
    html:root .pd-md-v19 #pd-predict .pd-md-out-name { font-size:9px; }
    html:root .pd-md-v19 #pd-predict .pd-md-out-odds { font-size:16px; }
}
