/* Match odds / Single Pick Visual V3. No market, form, or calculation behavior lives here. */
html:root .pd-md-v7 .pd-md-grid { gap:16px; grid-template-columns:minmax(0,2.08fr) minmax(310px,1fr); }

/* Odds panel header */
html:root .pd-md-v7 .pd-md-lines {
 padding:24px; border-color:color-mix(in srgb,var(--rt-data-blue) 22%,var(--rt-border));
 background:linear-gradient(145deg,color-mix(in srgb,var(--rt-surface-2) 56%,var(--rt-surface-1)),var(--rt-surface-1));
 box-shadow:0 18px 40px rgba(2,8,24,.12),inset 0 1px 0 rgba(255,255,255,.025);
}
html:root .pd-md-v7 .pd-md-lines>.pd-md-panel-head { align-items:center; padding:0 0 18px; border-bottom:0; }
html:root .pd-md-v7 .pd-v6-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 12px; min-width:0; }
html:root .pd-md-v7 .pd-v6-heading .pd-md-panel-title { font-size:22px; }
html:root .pd-md-v7 .pd-v6-heading .pd-v5-eyebrow { color:var(--rt-data-blue); }
html:root .pd-md-v7 .pd-v6-heading p { flex-basis:100%; margin:1px 0 0; color:var(--rt-muted); font-size:11px; }
html:root .pd-md-v7 .pd-v7-odds-badge {
 box-sizing:border-box; max-width:none; padding:7px 10px; border:1px solid color-mix(in srgb,var(--rt-data-blue) 38%,var(--rt-border));
 border-radius:999px; color:var(--rt-data-blue); background:color-mix(in srgb,var(--rt-data-blue) 8%,var(--rt-surface-2)); font-weight:700; white-space:nowrap;
}

/* Distinct market sections */
html:root .pd-md-v7 .pd-md-mk {
 position:relative; margin:0 0 12px; padding:16px; border:1px solid var(--rt-border-soft); border-radius:12px;
 background:color-mix(in srgb,var(--rt-surface-2) 64%,var(--rt-surface-1));
}
html:root .pd-md-v7 .pd-md-mk:last-child { margin-bottom:0; }
html:root .pd-md-v7 .pd-md-mk+.pd-md-mk { border-top:1px solid var(--rt-border-soft); }
html:root .pd-md-v7 .pd-md-mk-head { display:flex; align-items:center; gap:10px; margin:0 0 12px; }
html:root .pd-md-v7 .pd-v7-market-icon {
 display:inline-flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px;
 border-radius:10px; color:var(--rt-on-brand); background:linear-gradient(135deg,var(--rt-data-blue),var(--rt-brand));
 box-shadow:0 6px 16px color-mix(in srgb,var(--rt-data-blue) 20%,transparent); font-size:16px; font-weight:900;
}
html:root .pd-md-v7 .pd-v7-market-copy { display:flex; flex-direction:column; gap:2px; min-width:0; }
html:root .pd-md-v7 .pd-md-mk-name { font-size:15px; line-height:1.25; }
html:root .pd-md-v7 .pd-v7-market-desc { color:var(--rt-muted); font-size:10px; line-height:1.3; }
html:root .pd-md-v7 .pd-md-mk-line,
html:root .pd-md-v7 .pd-md-mk-rowline {
 margin-left:auto; padding:5px 10px; border:1px solid color-mix(in srgb,var(--rt-data-blue) 35%,var(--rt-border));
 border-radius:999px; color:var(--rt-data-blue); background:color-mix(in srgb,var(--rt-data-blue) 7%,var(--rt-surface-2));
}
html:root .pd-md-v7 .pd-md-mk-rowline { width:max-content; margin:0 0 8px auto; }

/* Outcome cards */
html:root .pd-md-v7 .pd-md-lines .pd-md-out {
 position:relative; min-height:76px; padding:14px 16px; border-color:color-mix(in srgb,var(--rt-border) 78%,var(--rt-data-blue));
 background:linear-gradient(145deg,color-mix(in srgb,var(--rt-surface-3) 58%,var(--rt-surface-2)),var(--rt-surface-2));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.025); overflow:hidden;
}
html:root .pd-md-v7 .pd-md-out::after {
 content:""; position:absolute; right:-14px; bottom:-20px; width:62px; height:62px; border:1px solid rgba(105,133,205,.07); border-radius:50%; pointer-events:none;
}
html:root .pd-md-v7 .pd-md-out:hover:not(:disabled):not(.is-ineligible) {
 transform:translateY(-2px); border-color:var(--rt-data-blue); background:color-mix(in srgb,var(--rt-data-blue) 9%,var(--rt-surface-2));
 box-shadow:0 8px 20px rgba(4,12,30,.2),inset 0 1px 0 rgba(255,255,255,.04);
}
html:root .pd-md-v7 .pd-md-out:focus-visible { outline:2px solid var(--rt-data-blue); outline-offset:2px; }
html:root .pd-md-v7 .pd-md-out.is-picked {
 border-color:var(--rt-data-blue); background:linear-gradient(135deg,color-mix(in srgb,var(--rt-data-blue) 34%,var(--rt-surface-2)),color-mix(in srgb,var(--rt-brand) 28%,var(--rt-surface-2)));
 box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--rt-brand) 70%,transparent),0 9px 22px rgba(28,72,190,.16);
}
html:root .pd-md-v7 .pd-md-out.is-picked::before { content:"✓"; position:absolute; right:9px; top:7px; color:var(--rt-on-brand); font-size:11px; font-weight:900; }
html:root .pd-md-v7 .pd-md-out:disabled,
html:root .pd-md-v7 .pd-md-out.is-ineligible { filter:saturate(.55); opacity:.48; box-shadow:none; }
html:root .pd-md-v7 .pd-md-out-name { position:relative; z-index:1; font-size:13px; font-weight:700; }
html:root .pd-md-v7 .pd-md-out-odds { position:relative; z-index:1; font-size:22px; letter-spacing:-.02em; }

/* Prediction slip */
html:root .pd-md-v7 .pd-md-side>.pd-md-panel {
 overflow:hidden; padding:0; border:1px solid color-mix(in srgb,var(--rt-brand) 58%,var(--rt-border));
 background:linear-gradient(160deg,color-mix(in srgb,var(--rt-brand) 7%,var(--rt-surface-1)),var(--rt-surface-1) 42%);
 box-shadow:0 18px 40px rgba(2,8,24,.16),inset 0 1px 0 rgba(255,255,255,.035);
}
html:root .pd-md-v7 .pd-md-side .pd-md-panel-head { padding:20px 20px 15px; border-bottom:1px solid var(--rt-border); }
html:root .pd-md-v7 .pd-v5-title-group { display:flex; align-items:center; flex-wrap:wrap; gap:5px 8px; width:100%; }
html:root .pd-md-v7 .pd-v7-slip-icon {
 display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:9px;
 color:var(--rt-on-brand); background:linear-gradient(135deg,var(--rt-data-blue),var(--rt-brand)); font-size:17px; font-weight:900;
}
html:root .pd-md-v7 .pd-v5-title-group .pd-md-panel-title { font-size:19px; }
html:root .pd-md-v7 .pd-v5-title-group .pd-v5-eyebrow { color:var(--rt-data-blue); letter-spacing:.06em; }
html:root .pd-md-v7 .pd-v6-single { margin-left:auto; padding:5px 8px; border-radius:7px; background:color-mix(in srgb,var(--rt-data-blue) 10%,var(--rt-surface-2)); }
html:root .pd-md-v7 #pdMdForm { order:0; padding:16px 18px 18px; }
html:root .pd-md-v7 #pdMdForm>.pd-md-empty:not([hidden]),
html:root .pd-md-v7 .pd-v7-slip-empty {
 box-sizing:border-box; display:flex!important; flex-direction:column; align-items:center; justify-content:center; gap:8px;
 width:100%; min-height:174px; margin:0; padding:22px 16px; border:0; border-radius:11px;
 color:var(--rt-muted); background:linear-gradient(145deg,color-mix(in srgb,var(--rt-surface-2) 76%,var(--rt-surface-1)),color-mix(in srgb,var(--rt-data-blue) 4%,var(--rt-surface-1))); text-align:center;
}
html:root .pd-md-v7 .pd-v7-empty-icon {
 display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; margin-bottom:4px;
 border:1px solid color-mix(in srgb,var(--rt-brand) 42%,var(--rt-border)); border-radius:16px; color:var(--rt-brand);
 background:color-mix(in srgb,var(--rt-brand) 9%,var(--rt-surface-2)); font-size:30px; transform:rotate(-8deg);
}
html:root .pd-md-v7 .pd-v7-slip-empty strong { color:var(--rt-text); font-size:16px; line-height:1.35; }
html:root .pd-md-v7 .pd-v7-slip-empty>span:last-child { max-width:230px; font-size:11px; line-height:1.55; }
html:root .pd-md-v7 #pdMdForm>.pd-md-pick:not([hidden]) { padding:17px; border-color:color-mix(in srgb,var(--rt-brand) 72%,var(--rt-data-blue)); }
html:root .pd-md-v7 .pd-md-pick-market { color:var(--rt-text); }
html:root .pd-md-v7 .pd-md-pick-line { color:var(--rt-data-blue); }
html:root .pd-md-v7 .pd-v6-clear { padding:5px 7px; border-radius:6px; background:color-mix(in srgb,var(--rt-surface-3) 65%,transparent); }
html:root .pd-md-v7 .pd-v7-pick-price { display:flex; flex:0 0 auto; flex-direction:column; align-items:flex-end; gap:2px; }
html:root .pd-md-v7 .pd-v7-pick-price small { color:var(--rt-muted); font-size:9px; font-weight:600; }
html:root .pd-md-v7 .pd-md-pick-odds-value { color:var(--rt-brand); font-size:25px; }
html:root .pd-md-v7 .pd-md-stake.is-picked { border-color:var(--rt-brand); color:var(--rt-on-brand); background:color-mix(in srgb,var(--rt-brand) 19%,var(--rt-surface-2)); }
html:root .pd-md-v7 .pd-md-guest { display:flex; flex-direction:column; gap:12px; margin:0; padding:16px 18px 18px; border:0; }
html:root .pd-md-v7 .pd-v7-login-note { margin:0; color:var(--rt-muted); font-size:11px; line-height:1.5; text-align:center; }
html:root .pd-md-v7 .pd-md-guest .pd-md-cta { width:100%; min-height:50px; margin:0; }
html:root .pd-md-v7 .pd-v7-policy {
 display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:0; padding:13px 10px;
 border-top:1px solid var(--rt-border); background:color-mix(in srgb,var(--rt-surface-2) 45%,transparent); list-style:none;
}
html:root .pd-md-v7 .pd-v7-policy li { min-width:0; padding:0 8px; color:var(--rt-muted); font-size:9px; line-height:1.4; text-align:center; overflow-wrap:anywhere; }
html:root .pd-md-v7 .pd-v7-policy li+li { border-left:1px solid var(--rt-border); }
html:root .pd-md-v7 .pd-v7-policy li span { display:block; margin-bottom:4px; color:var(--rt-data-blue); font-size:13px; }

@media(max-width:900px) {
 html:root .pd-md-v7 .pd-md-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:700px) {
 html:root .pd-md-v7 .pd-md-lines { padding:15px 12px; }
 html:root .pd-md-v7 .pd-md-lines>.pd-md-panel-head { align-items:flex-start; gap:10px; padding-bottom:14px; }
 html:root .pd-md-v7 .pd-v6-heading { display:flex; }
 html:root .pd-md-v7 .pd-v6-heading .pd-v5-eyebrow { display:inline; margin:0; }
 html:root .pd-md-v7 .pd-v7-odds-badge { max-width:100%; font-size:9px; white-space:normal; }
 html:root .pd-md-v7 .pd-md-mk { margin-bottom:9px; padding:13px 10px; }
 html:root .pd-md-v7 .pd-v7-market-icon { flex-basis:28px; width:28px; height:28px; border-radius:8px; font-size:14px; }
 html:root .pd-md-v7 .pd-md-mk-name { font-size:14px; }
 html:root .pd-md-v7 .pd-md-lines .pd-md-out { min-height:70px; padding:11px 7px; }
 html:root .pd-md-v7 .pd-md-out-odds { font-size:18px; }
 html:root .pd-md-v7 .pd-md-side .pd-md-panel-head { padding:16px 13px 13px; }
 html:root .pd-md-v7 #pdMdForm,
 html:root .pd-md-v7 .pd-md-guest { padding:13px; }
 html:root .pd-md-v7 #pdMdForm>.pd-md-empty:not([hidden]),
 html:root .pd-md-v7 .pd-v7-slip-empty { min-height:150px; }
 html:root .pd-md-v7 .pd-v7-policy { padding:11px 5px; }
 html:root .pd-md-v7 .pd-v7-policy li { padding:0 4px; font-size:8px; }
}
@media(max-width:350px) {
 html:root .pd-md-v7 .pd-md-lines { padding-left:8px; padding-right:8px; }
 html:root .pd-md-v7 .pd-md-mk { padding-left:7px; padding-right:7px; }
 html:root .pd-md-v7 .pd-md-out-name { font-size:9px; }
 html:root .pd-md-v7 .pd-md-out-odds { font-size:17px; }
 html:root .pd-md-v7 .pd-v5-title-group .pd-v5-eyebrow { flex-basis:100%; order:4; padding-left:36px; }
}
