/* RankTipster Market Cards. Presentation only; shared tokens and official links. */
.pd-probability-v1 .pd-asset-tabs { display:flex; gap:6px; margin:0 0 12px; }
.pd-probability-v1 .pd-asset-tabs :is(a,button) { display:flex; align-items:center; gap:6px; border:1px solid var(--rt-border); border-radius:20px; padding:9px 22px; background:var(--rt-surface-1); color:var(--rt-muted); font:inherit; font-size:13px; }
.pd-probability-v1 .pd-asset-tabs a { background:var(--rt-brand); color:var(--rt-on-brand); border-color:var(--rt-brand); font-weight:700; }
.pd-probability-v1 .pd-asset-tabs small { font-size:10px; }
.pd-probability-v1 .pd-asset-tabs button { cursor:not-allowed; }
.pd-probability-v1 .pd-probability-note { color:var(--rt-text-2); font-size:12px; line-height:1.7; margin:0 0 16px; }

.pd-probability-v1 .pd-asset-tabs a { text-decoration:none; }
.pd-market-cards .rt-market-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.pd-market-cards .rt-market-card { display:flex; flex-direction:column; min-width:0; padding:14px 18px 6px; background:var(--rt-surface-1); border:1px solid var(--rt-border); border-radius:10px; color:var(--rt-text); font-family:var(--rt-font-sans),sans-serif; }
.pd-market-cards .rt-market-meta { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; color:var(--rt-text-2); font-size:12px; line-height:1.5; }
.pd-market-cards .rt-market-league { display:flex; align-items:flex-start; gap:7px; min-width:0; font-weight:600; }
.pd-market-cards .rt-market-league img { flex:none; margin-top:1px; }
.pd-market-cards .rt-market-league span { overflow-wrap:anywhere; }
.pd-market-cards .rt-market-meta time { flex:none; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pd-market-cards .rt-market-meta small { font-size:10px; }
.pd-market-cards .rt-market-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:10px 0 8px; min-height:44px; color:var(--rt-text); font-size:16px; font-weight:700; line-height:1.5; }
.pd-market-cards .rt-market-title>span { flex:1; min-width:0; overflow-wrap:anywhere; }
.pd-market-cards .rt-market-title>span:last-child:not(:first-child) { text-align:right; }
.pd-market-cards .rt-market-title small { flex:none; font-size:11px; font-weight:400; color:var(--rt-muted); }
.pd-market-cards .rt-market-body { flex:1; min-width:0; min-height:114px; display:flex; flex-direction:column; justify-content:center; }
.pd-market-cards .rt-market-choices { display:grid; gap:0; }
.pd-market-cards .rt-market-choice { box-sizing:border-box; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 52px; align-items:center; gap:12px; min-height:38px; padding:0; border-bottom:1px solid var(--rt-border-soft); }
.pd-market-cards .rt-market-choice-label { min-width:0; overflow-wrap:anywhere; font-size:13px; line-height:1.5; }
.pd-market-cards .rt-market-bar { display:block; min-width:0; height:10px; background:var(--rt-surface-2); border-radius:6px; overflow:hidden; }
.pd-market-cards .rt-market-bar-fill { display:block; height:100%; background:var(--market-choice-color, var(--rt-data-blue)); border-radius:inherit; }
.pd-market-cards .rt-market-percent { text-align:right; color:var(--rt-text); font-size:23px; line-height:1.3; font-weight:800; font-variant-numeric:tabular-nums; }
.pd-market-cards .rt-market-pending { display:flex; align-items:center; justify-content:center; gap:12px; min-height:114px; color:var(--rt-text-2); }
.pd-market-cards .rt-market-pending-icon { font-size:28px; color:var(--rt-muted); }
.pd-market-cards .rt-market-pending strong { display:block; font-size:14px; font-weight:600; }
.pd-market-cards .rt-market-pending div>span { display:block; font-size:11px; line-height:1.6; margin-top:5px; overflow-wrap:anywhere; }
@media(max-width:1000px) {
 .pd-market-cards .rt-market-card { padding:16px 16px 8px; }
 .pd-market-cards .rt-market-meta { flex-wrap:wrap; gap:4px 10px; }
 .pd-market-cards .rt-market-choice { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 46px; gap:8px; }
 .pd-market-cards .rt-market-title { font-size:14px; }
}

/* Option colors distinguish choices; all numbers use equal contrast and weight. */
.pd-market-cards .rt-market-choice { --market-choice-color:var(--rt-data-blue); }
.pd-market-cards .rt-market-choice:nth-child(2) { --market-choice-color:var(--rt-text-2); }
.pd-market-cards .rt-market-choice:last-child { --market-choice-color:var(--rt-brand); border-bottom:0; }
.pd-market-cards .is-balanced .rt-market-choice { --market-choice-color:var(--rt-data-blue); }
.pd-market-cards .rt-market-choice-label { position:relative; padding-left:12px; }
.pd-market-cards .rt-market-choice-label::before { content:""; position:absolute; top:.55em; left:0; width:5px; height:5px; border-radius:50%; background:var(--market-choice-color); }
.pd-market-cards .rt-market-title small { padding:4px 6px; border:1px solid var(--rt-border-soft); border-radius:5px; font-size:10px; }
.pd-market-cards .rt-market-league { color:var(--rt-text); }
.pd-market-cards .rt-sport-symbol { width:17px; height:17px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.pd-market-cards .rt-market-league .rt-sport-symbol { color:var(--rt-text-2); margin-top:1px; }
.pd-market-cards .rt-market-pending-icon { display:flex; align-items:center; justify-content:center; width:34px; height:34px; flex:none; border:1px solid var(--rt-border-strong); border-radius:50%; font-family:sans-serif; }
.pd-market-cards .rt-market-pending div>span { max-width:240px; }
html:root .pd-market-cards.pd-explorer-v2 .pd-v2-intro { padding:0 0 10px; margin-bottom:14px; }
html:root .pd-market-cards.pd-explorer-v2 .pd-v2-intro h1 { font-size:26px; margin:4px 0; }
html:root .pd-market-cards.pd-explorer-v2 .pd-v2-intro p { margin:0; font-size:12px; }
html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar { padding:12px; gap:10px; margin-bottom:16px; }
html:root .pd-market-cards.pd-explorer-v2 .pd-chips { display:flex; flex-wrap:wrap; gap:6px; }
html:root .pd-sports-page.pd-market-cards.pd-explorer-v2 .pd-chip { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:7px 10px; min-height:38px; font-size:12px; line-height:1.25; }
html:root .pd-market-cards .pd-chip .pd-chip-icon { margin:0; width:16px; height:16px; flex:none; }
html:root .pd-market-cards .pd-chip .pd-chip-count { margin:0; font-size:11px; font-variant-numeric:tabular-nums; color:inherit; opacity:.8; }
.pd-market-cards .rt-chip-label { white-space:nowrap; }
.pd-market-cards .pd-asset-tabs :is(a,button) { border-radius:8px; min-height:38px; box-sizing:border-box; padding:8px 20px; }
.pd-market-cards .pd-asset-tabs small { padding:2px 5px; border-radius:4px; background:var(--rt-surface-2); }
.pd-market-cards .pd-probability-note { margin-bottom:12px; font-size:11px; }
@media(max-width:700px) {
 .pd-market-cards .rt-market-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
 .pd-market-cards .rt-market-card { padding:14px 14px 6px; }
 .pd-market-cards .rt-market-meta { flex-direction:row; flex-wrap:wrap; gap:4px 8px; font-size:11px; }
 .pd-market-cards .rt-market-title { font-size:14px; gap:6px; margin:10px 0 8px; min-height:44px; }
 .pd-market-cards .rt-market-choice { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 44px; gap:8px; min-height:38px; }
 .pd-market-cards .rt-market-choice-label { font-size:12px; line-height:1.4; padding-left:10px; }
 .pd-market-cards .rt-market-percent { font-size:21px; }
 .pd-market-cards .rt-market-bar { height:9px; }
 .pd-market-cards .rt-market-pending { gap:8px; }
 .pd-market-cards .rt-market-pending div>span { font-size:10px; }
 .pd-market-cards .pd-asset-tabs :is(a,button) { padding:8px 12px; }
 html:root .pd-sports-page.pd-market-cards.pd-explorer-v2 .pd-chip { padding:7px 8px; font-size:11px; gap:5px; }
 html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar { padding:10px; }
}
@media(max-width:350px) {
 .pd-market-cards .rt-market-choice { grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) 40px; gap:6px; }
 .pd-market-cards .rt-market-percent { font-size:20px; }
 .pd-market-cards .rt-market-meta time { font-size:10px; }
}

/* A native link covers the entire card: pointer, touch, Tab and Enter share the official URL. */
html:root .pd-market-cards a.rt-market-card { text-decoration:none; cursor:pointer; transition:none; }
html:root .pd-market-cards a.rt-market-card:hover,
html:root .pd-market-cards a.rt-market-card:focus-visible { border-color:var(--rt-brand); background:var(--rt-surface-2); }
html:root .pd-market-cards a.rt-market-card:focus-visible { outline:2px solid var(--rt-brand); outline-offset:2px; }
.pd-market-cards .pd-asset-tabs a:focus-visible { outline:2px solid var(--rt-brand); outline-offset:3px; border-radius:3px; }

/* Compact Market toolbar only; card dimensions and interactions remain unchanged. */
html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar {
 display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; gap:8px 12px;
 padding:0; margin:0 0 14px; border:0; border-radius:0; background:transparent;
}
html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar .pd-chips {
 flex:1 1 auto; width:auto; min-width:0; max-width:100%; margin:0; padding:0;
 display:flex; flex-wrap:wrap; gap:6px; overflow:visible;
}
html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar .pd-search {
 display:flex; flex:0 1 224px; width:224px; max-width:224px; min-width:0;
 align-self:center; align-items:center; gap:6px; margin:0 0 0 auto;
}
html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar .pd-search-input {
 box-sizing:border-box; flex:1 1 0; width:0; min-width:0; height:32px; min-height:32px;
 padding:0 10px; font-size:12px; line-height:normal;
}
html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar .pd-search-btn {
 box-sizing:border-box; flex:0 0 48px; width:48px; min-width:0; height:32px; min-height:32px;
 padding:0 8px; font-size:12px; line-height:normal;
}
@media(max-width:700px) {
 html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar { gap:8px; margin-bottom:12px; }
 html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar .pd-chips { flex-basis:100%; }
 html:root .pd-market-cards.pd-explorer-v2 .pd-sports-toolbar .pd-search { margin-left:0; }
}
