/* 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 { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:12px; min-height:22px; text-align:center; }
html:root .pd-md-v19 .pd-v17-competition { grid-column:2; justify-content:center; width:auto; 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; }
@media (min-width:961px) { html:root .pd-md-v19 #pd-predict { grid-template-columns:minmax(0,65fr) minmax(0,35fr); } }  /* 승부예측 65% · 픽 등록 35% */
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; }
}









































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: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; } }



























/* 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-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-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-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{ display:flex; align-items:center; gap:10px; }
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-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 */









/* market card hierarchy */

/* pick card */












/* V35: premium sportsbook market + pick slip (supersedes V34). Buttons: big logo/arrow badge at left, name over a large odds figure. */
html:root .pd-md-v19 #pd-predict .pd-md-lines { padding:16px 20px 10px; }
html:root .pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head .pd-md-panel-title { align-items:center; }
html:root .pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head .pd-md-panel-title::after { content:attr(data-hint); margin-left:auto; padding-left:16px; color:#8da2c0; font-size:12px; font-weight:500; text-align:right; }
html:root .pd-md-v19 #pd-predict .pd-md-mk { margin:0; padding:13px 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,.24); }
html:root .pd-md-v19 #pd-predict .pd-md-mk-head { display:flex; align-items:center; gap:12px; margin:0 0 10px; }
html:root .pd-md-v19 #pd-predict .pd-v7-market-icon { flex:0 0 32px; width:32px; height:32px; border-radius:9px; background:rgba(60,100,210,.22); color:#8fb4ff; }
html:root .pd-md-v19 #pd-predict .pd-v7-market-icon .pd-v9-icon { width:20px; height:20px; }
html:root .pd-md-v19 #pd-predict .pd-v7-market-copy { display:flex; align-items:center; gap:10px; min-width:0; }
html:root .pd-md-v19 #pd-predict .pd-md-mk-name { font-size:17px; font-weight:800; color:#f5f9ff; }
html:root .pd-md-v19 #pd-predict .pd-v33-mk-line { padding:3px 11px; border-radius:999px; background:rgba(30,50,110,.7); border:1px solid rgba(110,150,255,.28); color:#dbe7f8; font-size:12.5px; font-weight:700; }
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:grid; grid-template-columns:auto minmax(0,1fr); align-content:center; align-items:center; column-gap:8px; row-gap:3px;
    min-height:64px; padding:8px 14px; text-align:center;
    border:1px solid #43447D; border-radius:12px; background:#171A36;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 6px 14px rgba(0,0,0,.2); 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; place-items:center; width:20px; height:20px; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-logo { position:relative; display:inline-grid; place-items:center; width:20px; height:20px; overflow:hidden; border-radius:50%; background:rgba(255,255,255,.04); }
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; padding:2px; box-sizing:border-box; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-initial { font-size:8px; font-weight:800; color:#c9d8ee; }
html:root .pd-md-v19 #pd-predict .pd-v34-txt { display:contents; }
html:root .pd-md-v19 #pd-predict .pd-md-out:not(:has(.pd-v34-ico)) .pd-md-out-name { grid-column:1 / -1; text-align:center; }
html:root .pd-md-v19 #pd-predict .pd-md-out-odds { grid-column:1 / -1; text-align:center; }
html:root .pd-md-v19 #pd-predict .pd-md-oudir { display:inline-block; width:15px; height:15px; margin-right:5px; vertical-align:-2px; fill:#6fb0ff; }
html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-name {
    display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; box-sizing:border-box; min-width:0; max-width:100%; text-align:left;
    color:#dbe7f8; font-size:14px; font-weight:600; line-height:1.25; 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:21px; font-weight:800; line-height:1.05; letter-spacing:-.01em; 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:#7462AD; background:#202044; }
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 #b4bdff; background:linear-gradient(135deg,#2563f0 0%,#6a3fe0 100%); box-shadow:inset 0 0 0 1px rgba(215,225,255,.3),0 8px 18px rgba(50,60,200,.3); }
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:8px; top:8px; display:grid; place-items:center; width:19px; height:19px; 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: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,.28); background:#0d111a; box-shadow:none; filter:saturate(.35); opacity:.5; cursor:not-allowed; }
@media (max-width:1100px) {
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out { gap:8px; padding:8px 10px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-odds { font-size:20px; }
}
@media (max-width:700px) {
    html:root .pd-md-v19 #pd-predict .pd-md-lines { padding:12px 12px 6px; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head .pd-md-panel-title::after { content:none; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-outs { gap:8px; }
    html:root .pd-md-v19 #pd-predict .pd-v34-ico { display:none; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out { justify-content:center; text-align:center; min-height:64px; padding:7px 5px; }
    html:root .pd-md-v19 #pd-predict .pd-v34-txt, html:root .pd-md-v19 #pd-predict .pd-md-out:not(:has(.pd-v34-ico)) .pd-v34-txt { justify-items:center; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-name { font-size:12px; text-align:center; }
    html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-odds { font-size:19px; }
    html:root .pd-md-v19 #pd-predict .pd-md-out.is-picked::before { right:5px; top:5px; width:18px; height:18px; font-size:12px; }
}

/* slip */
html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { padding:12px 16px 14px; background:linear-gradient(170deg,rgba(24,28,80,.85),rgba(12,18,48,.92)); }
html:root .pd-md-v19 #pdMdForm { display:flex; flex-direction:column; gap:10px; padding: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:#f0f5ff; font-size:15px; font-weight:800; }
html:root .pd-md-v19 .pd-v34-reset { display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border:1px solid rgba(110,150,220,.4); border-radius:9px; background:rgba(8,22,50,.7); color:#cfe0f7; font-size:12.5px; font-weight:700; cursor:pointer; }
html:root .pd-md-v19 .pd-v34-reset svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v34-reset:hover { border-color:#7cc0ff; color:#fff; }
html:root .pd-md-v19 #pdMdForm .pd-v7-slip-empty { display:grid; justify-items:center; gap:4px; padding:12px 10px; border:1px dashed rgba(110,150,220,.32); border-radius:14px; text-align:center; }
html:root .pd-md-v19 #pdMdForm .pd-v7-empty-icon { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:50%; border:1px solid rgba(150,125,240,.38); background:rgba(120,95,220,.18); 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:12.5px; }
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:9px 12px; border:1px solid rgba(130,160,255,.5); border-radius:12px; background:linear-gradient(135deg,rgba(30,50,130,.55),rgba(14,22,60,.7)); }
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); border:1px solid rgba(255,255,255,.14); }
html:root .pd-md-v19 .pd-v34-pick-ball svg { width:22px; height:22px; fill:none; stroke:#eef3ff; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-v34-pick-main { display:grid; gap:3px; min-width:0; }
html:root .pd-md-v19 #pdMdForm .pd-md-pick-name { margin:0; font-size:15px; 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:5px; color:#b3c5e4; font-size:12px; 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:#9fdcff; font-size:22px; 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,.28); border-radius:9px; background:rgba(255,255,255,.1); color:#fff; cursor:pointer; font-size:0; }
html:root .pd-md-v19 .pd-v34-x svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; }
html:root .pd-md-v19 #pdMdForm .pd-md-field { display:grid; gap:6px; margin:0; }
html:root .pd-md-v19 #pdMdForm .pd-md-field-head { color:#f0f5ff; 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 { height:40px; min-height:40px; border:1px solid rgba(100,140,210,.45); border-radius:10px; background:#091733; color:#dbe7f8; font-size:14px; font-weight:700; }
html:root .pd-md-v19 #pdMdForm .pd-md-stake:hover:not(:disabled) { border-color:#7cc0ff; }
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:#a9b8ff; background:linear-gradient(135deg,#2563f0,#5b43e0); color:#fff; box-shadow:0 4px 12px rgba(50,70,210,.3); }
html:root .pd-md-v19 #pdMdForm .pd-v34-summary { margin:0; padding:9px 14px; border:1px solid rgba(110,150,220,.28); border-radius:12px; background:rgba(6,16,40,.65); }
html:root .pd-md-v19 .pd-v34-rows { display:grid; gap:5px; 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:#a9bfdc; font-size:13px; font-weight:600; }
html:root .pd-md-v19 .pd-v34-rows dd { margin:0; color:#f5f9ff; font-size:15px; 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:#52e3b0; font-size:20px; font-weight:800; }
html:root .pd-md-v19 #pdMdForm .pd-md-cta { height:46px; min-height:46px; border:0; border-radius:12px; background:linear-gradient(135deg,#6a4be8,#9250ea); color:#fff; font-size:16px; font-weight:800; box-shadow:0 8px 20px rgba(100,70,220,.35); }
html:root .pd-md-v19 #pdMdForm .pd-md-cta:disabled { opacity:.5; box-shadow:none; cursor:not-allowed; }
html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-guest .pd-md-cta { height:46px; min-height:46px; border-radius:12px; background:linear-gradient(135deg,#6a4be8,#9250ea); font-size:15px; font-weight:800; }
html:root .pd-md-v19 #pd-predict .pd-md-side .pd-v7-login-note { color:#8da2c0; font-size:12px; }
@media (max-width:700px) { html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { padding:10px 12px 12px; } }

/* ===== 모바일 상세 탭 + 스코어보드 헤더(≤767px) =====
   탭은 구역을 숨기고 보이기만 한다(DOM 유지 → 픽 선택 상태 유지). 데스크톱·태블릿은 탭을 그리지 않는다. */
.pd-md-tabnav { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v19 .pd-md-tabnav:not([hidden]) { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:6px; margin:10px 0; }
 html:root .pd-md-v19 .pd-md-tabnav button { height:40px; min-width:0; padding:0 2px; border:1px solid rgba(100,140,210,.35); border-radius:10px; background:#0b1a3a; color:#c6d1e0; font:inherit; font-size:13px; font-weight:700; white-space:nowrap; cursor:pointer; }
 html:root .pd-md-v19 .pd-md-tabnav button[aria-selected="true"] { border-color:transparent; background:linear-gradient(135deg,#6a4be8,#9250ea); color:#fff; }
 html:root .pd-md-v19 .pd-md-tabnav button:focus-visible { outline:2px solid #a9b8ff; outline-offset:1px; }
 html:root .pd-md-v19[data-md-tab]:not([data-md-tab="predict"]) :is(.pd-md-lines,.pd-md-side,.pd-md-news,.pd-v5-toon) { display:none !important; }
 
 html:root .pd-md-v19[data-md-tab]:not([data-md-tab="lineup"]) .pd-v13-players { display:none !important; }
 html:root .pd-md-v19[data-md-tab]:not([data-md-tab="recent"]):not([data-md-tab="h2h"]) .pd-v15-history { display:none !important; }
 html:root .pd-md-v19[data-md-tab] .pd-v15-history-head { display:none !important; }
 /* 빈 격자가 마진 16px 만 남기지 않게 한다(라인업·최근 경기·상대 전적 탭의 이중 여백 원인). */
 html:root .pd-md-v19[data-md-tab]:not([data-md-tab="predict"]):not([data-md-tab="info"]) #pd-predict { display:none; }
 html:root .pd-md-v19 .pd-v13-players { box-sizing:border-box; max-width:100%; }
 /* 스코어보드: 로고를 팀명 위로 쌓고 중앙에 날짜·시간을 둔다. 확률 막대는 기존 그대로. */
 html:root .pd-md-v19 .pd-md-hero-teams.pd-v17-scoreboard { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:6px; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team { flex-direction:column; justify-content:center; gap:6px; min-width:0; text-align:center; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away { flex-direction:column-reverse; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team .rt-team-logo { width:48px; height:48px; flex:none; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-team-copy { display:grid; align-content:start; justify-items:center; width:100%; min-width:0; text-align:center; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-md-hero-name { font-size:14px; line-height:1.25; overflow-wrap:anywhere; word-break:keep-all; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-kickoff { display:grid; align-content:center; justify-items:center; gap:2px; padding:0 4px; border:0; }
 html:root .pd-md-v19 .pd-v17-scoreboard .pd-v17-kickoff strong { font-size:26px; line-height:1.1; }
}

/* 모바일 라인업: 선발 / 교체 / 결장 내부 탭을 없애고 세 영역을 세로로 이어 보인다(JS 의 hidden 은 무시, 데이터·마크업 그대로). */
@media (max-width:767px) {
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-v21-player-tabs { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="start"][hidden],
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="out"][hidden] { display:block !important; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="bench"][hidden] { display:grid !important; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel]::before { content:attr(data-md-title); grid-column:1/-1; display:block; margin:0 0 10px; padding:0 0 8px; border-bottom:1px solid rgba(91,142,205,.28); color:#eef3ff; font-size:15px; font-weight:800; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="bench"],
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="out"] { margin-top:18px; padding-top:14px; border-top:1px solid rgba(91,142,205,.28); }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-v13-availability > h4 { display:none; }
}

/* 최근 경기 / 상대 전적 — 모바일 리스트형(≤767px). 같은 마크업·데이터, 행을 낮추고 점수·결과 배지를 강조한다.
   H2H 배지는 서버가 계산한 `result`(상세 경기 홈팀 기준)를 그대로 보여 줄 뿐이며, PC·태블릿에서는 숨긴다. */
html:root .pd-md-v13 .pd-v15-history .pd-md-h2h-row > .pd-md-form-badge { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-row,
 html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row { grid-template-columns:minmax(0,1fr) auto 28px; grid-template-rows:auto auto; gap:3px 8px; min-height:0; padding:8px 4px; }
 html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row > .pd-md-form-badge { display:grid; grid-column:3; grid-row:2; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-history-meta { flex-wrap:nowrap; gap:8px; align-items:baseline; overflow:hidden; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-history-meta > :is(.pd-md-form-date,.pd-md-h2h-date) { flex:none; color:#8da2c0; font-size:11px; font-variant-numeric:tabular-nums; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-history-meta > :is(.pd-md-form-league,.pd-md-h2h-lg) { flex:1 1 0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#6f86a6; font-size:11px; }
 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 { min-width:50px; padding:4px 6px; font-size:15px; font-weight:800; }
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-badge,
 html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-form-badge { width:26px; height:24px; font-size:12px; font-weight:800; }
}

/* 모바일 경기 기록: 날짜·리그 / 홈팀 + 점수 / 원정팀 + 점수, 결과 배지는 오른쪽 한가운데.
   `.pd-md-mteams` 는 모바일 전용 마크업이다(PC·태블릿에서는 숨기고, 기존 한 줄 기록을 그대로 쓴다). */
html:root .pd-md-v13 .pd-v15-history .pd-md-mteams { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-row,#pd-v15-panel-h2h .pd-md-h2h-row) { grid-template-columns:minmax(0,1fr) auto 30px; grid-template-rows:auto auto auto; gap:2px 10px; padding:8px 2px; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-match,#pd-v15-panel-recent .pd-md-form-score,#pd-v15-panel-h2h .pd-v16-h2h-match,#pd-v15-panel-h2h .pd-md-h2h-score) { display:none; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-mteams { display:contents; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-history-meta { grid-column:1/-1; grid-row:1; margin-bottom:2px; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-mt-name { grid-column:1; min-width:0; color:#c6d1e0; font-size:13px; line-height:1.3; overflow-wrap:anywhere; word-break:keep-all; text-align:left; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .pd-md-mt-score { grid-column:2; min-width:18px; color:#f3f7fc; font-size:15px; font-weight:800; line-height:1.3; font-variant-numeric:tabular-nums; text-align:right; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .is-h { grid-row:2; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent,#pd-v15-panel-h2h) .is-a { grid-row:3; }
 html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-mt-name.pd-md-h2h-winner { color:#68B9FF; }
 html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head { display:none; }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-row,#pd-v15-panel-h2h .pd-md-h2h-row) > .pd-md-form-badge { grid-column:3; grid-row:2 / 4; align-self:center; justify-self:end; }
 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:10px 0 4px; border:0; border-radius:0; background:transparent; box-shadow:none; }
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col + .pd-md-form-col { border-top:1px solid rgba(91,142,205,.2); }
 html:root .pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-list,#pd-v15-panel-h2h .pd-md-h2h-list) { border:0; border-top:1px solid rgba(91,142,205,.14); border-radius:0; background:transparent; }
}

/* 모바일 최근 경기 팀 헤더 간소화: 홈팀/원정팀 배지 제거, 로고 24px, 팀명 14px/600, 위쪽 중복 여백 제거. */
@media (max-width:767px) {
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-role { display:none; }
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team { align-items:center; gap:8px; min-height:0; margin-bottom:8px; padding:0 0 6px; }
 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:24px; height:24px; }
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-team .rt-team-logo { flex-basis:24px; border-radius:6px; }
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name { font-size:14px; font-weight:600; line-height:1.25; }
 html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-col:first-child { padding-top:0; }
}

/* 모바일 라인업 상단 정리(≤767px): 「선수 정보」 제목·위쪽 안내를 걷고, 선발 라인업 제목 + 상태 배지를 한 줄로,
   팀 바를 팀당 한 줄(로고 · 팀명 · 포메이션)로 줄인다. 안내 문구는 축구장 아래 작은 글씨로 옮긴다.
   `.pd-md-m-head` · `.pd-md-m-note` 는 모바일 전용 마크업(PC·태블릿에서는 숨김). */
.pd-md-v13 .pd-md-m-head,
.pd-md-v13 .pd-md-m-note { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-v15-lineup-header { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="start"]::before { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-md-m-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 8px; padding:0 0 8px; border-bottom:1px solid rgba(91,142,205,.28); }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-md-m-head strong { color:#eef3ff; font-size:15px; font-weight:800; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-md-m-note { display:block; margin-top:8px; color:var(--rt-muted,#8791ad); font-size:11px; line-height:1.4; text-align:center; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar { gap:6px; padding:0 0 8px; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar .pd-v14-team,
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar .pd-v14-team.has-coach { display:flex; align-items:center; justify-content:flex-start; gap:5px; min-width:0; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar .pd-v14-team > * { grid-column:auto; grid-row:auto; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar .rt-team-logo { order:0; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar strong { order:1; flex:1 1 0; min-width:0; text-align:left; font-size:12px; font-weight:800; line-height:1.2; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; word-break:keep-all; overflow-wrap:anywhere; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar .pd-v13-formation { order:2; flex:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v14-team-bar .pd-v14-coach { display:none; }
}

/* 모바일 라인업 제목 아이콘(≤767px): Lucide users / arrow-left-right / user-round-x, 16~18px, #9b6bff, 제목과 8px 간격.
   교체·결장 제목은 CSS 가상요소라 배경 이미지로 그린다. 세 제목 모두 줄 높이 22px 로 맞춰 수직 정렬을 통일한다. */
@media (max-width:767px) {
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-md-m-head strong,
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="bench"]::before,
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="out"]::before { padding-left:26px; background-repeat:no-repeat; background-position:left 2px; background-size:18px 18px; line-height:22px; }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players .pd-md-m-head strong { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="bench"]::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3 4 7l4 4'/%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='m16 21 4-4-4-4'/%3E%3Cpath d='M20 17H4'/%3E%3C/svg%3E"); }
 html:root .pd-md-v13.pd-md-v19 .pd-v13-players [data-pd-tab-panel="out"]::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b6bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 21a8 8 0 0 1 11.873-7'/%3E%3Ccircle cx='10' cy='8' r='5'/%3E%3Cpath d='m17 17 5 5'/%3E%3Cpath d='m22 17-5 5'/%3E%3C/svg%3E"); }
}




@media (max-width:767px) {
 
 
 
 /* 경기장 */
 
 
 
 
 /* 수용 인원 · 기온 · 날씨 · 풍속: 가로 한 줄 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
}


/* 모바일 승부예측(≤767px): 컴팩트 스포츠북 — 간결한 선택지 이름(홈승 / 원정 -1.5 …), 배당 숫자 강조, 픽 등록 패널 압축.
   `.pd-md-m-name` · `.pd-md-m` 은 모바일 전용 마크업이다(PC·태블릿에서는 숨김). 배당 선택·제한·픽 등록 JS 는 그대로다. */
.pd-md-v13 .pd-md-m-name,
.pd-md-v13 .pd-md-empty .pd-md-m,
.pd-md-v13 .pd-md-guest .pd-md-m { display:none; }
@media (max-width:767px) {
 /* 마켓 카드: 제목 왼쪽 정렬, 그룹 사이 여백 축소 */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines { padding:10px 12px 12px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-panel-head { align-items:flex-start; justify-content:flex-start; margin:0 0 6px; padding:0 0 8px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-v6-heading { justify-content:flex-start; text-align:left; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head .pd-v6-heading { flex:1 1 auto; margin:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head .pd-md-panel-title { font-size:18px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk { margin:0; padding:10px 0 4px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head { margin:0 0 8px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-outs { gap:8px; }
 /* 픽 등록(미선택·비로그인): 중복 문구 제거, 아이콘+안내를 한 줄로 */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { padding:10px 12px 12px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-md-panel-head { margin:0 0 8px; padding:0 0 8px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { gap:8px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict :is(#pdMdForm,.pd-md-guest) { gap:6px; padding:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-md-panel-head { margin:0; }
 /* 로그인 회원 · 미선택: 비로그인 패널처럼 안내 한 줄만(선택하면 아래 폼이 그대로 나타난다) */
 html:root .pd-md-v13.pd-md-v19 #pd-predict #pdMdPanel:has(#pdMdPick[hidden]) :is(.pd-md-field,.pd-v34-summary,.pd-v34-slip-head) { display:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict #pdMdPanel:has(#pdMdPick[hidden]) #pdMdSubmit { display:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-v7-slip-empty { min-height:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-v7-slip-empty { display:flex; flex-direction:row; align-items:center; gap:10px; margin:0; padding:10px 12px; text-align:left; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-v7-slip-empty > strong { display:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-v7-slip-empty .pd-v7-empty-icon { flex:none; margin:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-v7-slip-empty > span:last-child { color:#d5e0f2; font-size:13.5px; font-weight:700; line-height:1.35; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-side .pd-v7-login-note { margin:0; text-align:center; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out .pd-md-out-name { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-md-out .pd-md-m-name { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#b6c6de; font-size:12px; font-weight:600; line-height:1.2; }
 html:root .pd-md-v13.pd-md-v19 .pd-md-out .pd-md-out-odds { font-size:21px; font-weight:800; line-height:1.15; }
 html:root .pd-md-v13.pd-md-v19 .pd-md-out.is-picked .pd-md-m-name { color:#fff; }
 html:root .pd-md-v13.pd-md-v19 .pd-md-empty .pd-md-d,
 html:root .pd-md-v13.pd-md-v19 .pd-md-guest .pd-md-d { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-md-empty .pd-md-m,
 html:root .pd-md-v13.pd-md-v19 .pd-md-guest .pd-md-m { display:inline; }
}






/* 모바일 북메이커형(≤767px): 밑줄 탭 · 시장별 독립 카드 · 컴팩트 배당 버튼.
   */
.pd-md-v13 .pd-md-mk-head use.pd-md-m { display:none; }
@media (max-width:767px) {
 /* 상위 탭: 퍼플 밑줄 */
 html:root .pd-md-v19 .pd-md-tabnav:not([hidden]) { gap:0; border-bottom:1px solid rgba(100,140,210,.25); }
 html:root .pd-md-v19 .pd-md-tabnav button { height:44px; border:0; border-radius:0; background:transparent; color:#a9bfdc; font-size:14px; }
 html:root .pd-md-v19 .pd-md-tabnav button[aria-selected="true"] { border:0; background:transparent; color:#fff; box-shadow:inset 0 -3px 0 #8a5cff; }
 /* 통합 카드를 풀고 시장마다 독립 카드로 */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines { padding:0; border:0; background:transparent; box-shadow:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head { margin:0 0 8px; padding:0 0 6px; border:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk { margin:0 0 10px; padding:10px 12px 12px; border:1px solid rgba(100,140,210,.28); border-radius:14px; background:linear-gradient(180deg,rgba(14,28,62,.92),rgba(7,17,40,.92)); }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head { align-items:center; margin:0 0 8px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-v7-market-copy { margin-right:auto; }
 /* 컴팩트 배당 버튼 */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out { height:54px; min-height:54px; padding:6px 8px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out .pd-md-m-name { font-size:12.5px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out .pd-md-out-odds { font-size:19px; }
}

/* 모바일 북메이커형 재구성(≤767px): 가로형 경기 헤더 · 시장 카테고리 칩 · 평면 시장 리스트 · 「이름 왼쪽 / 배당 오른쪽」 직사각형 배당 버튼.
   서버 렌더링 데이터·배당 선택 JS·하단 슬립은 그대로 두고, PC·태블릿에서는 칩 바를 숨긴다. */
@media (max-width:767px) {
 /* ── 경기 헤더: 리그 / [이름 로고] 날짜·시간 [로고 이름] / 확률 바 ── */
 html:root .pd-wrap.pd-md-v19 .pd-md-hero { gap:4px; padding:8px 10px 10px; border:0; border-radius:10px; }
 html:root .pd-md-v13.pd-md-v19 .pd-md-hero-teams.pd-v17-scoreboard { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:8px; min-height:0; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team { flex-direction:row-reverse; justify-content:flex-start; align-items:center; gap:6px; min-height:0; text-align:left; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away { flex-direction:row-reverse; justify-content:flex-end; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team .rt-team-logo { width:36px; height:36px; flex:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-v17-team-copy { display:block; width:auto; min-width:0; min-height:0; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team:not(.is-away) .pd-v17-team-copy { text-align:right; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-md-hero-team.is-away .pd-v17-team-copy { text-align:left; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-md-hero-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; font-size:13px; font-weight:700; line-height:1.25; overflow-wrap:anywhere; word-break:keep-all; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-v17-kickoff { padding:0 2px; }
 html:root .pd-md-v13.pd-md-v19 .pd-v17-scoreboard .pd-v17-kickoff strong { margin:0; font-size:22px; line-height:1.1; }
 html:root .pd-md-v19 .pd-md-hero > .pd-md-probability { margin:0; padding-top:4px; }
 /* ── 시장 리스트: 카드 테두리·라운딩을 걷고 배경 띠로 구분 ── */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines { padding:0; border:0; background:transparent; box-shadow:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head { display:flex; margin:0 0 8px; padding:0; border:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head .pd-md-panel-title { display:flex; align-items:center; gap:8px; margin:0; color:#fff; font-size:18px; font-weight:800; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-v12-predict-title-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:28px; height:28px; border:1px solid rgba(167,123,255,.55); border-radius:10px; background:rgba(167,123,255,.16); color:#b79cff; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-v12-predict-title-icon svg { width:18px; height:18px; stroke:currentColor; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk { margin:0 0 8px; padding:0; border:1px solid rgba(100,140,210,.28); border-radius:12px; background:rgba(9,21,48,.9); overflow:hidden; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head { min-height:46px; margin:0; padding:0 12px; gap:8px; }
 /* 시장 헤더는 제목만: 기준점 배지는 쓰지 않는다(선택지 안의 홈 -1.5 · 오버 2.5 등 실제 기준점은 그대로). 시장은 항상 펼친다. */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head .pd-v33-mk-line { display:none; }
 /* 시장 제목 왼쪽 아이콘(박스 없이): 승패 trophy · 핸디캡 scale · 오버/언더 chart-no-axes-column-increasing, 20px, #A78BFA, 제목과 8px. */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head .pd-v7-market-icon { display:grid; place-items:center; flex:0 0 20px; width:20px; height:20px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; color:#a78bfa; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head .pd-v7-market-icon svg { flex:0 0 20px; width:20px; height:20px; stroke:currentColor; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head use.pd-md-d { display:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head use.pd-md-m { display:inline; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-name { color:#fff; font-size:16px; font-weight:800; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mkrow { padding:0 8px 8px; }
 /* ── 예측 마켓: 하나의 퍼플 네온 패널 안에 시장 3행. 행마다 위에 아이콘+이름, 그 아래 배당 버튼이 가로 전체를 쓴다 ── */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines { padding:10px 10px 10px; border:1px solid rgba(176,120,255,.8); border-radius:16px; background:linear-gradient(180deg,rgba(130,70,240,.22),rgba(30,16,70,.5) 120px,rgba(12,16,52,.6)); box-shadow:0 0 14px rgba(150,80,255,.22), inset 0 1px 0 rgba(255,255,255,.08); }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk { --mk:96,160,255; display:grid; grid-template-columns:minmax(0,1fr); gap:6px; margin:0 0 8px; padding:6px 10px 8px; border:1px solid rgba(var(--mk),.3); border-radius:12px; background:rgba(var(--mk),.07); box-shadow:inset 3px 0 0 rgb(var(--mk)); }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk:last-child { margin-bottom:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines #pd-mk-HDP { --mk:176,120,255; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines #pd-mk-OU { --mk:70,210,230; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head { display:flex; align-items:center; gap:8px; margin:0; padding:0; min-height:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head .pd-v7-market-icon { display:inline-flex; align-items:center; justify-content:center; flex:none; width:26px; height:26px; border:1px solid rgba(var(--mk),.5); border-radius:50%; background:rgba(var(--mk),.16); color:rgb(var(--mk)); }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head .pd-v7-market-icon svg { width:16px; height:16px; flex:0 0 16px; stroke:currentColor; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-v7-market-copy { display:block; min-width:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-name { font-size:15px; font-weight:800; line-height:1.2; white-space:nowrap; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mk-head .pd-md-mk-state { margin-left:auto; padding:0 8px; font-size:10px; line-height:16px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mkrow { padding:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-mkrow + .pd-md-mkrow { margin-top:8px; }
 /* ── 배당 버튼: 라벨(작게) 위 · 배당(크게) 아래, 가운데 정렬. 3열/2열 균등 ── */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-outs { gap:6px; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out { display:flex; align-items:center; justify-content:center; height:46px; min-height:46px; padding:0 4px; border:1px solid #43447D; border-radius:12px; background:#171A36; box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 2px 8px rgba(0,0,0,.28); text-align:center; transition:background .15s, border-color .15s, box-shadow .15s; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out .pd-v34-txt { display:flex; flex-direction:column; flex:1 1 auto; align-items:center; justify-content:center; gap:1px; width:100%; min-width:0; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out .pd-md-m-name { flex:none; max-width:100%; color:#aebfe0; font-size:12.5px; font-weight:600; line-height:1.2; text-align:center; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out .pd-md-out-odds { flex:none; color:#fff; font-size:17px; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out :is(.pd-v3-out-prob,.pd-v34-ico) { display:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out:is(.is-picked,[aria-pressed="true"]) { border-color:#c9b4ff; background:linear-gradient(180deg,#7a5af5,#5f3fdc); box-shadow:0 0 0 1px rgba(201,180,255,.35), 0 0 16px rgba(139,92,246,.5); }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out:is(.is-picked,[aria-pressed="true"]) .pd-md-m-name { color:#fff; }
 /* 선택 체크(✓) 표시는 쓰지 않는다 — 기본·선택·비활성 모두 가상요소를 그리지 않는다. */
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out::before,
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out::after { content:none; display:none; }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out:is(.is-ineligible,:disabled):not(.is-picked) { border-color:rgba(92,111,137,.24); background:#11151f; box-shadow:none; opacity:.85; filter:saturate(.7); }
 html:root .pd-md-v13.pd-md-v19 #pd-predict .pd-md-lines .pd-md-out:is(.is-ineligible,:disabled) :is(.pd-md-m-name,.pd-md-out-odds) { color:#8294b8; }
 /* ── 하단 슬립: 본문과 구분되는 액션 영역 ── */
}

/* ===== 픽 등록 확인창 + 참여 완료 안내 (PC·태블릿·모바일 공통) =====
   확인창은 제출 직전에만 잠깐 뜨는 대화상자다(상시 고정 UI 가 아니다). 참여 완료 안내는 서버의 참여 기록으로 그려진다. */
.pd-md-joined { display:flex; align-items:center; gap:12px; padding:14px; border:1px solid rgba(150,125,240,.42); border-radius:12px; background:rgba(120,95,220,.12); }
.pd-md-joined-ico { display:grid; place-items:center; flex:none; width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,#6a4be8,#9250ea); color:#fff; }
.pd-md-joined-ico svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.pd-md-joined-copy { display:grid; gap:3px; min-width:0; }
.pd-md-joined-copy strong { color:#f3f0ff; font-size:15px; font-weight:800; line-height:1.35; }
.pd-md-joined-copy span { color:#a9b3d6; font-size:13px; line-height:1.4; }
.pd-md-joined-link { display:none; }   /* PC(≥1024px)에서만 켠다 — 아래 PC 블록 */
.pd-md-confirm { position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center; box-sizing:border-box; padding:16px; background:rgba(2,8,20,.72); }
.pd-md-confirm[hidden] { display:none !important; }
html.pd-md-confirm-open { overflow:hidden; }
.pd-md-confirm-box { box-sizing:border-box; width:100%; max-width:380px; padding:20px 18px 16px; border:1px solid rgba(150,125,240,.5); border-radius:16px; background:#0d1738; box-shadow:0 18px 48px rgba(0,0,0,.55); color:#eef2ff; }
.pd-md-confirm-box h3 { margin:0 0 6px; font-size:18px; font-weight:800; color:#fff; }
.pd-md-confirm-msg { margin:0 0 14px; color:#b7c2e2; font-size:14px; line-height:1.45; }
.pd-md-confirm-rows { display:grid; gap:8px; margin:0 0 16px; padding:12px; border:1px solid rgba(100,140,210,.28); border-radius:10px; background:rgba(5,14,34,.7); }
.pd-md-confirm-rows > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0; }
.pd-md-confirm-rows dt { flex:none; margin:0; color:#8da2c0; font-size:13px; }
.pd-md-confirm-rows dd { min-width:0; margin:0; color:#fff; font-size:15px; font-weight:800; text-align:right; overflow-wrap:anywhere; }
.pd-md-confirm-actions { display:grid; grid-template-columns:1fr 1.4fr; gap:10px; }
.pd-md-confirm-actions button { height:46px; border-radius:12px; font:inherit; font-size:15px; font-weight:800; cursor:pointer; }
.pd-md-confirm-cancel { border:1px solid rgba(110,150,220,.4); background:#101d3a; color:#c6d1e0; }
.pd-md-confirm-ok { border:0; background:linear-gradient(135deg,#6a4be8,#9250ea); color:#fff; }
.pd-md-confirm-actions button:disabled { opacity:.55; cursor:not-allowed; }
.pd-md-confirm-actions button:focus-visible { outline:2px solid #b79cff; outline-offset:2px; }

/* 모바일 경기 상세(≤767px): 승부예측 → 픽 등록 순서. PC 제목 문구(.pd-t-pc)와 모바일 제목(.pd-t-m)을 갈라 쓴다. */
.pd-t-m { display:none; }
@media (max-width:767px) {
 
 
 
 
 html:root .pd-md-v19 .pd-t-pc { display:none; }
 html:root .pd-md-v19 .pd-t-m { display:inline; }
 
 
 
 
 
 /* 정보 행: 아이콘 · 라벨(왼쪽) · 값(오른쪽). 개별 박스 없이 한 패널 안에서 구분선으로만 나눈다. 2열 배치. */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 /* 픽 등록: 퍼플 강조 패널 */
 html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { border-color:rgba(167,123,255,.5); border-radius:16px; background:linear-gradient(180deg,rgba(140,90,255,.16),rgba(8,20,44,.0) 110px),rgba(10,22,50,.85); box-shadow:0 0 22px rgba(140,90,255,.16), inset 0 1px 0 rgba(255,255,255,.05); }
}

/* PC(≥1024px) 색상 통일 — 랭킹·피드 패널 톤: 남보라 그라데이션 패널 + 퍼플 보더(.28 외곽 / .2 헤더선 / .14 행선) + 퍼플 .06~.12 내부 카드.
   배당 버튼(.pd-md-out)·확률 바·승무패/홈원정 뱃지·로고·아바타 링·라인 칩은 기능 색이라 그대로 둔다. */
@media (min-width:1024px) {
 /* 패널 외곽 */
 html:root .pd-wrap.pd-md-v19 .pd-md-hero { border-color:rgba(149,107,255,.28); background:linear-gradient(115deg,rgba(149,107,255,.2),rgba(10,16,40,.92) 55%); }
 html:root .pd-md-v19 #pd-predict .pd-md-lines,
 html:root .pd-md-v19 #pd-predict .pd-md-side > .pd-md-panel,
 html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel,
 html:root .pd-wrap.pd-md-v19 .pd-v15-history,
 html:root .pd-md.pd-md-v13 .pd-v14-tactics,
 html:root .pd-md.pd-md-v19 #pd-comments.pd-md-talk { border-color:rgba(149,107,255,.28); background:linear-gradient(rgba(12,18,44,.96),rgba(8,13,34,.98)); }
 html:root .pd-md-v19 #pd-predict .pd-md-side .pd-md-panel { border-color:rgba(149,107,255,.4); }
 html:root .pd-md.pd-md-v19 .pd-v15-history { --pd-history-accent:#956BFF; }
 /* 헤더 구분선 */
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-hero > .pd-md-probability { border-top-color:rgba(149,107,255,.18); }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-hero .pd-md-prob-choices { border-color:rgba(149,107,255,.16); }
 html:root .pd-md.pd-md-v19 #pd-predict .pd-md-lines > .pd-md-panel-head,
 html:root .pd-md.pd-md-v19 #pd-comments.pd-md-talk > .pd-md-panel-head{ border-bottom-color:rgba(149,107,255,.2); }
 html:root .pd-md.pd-md-v19 #pd-predict .pd-md-mk { border-color:rgba(149,107,255,.16); }
 html:root .pd-md.pd-md-v19.pd-md-v10 .pd-md-guest { border-color:rgba(149,107,255,.14); }
 html:root .pd-md.pd-md-v13 .pd-v15-lineup-content { border-top-color:rgba(149,107,255,.16); }
 /* 제목 아이콘 */
 html:root .pd-md.pd-md-v19 #pd-predict .pd-v12-predict-title-icon,
 html:root .pd-md.pd-md-v19 #pd-predict .pd-v7-market-icon{ border-color:rgba(149,107,255,.32); background:rgba(149,107,255,.16); color:#b79cff; stroke:#b79cff; }
 /* 내부 카드 */
 
 
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-v15-tabs { border-color:rgba(149,107,255,.28); background:rgba(149,107,255,.06); }
 html:root .pd-md.pd-md-v13.pd-md-v19 .pd-v21-player-tabs button[aria-selected="true"] { background:#7447e0; }
 html:root .pd-md.pd-md-v19 #pd-v15-panel-recent :is(.pd-md-form-col,.pd-md-form-col + .pd-md-form-col) { border-color:rgba(149,107,255,.22); background:linear-gradient(rgba(16,22,52,.98),rgba(10,15,38,.98)); }
 html:root .pd-md.pd-md-v19 :is(#pd-v15-panel-recent .pd-v20-form-columns,#pd-v15-panel-h2h .pd-v20-h2h-columns) { border-color:rgba(149,107,255,.22); background:rgba(149,107,255,.12); }
 html:root .pd-md.pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-list,#pd-v15-panel-h2h .pd-md-h2h-list) { border-color:rgba(149,107,255,.14); }
 html:root .pd-md.pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-score,#pd-v15-panel-h2h .pd-md-h2h-score) { background:rgba(149,107,255,.16); }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-v15-history .pd-md-form-team { border-bottom-color:rgba(149,107,255,.18); }
 html:root .pd-md.pd-md-v19 :is(#pd-v15-panel-recent .pd-md-form-row,#pd-v15-panel-h2h .pd-md-h2h-row) { border-color:rgba(149,107,255,.13); }
 html:root .pd-md.pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-summary { border-color:rgba(149,107,255,.28); background:radial-gradient(circle at 50% 0,rgba(149,107,255,.14),transparent 52%),linear-gradient(rgba(16,22,52,.98),rgba(10,15,38,.98)); }
 html:root .pd-md.pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b + b { border-left-color:rgba(149,107,255,.2); }
 html:root .pd-md.pd-md-v13 .pd-v14-board-shell { border-color:rgba(149,107,255,.18); background:rgba(149,107,255,.05); }
 html:root .pd-md.pd-md-v13 .pd-v13-formation { border-color:rgba(149,107,255,.36); background:rgba(149,107,255,.14); }
 html:root .pd-md .pd-md-cempty-login,
 html:root .pd-md .pd-md-more-btn.pd-md-list-return-link,
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-v15-history .pd-md-more-btn { border-color:rgba(149,107,255,.28); background:rgba(149,107,255,.06); }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-v15-history .pd-md-more-btn:hover:not(:disabled) { border-color:rgba(149,107,255,.5); background:rgba(149,107,255,.14); }
 /* 참여 완료 안내의 '예측내역 보러가기' 버튼 — 안내 카드 안에서 한 줄 전체 너비, 퍼플 그라데이션. */
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-joined:not(.pd-md-limit) { flex-wrap:wrap; }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-joined:not(.pd-md-limit) .pd-md-joined-copy { flex:1 1 0; }   /* 줄바꿈을 켜도 아이콘 옆에 안내 문구가 그대로 붙어 있도록 */
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-joined-link { display:inline-flex; flex:1 0 100%; align-items:center; justify-content:center; gap:6px; box-sizing:border-box; height:40px; margin-top:2px; padding:0 16px; border:1px solid rgba(190,165,255,.5); border-radius:10px; background:linear-gradient(180deg,#9b79ff,#7549eb); color:#fff; font-size:14px; font-weight:800; text-decoration:none; transition:box-shadow .18s ease,filter .18s ease; }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-joined-link svg { flex:none; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-joined-link:hover { box-shadow:inset 0 0 12px rgba(255,255,255,.14),0 4px 14px rgba(117,73,235,.4); filter:brightness(1.06); }
 html:root .pd-md.pd-md-v19.pd-md-v13 .pd-md-joined-link:focus-visible { outline:2px solid #b49aff; outline-offset:2px; }
}

/* 3×3 스포츠북 행: 핸디캡·오버언더는 [홈/언더 배당 | 기준값(선택 불가) | 원정/오버 배당]. 오버언더는 언더가 왼쪽 — order 로만 바꾸고 DOM·선택 로직은 그대로. */
html:root .pd-md .pd-md-outs.has-line { grid-template-columns:minmax(0,1fr) minmax(56px,.4fr) minmax(0,1fr); }
html:root .pd-md .pd-md-line-cell { display:flex; flex-direction:column; gap:2px; align-items:center; justify-content:center; box-sizing:border-box; min-width:0; padding:0 6px; border:1px dashed rgba(149,107,255,.32); border-radius:10px; background:rgba(149,107,255,.07); color:#cfd5f3; font-variant-numeric:tabular-nums; text-align:center; cursor:default; user-select:none; }
html:root .pd-md #pd-mk-OU .pd-md-outs.has-line > .pd-md-out:first-child { order:3; }
html:root .pd-md #pd-mk-OU .pd-md-outs.has-line > .pd-md-line-cell { order:2; }
html:root .pd-md #pd-mk-OU .pd-md-outs.has-line > .pd-md-out:last-child { order:1; }
@media (max-width:767px) { html:root .pd-md .pd-md-outs.has-line { grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr); } html:root .pd-md .pd-md-line-cell { padding:0 2px; } html:root .pd-md .pd-md-line-name { font-size:10px; } html:root .pd-md .pd-md-line-val { font-size:14px; } }
html:root .pd-md .pd-md-line-name { max-width:100%; overflow:hidden; color:#8f9bc4; font-size:11px; font-weight:500; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
html:root .pd-md .pd-md-line-val { max-width:100%; overflow:hidden; color:#73D9C2; font-size:16px; font-weight:800; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }

/* HERO 상단 3구역(경기장 | 리그명 | 관중·날씨)과 하단 주심 한 줄. 리그명은 1fr·auto·1fr 격자의 가운데라 양쪽 값이 없어도 정중앙이다. */
html:root .pd-md-v19 .pd-hi-venue { grid-column:1; justify-self:start; display:flex; align-items:center; gap:7px; min-width:0; color:#8da2c0; font-size:12px; }
html:root .pd-md-v19 .pd-hi-venue strong { overflow:hidden; color:#edf5ff; font-size:13px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
html:root .pd-md-v19 .pd-hi-venue small { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
html:root .pd-md-v19 .pd-hi-env { grid-column:3; justify-self:end; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:4px 14px; margin:0; padding:0; list-style:none; }
html:root .pd-md-v19 .pd-hi-env li { display:flex; align-items:center; gap:5px; color:#dbe7f8; font-size:13px; font-weight:600; white-space:nowrap; }
html:root .pd-md-v19 .pd-hi-venue svg, html:root .pd-md-v19 .pd-hi-env svg, html:root .pd-md-v19 .pd-hi-ref svg { flex:none; width:15px; height:15px; fill:none; stroke:#8fb4ff; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 .pd-hi-ref { order:2; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px 0; padding-top:10px; border-top:1px solid rgba(91,142,205,.16); color:#8da2c0; font-size:12.5px; }
html:root .pd-md-v19 .pd-hi-ref > span { display:inline-flex; align-items:center; gap:5px; padding:0 14px; white-space:nowrap; }
html:root .pd-md-v19 .pd-hi-ref > span + span { border-left:1px solid rgba(91,142,205,.2); }
html:root .pd-md-v19 .pd-hi-ref b { font-weight:700; color:#edf5ff; font-variant-numeric:tabular-nums; }
html:root .pd-md-v19 .pd-hi-ref em { font-style:normal; }
html:root .pd-md-v19 .pd-hi-ref .pd-hi-ref-id svg { stroke:#b79cff; }
html:root .pd-md-v19 .pd-hi-stat i { width:8px; height:11px; border-radius:2px; }
html:root .pd-md-v19 .pd-hi-stat.is-yellow i { background:#f5c451; }
html:root .pd-md-v19 .pd-hi-stat.is-red i { background:#ff5c7c; }
html:root .pd-md-v19 .pd-hi-stat.is-yellow b { color:#f5c451; }
html:root .pd-md-v19 .pd-hi-stat.is-red b { color:#ff7c93; }
html:root .pd-md-v19 .pd-hi-stat.is-foul b { color:#9cc4ff; }
html:root .pd-md-v19 .pd-hi-stat.is-foul svg { stroke:#9cc4ff; }
@media (max-width:767px) {
 html:root .pd-md-v19 .pd-md-hero-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 10px; }
 html:root .pd-md-v19 .pd-md-hero-top .pd-v17-competition { order:-1; width:100%; }
 html:root .pd-md-v19 .pd-hi-env { gap:3px 10px; }
 html:root .pd-md-v19 .pd-hi-env li { font-size:12px; }
 html:root .pd-md-v19 .pd-hi-ref { font-size:11.5px; }
 html:root .pd-md-v19 .pd-hi-ref > span { padding:0 9px; }
}

/* PC(≥768px) 배당 버튼 1줄: [로고/▼▲ 20px] 선택지명(좌, 로고 없는 버튼도 좌측정렬) · 배당(우). 모바일(≤767px)은 위 2줄 규칙 그대로. 체크 표시는 왼쪽 위 모서리로 옮겨 배당과 겹치지 않는다. */
@media (min-width:768px) {
 html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out { grid-template-columns:auto minmax(0,1fr) auto; column-gap:8px; row-gap:0; min-height:50px; padding:6px 14px; }
 html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out:not(:has(.pd-v34-ico)) .pd-md-out-name { grid-column:1 / 3; text-align:left; }
 html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-oudir { width:20px; height:20px; margin-right:8px; vertical-align:-5px; }
 html:root .pd-md-v19 #pd-predict .pd-md-lines .pd-md-out-odds { grid-column:3; font-size:20px; text-align:right; }
 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 { right:auto; left:2px; top:2px; width:13px; height:13px; font-size:9px; }
}
