/* picks-v1 (14 Nov 2026): football fixture rows, the owner's final layout (canvas "Picks column · final layouts").
   Phone and tablet (list < 860 px): a top line (star, status, league in flat lists, match timeline, chevron), crests,
   the 1X2 bar with its letters, O2.5/BTTS side by side, the three picks on the right with ✓/✗ and "Hits n%".
   Desktop (list >= 860 px): option C, the picks in a small card with their probabilities and the total as a badge, the
   timeline under the goal bars. Compact rows: the three picks with the total in two lines.
   Row markup: site/_hub_fixture.blade.php (summary.sp-r2); states in data-p1/-pou/-pbt/-hits (sp-home.js keeps them live). */

html .sp-home-v1 {
    --r2-ink: #18212f; --r2-muted: #667085; --r2-line: #edf0f5; --r2-bg: #ffffff;
    --r2-home: #2857d9; --r2-draw: #6b7690; --r2-away: #a86f0e; --r2-over: #128a64; --r2-btts: #6a4bd0;
    --r2-hit: #1a8c54; --r2-miss: #c2333a; --r2-amber: #a86f0e; --r2-live: #d92d20;
    --r2-track: #d5dceb; --r2-tick: #aab4c6; --r2-goal: #18212f; --r2-ph: #3f6ae0; --r2-pa: #c58a21;
    --r2-card: #fafbfd; --r2-cardline: #e3e8ef; --r2-mkink: #ffffff; --r2-crest: #e9edf5; --r2-crest-ink: #475467;
    --r2-m-hit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.6 8.3l2.2 2.2 4.6-4.9'/%3E%3C/svg%3E");
    --r2-m-miss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5.4 5.4l5.2 5.2M10.6 5.4l-5.2 5.2'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .sp-home-v1 {
    --r2-ink: #ecf2ff; --r2-muted: #aab7ca; --r2-line: #1c2840; --r2-bg: #070c16;
    --r2-home: #82a0ff; --r2-draw: #b8c1d1; --r2-away: #eaa73c; --r2-over: #45d19d; --r2-btts: #ae9bfb;
    --r2-hit: #3bbf7f; --r2-miss: #f0746a; --r2-amber: #eaa73c; --r2-live: #ff6b5f;
    --r2-track: #2a3850; --r2-tick: #55637f; --r2-goal: #ffffff; --r2-ph: #6f93ff; --r2-pa: #d39a34;
    --r2-card: #0f1727; --r2-cardline: #2a3850; --r2-mkink: #0b1220; --r2-crest: #1a2740; --r2-crest-ink: #cfd8e8;
}
html[data-theme="dark"] .sp-home-v1 .sp-hub-league-head { border-color: #1c2840; background: #0d1626; }

/* ---------- the row (phone first) ---------- */
html .sp-home-v1 .sp-hub-fixture.sp-r2row { border-top: 1px solid var(--r2-line); background: var(--r2-bg); }
html .sp-home-v1 .sp-hub-fixture.sp-r2row:first-of-type { border-top-color: transparent; }
html .sp-home-v1 .sp-hub-fixture-summary.sp-r2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "top top" "teams picks" "oc picks" "goals picks";
    gap: 8px 10px;
    align-items: start;
    width: 100%;
    min-height: 0;
    padding: 10px 14px 12px;
    overflow: visible;
    color: var(--r2-ink);
}
html .sp-home-v1 .sp-r2 .sp-row-link { z-index: 2; }
html .sp-home-v1 .sp-r2 .sp-st { position: relative; z-index: 3; }

html .sp-home-v1 .sp-r2-top { grid-area: top; display: flex; align-items: center; gap: 7px; min-width: 0; height: 24px; }
html .sp-home-v1 .sp-r2-fav { display: inline-flex; flex: none; margin: -4px -5px -4px -7px; }
html .sp-home-v1 .sp-r2-topm { flex: none; }
html .sp-home-v1 .sp-r2-st { display: inline-flex; flex: none; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
html .sp-home-v1 .sp-r2-st strong { color: var(--r2-ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
html .sp-home-v1 .sp-r2-st span { color: var(--r2-muted); font-size: 12.5px; font-weight: 500; }
html .sp-home-v1 .sp-r2-dot { display: none; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--r2-live); }
html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-dot { display: inline-block; animation: sp-r2-blink 1.6s ease-in-out infinite; }
html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-st strong,
html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-st span { color: var(--r2-live); }
@keyframes sp-r2-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-dot { animation: none; } }
html .sp-home-v1 .sp-r2-lg { display: none; flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--r2-muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
html .sp-home-v1 .sp-r2-chev { flex: none; min-width: 12px; overflow: hidden; color: var(--sp-accent); font-size: 20px; font-weight: 700; line-height: 1; text-align: right; }
html .sp-home-v1 .sp-r2-chev.is-wide { display: none; grid-area: chev; }
html .sp-home-v1 .sp-r2-top > .sp-r2-chev { margin-left: 0; }

/* match timeline: shots per stretch (home above the line, away below), goals as dots, half time tick, live: now line */
html .sp-home-v1 .sp-r2-pulse { position: relative; display: block; flex: none; pointer-events: none; }
html .sp-home-v1 .sp-r2-pulse:empty { display: none; }
html .sp-home-v1 .sp-r2-pulse.is-top { width: 150px; height: 22px; margin-left: auto; }
html .sp-home-v1 .sp-r2-top > .sp-r2-pulse.is-top:empty + .sp-r2-chev { margin-left: auto; }
html .sp-home-v1 .sp-r2-pulse.is-wide { display: none; }
html .sp-home-v1 .sp-r2-pulse > i { position: absolute; display: block; }
html .sp-home-v1 .sp-r2-pulse > .m { left: 0; top: 50%; height: 1px; background: var(--r2-track); }
html .sp-home-v1 .sp-r2-pulse > .r { top: 50%; right: 0; height: 0; border-top: 1px dashed var(--r2-track); }
html .sp-home-v1 .sp-r2-pulse > .t { top: 50%; width: 1px; height: 9px; margin-top: -4px; background: var(--r2-tick); }
html .sp-home-v1 .sp-r2-pulse > .h { bottom: 50%; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--r2-ph); }
html .sp-home-v1 .sp-r2-pulse > .a { top: calc(50% + 1px); width: 2px; margin-left: -1px; border-radius: 1px; background: var(--r2-pa); }
html .sp-home-v1 .sp-r2-pulse > .n { top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--r2-live); }
html .sp-home-v1 .sp-r2-pulse > .g { width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--r2-goal); }
html .sp-home-v1 .sp-r2-pulse > .g.is-h { top: 0; }
html .sp-home-v1 .sp-r2-pulse > .g.is-a { bottom: 0; }

/* teams */
html .sp-home-v1 .sp-r2-teams { grid-area: teams; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
html .sp-home-v1 .sp-r2-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.25; }
html .sp-home-v1 .sp-r2-cr { flex: none; width: 22px; height: 22px; object-fit: contain; }
html .sp-home-v1 .sp-r2-cr.is-code { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--r2-crest); color: var(--r2-crest-ink); font-size: 7.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
html .sp-home-v1 .sp-r2-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html .sp-home-v1 .sp-r2-team .sp-st { flex: none; width: 22px; height: 22px; margin: -4px -6px -4px -5px; opacity: .8; }
html .sp-home-v1 .sp-r2-team .sp-st::before { inset: 4px; }
html .sp-home-v1 .sp-r2-team .sp-st.is-on { opacity: 1; }
html .sp-home-v1 .sp-r2-score { flex: none; min-width: 14px; margin-left: auto; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

/* 1X2: bar, then the letters (the result's letter bold with a triangle) */
html .sp-home-v1 .sp-r2-oc { grid-area: oc; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html .sp-home-v1 .sp-r2-bar.sp-oc-bar { order: 1; gap: 3px; height: 8px; margin: 0; }
html .sp-home-v1 .sp-r2-labs { order: 2; display: flex; gap: 3px; min-width: 0; }
html .sp-home-v1 .sp-r2-lab { container-type: inline-size; min-width: 0; overflow: hidden; color: var(--r2-muted); font-size: 11px; font-weight: 500; white-space: nowrap; }
html .sp-home-v1 .sp-r2-lab b { color: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
html .sp-home-v1 .sp-r2-lab b i { display: none; font-style: normal; }
html .sp-home-v1 .sp-r2-lw { display: none; }
html .sp-home-v1 .sp-r2-tri { display: none; width: 0; height: 0; margin-right: 3px; border-right: 4px solid transparent; border-bottom: 6px solid currentColor; border-left: 4px solid transparent; vertical-align: 1px; }
html .sp-home-v1 .sp-r2row[data-result="H"] .sp-r2-lab.is-H,
html .sp-home-v1 .sp-r2row[data-result="D"] .sp-r2-lab.is-D,
html .sp-home-v1 .sp-r2row[data-result="A"] .sp-r2-lab.is-A { color: var(--r2-ink); font-weight: 800; }
html .sp-home-v1 .sp-r2row[data-result="H"] .sp-r2-lab.is-H b,
html .sp-home-v1 .sp-r2row[data-result="D"] .sp-r2-lab.is-D b,
html .sp-home-v1 .sp-r2row[data-result="A"] .sp-r2-lab.is-A b { font-weight: 800; }
html .sp-home-v1 .sp-r2row[data-result="H"] .sp-r2-lab.is-H .sp-r2-tri,
html .sp-home-v1 .sp-r2row[data-result="D"] .sp-r2-lab.is-D .sp-r2-tri,
html .sp-home-v1 .sp-r2row[data-result="A"] .sp-r2-lab.is-A .sp-r2-tri { display: inline-block; }
html .sp-home-v1 .sp-hub-fixture.sp-r2row[data-result] .sp-r2 .sp-oc-seg::after { content: none; }

/* O2.5 and BTTS side by side */
html .sp-home-v1 .sp-r2-goals { grid-area: goals; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
html .sp-home-v1 .sp-r2-goals .sp-gl { gap: 5px; min-width: 0; }
html .sp-home-v1 .sp-r2-goals .sp-gl-name { width: auto; color: var(--r2-muted); font-size: 10px; }
html .sp-home-v1 .sp-r2-goals .sp-gl-track, html .sp-home-v1 .sp-r2-goals .sp-gl-track > i { height: 5px; }
html .sp-home-v1 .sp-r2-goals .sp-gl-val { width: auto; font-size: 11.5px; }

/* the three picks */
html .sp-home-v1 .sp-r2-picks { grid-area: picks; align-self: stretch; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-left: 10px; border-left: 1px solid var(--r2-line); }
html .sp-home-v1 .sp-r2-ph { display: flex; align-items: center; gap: 6px; height: 16px; min-width: 0; }
html .sp-home-v1 .sp-r2-pt { flex: 1 1 auto; min-width: 0; overflow: hidden; color: var(--r2-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
html .sp-home-v1 .sp-r2-badge { display: none; flex: none; padding: 1px 7px; border-radius: 999px; color: var(--r2-mkink); font-size: 11px; font-weight: 800; white-space: nowrap; }
html:not([lang^="de"]) .sp-home-v1 .sp-r2-badge .sp-r2-hl { text-transform: lowercase; }
html .sp-home-v1 .sp-r2-plv { display: none; flex: none; align-items: center; gap: 4px; color: var(--r2-live); font-size: 11px; font-weight: 700; }
html .sp-home-v1 .sp-r2-plv i, html .sp-home-v1 .sp-r2-lv i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html .sp-home-v1 .sp-r2-pk { display: flex; align-items: center; gap: 7px; height: 20px; min-width: 0; }
html .sp-home-v1 .sp-r2-pk.is-home { color: var(--r2-home); }
html .sp-home-v1 .sp-r2-pk.is-draw { color: var(--r2-draw); }
html .sp-home-v1 .sp-r2-pk.is-away { color: var(--r2-away); }
html .sp-home-v1 .sp-r2-pk.is-pou { color: var(--r2-over); }
html .sp-home-v1 .sp-r2-pk.is-pbt { color: var(--r2-btts); }
html .sp-home-v1 .sp-r2-pk b { min-width: 0; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
html .sp-home-v1 .sp-r2-pk em { display: none; flex: none; margin-left: auto; color: var(--r2-muted); font-size: 11.5px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
html .sp-home-v1 .sp-r2-mk { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; }
html .sp-home-v1 .sp-r2-mk::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html .sp-home-v1 .sp-r2-mk::after { content: ""; position: absolute; inset: 0; display: none; background: var(--r2-mkink); -webkit-mask: var(--r2-m-hit) center / 100% 100% no-repeat; mask: var(--r2-m-hit) center / 100% 100% no-repeat; }
html .sp-home-v1 .sp-r2row[data-p1="hit"] .sp-r2-pk.is-p1 .sp-r2-mk::before,
html .sp-home-v1 .sp-r2row[data-pou="hit"] .sp-r2-pk.is-pou .sp-r2-mk::before,
html .sp-home-v1 .sp-r2row[data-pbt="hit"] .sp-r2-pk.is-pbt .sp-r2-mk::before { width: 100%; height: 100%; background: var(--r2-hit); }
html .sp-home-v1 .sp-r2row[data-p1="miss"] .sp-r2-pk.is-p1 .sp-r2-mk::before,
html .sp-home-v1 .sp-r2row[data-pou="miss"] .sp-r2-pk.is-pou .sp-r2-mk::before,
html .sp-home-v1 .sp-r2row[data-pbt="miss"] .sp-r2-pk.is-pbt .sp-r2-mk::before { width: 100%; height: 100%; background: var(--r2-miss); }
html .sp-home-v1 .sp-r2row[data-p1="hit"] .sp-r2-pk.is-p1 .sp-r2-mk::after,
html .sp-home-v1 .sp-r2row[data-pou="hit"] .sp-r2-pk.is-pou .sp-r2-mk::after,
html .sp-home-v1 .sp-r2row[data-pbt="hit"] .sp-r2-pk.is-pbt .sp-r2-mk::after { display: block; }
html .sp-home-v1 .sp-r2row[data-p1="miss"] .sp-r2-pk.is-p1 .sp-r2-mk::after,
html .sp-home-v1 .sp-r2row[data-pou="miss"] .sp-r2-pk.is-pou .sp-r2-mk::after,
html .sp-home-v1 .sp-r2row[data-pbt="miss"] .sp-r2-pk.is-pbt .sp-r2-mk::after { display: block; -webkit-mask-image: var(--r2-m-miss); mask-image: var(--r2-m-miss); }

html .sp-home-v1 .sp-r2-tot,
html .sp-home-v1 .sp-r2-lv { display: none; align-items: center; gap: 6px; margin-top: 4px; padding-top: 5px; border-top: 1px solid var(--r2-track); }
html .sp-home-v1 .sp-r2-tot { flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 0; }
html .sp-home-v1 .sp-r2-tot .sp-r2-hl { color: var(--r2-muted); font-size: 12px; }
html .sp-home-v1 .sp-r2-tot b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
html .sp-home-v1 .sp-r2-lv { color: var(--r2-live); font-size: 12px; font-weight: 700; }
html .sp-home-v1 .sp-r2row[data-hits="0"] .sp-r2-tot,
html .sp-home-v1 .sp-r2row[data-hits="1"] .sp-r2-tot,
html .sp-home-v1 .sp-r2row[data-hits="2"] .sp-r2-tot,
html .sp-home-v1 .sp-r2row[data-hits="3"] .sp-r2-tot,
html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-lv { display: flex; }
html .sp-home-v1 .sp-r2row[data-hits="0"] .sp-r2-tot b { color: var(--r2-miss); }
html .sp-home-v1 .sp-r2row[data-hits="1"] .sp-r2-tot b { color: var(--r2-amber); }
html .sp-home-v1 .sp-r2row[data-hits="2"] .sp-r2-tot b,
html .sp-home-v1 .sp-r2row[data-hits="3"] .sp-r2-tot b { color: var(--r2-hit); }
html .sp-home-v1 .sp-r2row[data-hits="0"] .sp-r2-badge { background: var(--r2-miss); }
html .sp-home-v1 .sp-r2row[data-hits="1"] .sp-r2-badge { background: var(--r2-amber); }
html .sp-home-v1 .sp-r2row[data-hits="2"] .sp-r2-badge,
html .sp-home-v1 .sp-r2row[data-hits="3"] .sp-r2-badge { background: var(--r2-hit); }

html .sp-home-v1 .sp-r2-pend { grid-column: 1 / -1; grid-row: 3; min-width: 0; }

/* flat lists (live now, top matches, your matches, the time view): the competition moves into the top line */
html .sp-home-v1 .sd-item > .sp-fx-ctx { display: none; }
html .sp-home-v1 .sd-item .sp-r2-lg { display: block; }
html .sp-home-v1 .sd-item .sp-r2-pulse.is-top { width: 132px; margin-left: 0; }
html .sp-home-v1 .sd-item .sp-r2-top > .sp-r2-pulse.is-top:empty + .sp-r2-chev { margin-left: 0; }

@container list (max-width: 359.98px) {
    html .sp-home-v1 .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 86px; padding: 10px 10px 12px; }
    html .sp-home-v1 .sp-r2-pulse.is-top { width: 112px; }
    html .sp-home-v1 .sd-item .sp-r2-pulse.is-top { width: 96px; }
    html .sp-home-v1 .sp-r2row[data-status="finished"] .sp-r2-st span { display: none; }
    html .sp-home-v1 .sp-r2-team { font-size: 14.5px; }
}

/* ---------- desktop: one line per match, picks in a card (option C), timeline under the goal bars ---------- */
@container list (min-width: 860px) {
    html .sp-home-v1 .sp-hub-fixture-summary.sp-r2 {
        grid-template-columns: 82px minmax(0, 210px) minmax(0, 1fr) 180px 150px 20px;
        grid-template-rows: auto;
        grid-template-areas: "top teams oc goals picks chev";
        gap: 0 18px;
        align-items: center;
        padding: 12px 18px;
    }
    html .sp-home-v1 .sp-r2-top { flex-wrap: wrap; align-content: center; column-gap: 6px; row-gap: 3px; height: auto; }
    html .sp-home-v1 .sp-r2-st { display: contents; }
    html .sp-home-v1 .sp-r2-st span { flex: 0 0 100%; padding-left: 22px; font-size: 11.5px; }
    html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-dot { display: none; }
    html .sp-home-v1 .sd-item .sp-r2-lg, html .sp-home-v1 .sp-r2-lg,
    html .sp-home-v1 .sp-r2-pulse.is-top, html .sp-home-v1 .sp-r2-chev.is-top { display: none; }
    html .sp-home-v1 .sd-item > .sp-fx-ctx { display: flex; }
    html .sp-home-v1 .sp-r2-chev.is-wide { display: block; width: auto; }
    html .sp-home-v1 .sp-r2-teams { gap: 6px; }
    html .sp-home-v1 .sp-r2-team { font-size: 14.5px; }

    html .sp-home-v1 .sp-r2-labs { order: 1; gap: 6px; }
    html .sp-home-v1 .sp-r2-bar.sp-oc-bar { order: 2; height: 10px; margin-bottom: 9px; }
    html .sp-home-v1 .sp-r2-lab { font-size: 12px; }
    html .sp-home-v1 .sp-r2-lab b { color: var(--r2-ink); font-weight: 700; }
    html .sp-home-v1 .sp-r2-lab b i { display: inline; }
    html .sp-home-v1 .sp-r2-lw { display: inline; }
    html .sp-home-v1 .sp-r2-ll { display: none; }
    html .sp-home-v1 .sp-r2-lab .sp-r2-tri { display: none !important; }
    html .sp-home-v1 .sp-r2row[data-result] .sp-r2-lab { color: var(--r2-muted); font-weight: 500; }
    html .sp-home-v1 .sp-hub-fixture.sp-r2row[data-result="H"] .sp-r2 .sp-oc-seg.is-home::after,
    html .sp-home-v1 .sp-hub-fixture.sp-r2row[data-result="D"] .sp-r2 .sp-oc-seg.is-draw::after,
    html .sp-home-v1 .sp-hub-fixture.sp-r2row[data-result="A"] .sp-r2 .sp-oc-seg.is-away::after { content: ""; }

    html .sp-home-v1 .sp-r2-goals { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
    html .sp-home-v1 .sp-r2-goals .sp-gl { gap: 7px; }
    html .sp-home-v1 .sp-r2-goals .sp-gl-name { width: 32px; font-size: 11px; }
    html .sp-home-v1 .sp-r2-goals .sp-gl-track, html .sp-home-v1 .sp-r2-goals .sp-gl-track > i { height: 6px; }
    html .sp-home-v1 .sp-r2-goals .sp-gl-val { width: 32px; font-size: 12.5px; }
    html .sp-home-v1 .sp-r2-pulse.is-wide { display: block; width: 100%; height: 22px; }
    html .sp-home-v1 .sp-r2-pulse.is-wide:empty { display: none; }
    html .sp-home-v1 .sp-r2-pulse > .g { width: 5px; height: 5px; margin-left: -2.5px; }

    html .sp-home-v1 .sp-r2-picks { align-self: center; gap: 2px; padding: 6px 9px 7px; border: 1px solid var(--r2-cardline); border-radius: 10px; background: var(--r2-card); }
    html .sp-home-v1 .sp-r2-ph { height: 18px; }
    html .sp-home-v1 .sp-r2row[data-hits="0"] .sp-r2-badge,
    html .sp-home-v1 .sp-r2row[data-hits="1"] .sp-r2-badge,
    html .sp-home-v1 .sp-r2row[data-hits="2"] .sp-r2-badge,
    html .sp-home-v1 .sp-r2row[data-hits="3"] .sp-r2-badge { display: inline-block; }
    html .sp-home-v1 .sp-r2row[data-status="live"] .sp-r2-plv { display: inline-flex; }
    html .sp-home-v1 .sp-r2-pk { height: 19px; }
    html .sp-home-v1 .sp-r2-pk em { display: inline; font-size: 12px; }
    html .sp-home-v1 .sp-r2-mk { width: 14px; height: 14px; }
    html .sp-home-v1 .sp-r2row[data-hits] .sp-r2-tot, html .sp-home-v1 .sp-r2row[data-status] .sp-r2-lv { display: none; }
    html .sp-home-v1 .sp-r2-pend { grid-row: 1; grid-column: oc-start / picks-end; align-self: center; }
}

/* ---------- compact rows (option X): time and star, teams, the three picks with the total in two lines ---------- */
html .sp-home-v1 .sp-hub.sd-compact .sp-hub-fixture-summary.sp-r2 {
    grid-template-columns: 44px minmax(0, 1fr) 140px;
    grid-template-rows: auto;
    grid-template-areas: "top teams picks";
    gap: 0 9px;
    align-items: center;
    padding: 9px 12px 9px 6px;
}
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-team .sp-st { display: none; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-top { flex-direction: column; justify-content: center; gap: 6px; height: auto; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-st { display: contents; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-st strong { order: -1; font-size: 13px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-status="finished"] .sp-r2-st strong { color: var(--r2-muted); }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-st span,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-dot,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-lg,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pulse,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-chev,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-oc,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-goals,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-ph { display: none; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-fav { margin: -6px; }
html .sp-home-v1 .sp-hub.sd-compact .sd-item > .sp-fx-ctx { display: flex; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-teams { gap: 4px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-team { gap: 7px; font-size: 14.5px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-cr { width: 18px; height: 18px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-cr.is-code { font-size: 6.5px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-picks {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "a t" "b t" "c t";
    align-items: center;
    align-self: center;
    gap: 1px 8px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 1px solid var(--r2-line);
    border-radius: 0;
    background: none;
}
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk { gap: 5px; height: 15px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk.is-p1 { grid-area: a; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk.is-pou { grid-area: b; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk.is-pbt { grid-area: c; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk b { font-size: 12px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk em { display: none; font-size: 11px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-status="upcoming"] .sp-r2-pk em { display: inline; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-mk { width: 12px; height: 12px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-mk::before { width: 6px; height: 6px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-tot,
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-lv { grid-area: t; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 40px; margin: 0; padding: 0; border: 0; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-tot { flex-direction: column-reverse; gap: 1px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-tot b { font-size: 14.5px; line-height: 1.1; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-tot .sp-r2-hl { font-size: 11px; }
html:not([lang^="de"]) .sp-home-v1 .sp-hub.sd-compact .sp-r2-tot .sp-r2-hl { text-transform: lowercase; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-lv { font-size: 11.5px; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pend { grid-area: picks; grid-row: auto; grid-column: auto; justify-self: end; }
html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pend .sp-hub-pending { display: block; font-size: 10px; line-height: 1.3; text-align: right; white-space: normal; }

@container list (min-width: 860px) {
    html .sp-home-v1 .sp-hub.sd-compact .sp-hub-fixture-summary.sp-r2 {
        grid-template-columns: 82px minmax(0, 1fr) 190px 20px;
        grid-template-areas: "top teams picks chev";
        gap: 0 18px;
        padding: 8px 18px;
    }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-top { flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; gap: 6px; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-st strong { order: 0; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-fav { margin: -4px -5px -4px -7px; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-teams { max-width: 420px; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-team { font-size: 14px; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-chev.is-wide { display: block; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-picks { padding-left: 14px; column-gap: 10px; border-left-color: var(--r2-cardline); }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row .sp-r2-tot { display: none; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-hits="0"] .sp-r2-tot,
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-hits="1"] .sp-r2-tot,
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-hits="2"] .sp-r2-tot,
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-hits="3"] .sp-r2-tot { display: flex; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-status="live"] .sp-r2-lv { display: flex; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pk em { display: none; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2row[data-status="upcoming"] .sp-r2-pk em { display: inline; }
    html .sp-home-v1 .sp-hub.sd-compact .sp-r2-pend { grid-column: picks-start / picks-end; }
}

/* desktop labels: the word ("Home 58%") where the segment is wide enough, else the letter ("H 58%") */
@container (max-width: 80px) {
    html .sp-home-v1 .sp-r2-lab .sp-r2-lw { display: none; }
    html .sp-home-v1 .sp-r2-lab .sp-r2-ll { display: inline; }
}
@container (max-width: 125px) {
    html[lang^="de"] .sp-home-v1 .sp-r2-lab .sp-r2-lw { display: none; }
    html[lang^="de"] .sp-home-v1 .sp-r2-lab .sp-r2-ll { display: inline; }
}
@container (max-width: 100px) {
    html[lang^="it"] .sp-home-v1 .sp-r2-lab .sp-r2-lw, html[lang^="tr"] .sp-home-v1 .sp-r2-lab .sp-r2-lw, html[lang^="fr"] .sp-home-v1 .sp-r2-lab .sp-r2-lw { display: none; }
    html[lang^="it"] .sp-home-v1 .sp-r2-lab .sp-r2-ll, html[lang^="tr"] .sp-home-v1 .sp-r2-lab .sp-r2-ll, html[lang^="fr"] .sp-home-v1 .sp-r2-lab .sp-r2-ll { display: inline; }
}
@container (max-width: 46px) {
    html .sp-home-v1 .sp-r2-lab b i { display: none; }
}

/* ---------- picks-v1b (15 Nov 2026, owner): phone rows edge to edge, a narrower picks column, "FT" alone and in a
   softer colour, the Hits / Live line level with the O2.5 and BTTS line (smaller picks text) ---------- */
html .sp-home-v1 { --r2-ft: #475467; }
html[data-theme="dark"] .sp-home-v1 { --r2-ft: #b6c1d3; }
html .sp-home-v1 .sp-r2row[data-status="finished"] .sp-r2-st strong { color: var(--r2-ft); }

@media (max-width: 760px) {
    html .sp-home-v1 .sd-root { padding-left: 0; padding-right: 0; }
    html .sp-home-v1 .sd-root > .sd-sec { border-right: 0; border-left: 0; border-radius: 0; }
    html .sp-home-v1 .fx-results { padding-left: 0; padding-right: 0; }
    html .sp-home-v1 .fx-results > :not(.fx-res-list) { margin-left: 12px; margin-right: 12px; }
    html .sp-home-v1 .fx-res-list { border-right: 0; border-left: 0; border-radius: 0; }
}

@container list (max-width: 859.98px) {
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 80px; }
    html:not([lang^="en"]) .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 90px; }
    html .sp-home-v1 .sp-r2row[data-status="finished"] .sp-r2-st span { display: none; }

    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-picks { gap: 2px; padding-left: 9px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-ph { height: 14px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-pt { overflow: visible; font-size: 9.5px; text-overflow: clip; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-pk { gap: 6px; height: 18px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-pk b { overflow: visible; font-size: 12.5px; text-overflow: clip; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-mk { width: 14px; height: 14px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-mk::before { width: 6px; height: 6px; }

    /* the picks column is as tall as the left one: the last line goes to its foot, level with the goal bars */
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-goals { height: 16px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-goals .sp-gl { height: 16px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-goals .sp-gl-name,
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-goals .sp-gl-val { line-height: 16px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-tot,
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-lv { flex-wrap: nowrap; align-items: center; margin-top: auto; padding-top: 4px; line-height: 16px; white-space: nowrap; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-tot .sp-r2-hl { font-size: 11px; line-height: 16px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-tot b { font-size: 13.5px; line-height: 16px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-lv { font-size: 11.5px; }
}
@container list (max-width: 359.98px) {
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 76px; }
    html:not([lang^="en"]) .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 86px; }
}
@container list (max-width: 859.98px) {
    html:not([lang^="en"]) .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-tot .sp-r2-hl { font-size: 10.5px; }
    html:not([lang^="en"]) .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-tot b { font-size: 13px; }
}

/* ---------- picks-v1c (15 Nov 2026, owner): on the phone the picks and the Hits line sit in a box like the desktop
   card. The box reaches 4 px above the first team line and 6 px below the O2.5/BTTS line, so its content (and the Hits /
   Live line at its foot) keeps exactly the place it had: level with the goal bars. ---------- */
@container list (max-width: 859.98px) {
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 86px; }
    html:not([lang^="en"]) .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 100px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-picks { margin: -4px 0 -6px; padding: 3px 8px 5px; border: 1px solid var(--r2-cardline); border-radius: 10px; background: var(--r2-card); }
}
@container list (max-width: 359.98px) {
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 82px; }
    html:not([lang^="en"]) .sp-home-v1 .sp-hub:not(.sd-compact) .sp-hub-fixture-summary.sp-r2 { grid-template-columns: minmax(0, 1fr) 96px; }
    html .sp-home-v1 .sp-hub:not(.sd-compact) .sp-r2-picks { padding-right: 6px; padding-left: 6px; }
}
