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

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

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

/* H2H: preserve stored rows and statistics while giving the panel one clear hierarchy. */
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-summary {
    padding:14px 18px 15px;
    border-color:rgba(65,133,211,.34);
    border-radius:15px;
    background:
        radial-gradient(circle at 50% 0,rgba(42,103,181,.16),transparent 52%),
        linear-gradient(145deg,rgba(7,25,45,.9),rgba(6,20,37,.78));
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-scoreline {
    grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr);
    gap:20px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team {
    display:flex;
    align-items:center;
    min-width:0;
    gap:10px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team.is-away {
    justify-content:flex-end;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong {
    min-width:0;
    overflow:visible;
    color:#f3f8ff;
    font-size:16px;
    font-weight:700;
    line-height:1.25;
    text-overflow:clip;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team.is-away strong { text-align:right; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo img {
    width:48px;
    height:48px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo {
    position:relative;
    display:inline-grid;
    flex:0 0 48px;
    place-items:center;
    overflow:hidden;
    border-radius:11px;
    background:rgba(15,38,66,.84);
    box-shadow:0 8px 20px rgba(0,0,0,.2),inset 0 0 0 1px rgba(127,181,239,.14);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team .rt-team-logo img {
    position:absolute;
    inset:0;
    display:block;
    box-sizing:border-box;
    padding:3px;
    object-fit:contain;
}

/* Match-detail team identities follow the Hero image/fallback contract. */
html:root .pd-md-v19 :is(
    .pd-v14-team,
    .pd-v18-team-card-head,
    .pd-v18-availability-head,
    #pd-v15-panel-recent .pd-md-form-team,
    #pd-v15-panel-h2h .pd-v16-h2h-team
) > .rt-team-logo:has(> img:not([hidden])) {
    border:0;
    background:transparent;
    box-shadow:none;
}
html:root .pd-md-v19 :is(
    .pd-v14-team,
    .pd-v18-team-card-head,
    .pd-v18-availability-head,
    #pd-v15-panel-recent .pd-md-form-team,
    #pd-v15-panel-h2h .pd-v16-h2h-team
) > .rt-team-logo > img:not([hidden]) {
    background:transparent;
}
html:root .pd-md-v19 :is(
    .pd-v14-team,
    .pd-v18-team-card-head,
    .pd-v18-availability-head,
    #pd-v15-panel-recent .pd-md-form-team,
    #pd-v15-panel-h2h .pd-v16-h2h-team
) > .rt-team-logo:has(> img:not([hidden])) > .rt-team-initial {
    visibility:hidden;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small {
    margin-bottom:4px;
    color:#91a9c8;
    font-size:11px;
    font-weight:600;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record > div { gap:0; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b {
    min-width:56px;
    padding:0 8px;
    font-size:22px;
    font-weight:800;
    line-height:1.1;
    white-space:nowrap;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b + b {
    border-left:1px solid rgba(110,150,199,.28);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    margin:18px 0 8px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head .pd-v16-h2h-list-title {
    margin:0;
    color:#f0f6ff;
    font-size:19px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row {
    display:grid;
    align-items:center;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns {
    min-height:38px;
    padding:0 14px;
    border:1px solid rgba(91,142,205,.16);
    border-radius:9px 9px 0 0;
    background:rgba(22,51,83,.52);
    color:#91a8c6;
    font-size:11px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-list {
    border:1px solid rgba(91,142,205,.14);
    border-top:0;
    border-radius:0 0 9px 9px;
    background:rgba(5,18,33,.28);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row {
    min-height:66px;
    padding:10px 14px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-row + .pd-md-h2h-row {
    border-top:1px solid rgba(91,142,205,.13);
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-history-meta { display:contents; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-date,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-lg,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score { grid-row:1; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-date {
    grid-column:1;
    color:#9ab0cb;
    font-size:12px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-lg {
    display:block;
    grid-column:2;
    min-width:0;
    margin:0;
    overflow:visible;
    color:#849ab7;
    font-size:11px;
    line-height:1.35;
    text-align:left;
    text-overflow:clip;
    white-space:normal;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match {
    display:grid;
    grid-column:3;
    grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);
    align-items:center;
    justify-self:stretch;
    width:100%;
    max-width:none;
    min-width:0;
    gap:10px;
    overflow:visible;
    color:#dce7f5;
    font-size:13px;
    line-height:1.35;
    white-space:normal;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span {
    min-width:0;
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    overflow-wrap:anywhere;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span:first-child { text-align:right; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span:last-child { text-align:left; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-winner { color:#68b9ff; font-weight:800; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-vs {
    margin:0;
    color:#667f9f;
    font-size:10px;
    text-align:center;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score {
    grid-column:4;
    justify-self:center;
    min-width:64px;
    box-sizing:border-box;
    padding:8px 10px;
    border-radius:8px;
    background:rgba(29,61,96,.66);
    color:#fff;
    font-size:17px;
    font-weight:900;
    text-align:center;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more {
    display:grid;
    padding:0 14px;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-more-btn {
    grid-column:3;
    justify-self:center;
}

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

/* Recent/H2H typography: one scale for equivalent roles in both panels. */
html:root .pd-md-v19 .pd-v15-history {
    --pd-history-accent:color-mix(in srgb,var(--rt-data-blue) 45%,var(--rt-positive));
    --pd-history-columns:minmax(0,9fr) minmax(0,20fr) minmax(0,51fr) minmax(0,12fr) minmax(0,8fr);
    --pd-h2h-columns:minmax(0,9fr) minmax(0,14fr) minmax(0,63fr) minmax(0,14fr);
    --pd-history-column-gap:12px;
    --pd-history-title-size:19px;
    --pd-history-team-heading-size:18px;
    --pd-history-match-size:14px;
    --pd-history-meta-size:12px;
    --pd-history-table-meta-size:13px;
    border-color:color-mix(in srgb,var(--pd-history-accent) 58%,transparent);
}
@media(min-width:701px) {
    /* Recent keeps five columns; H2H redistributes its removed result column. */
    html:root .pd-md-v19 .pd-v15-history :is(
        #pd-v15-panel-recent .pd-v20-form-columns,
        #pd-v15-panel-recent .pd-md-form-row,
        #pd-v15-panel-recent .pd-md-more
    ) {
        grid-template-columns:var(--pd-history-columns);
        column-gap:var(--pd-history-column-gap);
    }
    html:root .pd-md-v19 .pd-v15-history :is(
        #pd-v15-panel-h2h .pd-v20-h2h-columns,
        #pd-v15-panel-h2h .pd-md-h2h-row,
        #pd-v15-panel-h2h .pd-md-more
    ) {
        grid-template-columns:var(--pd-h2h-columns);
        column-gap:var(--pd-history-column-gap);
    }
    html:root .pd-md-v19 .pd-v15-history :is(
        #pd-v15-panel-recent .pd-md-form-date,
        #pd-v15-panel-recent .pd-md-form-league,
        #pd-v15-panel-h2h .pd-md-h2h-date,
        #pd-v15-panel-h2h .pd-md-h2h-lg
    ) {
        justify-self:stretch;
        text-align:center;
    }
}
html:root .pd-md-v19 .pd-v15-history :is(
    #pd-v15-panel-recent .pd-v20-form-columns,
    #pd-v15-panel-h2h .pd-v20-h2h-columns
) > span { text-align:center; }
html:root .pd-md-v19 .pd-v15-history,
html:root .pd-md-v19 .pd-v15-history * { font-family:var(--md-font); }
html:root .pd-md-v19 .pd-v15-history-head h2 {
    font-size:var(--pd-history-title-size);
    font-weight:700;
}
html:root .pd-md-v19 .pd-v15-history-head .pd-v9-heading-icon {
    color:var(--pd-history-accent);
}
html:root .pd-md-v19 .pd-v15-tabs {
    border-color:color-mix(in srgb,var(--pd-history-accent) 28%,transparent);
}
html:root .pd-md-v19 .pd-v15-tabs button {
    font-size:12px;
    font-weight:650;
}
html:root .pd-md-v19 .pd-v15-tabs button[aria-selected="true"] {
    color:#fff;
    background:color-mix(in srgb,var(--pd-history-accent) 24%,var(--rt-surface-2));
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--pd-history-accent) 72%,transparent);
}
html:root .pd-md-v19 .pd-v15-tabs button:focus-visible {
    outline:2px solid var(--pd-history-accent);
    outline-offset:2px;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong {
    font-size:var(--pd-history-team-heading-size);
    font-weight:700;
    line-height:1.3;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-name { font-size:16px; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-team strong { font-size:16px; }
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record small { font-size:11px; font-weight:600; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-v20-form-columns,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-columns {
    color:#9ab0cb;
    font-size:var(--pd-history-table-meta-size);
    font-weight:600;
}
html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-md-form-date,.pd-md-form-league),
html:root .pd-md-v19 #pd-v15-panel-h2h :is(.pd-md-h2h-date,.pd-md-h2h-lg) {
    color:#adc0da;
    font-size:var(--pd-history-table-meta-size);
    font-weight:600;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match {
    font-size:var(--pd-history-match-size);
    font-weight:650;
    line-height:1.4;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > span:not(.pd-md-form-vs),
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > span:not(.pd-v16-h2h-vs) {
    font-weight:650;
    line-height:1.4;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-match > .pd-md-form-focus,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-match > .pd-md-h2h-winner { font-weight:750; }
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-vs,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-vs {
    font-size:12px;
    font-style:normal;
    font-weight:400;
}
html:root .pd-md-v19 #pd-v15-panel-recent .pd-md-form-score,
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-md-h2h-score {
    font-size:14px;
    font-weight:700;
}
html:root .pd-md-v19 #pd-v15-panel-recent :is(.pd-v20-form-role,.pd-md-form-badge) {
    font-size:12px;
    font-weight:700;
}
html:root .pd-md-v19 .pd-v15-history .pd-md-more-btn {
    font-size:12px;
    font-weight:600;
    line-height:1.2;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v16-h2h-record b {
    font-size:22px;
    font-weight:800;
}
html:root .pd-md-v19 #pd-v15-panel-h2h .pd-v20-h2h-list-head .pd-v16-h2h-list-title {
    font-size:18px;
    font-weight:700;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* pick slip hierarchy */

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

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

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

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

/* market card hierarchy */

/* pick card */

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

/* 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:flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:10px;
    min-height:64px; padding:8px 16px; text-align:left;
    border:1px solid rgba(80,135,225,.6); border-radius:12px; background:linear-gradient(180deg,#10254a 0%,#0a1a38 100%);
    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-lines .pd-md-out:not(:has(.pd-v34-ico)) { justify-content:center; text-align:center; }
html:root .pd-md-v19 #pd-predict .pd-md-out::after { content:none; display:none; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico { display:inline-grid; flex:none; place-items:center; width:30px; height:30px; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-logo { position:relative; display:inline-grid; place-items:center; width:28px; height:28px; 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:3px; box-sizing:border-box; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-initial { font-size:10px; font-weight:800; color:#c9d8ee; }
html:root .pd-md-v19 #pd-predict .pd-v34-ico > svg { width:28px; height:28px; padding:6px; box-sizing:border-box; border-radius:12px; background:linear-gradient(160deg,#1b4fa8,#12306a); border:1px solid rgba(120,175,255,.45); fill:none; stroke:#cfe4ff; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
html:root .pd-md-v19 #pd-predict .pd-v34-txt { display:grid; justify-items:start; align-content:center; gap:2px; min-width:0; max-width:100%; }
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 {
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; box-sizing:border-box; max-width:100%;
    color:#dbe7f8; font-size:13px; 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:#7cc0ff; background:linear-gradient(180deg,#153163,#0e2450); }
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.is-picked .pd-v34-ico > svg { background:rgba(255,255,255,.22); border-color:rgba(255,255,255,.4); stroke:#fff; }
html:root .pd-md-v19 #pd-predict .pd-md-out:disabled:not(.is-picked),
html:root .pd-md-v19 #pd-predict .pd-md-out.is-ineligible:not(.is-picked) { border-color:rgba(92,111,137,.28); background:#08111f; 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-v34-ico { width:26px; height:26px; }
    html:root .pd-md-v19 #pd-predict .pd-v34-ico .rt-team-logo, html:root .pd-md-v19 #pd-predict .pd-v34-ico > svg { width:24px; height:24px; }
    html:root .pd-md-v19 #pd-predict .pd-v34-ico > svg { padding:5px; }
    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="info"]):not([data-md-tab="predict"]) .pd-v22-info { 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"); }
}

/* 모바일 경기정보(≤767px): 「경기장·환경」 카드 + 「주심」 카드 두 장으로 정리한다. 같은 데이터, 중첩 테두리를 걷고 3열로 통합.
   `.pd-v22-main` 은 PC·태블릿에서 display:contents(레이아웃 영향 없음), `.pd-md-m-lbl` 은 모바일 전용 라벨이다. */
.pd-md-v13 .pd-v22-main { display:contents; }
.pd-md-v13 .pd-v22-weather .pd-md-m-lbl { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v13.pd-md-v19 .pd-v22-info { display:grid; gap:12px; padding:0; border:0; background:transparent; box-shadow:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-main,
 html:root .pd-md-v13.pd-md-v19 .pd-v22-referee { display:grid; gap:10px; margin:0; padding:12px; border:1px solid rgba(100,140,210,.28); border-radius:14px; background:linear-gradient(180deg,rgba(12,26,58,.9),rgba(6,16,38,.9)); box-shadow:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-main > h2,
 html:root .pd-md-v13.pd-md-v19 .pd-v22-referee > h3 { margin:0; padding:0; border:0; font-size:16px; line-height:1.3; }
 /* 경기장 */
 html:root .pd-md-v13.pd-md-v19 .pd-v22-venue { display:flex; align-items:center; gap:10px; margin:0; padding:12px; border:1px solid rgba(100,140,210,.25); border-radius:12px; background:linear-gradient(120deg,rgba(20,42,92,.75),rgba(8,18,44,.9)); }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-venue-text { display:grid; gap:2px; min-width:0; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-venue-name { overflow-wrap:anywhere; font-size:16px; font-weight:800; line-height:1.25; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-venue-place { overflow-wrap:anywhere; font-size:12px; }
 /* 수용 인원 · 기온 · 날씨 · 풍속: 가로 한 줄 */
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:0; margin:0; padding:10px 4px; border:1px solid rgba(100,140,210,.25); border-radius:12px; background:rgba(5,14,34,.7); list-style:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; align-items:center; column-gap:6px; min-width:0; margin:0; padding:0 6px; border:0; border-radius:0; background:transparent; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li + li { border-left:1px solid rgba(100,140,210,.22); }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li:last-child:nth-child(odd) { grid-column:auto; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li { justify-content:start; text-align:left; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather:has(li:nth-child(4)) li { grid-template-columns:minmax(0,1fr); justify-items:center; text-align:center; padding:0 4px; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather:has(li:nth-child(4)) li > svg { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather:has(li:nth-child(4)) :is(.pd-md-m-lbl,b) { grid-column:1; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li > svg { grid-row:1 / 3; width:30px; height:30px; padding:6px; box-sizing:border-box; border-radius:50%; background:rgba(120,110,255,.18); color:#9b8cff; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li:nth-child(2) > svg { background:rgba(255,150,60,.18); color:#ffa24a; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li:last-child > svg { background:rgba(80,180,255,.18); color:#5ec1ff; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather .pd-md-m-lbl { display:block; grid-column:2; color:#8da2c0; font-size:10.5px; line-height:1.2; white-space:nowrap; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather b { grid-column:2; min-width:0; overflow-wrap:anywhere; color:#f3f7ff; font-size:clamp(12.5px,3.7vw,14px); font-weight:800; line-height:1.25; white-space:nowrap; }
 /* 주심 프로필 */
 html:root .pd-md-v13.pd-md-v19 .pd-v22-referee-head { display:flex; align-items:center; gap:10px; margin:0; padding:10px 12px; border:1px solid rgba(100,140,210,.25); border-radius:12px; background:linear-gradient(120deg,rgba(20,42,92,.6),rgba(8,18,44,.9)); }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-referee-id { display:grid; gap:2px; min-width:0; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-referee-name { overflow-wrap:anywhere; font-size:16px; font-weight:800; line-height:1.25; }
 /* 주심 통계: 가로 3열 */
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:0; margin:0; padding:10px 4px; border:1px solid rgba(100,140,210,.25); border-radius:12px; background:rgba(5,14,34,.7); }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats > div { display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; gap:4px; align-content:center; min-width:0; min-height:0; margin:0; padding:0 8px; border:0; border-radius:0; background:transparent; text-align:center; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats > div + div { border-left:1px solid rgba(100,140,210,.22); }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats dd { text-align:center; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats dt { display:flex; align-items:center; justify-content:center; gap:5px; height:16px; margin:0; color:#a9bfdc; font-size:11px; line-height:1.2; white-space:nowrap; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats dd { margin:0; font-size:19px; font-weight:800; line-height:1.15; white-space:nowrap; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats .is-yellow dd { color:#ffc933; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats .is-red dd { color:#ff5a78; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats .is-foul dd { color:#5ec1ff; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-stats .is-foul dt svg { color:#5ec1ff; }
}
@media (max-width:380px) {
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li { column-gap:4px; padding:0 4px; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-weather li > svg { width:24px; height:24px; padding:5px; }
}

/* 모바일 승부예측(≤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): 위치 핀 → clipboard-list 로 교체, 「주심 정보」 제목에 휘슬 아이콘 추가(경기정보 제목 아이콘과 같은 크기·색·간격).
   두 번째 `<use>`·`.pd-md-m-ico` 는 모바일 전용이라 PC·태블릿에서는 숨긴다. */
.pd-md-v13 .pd-v22-info .pd-md-panel-title use.pd-md-m { display:none; }
html:root .pd-md-v19 #pd-predict .pd-v22-info .pd-v22-referee > h3 .pd-md-m-ico { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v13.pd-md-v19 .pd-v22-info .pd-md-panel-title use.pd-md-d { display:none; }
 html:root .pd-md-v13.pd-md-v19 .pd-v22-info .pd-md-panel-title use.pd-md-m { display:inline; }
 html:root .pd-md-v19 #pd-predict .pd-v22-info .pd-v22-referee > h3 { display:flex; align-items:center; gap:10px; }
 html:root .pd-md-v19 #pd-predict .pd-v22-info .pd-v22-referee > h3 .pd-md-m-ico { display:inline-grid; }
}

/* 모바일 북메이커형(≤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:11.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 rgba(120,150,255,.3); border-radius:12px; background:linear-gradient(180deg,#1b3050,#142544); 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:11.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:#0e1a36; 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-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): "경기정보" 한 탭 안에서 경기 정보(참고) → 승부예측(메인) → 픽 등록이 이어진다.
   별도 "경기정보" 탭 단추(data-md-tab="info")는 감추고, 경기 정보는 모바일 전용 격자(.pd-mi)로 다시 그린다. 라인업·최근 경기·상대 전적 탭은 그대로다.
   PC·태블릿은 .pd-mi·모바일 제목을 그리지 않는다(아래 기본값 display:none). */
.pd-mi, .pd-t-m { display:none; }
@media (max-width:767px) {
 html:root .pd-md-v19 .pd-md-tabnav button[data-md-tab="info"] { display:none; }
 html:root .pd-md-v19 #pd-predict.pd-v22-has-info { display:flex; flex-direction:column; gap:16px; }
 html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-v22-info { order:1; }
 html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-lines { order:2; }
 html:root .pd-md-v19 #pd-predict.pd-v22-has-info > .pd-md-side { order:3; }
 html:root .pd-md-v19 .pd-t-pc { display:none; }
 html:root .pd-md-v19 .pd-t-m { display:inline; }
 html:root .pd-md-v19 .pd-v22-info > .pd-v22-main, html:root .pd-md-v19 .pd-v22-info > .pd-v22-referee { display:none; }
 html:root .pd-md-v19 .pd-v22-info > .pd-mi { display:block; padding:8px 10px 10px; border:1px solid rgba(100,140,210,.3); border-radius:14px; background:rgba(8,22,46,.7); box-shadow:none; }
 .pd-mi-title { display:flex; align-items:center; gap:8px; margin:0 0 8px; color:#fff; font-size:16px; font-weight:800; line-height:1.2; }
 .pd-mi-title-ico { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border:1px solid rgba(110,140,255,.4); border-radius:9px; background:rgba(110,140,255,.1); color:#8fb4ff; }
 .pd-mi-title-ico svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
 /* 정보 행: 아이콘 · 라벨(왼쪽) · 값(오른쪽). 개별 박스 없이 한 패널 안에서 구분선으로만 나눈다. 2열 배치. */
 .pd-mi-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; margin:0; padding:0; list-style:none; }
 .pd-mi-grid > li { box-sizing:border-box; display:flex; align-items:center; gap:6px; min-width:0; min-height:36px; padding:6px 0; border:0; border-bottom:1px solid rgba(100,140,210,.16); background:none; }
 .pd-mi-ico { flex:none; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; color:#7fa5ff; }
 .pd-mi-grid .is-place .pd-mi-ico, .pd-mi-grid .is-ref .pd-mi-ico { color:#b79cff; }
 .pd-mi-grid .is-temp .pd-mi-ico { color:#ff9d68; }
 .pd-mi-grid .is-wind .pd-mi-ico { color:#46d2e6; }
 .pd-mi-grid .is-cap .pd-mi-ico { color:#2ee6a6; }
 .pd-mi-grid > li > span { display:contents; }
 .pd-mi-grid small { flex:none; color:#8da2c0; font-size:11px; font-weight:500; line-height:1.2; white-space:nowrap; }
 .pd-mi-grid b { flex:1 1 0; min-width:0; color:#fff; font-size:13px; font-weight:700; line-height:1.25; text-align:right; overflow-wrap:anywhere; }
 .pd-mi-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:8px 0 0; border:1px solid rgba(100,140,210,.2); border-radius:10px; background:rgba(255,255,255,.025); }
 .pd-mi-stats > div { box-sizing:border-box; display:flex; flex-direction:column; align-items:center; gap:0; min-width:0; padding:4px 4px; border:0; background:none; text-align:center; }
 .pd-mi-stats > div + div { border-left:1px solid rgba(100,140,210,.16); }
 .pd-mi-stats dd { order:1; margin:0; font-size:14px; font-weight:700; line-height:1.15; font-variant-numeric:tabular-nums; }
 .pd-mi-stats dt { order:2; margin:0; color:#8da2c0; font-size:10px; font-weight:500; line-height:1.2; }
 .pd-mi-stats .is-yellow dd { color:#ffc857; } .pd-mi-stats .is-red dd { color:#ff5c7c; } .pd-mi-stats .is-foul dd { color:#5ea8ff; }
 /* 픽 등록: 퍼플 강조 패널 */
 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); }
}
