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

/* Hero: competition label, strong team identities and a fixed central kickoff axis. */
html:root .pd-wrap.pd-md-v19 .pd-md-hero {
    gap:14px;
    padding:16px 28px 18px;
    border-color:rgba(67,128,204,.38);
    background:linear-gradient(150deg,rgba(10,29,52,.97),rgba(7,20,38,.97));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
html:root .pd-md-v19 .pd-md-hero-top { min-height:22px; justify-content:center; text-align:center; }
html:root .pd-md-v19 .pd-v17-competition { justify-content:center; width:100%; max-width:100%; }
html:root .pd-md-v19 .pd-v17-competition .pd-md-hero-sport { width:18px; height:18px; object-fit:contain; }
html:root .pd-md-v19 .pd-v17-competition .pd-md-hero-league {
    overflow:visible;
    color:#dce9f8;
    font-size:16px;
    font-weight:650;
    line-height:1.3;
    letter-spacing:.01em;
    text-align:center;
    text-overflow:clip;
    white-space:normal;
    overflow-wrap:anywhere;
}
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-logo:has(> img:not([hidden])) {
    border:0;
    background:transparent;
    box-shadow:none;
}
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo > img:not([hidden]) { background:transparent; }
html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo:has(> img:not([hidden])) > .rt-team-initial { visibility:hidden; }
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:nth-child(2):last-child { 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:36px;
    gap:9px;
    margin:0 0 4px;
    padding:0 2px 8px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role {
    flex:none;
    padding:5px 9px;
    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:34px;
    height:34px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo {
    position:relative;
    display:inline-grid;
    flex:0 0 34px;
    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:16px;
    font-weight:700;
    line-height:1.3;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
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;
    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-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;
    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:14px 18px 15px;
    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) 240px minmax(0,1fr);
    gap:20px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team {
    display:flex;
    align-items:center;
    min-width:0;
    gap:10px;
}
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:16px;
    font-weight:700;
    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-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:48px;
    height:48px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo {
    position:relative;
    display:inline-grid;
    flex:0 0 48px;
    place-items:center;
    overflow:hidden;
    border-radius:11px;
    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:3px;
    object-fit:contain;
}

/* Match-detail team identities follow the Hero image/fallback contract. */
html:root .pd-md-v19 :is(
    .pd-v14-team,
    .pd-v18-team-card-head,
    .pd-v18-availability-head,
    #pd-v15-panel-recent .pd-md-form-team,
    #pd-v15-panel-h2h .pd-v16-h2h-team
) > .rt-team-logo:has(> img:not([hidden])) {
    border:0;
    background:transparent;
    box-shadow:none;
}
html:root .pd-md-v19 :is(
    .pd-v14-team,
    .pd-v18-team-card-head,
    .pd-v18-availability-head,
    #pd-v15-panel-recent .pd-md-form-team,
    #pd-v15-panel-h2h .pd-v16-h2h-team
) > .rt-team-logo > img:not([hidden]) {
    background:transparent;
}
html:root .pd-md-v19 :is(
    .pd-v14-team,
    .pd-v18-team-card-head,
    .pd-v18-availability-head,
    #pd-v15-panel-recent .pd-md-form-team,
    #pd-v15-panel-h2h .pd-v16-h2h-team
) > .rt-team-logo:has(> img:not([hidden])) > .rt-team-initial {
    visibility:hidden;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small {
    margin-bottom:4px;
    color:#91a9c8;
    font-size:11px;
    font-weight:600;
}
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:56px;
    padding:0 8px;
    font-size:22px;
    font-weight:800;
    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:flex-start;
    margin:18px 0 8px;
}
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-columns,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row {
    display:grid;
    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-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 { 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-winner { 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-more {
    display:grid;
    padding:0 14px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more-btn {
    grid-column:3;
    justify-self:center;
}

@media(min-width:701px) {
    html:root .pd-md-v19 #pd-v15-panel-h2h :is(.pd-v20-h2h-columns,.pd-md-h2h-list,.pd-md-more) {
        margin-inline:21px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more {
        padding-inline:15px;
    }
}

/* Recent/H2H typography: one scale for equivalent roles in both panels. */
html:root .pd-md-v19 .pd-v15-history {
    --pd-history-accent:color-mix(in srgb,var(--rt-data-blue) 45%,var(--rt-positive));
    --pd-history-columns:minmax(0,9fr) minmax(0,20fr) minmax(0,51fr) minmax(0,12fr) minmax(0,8fr);
    --pd-h2h-columns:minmax(0,9fr) minmax(0,14fr) minmax(0,63fr) minmax(0,14fr);
    --pd-history-column-gap:12px;
    --pd-history-title-size:19px;
    --pd-history-team-heading-size:18px;
    --pd-history-match-size:14px;
    --pd-history-meta-size:12px;
    --pd-history-table-meta-size:13px;
    border-color:color-mix(in srgb,var(--pd-history-accent) 58%,transparent);
}
@media(min-width:701px) {
    /* Recent keeps five columns; H2H redistributes its removed result column. */
    html:root .pd-md-v19 .pd-v15-history :is(
        #pd-v15-panel-recent .pd-v20-form-columns,
        #pd-v15-panel-recent .pd-md-form-row,
        #pd-v15-panel-recent .pd-md-more
    ) {
        grid-template-columns:var(--pd-history-columns);
        column-gap:var(--pd-history-column-gap);
    }
    html:root .pd-md-v19 .pd-v15-history :is(
        #pd-v15-panel-h2h .pd-v20-h2h-columns,
        #pd-v15-panel-h2h .pd-md-h2h-row,
        #pd-v15-panel-h2h .pd-md-more
    ) {
        grid-template-columns:var(--pd-h2h-columns);
        column-gap:var(--pd-history-column-gap);
    }
    html:root .pd-md-v19 .pd-v15-history :is(
        #pd-v15-panel-recent .pd-md-form-date,
        #pd-v15-panel-recent .pd-md-form-league,
        #pd-v15-panel-h2h .pd-md-h2h-date,
        #pd-v15-panel-h2h .pd-md-h2h-lg
    ) {
        justify-self:stretch;
        text-align:center;
    }
}
html:root .pd-md-v19 .pd-v15-history :is(
    #pd-v15-panel-recent .pd-v20-form-columns,
    #pd-v15-panel-h2h .pd-v20-h2h-columns
) > span { text-align:center; }
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-history-head .pd-v9-heading-icon {
    color:var(--pd-history-accent);
}
html:root .pd-md-v19 .pd-v15-tabs {
    border-color:color-mix(in srgb,var(--pd-history-accent) 28%,transparent);
}
html:root .pd-md-v19 .pd-v15-tabs button {
    font-size:12px;
    font-weight:650;
}
html:root .pd-md-v19 .pd-v15-tabs button[aria-selected="true"] {
    color:#fff;
    background:color-mix(in srgb,var(--pd-history-accent) 24%,var(--rt-surface-2));
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pd-history-accent) 72%,transparent);
}
html:root .pd-md-v19 .pd-v15-tabs button:focus-visible {
    outline:2px solid var(--pd-history-accent);
    outline-offset:2px;
}
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-name { font-size:16px; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong { font-size:16px; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small { font-size:11px; font-weight:600; }
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 {
    color:#9ab0cb;
    font-size:var(--pd-history-table-meta-size);
    font-weight:600;
}
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) {
    color:#adc0da;
    font-size:var(--pd-history-table-meta-size);
    font-weight:600;
}
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-winner { 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) {
    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:22px;
    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:36px; gap:7px; margin-bottom:4px; padding:0 0 8px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role { padding:5px 7px; 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:34px; height:34px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo { flex-basis:34px; 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-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:10px 8px 11px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-scoreline {
        grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);
        gap:4px;
    }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team { gap:4px; }
    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:30px; height:30px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo { flex-basis:30px; border-radius:8px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small { margin-bottom:3px; font-size:9px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b { min-width:0; padding:0 1px; font-size:11px; }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head { margin-top:14px; }
    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;
        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-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;
        --pd-history-table-meta-size:12px;
    }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name { font-size:var(--pd-history-team-heading-size); }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong { font-size:12px; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-n { font-size:var(--pd-history-meta-size); }
    html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small { font-size:9px; }
    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-table-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:11px; }
}

/* 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:color-mix(in srgb,var(--rt-data-blue) 42%,transparent);
    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 color-mix(in srgb,var(--rt-data-blue) 28%,transparent);
}
html:root .pd-md-v19 #pd-predict :is(.pd-v12-predict-title-icon,.pd-v7-market-icon) {
    color:var(--rt-data-blue);
}
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:color-mix(in srgb,var(--rt-brand) 62%,transparent);
    background:linear-gradient(160deg,rgba(24,28,64,.96),rgba(8,20,39,.98) 45%);
}
html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel-head {
    border-bottom-color:color-mix(in srgb,var(--rt-brand) 28%,transparent);
}
html:root .pd-md-v19 #pd-predict .pd-md-side :is(.pd-v7-slip-icon,.pd-v7-empty-icon) {
    color:var(--rt-brand);
    border-color:color-mix(in srgb,var(--rt-brand) 32%,transparent);
    background:color-mix(in srgb,var(--rt-brand) 10%,var(--rt-surface-2));
}

@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-wrap.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 {
        font-size:13px;
    }
    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; }
}

/* 관련 뉴스툰 — 미니 카드 그리드 (경기 마켓·픽 등록 아래, 최근 경기/상대전적 위). 같은 기둥의 다른 상자와 같은 면·테두리를 쓴다. */
html:root .pd-md-v13 > .pd-md-news { margin-top:var(--pd-v15-gap); padding:16px 18px 18px; border:1px solid rgba(91,142,205,.22); border-radius:12px; background:rgba(8,25,44,.72); }
html:root .pd-md-news .pd-md-news-title { display:flex; align-items:center; gap:8px; margin:0 0 12px; color:#f0f6ff; font-size:18px; }
html:root .pd-md-news .pd-md-news-list { display:grid; grid-template-columns:repeat(3,minmax(0,270px)); justify-content:start; gap:14px; margin:0; padding:0; list-style:none; }
html:root .pd-md-news .pd-md-news-item { display:flex; flex-direction:column; height:100%; overflow:hidden; border:1px solid rgba(91,142,205,.18); border-radius:10px; background:rgba(4,16,30,.5); color:inherit; text-decoration:none; }
html:root .pd-md-news .pd-md-news-thumb { position:relative; display:block; aspect-ratio:16 / 9; overflow:hidden; background:rgba(4,16,30,.6); }
html:root .pd-md-news .pd-md-news-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
html:root .pd-md-news .pd-md-news-empty { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#8da2c0; font-size:11px; font-weight:800; letter-spacing:.14em; }
html:root .pd-md-news .pd-md-news-body { display:flex; flex:1 1 auto; flex-direction:column; gap:6px; min-width:0; padding:9px 10px 10px; }
html:root .pd-md-news .pd-md-news-headline { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; color:#f0f6ff; font-size:14px; font-weight:750; line-height:1.35; }
html:root .pd-md-news .pd-md-news-date { margin-top:auto; color:#8da2c0; font-size:11.5px; }
html:root .pd-md-news .pd-md-news-item:hover { border-color:rgba(149,107,255,.55); }
@media (max-width: 900px) {
    html:root .pd-md-news .pd-md-news-list { grid-template-columns:repeat(2,minmax(0,270px)); }
}
@media (max-width: 640px) {
    html:root .pd-md-v13 > .pd-md-news { padding:14px 10px 12px; }
    html:root .pd-md-news .pd-md-news-title { font-size:16px; }
    html:root .pd-md-news .pd-md-news-list { grid-template-columns:minmax(0,1fr); gap:10px; }
    html:root .pd-md-news .pd-md-news-item { flex-direction:row; align-items:stretch; }
    html:root .pd-md-news .pd-md-news-thumb { flex:0 0 132px; aspect-ratio:auto; min-height:76px; }
    html:root .pd-md-news .pd-md-news-body { padding:10px 12px; gap:6px; }
    html:root .pd-md-news .pd-md-news-headline { font-size:14px; }
}

/* V22: venue / weather / referee card (right column of the top row). */
html:root .pd-md-v19 #pd-predict.pd-v22-has-info { grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); align-items:start; }
html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-v22-info { grid-column:1; grid-row:1; }
html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-lines { grid-column:2; grid-row:1; }
html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-side { grid-column:3; grid-row:1; }
html:root .pd-md-v19 .pd-v22-info { box-sizing:border-box; min-width:0; padding:14px 16px 16px; border:1px solid rgba(110,100,230,.32); border-radius:12px; background:rgba(8,25,44,.72); }
html:root .pd-md-v19 .pd-v22-info .pd-md-panel-title { display:flex; align-items:center; gap:8px; margin:0 0 12px; padding-bottom:10px; border-bottom:1px solid rgba(91,142,205,.18); font-size:19px; }
html:root .pd-md-v19 .pd-v22-venue-name { display:flex; align-items:center; gap:8px; margin-bottom:8px; font-size:17px; font-weight:800; line-height:1.3; color:#edf5ff; overflow-wrap:anywhere; }
html:root .pd-md-v19 .pd-v22-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; padding:0; }
html:root .pd-md-v19 .pd-v22-facts > div { display:grid; grid-template-columns:18px minmax(0,1fr); column-gap:8px; align-items:center; min-width:0; padding:7px 10px; border:1px solid rgba(91,142,205,.16); border-radius:8px; background:rgba(4,16,30,.5); }
html:root .pd-md-v19 .pd-v22-facts > div > svg { grid-row:1 / 3; width:18px; height:18px; fill:none; stroke:#8fb4ff; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v22-facts dt { margin:0; color:#8da2c0; font-size:11px; line-height:1.3; }
html:root .pd-md-v19 .pd-v22-facts dd { margin:0; color:#fff; font-size:13.5px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
html:root .pd-md-v19 .pd-v22-weather { display:flex; align-items:stretch; margin:10px 0 0; padding:0; list-style:none; border:1px solid rgba(91,142,205,.16); border-radius:8px; background:rgba(4,16,30,.5); }
html:root .pd-md-v19 .pd-v22-weather li { display:grid; grid-template-columns:18px auto; column-gap:7px; align-items:center; flex:1 1 0; min-width:0; padding:8px 10px; }
html:root .pd-md-v19 .pd-v22-weather li + li { border-left:1px solid rgba(91,142,205,.16); }
html:root .pd-md-v19 .pd-v22-weather svg { grid-row:1 / 3; width:18px; height:18px; fill:none; stroke:#8fb4ff; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v22-weather span { color:#8da2c0; font-size:11px; line-height:1.3; }
html:root .pd-md-v19 .pd-v22-weather b { color:#fff; font-size:14.5px; font-weight:700; line-height:1.3; white-space:nowrap; }
html:root .pd-md-v19 .pd-v22-referee { margin-top:14px; padding-top:12px; border-top:1px solid rgba(91,142,205,.2); }
html:root .pd-md-v19 .pd-v22-referee h3 { display:flex; align-items:center; gap:7px; margin:0 0 10px; color:#c9d6ee; font-size:14px; font-weight:700; }
html:root .pd-md-v19 .pd-v22-referee h3 svg { width:17px; height:17px; fill:none; stroke:#b8a6ff; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v22-referee-head { display:flex; align-items:center; gap:10px; min-width:0; margin-bottom:12px; }
html:root .pd-md-v19 .pd-v22-referee-id { display:grid; gap:1px; min-width:0; }
html:root .pd-md-v19 .pd-v22-referee-name { font-size:14.5px; font-weight:700; color:#edf5ff; overflow-wrap:anywhere; }
html:root .pd-md-v19 .pd-v22-referee-country { color:#8da2c0; font-size:12px; }
html:root .pd-md-v19 .pd-v22-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0; padding:0; }
html:root .pd-md-v19 .pd-v22-stats > div { display:grid; align-content:center; gap:3px; min-width:0; min-height:74px; padding:8px 10px; border:1px solid rgba(91,142,205,.16); border-radius:8px; background:rgba(4,16,30,.5); }
html:root .pd-md-v19 .pd-v22-stats dt { display:flex; align-items:center; gap:5px; margin:0; color:#8da2c0; font-size:11px; white-space:nowrap; }
html:root .pd-md-v19 .pd-v22-stats dt svg { flex:none; width:14px; height:14px; fill:none; stroke:#8fd0ff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v22-card-chip { flex:none; width:8px; height:11px; border-radius:2px; background:#f0c24a; }
html:root .pd-md-v19 .pd-v22-stats .is-red .pd-v22-card-chip { background:#ff5c78; }
html:root .pd-md-v19 .pd-v22-stats dd { margin:0; font-size:17px; font-weight:800; line-height:1.2; white-space:nowrap; }
html:root .pd-md-v19 .pd-v22-stats dd small { display:block; margin-top:1px; color:#8da2c0; font-size:11px; font-weight:500; }
html:root .pd-md-v19 .pd-v22-stats .is-yellow dd { color:#f0c24a; }
html:root .pd-md-v19 .pd-v22-stats .is-red dd { color:#ff7089; }
html:root .pd-md-v19 .pd-v22-stats .is-foul dd { color:#8fd0ff; }
@media (max-width:640px) {
    html:root .pd-md-v19 .pd-v22-weather { flex-wrap:wrap; }
    html:root .pd-md-v19 .pd-v22-weather li { flex:1 1 40%; }
    html:root .pd-md-v19 .pd-v22-stats { grid-template-columns:1fr; gap:6px; }
    html:root .pd-md-v19 .pd-v22-stats > div { grid-template-columns:auto 1fr; align-items:center; min-height:0; padding:8px 12px; }
    html:root .pd-md-v19 .pd-v22-stats dd { text-align:right; }
    html:root .pd-md-v19 .pd-v22-stats dd small { display:inline; margin-left:4px; }
}
@media (max-width:1180px) {
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info { grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr); }
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-lines { grid-column:1; grid-row:1; }
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-side { grid-column:2; grid-row:1; }
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-v22-info { grid-column:1 / -1; grid-row:2; }
}
@media (max-width:900px) {
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info { display:flex; flex-direction:column; }
}
html:root .pd-md-v19 .pd-v22-hero-sub { display:flex; align-items:center; gap:6px; margin-top:4px; min-width:0; }
html:root .pd-md-v19 .pd-md-hero-team.is-away .pd-v22-hero-sub { justify-content:flex-end; }
html:root .pd-md-v19 .pd-v22-hero-sub small { overflow:hidden; color:#8da2c0; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
html:root .pd-md-v19 .pd-v22-side { flex:none; padding:1px 7px; border-radius:5px; background:rgba(91,142,205,.18); color:#bcd3f5; font-size:11px; font-weight:700; }
html:root .pd-md-v19 .pd-v22-side.is-away { background:rgba(150,110,235,.2); color:#d3c4ff; }
@media (max-width:900px) { html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-v22-info { order:3; } }
@media (max-width:640px) { html:root .pd-md-v19 .pd-v22-hero-sub small { display:none; } }
html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-team-copy { flex-direction:column; justify-content:center; align-items:flex-start; }
html:root .pd-md-v19 .pd-v17-scoreboard .is-away .pd-v17-team-copy { align-items:flex-end; }
@media (max-width:640px) { html:root .pd-md-v19 .pd-v22-hero-sub { display:none; } }
html:root .pd-md-v19 .pd-v22-venue-icon { flex:none; width:20px; height:20px; fill:none; stroke:#9fc3ff; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v22-venue-name > span { min-width:0; overflow-wrap:anywhere; }
/* V22 compact: label-free venue/weather rows */
html:root .pd-md-v19 .pd-v22-facts > div { align-items:center; min-height:38px; padding:6px 10px; }
html:root .pd-md-v19 .pd-v22-facts > div > svg { grid-row:auto; }
html:root .pd-md-v19 .pd-v22-weather li { align-items:center; min-height:38px; padding:6px 10px; }
html:root .pd-md-v19 .pd-v22-weather svg { grid-row:auto; }
html:root .pd-md-v19 .pd-v22-weather li:not(:has(span)) { grid-template-columns:18px auto; }
html:root .pd-md-v19 .pd-v22-stats > div { min-height:60px; gap:4px; }
@media (max-width:640px) { html:root .pd-md-v19 .pd-v22-stats > div { min-height:0; } }
/* V22 centering */
html:root .pd-md-v19 .pd-v22-venue-name { font-size:14px; font-weight:600; }
html:root .pd-md-v19 .pd-v22-facts > div { display:flex; align-items:center; justify-content:center; gap:8px; text-align:center; }
html:root .pd-md-v19 .pd-v22-facts dd { font-size:13px; font-weight:600; text-align:center; }
html:root .pd-md-v19 .pd-v22-weather li { display:flex; align-items:center; justify-content:center; gap:7px; text-align:center; }
html:root .pd-md-v19 .pd-v22-weather b { font-size:13px; font-weight:600; }
html:root .pd-md-v19 .pd-v22-referee-name { font-size:14px; font-weight:600; }
html:root .pd-md-v19 .pd-v22-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
html:root .pd-md-v19 .pd-v22-stats > div { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:60px; padding:8px 6px; text-align:center; }
html:root .pd-md-v19 .pd-v22-stats dt { justify-content:center; }
html:root .pd-md-v19 .pd-v22-stats dd { text-align:center; }
@media (max-width:640px) {
    html:root .pd-md-v19 .pd-v22-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
    html:root .pd-md-v19 .pd-v22-stats > div { min-height:60px; padding:8px 4px; }
    html:root .pd-md-v19 .pd-v22-stats dd { text-align:center; }
}
/* V22 icons */
html:root .pd-md-v19 .pd-v22-venue-icon { width:17px; height:17px; }
html:root .pd-md-v19 .pd-v22-ref-icon { flex:none; width:17px; height:17px; fill:none; stroke:#b8a6ff; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v22-referee-head { gap:8px; margin-bottom:12px; }

/* V23: market choice cards - name on top, odds below, both centered. */

/* V24: player tabs, balanced recent form, horizontal news cards, equal-height top row. */
html:root .pd-md-v19 [data-pd-tab-panel][hidden] { display:none !important; }
html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs { display:inline-flex; gap:2px; width:max-content; max-width:100%; margin:12px 0 10px; padding:3px; border:1px solid rgba(91,142,205,.22); border-radius:9px; background:rgba(4,16,30,.44); }
html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs button { min-width:84px; padding:7px 14px; border:0; border-radius:7px; background:transparent; color:#8da2c0; font-size:12px; font-weight:700; cursor:pointer; }
html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs button[aria-selected="true"] { background:linear-gradient(135deg,rgba(68,91,205,.9),rgba(63,96,188,.9)); color:#fff; }
@media (max-width:640px) {
    html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; box-sizing:border-box; }
    html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs button { min-width:0; }
}
@media (min-width:1100px) {
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info { align-items:stretch; }
    html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-side > .pd-md-panel { height:100%; box-sizing:border-box; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-cols { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
    html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col { padding:14px 14px 12px; }
    html:root .pd-md-news .pd-md-news-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
    html:root .pd-md-news .pd-md-news-item { flex-direction:row; align-items:stretch; }
    html:root .pd-md-news .pd-md-news-thumb { flex:0 0 42%; aspect-ratio:auto; min-height:92px; }
}

/* V25: team names in recent form / H2H stay in the normal text color so they never read as win/draw/loss colors. */
html:root .pd-md-v13 .pd-v15-history .pd-md-form-match > .pd-md-form-focus,
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > .pd-md-form-focus { color:inherit; }
/* H2H: only the real winner is ice blue; losers and draws keep the normal text color. */
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > .pd-md-h2h-winner { color:#68B9FF; }

/* V26: compact top area. Content-height cards, tighter HERO and market rows. */
@media (min-width:701px) { html:root .pd-wrap.pd-md-v19 .pd-md-hero { gap:10px; padding:12px 28px 14px; } }
@media (min-width:701px) {
    html:root .pd-md-v19 .pd-md-hero-top { min-height:20px; }
    html:root .pd-md-v19 .pd-v17-scoreboard { min-height:74px; gap:20px; }
    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:68px; gap:14px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-team-copy { min-height:68px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo,
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo img { width:64px; height:64px; }
    html:root .pd-md-v19 .pd-v17-scoreboard .rt-team-logo { flex-basis:64px; }
    html:root .pd-md-v19 .pd-md-hero > .pd-md-probability { padding-top:8px; }
}
html:root .pd-md-v19 #pd-predict.pd-v22-has-info { align-items:start; }
html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-side > .pd-md-panel { height:auto; }
html:root .pd-md-v19 #pd-predict .pd-md-lines { padding:12px 14px; }
html:root .pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head { padding-bottom:8px; }
@supports (-webkit-line-clamp:2) { html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-name { display:-webkit-box; align-content:center; } }
@media (max-width:700px) {
    html:root .pd-wrap.pd-md-v19 .pd-md-hero { padding:10px 9px 10px; }
}

/* V27: match-centre polish. Hierarchy and states only; data, markup contracts and JS hooks untouched. */
html:root .pd-wrap.pd-md-v19 .pd-md-hero { border-color:rgba(80,140,225,.42); background:linear-gradient(160deg,rgba(11,32,60,.98),rgba(8,21,42,.98) 60%,rgba(22,24,64,.96)); }
html:root .pd-md-v19 .pd-md-hero-league { letter-spacing:.02em; }
html:root .pd-md-v19 .pd-v17-kickoff > span { color:#a9bfdc; font-size:13px; font-weight:600; }
@media (min-width:701px) { html:root .pd-md-v19 .pd-v17-kickoff > strong { font-size:36px; font-weight:800; letter-spacing:.01em; } }
html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-name { font-weight:800; }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choices { box-shadow:none; }
html:root .pd-md-v19 .pd-md-hero .pd-md-prob-choice strong { font-weight:800; }

/* shared card language for the three top cards */
html:root .pd-md-v19 #pd-predict > :is(.pd-md-lines,.pd-v22-info,.pd-md-side > .pd-md-panel),
html:root .pd-md-v19 #pd-predict .pd-md-side > .pd-md-panel { border-radius:14px; }
html:root .pd-md-v19 #pd-predict .pd-md-panel-title { font-size:18px; font-weight:800; letter-spacing:.005em; }

/* pick slip hierarchy */

/* lineup: tabs and team bar */
html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs { border-color:rgba(100,140,200,.3); }
html:root .pd-md-v13.pd-md-v19 .pd-v21-player-tabs button[aria-selected="true"] { background:#3f5fd0; box-shadow:none; }
html:root .pd-md-v19 .pd-v14-team-bar strong { font-weight:800; }
html:root .pd-md-v19 .pd-v13-formation { font-weight:800; }

/* history tables */
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-row:hover,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row:hover { background:rgba(70,110,180,.1); }
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-weight:800; }
html:root .pd-md-v19 .pd-v15-history { border-radius:14px; }

/* V29: service-style top cards. Same markup contracts; icon badges, headers, hierarchy. */
html:root .pd-md-v19 #pd-predict .pd-md-panel-title,
html:root .pd-md-v19 #pd-predict .pd-v22-info .pd-md-panel-title { display:flex; align-items:center; gap:10px; }
html:root .pd-md-v19 #pd-predict .pd-v22-info .pd-v9-heading-icon,
html:root .pd-md-v19 #pd-predict .pd-v12-predict-title-icon { display:inline-grid; flex:none; place-items:center; width:30px; height:30px; padding:5px; box-sizing:border-box; border:1px solid rgba(110,150,255,.32); border-radius:9px; background:rgba(60,90,200,.16); color:#8fb4ff; }
html:root .pd-md-v19 #pd-predict .pd-v12-predict-title-icon .pd-v9-icon { width:18px; height:18px; }
html:root .pd-md-v19 #pd-predict .pd-v22-info .pd-v9-heading-icon { width:30px; height:30px; stroke:#8fb4ff; }
html:root .pd-md-v19 #pd-predict .pd-v7-slip-icon { width:30px; height:30px; border-radius:9px; border:1px solid rgba(150,125,240,.38); background:rgba(120,95,220,.18); color:#c9bbff; }
html:root .pd-md-v19 #pd-predict .pd-md-panel-head { padding-bottom:10px; }

/* info card modules */
html:root .pd-md-v19 .pd-v22-venue-name { padding:9px 10px; border:1px solid rgba(91,142,205,.18); border-radius:9px; background:rgba(4,16,30,.5); font-size:14px; }
html:root .pd-md-v19 .pd-v22-venue-icon { width:20px; height:20px; stroke:#9fc3ff; }
html:root .pd-md-v19 .pd-v22-facts > div { min-height:40px; }
html:root .pd-md-v19 .pd-v22-weather li { min-height:40px; }
html:root .pd-md-v19 .pd-v22-referee h3 { margin-bottom:8px; }
html:root .pd-md-v19 .pd-v22-referee-head { padding:8px 10px; border:1px solid rgba(91,142,205,.18); border-radius:9px; background:rgba(4,16,30,.5); }
html:root .pd-md-v19 .pd-v22-ref-icon { width:20px; height:20px; padding:5px; box-sizing:content-box; border-radius:50%; background:rgba(120,95,220,.18); border:1px solid rgba(150,125,240,.35); }
html:root .pd-md-v19 .pd-v22-stats dd { font-size:16px; }

/* market card hierarchy */

/* pick card */

/* V31: venue name + location in one block; capacity / weather in one icon row. */
html:root .pd-md-v19 .pd-v22-venue { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid rgba(91,142,205,.18); border-radius:10px; background:rgba(4,16,30,.5); }
html:root .pd-md-v19 .pd-v22-venue .pd-v22-venue-icon { flex:none; width:26px; height:26px; }
html:root .pd-md-v19 .pd-v22-venue-text { display:grid; gap:2px; min-width:0; }
html:root .pd-md-v19 .pd-v22-venue .pd-v22-venue-name { display:block; margin:0; padding:0; border:0; background:none; font-size:14px; font-weight:700; line-height:1.3; color:#f2f7ff; overflow-wrap:anywhere; }
html:root .pd-md-v19 .pd-v22-venue-place { color:#8da2c0; font-size:12px; line-height:1.3; }
html:root .pd-md-v19 .pd-v22-weather { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:0; border:0; background:none; }
html:root .pd-md-v19 .pd-v22-weather li { border:1px solid rgba(91,142,205,.16); border-radius:9px; background:rgba(4,16,30,.5); justify-content:center; }
html:root .pd-md-v19 .pd-v22-weather li + li { border-left:1px solid rgba(91,142,205,.16); }
html:root .pd-md-v19 .pd-v22-weather li:last-child:nth-child(odd) { grid-column:1 / -1; }

/* V34: sportsbook market + pick slip (replaces V33). Buttons: [logo/arrow] name over odds. Slip: label -> pick card -> stakes -> summary -> CTA. */
html:root .pd-md-v19 #pd-predict .pd-md-lines { padding:14px 16px 8px; }
html:root .pd-md-v19 #pd-predict .pd-md-mk { margin:0; padding:12px 0 14px; border:0; border-radius:0; background:none; }
html:root .pd-md-v19 #pd-predict .pd-md-mk + .pd-md-mk { border-top:1px solid rgba(91,142,205,.22); }
html:root .pd-md-v19 #pd-predict .pd-md-mk-head { display:flex; align-items:center; gap:10px; margin:0 0 10px; }
html:root .pd-md-v19 #pd-predict .pd-v7-market-icon { flex:0 0 28px; width:28px; height:28px; border-radius:8px; background:rgba(60,100,210,.2); color:#8fb4ff; }
html:root .pd-md-v19 #pd-predict .pd-md-mk-name { font-size:16px; font-weight:800; color:#f2f7ff; }
html:root .pd-md-v19 #pd-predict .pd-v33-mk-line { margin-left:2px; color:#8da2c0; font-size:13.5px; font-weight:600; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-outs { gap:10px; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out {
    position:relative; display:flex; flex-direction:row; align-items:center; justify-content:center; gap:10px;
    min-height:64px; padding:8px 12px; text-align:center;
    border:1px solid rgba(80,130,215,.55); border-radius:10px; background:linear-gradient(180deg,#0f2142,#0a1a36);
    box-shadow:none; overflow:hidden; transition:border-color .15s,background .15s;
}
html:root .pd-md-v19 #pd-predict .pd-md-out::after { content:none; display:none; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico { display:inline-grid; flex:none; place-items:center; width:30px; height:30px; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-logo { position:relative; display:inline-grid; place-items:center; width:30px; height:30px; overflow:hidden; border-radius:50%; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-logo img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-initial { font-size:10px; font-weight:800; color:#c9d8ee; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico > svg { width:26px; height:26px; padding:3px; box-sizing:border-box; border-radius:7px; background:rgba(70,140,255,.18); fill:none; stroke:#7fb6ff; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out:has(.pd-md-out-name):nth-child(2):not(:has(.pd-v34-ico)) .pd-v34-txt { align-items:center; }
html:root .pd-md-v19 #pd-predict .pd-v34-txt { display:grid; justify-items:center; align-content:center; gap:4px; min-width:0; max-width:100%; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-name {
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; box-sizing:border-box; max-width:100%;
    color:#dbe7f8; font-size:13.5px; font-weight:600; line-height:1.3; text-align:center; word-break:keep-all; overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-odds { color:#fff; font-size:20px; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; }
html:root .pd-md-v19 #pd-predict .pd-md-out:hover:not(:disabled):not(.is-ineligible) { transform:none; border-color:#6db6ff; background:linear-gradient(180deg,#143059,#0e2247); }
html:root .pd-md-v19 #pd-predict .pd-md-out:focus-visible { outline:2px solid #7aaeff; outline-offset:2px; }
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:1px solid #a9b4ff; background:linear-gradient(135deg,#2a62ee,#7040e0); box-shadow:inset 0 0 0 1px rgba(210,220,255,.28); }
html:root .pd-md-v19 #pd-predict .pd-md-out.is-picked::before,
html:root .pd-md-v19 #pd-predict .pd-md-out[aria-pressed="true"]::before { content:"✓"; position:absolute; right:7px; top:7px; display:grid; place-items:center; width:18px; height:18px; border-radius:50%; background:#fff; color:#4a46d0; font-size:12px; font-weight:900; line-height:1; }
html:root .pd-md-v19 #pd-predict .pd-md-out.is-picked .pd-md-out-name { color:#fff; }
html:root .pd-md-v19 #pd-predict .pd-md-out.is-picked .pd-v34-ico > svg { background:rgba(255,255,255,.2); stroke:#fff; }
html:root .pd-md-v19 #pd-predict .pd-md-out:disabled:not(.is-picked),
html:root .pd-md-v19 #pd-predict .pd-md-out.is-ineligible:not(.is-picked) { border-color:rgba(92,111,137,.26); background:#08111f; filter:saturate(.35); opacity:.5; cursor:not-allowed; }
@media (max-width:700px) {
    html:root .pd-md-v19 #pd-predict .pd-v34-ico { display:none; }
    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 { min-height:64px; padding:7px 5px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-name { font-size:12px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-odds { font-size:18px; }
}

/* slip */
html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { padding-bottom:14px; }
html:root .pd-md-v19 #pdMdForm { display:flex; flex-direction:column; gap:12px; padding:2px 2px 0; }
html:root .pd-md-v19 #pdMdForm [hidden] { display:none !important; }
html:root .pd-md-v19 .pd-v34-slip-head { display:flex; align-items:center; justify-content:space-between; gap:10px; color:#dbe7f8; font-size:14px; font-weight:800; }
html:root .pd-md-v19 .pd-v34-reset { display:inline-flex; align-items:center; gap:5px; padding:5px 10px; border:1px solid rgba(100,140,200,.35); border-radius:8px; background:rgba(8,22,42,.7); color:#b9cde8; font-size:12px; font-weight:700; cursor:pointer; }
html:root .pd-md-v19 .pd-v34-reset svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v34-reset:hover { border-color:#6db6ff; color:#fff; }
html:root .pd-md-v19 #pdMdForm .pd-v7-slip-empty { display:grid; justify-items:center; gap:6px; padding:16px 8px; border:1px dashed rgba(100,140,200,.3); border-radius:12px; text-align:center; }
html:root .pd-md-v19 #pdMdForm .pd-v7-empty-icon { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%; border:1px solid rgba(150,125,240,.35); background:rgba(120,95,220,.16); color:#c9bbff; }
html:root .pd-md-v19 #pdMdForm .pd-v7-slip-empty > strong { font-size:14px; font-weight:800; }
html:root .pd-md-v19 #pdMdForm .pd-v7-slip-empty > span:last-child { color:#8da2c0; font-size:12px; }
html:root .pd-md-v19 #pd-predict #pdMdForm > .pd-v34-pick:not([hidden]) { display:grid !important; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:10px; margin:0; padding:10px 12px; border:1px solid rgba(120,150,255,.45); border-radius:12px; background:linear-gradient(135deg,rgba(40,70,170,.45),rgba(80,55,170,.4)); }
html:root .pd-md-v19 .pd-v34-pick-ball { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.1); }
html:root .pd-md-v19 .pd-v34-pick-ball svg { width:22px; height:22px; fill:none; stroke:#e6eeff; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v34-pick-main { display:grid; gap:2px; min-width:0; }
html:root .pd-md-v19 #pdMdForm .pd-md-pick-name { margin:0; font-size:14.5px; font-weight:800; line-height:1.3; color:#fff; overflow-wrap:anywhere; }
html:root .pd-md-v19 #pdMdForm .pd-md-pick-kind { display:flex; flex-wrap:wrap; gap:4px; color:#b3c5e4; font-size:11.5px; font-weight:600; }
html:root .pd-md-v19 #pdMdForm .pd-md-pick-line:empty { display:none; }
html:root .pd-md-v19 #pdMdForm .pd-md-pick-odds-value { color:#bfe3ff; font-size:20px; font-weight:800; font-variant-numeric:tabular-nums; }
html:root .pd-md-v19 .pd-v34-x { display:inline-grid; place-items:center; width:28px; height:28px; padding:0; border:1px solid rgba(255,255,255,.22); border-radius:8px; background:rgba(255,255,255,.08); color:#fff; cursor:pointer; font-size:0; }
html:root .pd-md-v19 .pd-v34-x svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; }
html:root .pd-md-v19 #pdMdForm .pd-md-field { display:grid; gap:8px; margin:0; }
html:root .pd-md-v19 #pdMdForm .pd-md-field-head { color:#dbe7f8; font-size:14px; font-weight:800; }
html:root .pd-md-v19 #pdMdForm .pd-md-stakes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
html:root .pd-md-v19 #pdMdForm .pd-md-stake { min-height:40px; border:1px solid rgba(100,140,200,.4); border-radius:9px; background:#0a1a36; color:#dbe7f8; font-size:13.5px; font-weight:700; }
html:root .pd-md-v19 #pdMdForm .pd-md-stake:hover:not(:disabled) { border-color:#6db6ff; }
html:root .pd-md-v19 #pdMdForm .pd-md-stake:disabled { opacity:.55; cursor:not-allowed; }
html:root .pd-md-v19 #pdMdForm .pd-md-stake.is-picked { border-color:#8fb4ff; background:linear-gradient(135deg,#1f6fe0,#2a56d0); color:#fff; }
html:root .pd-md-v19 #pdMdForm .pd-v34-summary { margin:0; padding:10px 12px; border:1px solid rgba(91,142,205,.2); border-radius:12px; background:rgba(4,16,30,.55); }
html:root .pd-md-v19 .pd-v34-rows { display:grid; gap:7px; margin:0; padding:0; }
html:root .pd-md-v19 .pd-v34-rows > div { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0; padding:0; border:0; }
html:root .pd-md-v19 .pd-v34-rows dt { margin:0; color:#9fb4d2; font-size:13px; font-weight:600; }
html:root .pd-md-v19 .pd-v34-rows dd { margin:0; color:#f2f7ff; font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
html:root .pd-md-v19 .pd-v34-rows .is-profit dd, html:root .pd-md-v19 #pdMdForm .pd-md-profit-value { color:#6fe3b0; font-size:19px; font-weight:800; }
html:root .pd-md-v19 #pdMdForm .pd-md-cta { min-height:48px; border:0; border-radius:11px; background:linear-gradient(135deg,#6a4be6,#8e4fe6); color:#fff; font-size:15px; font-weight:800; }
html:root .pd-md-v19 #pdMdForm .pd-md-cta:disabled { opacity:.5; cursor:not-allowed; }
html:root .pd-md-v19 #pd-predict .pd-md-side .pd-v7-login-note { color:#8da2c0; font-size:11.5px; }
