/* TORO247 - sports (design canvas "TORO247 – koncepti i ri"; TORO-SHAPES.md).
   The sport page #S<id># and its windows (#S1_TD#, #S1_T3#, #S1_D1#…, #S1_L#), the league page
   #L<sport>_<league>#, A-Z #BR# and the search page #Q#: built from the canvas's pieces - the
   section title (teal italic upper case, 32px / phone 24px), the leaning tab group (.t-tabs,
   the current tab teal) for every filter, and each match as a "Ndeshjet e sotme" row (a leaning
   card fill, radius 5px, 8px apart: the time teal, the teams 17px semibold, three leaning price
   pills with the label over the price, picked = teal). CSS only: the rows, prices and their
   data-koefi / .selected / .disabled (padlock) are the site's own (js/app.js). */

/* ---- Page titles: the canvas's section title ------------------------------------------- */
html.toro :is(#sport-detail-name, #league-page-name, #sport-win-select, #page-browse .browse-section-title) {
    margin: 0;
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 32px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.toro #sport-detail-icon { display: none; }          /* the canvas's titles are words alone */
html.toro #sport-win-select option { font-size: 15px; font-style: normal; font-weight: 600; text-transform: none; color: var(--t-text); background: var(--t-card); }
html.toro .sd-win-title svg { color: var(--t-teal); }
html.toro #page-sport-detail.sd-win .sd-win-title { color: var(--t-teal); }
html.toro #sport-win-select { padding-right: 28px; }
html.toro .league-page-title { gap: 10px; margin-left: 0; }
html.toro .league-page-title svg { color: var(--t-teal); }
html.toro .league-page-title:hover #league-page-name { color: var(--t-teal-neon); }

/* Back: a teal link (the canvas's links), the window header's icon a leaning outline square. */
html.toro :is(#page-sport-detail, #page-league) .sport-back-link {
    min-height: 44px;
    margin: 0;
    padding: 0;
    color: var(--t-teal);
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}
html.toro :is(#page-sport-detail, #page-league) .sport-back-link:hover { color: var(--t-teal-neon); }
html.toro #page-sport-detail.sd-win .sport-back-link {
    min-height: 0;
    border: 1px solid var(--t-teal);
    border-radius: 5px;
    transform: var(--t-lean);
}

/* The header's buttons (sort, fold all): the canvas's secondary .btn, small. */
html.toro #page-sport-detail .sport-detail-header { gap: 12px 14px; margin-bottom: 18px; }
html.toro #page-sport-detail .lc-toggle-all {
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    background: var(--t-raised);
    color: var(--t-text);
    font-family: var(--t-font);
    font-size: 14px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    transform: var(--t-lean);
}
html.toro #page-sport-detail .lc-toggle-all:is(:hover, [aria-expanded="true"]) { background: var(--t-raised); color: var(--t-teal); box-shadow: var(--t-ring); }
html.toro #page-sport-detail.sd-win .lc-toggle-all { width: 40px; height: 40px; padding: 0; }
html.toro :is(#page-sport-detail, #page-league) :is(.sport-back-link, .lc-toggle-all, .league-page-title):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* ---- Filters: the canvas's leaning tab group ("Live tani"'s sports) --------------------- */
/* The sub-nav (Live / in 3 h / today / leagues), the countries, the market tabs, the days. */
html.toro #page-sport-detail :is(.sport-subnav, .sport-countries-scroll, .pmx-tabs, .sport-date-strip) {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 18px;
    padding: 6px 12px;
    overflow-x: auto;
    background: var(--t-card);
    border: 0;
    border-radius: 10px;
    transform: var(--t-lean);
    scrollbar-width: none;
}
html.toro #page-sport-detail .pmx-tabs[hidden] { display: none; }
/* The time windows stay on the page on a window's own list too (#S1_TD#, _T3 ...; style.css hides the
   strip there and offers them in the title only): the user wants them always in sight, the current one teal. */
html.toro #page-sport-detail.sd-win .sport-subnav { display: flex; }
html.toro #page-sport-detail .sport-countries-wrapper { gap: 14px; margin-bottom: 18px; }
html.toro #page-sport-detail .sport-countries-scroll { flex: 0 1 auto; min-width: 0; margin: 0; }
html.toro #page-sport-detail :is(.sport-subnav .sidebar-subitem, .country-pill, .pmx-tab, .sport-date-btn) {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 9px 14px;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--t-text-2);
    font-family: var(--t-font);
    font-size: 15px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
html.toro #page-sport-detail :is(.sport-subnav .sidebar-subitem, .country-pill, .pmx-tab, .sport-date-btn):hover { background: transparent; color: var(--t-text); }
html.toro #page-sport-detail :is(.sport-subnav .sidebar-subitem.active, .country-pill.active, .pmx-tab[aria-pressed="true"], .sport-date-btn.active),
html.toro #page-sport-detail :is(.sport-subnav .sidebar-subitem.active, .country-pill.active, .pmx-tab[aria-pressed="true"], .sport-date-btn.active):hover {
    background: var(--t-teal);
    color: var(--t-on-teal);
}
html.toro #page-sport-detail :is(.sport-subnav .sidebar-subitem, .country-pill, .pmx-tab, .sport-date-btn):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: -2px; }
html.toro #page-sport-detail .sport-subnav .sidebar-subitem svg { display: none; }   /* the canvas's tabs are words */
html.toro #page-sport-detail .pmx-all-btn { border-right: 0; }
html.toro #page-sport-detail .pmx-all-btn svg { display: inline; }
/* A country's count: the tab's own small number (the canvas's badge sits outside the group,
   which scrolls here and would cut it). */
html.toro #page-sport-detail .country-pill-name { font-weight: 700; }
html.toro #page-sport-detail .country-pill-count { color: var(--t-teal); font-size: 12px; font-style: normal; font-weight: 700; }
html.toro #page-sport-detail .country-pill.active .country-pill-count { color: var(--t-on-teal); }
html.toro #page-sport-detail .scroll-arrow {
    width: 38px;
    height: 38px;
    background: var(--t-raised);
    border: 0;
    border-radius: 5px;
    color: var(--t-text);
    transform: var(--t-lean);
}
html.toro #page-sport-detail .scroll-arrow:hover { color: var(--t-teal); box-shadow: var(--t-ring); }

/* ---- A league: its name over its rows, the fold and the way to its page ------------------ */
html.toro :is(#page-sport-detail, #page-league) .league-group {
    margin: 0 0 22px;
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
}
html.toro #page-sport-detail .league-group-header {
    gap: 10px;
    min-height: 44px;
    margin-bottom: 6px;
    padding: 0 2px;
    background: none;
}
html.toro #page-sport-detail .league-group-title {
    gap: 10px;
    color: var(--t-text);
    font-family: var(--t-font);
    font-size: 17px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.toro #page-sport-detail .league-group-header::after { border-color: var(--t-muted); }
html.toro #page-sport-detail .league-go { width: 44px; height: 44px; background: none; color: var(--t-teal); }
html.toro #page-sport-detail .league-go:hover { background: none; color: var(--t-teal-neon); }
html.toro #page-sport-detail .league-group-header:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* The day over its rows (Sot, Nesër …): small, teal. Its 1 / X / 2 are in the pills now; the
   names of several markets side by side and the goal line's picker stay over their columns. */
html.toro :is(#page-sport-detail, #page-league) .league-date-group { --sp-pw: 66px; --sp-og: 16px; display: flex; flex-direction: column; gap: 8px; border: 0; border-radius: 0; }
html.toro :is(#page-sport-detail, #page-league) .league-date-group + .league-date-group { margin-top: 14px; }
html.toro :is(#page-sport-detail, #page-league) .league-date-header {
    min-height: 0;
    padding: 4px calc(18px + 52px + 16px) 0 18px;   /* the row's end: its padding, +markets */
    background: none;
    border: 0;
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 14px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}
html.toro :is(#page-sport-detail, #page-league) .league-date-header .odds-header-labels,
html.toro :is(#page-sport-detail, #page-league) .pmx-head:not(:has(.pmx-hname, .pmx-hline)) { display: none; }
html.toro :is(#page-sport-detail, #page-league) .pmx-head { width: auto; margin-left: 16px; }
html.toro :is(#page-sport-detail, #page-league) .pmx-hname { color: var(--t-muted); font-size: 12px; font-style: normal; font-weight: 600; text-transform: none; }
html.toro :is(#page-sport-detail, #page-league) .pmx-hcaps { justify-content: center; gap: var(--sp-og); }
html.toro :is(#page-sport-detail, #page-league) .pmx-hcaps > span { flex: 0 0 var(--sp-pw); height: 0; overflow: hidden; visibility: hidden; }
html.toro :is(#page-sport-detail, #page-league) .pmx-hline { height: 24px; border-bottom-color: var(--t-teal); color: var(--t-teal); font-style: normal; }

/* ---- A match: the canvas's "Ndeshjet e sotme" row --------------------------------------- */
/* The row stays straight (its fill leans, on ::before); time | home – away | prices | +markets.
   The teams' box and the time's line give their children to the row (display: contents). */
html.toro :is(#page-sport-detail, #page-league) .league-match-row {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 66px;
    padding: 10px 18px;
    background: none;
    border: 0;
    border-radius: 5px;
}
html.toro :is(#page-sport-detail, #page-league) .league-match-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 5px;
    transform: var(--t-lean);
    transition: box-shadow .15s;
}
@media (hover: hover) {
    html.toro :is(#page-sport-detail, #page-league) .league-match-row:hover { background: none; border-color: transparent; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-row:hover::before { box-shadow: var(--t-ring); }
}
html.toro :is(#page-sport-detail, #page-league) :is(.league-match-teams, .league-match-meta) { display: contents; }
html.toro :is(#page-sport-detail, #page-league) .league-match-time {
    order: -1;
    flex: 0 0 56px;
    margin-right: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 17px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .01em;
}
/* Basis 0, as wide as its name at most: the two names share what is left (the shorter one whole),
   and on a phone they never push the +markets off the time's line. */
html.toro :is(#page-sport-detail, #page-league) .league-match-team {
    flex: 1 1 0;
    min-width: 0;
    max-width: max-content;
    align-items: baseline;      /* the name holds the line's baseline (the phone row aligns on it); the kit centres */
    gap: 6px;
    color: var(--t-text);
    font-family: var(--t-font);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}
html.toro :is(#page-sport-detail, #page-league) .league-match-team + .league-match-team { margin-right: auto; }
html.toro :is(#page-sport-detail, #page-league) .league-match-team + .league-match-team::before { content: '–'; flex: 0 0 auto; margin: 0 2px 0 6px; color: var(--t-text); }
/* The teams' kits (bast's): small, beside each name, centred on its line, no taller than the name. */
html.toro :is(#page-sport-detail, #page-league) .league-match-team .team-kit-sm { align-self: center; width: 18px; height: 18px; }
html.toro :is(#page-sport-detail, #page-league) .league-match-markets,
html.toro :is(#page-sport-detail, #page-league) .league-match-row:hover .league-match-markets {
    order: 3;
    flex: 0 0 auto;
    flex-basis: 52px;
    margin-left: 16px;
    padding: 0;
    white-space: nowrap;
    background: none;
    border: 0;
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 14px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    text-transform: uppercase;
}
html.toro :is(#page-sport-detail, #page-league) .league-match-markets::after { content: ' \203A'; }

/* The prices: leaning pills, the label over the price; picked = teal. */
html.toro :is(#page-sport-detail, #page-league) .league-match-odds,
html.toro :is(#page-sport-detail, #page-league) .league-date-group .league-match-odds:is(.pmx-odds, :not(.pmx-odds)) {
    order: 2;
    flex: 0 0 auto;
    display: flex;
    gap: var(--sp-og);
    width: auto;
    margin-left: 16px;
}
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline,
html.toro :is(#page-sport-detail, #page-league) .league-date-group .odd-btn-inline {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: auto;
    min-width: var(--sp-pw);
    height: 46px;
    padding: 0 8px;
    border: 0;
    border-radius: 5px;
    color: var(--t-odds);
    font-family: var(--t-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    transform: var(--t-lean);
    overflow: visible;
}
/* Not while a price move tints it (style.css .odd-chg-up / -down): that keeps its flash. */
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline:not(.odd-chg-up, .odd-chg-down) { background: var(--t-raised); }
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline::before { font-size: 11px; font-weight: 400; line-height: 1.1; color: var(--t-muted); }
html.toro :is(#page-sport-detail, #page-league) .league-match-odds:not(.pmx-nl, :has([data-slip-label])) > .odd-btn-inline:nth-child(1):not(:only-child)::before { content: '1'; }
html.toro :is(#page-sport-detail, #page-league) .league-match-odds:not(.pmx-nl, :has([data-slip-label])) > .odd-btn-inline:nth-child(2)::before { content: 'X'; }
html.toro :is(#page-sport-detail, #page-league) .league-match-odds:not(.pmx-nl, :has([data-slip-label])) > .odd-btn-inline:is(:nth-child(2):last-child, :nth-child(3))::before { content: '2'; }
html.toro :is(#page-sport-detail, #page-league) .league-match-odds > .odd-btn-inline[data-slip-label]::before { content: attr(data-slip-label); }
@media (hover: hover) {
    html.toro :is(#page-sport-detail, #page-league) .league-date-group .odd-btn-inline:not(.selected, .disabled):hover { background: var(--t-raised); box-shadow: var(--t-ring); }
}
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline.selected,
html.toro :is(#page-sport-detail, #page-league) .league-date-group .odd-btn-inline.selected { background: var(--t-teal); color: var(--t-on-teal); box-shadow: none; }
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline.selected::before,
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline.selected .oc-new { color: var(--t-on-teal); }
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline.selected:is(.odd-chg-up, .odd-chg-down) { background: var(--t-teal); }
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline.disabled { color: var(--t-muted); cursor: default; }
html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
/* A goal line's row picker between Over and Under. */
html.toro :is(#page-sport-detail, #page-league) .pmx-line { flex: 0 0 44px; color: var(--t-teal); font-family: var(--t-font); font-size: 14px; font-weight: 700; }
html.toro :is(#page-sport-detail, #page-league) .pmx-line:hover { color: var(--t-teal-neon); }
/* Several markets side by side (a wide screen's market tabs): narrower pills. */
html.toro #page-sport-detail .league-date-group:has(.pmx-head ~ .pmx-head) { --sp-pw: 56px; --sp-og: 6px; }
html.toro #page-sport-detail .league-date-group:has(.pmx-head ~ .pmx-head) .odd-btn-inline { padding: 0 4px; font-size: 15px; }
/* An outright's one price (e.g. top scorer): the selection, its price at the right. */
html.toro #page-league .league-match-outright .league-match-team + .league-match-team::before { content: none; }
html.toro #page-league .league-match-outright .league-match-team { margin-right: auto; }

/* "Show more leagues" and the empty / loading lines. */
html.toro .sport-more-btn {
    height: 46px;
    padding: 0 28px;
    background: var(--t-raised);
    border: 0;
    border-radius: 5px;
    color: var(--t-text);
    font-family: var(--t-font);
    font-size: 16px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    transform: var(--t-lean);
}
html.toro .sport-more-btn:hover:not(:disabled) { background: var(--t-raised); color: var(--t-teal); box-shadow: var(--t-ring); }
html.toro .sport-more-btn:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro :is(#page-sport-detail, #page-league, #page-browse, #page-search) :is(.sport-loading, .search-empty, .sr-empty, .sidebar-loading) {
    color: var(--t-muted);
    font-family: var(--t-font);
    font-size: 17px;
    font-style: italic;
    font-weight: 600;
}

/* ---- Leagues list (#S<id>_L#, the outright sports' list): rows as the canvas's ---------- */
html.toro #page-sport-detail .leagues-list { gap: 8px; margin-top: 0; }
html.toro #page-sport-detail .leagues-list-section-title {
    padding: 4px 2px 6px;
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 24px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}
html.toro #page-sport-detail .leagues-list-section-title svg { stroke: var(--t-teal); }
html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head) {
    position: relative;
    isolation: isolate;
    min-height: 56px;
    padding: 10px 18px;
    background: none;
    border: 0;
    color: var(--t-text);
}
html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 5px;
    transform: var(--t-lean);
}
html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head):hover { background: none; }
html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head):hover::before { box-shadow: var(--t-ring); }
html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #page-sport-detail .ll-icon { background: var(--t-deep); border: 0; }
html.toro #page-sport-detail .ll-label { color: var(--t-text); font-family: var(--t-font); font-size: 17px; font-weight: 600; }
html.toro #page-sport-detail .ll-count {
    padding: 0;
    background: none;
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
}
html.toro #page-sport-detail :is(.ll-cat, .ll-country) { display: flex; flex-direction: column; gap: 8px; }
html.toro #page-sport-detail :is(.ll-cat-body, .ll-country-body):not([hidden]) { display: flex; flex-direction: column; gap: 8px; }
html.toro #page-sport-detail .ll-cat-match { padding: 10px 18px; background: var(--t-deep); border: 0; border-radius: 5px; color: var(--t-text); }
html.toro #page-sport-detail .ll-cat-match-time { color: var(--t-teal); font-style: italic; font-weight: 800; }

/* ---- A-Z (#BR#) ------------------------------------------------------------------------ */
html.toro #page-browse .browse-section-title { padding: 0; margin: 32px 0 14px; }
html.toro #page-browse .browse-all-list { display: flex; flex-direction: column; gap: 8px; background: none; border: 0; }
html.toro #page-browse :is(.browse-sport-item, .browse-sport-item.browse-all-row) {
    position: relative;
    isolation: isolate;
    min-height: 56px;
    padding: 6px 18px;
    background: none;
    border: 0;
    color: var(--t-text);
}
html.toro #page-browse .browse-all-row + .browse-all-row { border-top: 0; }
html.toro #page-browse .browse-sport-item::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 5px;
    transform: var(--t-lean);
}
html.toro #page-browse .browse-sport-item:hover { background: none; }
html.toro #page-browse .browse-sport-item:hover::before { box-shadow: var(--t-ring); }
html.toro #page-browse :is(.browse-all-left, .browse-sport-left) span { color: var(--t-text); font-family: var(--t-font); font-size: 17px; font-style: normal; font-weight: 600; text-transform: none; }
html.toro #page-browse :is(.browse-all-arrow, .browse-sport-arrow) { color: var(--t-teal); }
html.toro #page-browse .browse-live-pill {
    min-height: 36px;
    padding: 0 12px;
    background: var(--t-teal);
    border: 0;
    border-radius: 5px;
    color: var(--t-on-teal);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    transform: var(--t-lean);
}
html.toro #page-browse .browse-live-pill :is(.sb-live-num, .browse-live-pill-word) { color: var(--t-on-teal); }
html.toro #page-browse :is(.browse-sport-item a, .browse-sport-item, .browse-nav-item):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #page-browse .browse-nav-links { gap: 8px; background: none; border: 0; }
html.toro #page-browse .browse-nav-item {
    min-height: 46px;
    background: var(--t-raised);
    border: 0;
    border-radius: 5px;
    color: var(--t-text);
    font-family: var(--t-font);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    transform: var(--t-lean);
}
html.toro #page-browse .browse-nav-item:hover { color: var(--t-teal); box-shadow: var(--t-ring); }
html.toro #page-browse .browse-nav-item svg { color: var(--t-teal); }
html.toro #page-browse .browse-search { background: var(--t-deep); border: 1px solid var(--t-raised); border-radius: 5px; }
html.toro #page-browse .browse-search input { color: var(--t-text); font-family: var(--t-font); font-size: 17px; }

/* ---- Search (#Q#) ---------------------------------------------------------------------- */
html.toro #page-search .sr-bar { background: var(--t-deep); border: 1px solid var(--t-raised); border-radius: 5px; }
html.toro #page-search .sr-bar:focus-within { border-color: var(--t-teal); }
html.toro #page-search #sr-input { color: var(--t-text); font-family: var(--t-font); font-size: 18px; }
html.toro #page-search .sr-close { color: var(--t-teal); font-family: var(--t-font); font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #page-search .sr-cats {
    display: inline-flex;
    align-self: flex-start;
    gap: 4px;
    padding: 6px 12px;
    background: var(--t-card);
    border: 0;
    border-radius: 10px;
    transform: var(--t-lean);
}
html.toro #page-search .sr-cat {
    min-height: 0;
    padding: 9px 14px;
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--t-text-2);
    font-family: var(--t-font);
    font-size: 15px;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}
html.toro #page-search .sr-cat.active { background: var(--t-teal); color: var(--t-on-teal); }
html.toro #page-search :is(.sr-cat, .sr-close, .sr-see-all, .sr-clear):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #page-search :is(.sr-section-head h3, .srx-head) {
    color: var(--t-teal);
    font-family: var(--t-font);
    font-size: 32px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.toro #page-search .srx-head-n { color: var(--t-muted); font-size: 15px; }
html.toro #page-search :is(.sr-see-all, .sr-clear) { color: var(--t-teal); font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #page-search :is(.sr-recent-item, .sr-league, .srx-league, .srx-chip) { background: var(--t-card); border: 0; border-radius: 5px; color: var(--t-text); font-family: var(--t-font); }
html.toro #page-search .srx-chip.is-on { background: var(--t-teal); color: var(--t-on-teal); }
/* The search page's live list: rows as the canvas's live cards (the minute teal, the score boxed). */
html.toro #page-search .sr-live { display: flex; flex-direction: column; gap: 8px; background: none; border: 0; border-radius: 0; overflow: visible; }
html.toro #page-search .sr-live li { position: relative; isolation: isolate; }
html.toro #page-search .sr-live li + li { border-top: 0; }
html.toro #page-search .sr-live li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--t-card); border-radius: 5px; transform: var(--t-lean); }
html.toro #page-search .sr-live-item { padding: 12px 18px; color: var(--t-text); }
html.toro #page-search .sr-live-item:hover { background: none; }
html.toro #page-search .sr-live li:hover::before { box-shadow: var(--t-ring); }
html.toro #page-search .sr-live-item:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #page-search .sr-live-min { color: var(--t-teal); font-family: var(--t-font); font-size: 15px; font-style: italic; }
html.toro #page-search .sr-live-item > svg { color: var(--t-teal); }
html.toro #page-search .srx-day-label { color: var(--t-teal); font-family: var(--t-font); font-size: 14px; font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #page-search .srx-odds-head { display: none; }   /* the labels are in the pills */

/* A result: the canvas's row - the time teal, the league small and muted, the teams 17px. */
html.toro #page-search .srx { --srx-odd-w: 66px; --srx-odds-w: calc(3 * 66px + 2 * 10px); }
html.toro #page-search :is(.srx-group, .srx-live-list) { display: flex; flex-direction: column; gap: 8px; background: none; border: 0; border-radius: 0; overflow: visible; }
html.toro #page-search .srx-row,
html.toro #page-search .srx-row.is-live {
    position: relative;
    isolation: isolate;
    column-gap: 16px;
    padding: 10px 18px;
    background: none;
    border: 0;
    border-radius: 5px;
}
html.toro #page-search .srx-group .srx-row + .srx-row { border-top: 0; }
html.toro #page-search .srx-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 5px;
    transform: var(--t-lean);
}
html.toro #page-search .srx-group .srx-row:hover { background: none; }
html.toro #page-search .srx-row:hover::before { box-shadow: var(--t-ring); }
html.toro #page-search .srx-link { gap: 2px; color: var(--t-text); }
html.toro #page-search .srx-meta { font-size: 12px; color: var(--t-muted); }
html.toro #page-search .srx-when,
html.toro #page-search .srx-clock { color: var(--t-teal); font-family: var(--t-font); font-size: 15px; font-style: italic; font-weight: 800; }
html.toro #page-search .srx-live-tag { color: var(--t-teal); }
html.toro #page-search .srx-name { color: var(--t-text); font-family: var(--t-font); font-size: 17px; font-weight: 600; }
/* The teams' kits (bast's), small beside the name; a team without one keeps its monogram, on a price cell's fill. */
html.toro #page-search :is(.srx-kit, .srx-kit-img, .srx-mono) { width: 18px; height: 18px; }
html.toro #page-search .srx-mono { border-radius: 4px; background: var(--t-raised); color: var(--t-text-2); font-family: var(--t-font); font-size: 8px; }
/* A live score: the canvas's score box. */
html.toro #page-search .srx-score { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 5px; background: var(--t-deep); color: var(--t-text); font-family: var(--t-font); font-size: 15px; font-weight: 700; }
html.toro #page-search .srx-score.is-behind { color: var(--t-muted); }
html.toro #page-search .srx-odds { gap: 10px; }
html.toro #page-search .srx-odd {
    flex-direction: column;
    gap: 1px;
    height: 46px;
    border: 0;
    border-radius: 5px;
    background: var(--t-raised);
    color: var(--t-odds);
    font-family: var(--t-font);
    font-size: 17px;
    font-weight: 700;
    transform: var(--t-lean);
}
html.toro #page-search .srx-odd-lbl { display: block; color: var(--t-muted); font-size: 11px; font-weight: 400; line-height: 1.1; }
html.toro #page-search .srx-odd:hover { border: 0; box-shadow: var(--t-ring); }
html.toro #page-search .srx-odd.selected { background: var(--t-teal); color: var(--t-on-teal); }
html.toro #page-search .srx-odd.selected .srx-odd-lbl { color: var(--t-on-teal); }
html.toro #page-search .srx-odd.disabled { color: var(--t-muted); }
html.toro #page-search .srx-odd.is-empty { background: transparent; color: var(--t-muted); transform: none; }
html.toro #page-search .srx-more {
    align-self: center;
    height: 46px;
    padding: 0 28px;
    background: var(--t-raised);
    border: 0;
    border-radius: 5px;
    color: var(--t-text);
    font-family: var(--t-font);
    font-size: 16px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    transform: var(--t-lean);
}

/* ---- Phone (the site's breakpoint; the canvas's Phone board) ------------------------------ */
@media (max-width: 980px) {
    html.toro :is(#sport-detail-name, #league-page-name, #sport-win-select, #page-browse .browse-section-title) { font-size: 24px; }
    html.toro #page-sport-detail.sd-win .sd-win-title { grid-column: 2 / 4; }   /* the window's name whole at 24px */
    html.toro #page-sport-detail :is(.sport-subnav, .sport-countries-scroll, .pmx-tabs, .sport-date-strip) { gap: 4px; padding: 5px 8px; }
    html.toro #page-sport-detail :is(.sport-subnav .sidebar-subitem, .country-pill, .pmx-tab, .sport-date-btn) { padding: 8px 12px; font-size: 14px; }
    html.toro #page-sport-detail .sport-countries-wrapper .scroll-arrows { display: none; }
    html.toro #page-sport-detail .league-group-title { font-size: 15px; }

    /* The phone row: time and teams over a row of three equal pills. */
    html.toro :is(#page-sport-detail, #page-league) .league-date-group { --sp-og: 8px; }
    html.toro :is(#page-sport-detail, #page-league) .league-date-header { padding: 2px 16px 0; font-size: 13px; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-row {
        flex-wrap: wrap;
        align-items: baseline;
        row-gap: 8px;
        min-height: 0;
        padding: 10px 16px;
    }
    html.toro :is(#page-sport-detail, #page-league) .league-match-row::before { transform: skew(-6deg); }
    html.toro :is(#page-sport-detail, #page-league) .league-match-time { flex: 0 0 auto; margin-right: 10px; font-size: 15px; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-team { font-size: 15px; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-team .team-kit-sm { width: 16px; height: 16px; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-markets { order: 1; flex-basis: auto; margin-left: 10px; font-size: 13px; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-odds,
    html.toro :is(#page-sport-detail, #page-league) .league-date-group .league-match-odds:is(.pmx-odds, :not(.pmx-odds)) {
        order: 2;
        flex: 1 0 100%;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        margin-left: 0;
    }
    html.toro :is(#page-sport-detail, #page-league) .league-date-group .league-match-odds.pmx-nl { grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); grid-auto-flow: row; }
    html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline,
    html.toro :is(#page-sport-detail, #page-league) .league-date-group .odd-btn-inline { min-width: 0; height: 44px; font-size: 16px; }
    html.toro :is(#page-sport-detail, #page-league) .odd-btn-inline::before { font-size: 10px; }
    html.toro :is(#page-sport-detail, #page-league) .pmx-head { display: none; }
    html.toro :is(#page-sport-detail, #page-league) .league-match-outright .league-match-odds { flex: 0 0 auto; display: flex; }

    html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head) { padding: 8px 16px; }
    html.toro #page-sport-detail :is(.leagues-list-row, .ll-cat-head, .ll-country-head)::before,
    html.toro #page-browse .browse-sport-item::before,
    html.toro #page-search .srx-row::before { transform: skew(-6deg); }
    html.toro #page-sport-detail .ll-label { font-size: 15px; }
    html.toro #page-browse :is(.browse-all-left, .browse-sport-left) span { font-size: 15px; }

    html.toro #page-search :is(.sr-section-head h3, .srx-head) { font-size: 24px; }
    html.toro #page-search .srx { --srx-odd-w: minmax(0, 1fr); }
    html.toro #page-search .srx-row,
    html.toro #page-search .srx-row.is-live { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 10px 16px; }
    html.toro #page-search .srx-odds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    html.toro #page-search .srx-odd { height: 44px; font-size: 16px; }
    html.toro #page-search .srx-odd-lbl { font-size: 10px; }
    html.toro #page-search .srx-name { font-size: 15px; }
}
/* A narrow phone: a window's name (#S1_TD# …) on its own line under back / sort / fold, whole at 24px
   (beside the buttons "Ndeshjet e sotme" was cut to "Ndeshjet e …"; a <select> cannot wrap). */
@media (max-width: 560px) {
    html.toro #page-sport-detail.sd-win .sport-detail-header { row-gap: 4px; }
    html.toro #page-sport-detail.sd-win .sd-win-title { grid-area: 2 / 1 / 3 / -1; justify-self: start; }
    html.toro #sport-win-select { padding-left: 0; }
}

/* ---- The exchange's "coming soon" (#EX#): the canvas's panel (as its Bast panel), teal heading,
   teal badge and outline chips for the three features (words, nothing to press). -------- */
html.toro #page-exchange .exchange-hero { min-height: 0; padding: 36px 0 48px; }
html.toro #page-exchange .exchange-hero-inner {
    padding: 36px 40px 40px;
    background: var(--t-card);
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    font-family: var(--t-font);
}
html.toro #page-exchange .exchange-hero-inner::before { content: none; }
html.toro #page-exchange .exchange-badge { margin-bottom: 22px; padding: 2px 8px; background: var(--t-teal); border-radius: 4px; color: var(--t-on-teal); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
html.toro #page-exchange .exchange-hero-icon { width: 72px; height: 72px; margin-bottom: 22px; background: var(--t-deep); border: 0; border-radius: 12px; color: var(--t-teal); transform: var(--t-lean); }
html.toro #page-exchange .exchange-title { margin: 0 0 12px; color: var(--t-teal); font-family: var(--t-font-head); font-size: 32px; font-style: italic; font-weight: 800; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
html.toro #page-exchange .exchange-slogan { margin: 0 0 12px; color: var(--t-text-2); font-size: 20px; font-style: italic; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
html.toro #page-exchange .exchange-desc { margin: 0 auto 26px; color: var(--t-muted); font-size: 15px; line-height: 1.55; }
html.toro #page-exchange .exchange-features { gap: 12px; }
html.toro #page-exchange .exchange-feature {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--t-teal);
    border-radius: 5px;
    color: var(--t-teal);
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    transform: var(--t-lean);
}
html.toro #page-exchange .exchange-feature svg { color: var(--t-teal); }
@media (max-width: 980px) {
    html.toro #page-exchange .exchange-hero { padding: 20px 0 32px; }
    html.toro #page-exchange .exchange-hero-inner { padding: 28px 20px 32px; }
    html.toro #page-exchange .exchange-title { font-size: 24px; }
    html.toro #page-exchange .exchange-slogan { font-size: 17px; }
    html.toro #page-exchange .exchange-feature { font-size: 14px; }
}

/* ===== Most played (#MP#, js/b365-mostplayed.js) ===========================================
   Its own sheet (css/b365.css) loads only with the bet365 skin, so on TORO247 the page came
   unstyled: its icons had no size and each filled the page's width. Built here from the canvas's
   pieces: the titles as its section titles, the periods and the phone's jump buttons as leaning
   tab groups, each match a "Ndeshjet e sotme" row (rank | time · league over home – away and the
   most played pick | its price as a leaning pill, the pick over the price, picked = teal), each
   latest bet as the canvas's Bast panel (straight card, its legs as slip rows). CSS only: the
   price stays the site's [data-koefi] element (.selected / .disabled kept). */
html.toro #page-most-played .b365mp { max-width: 1360px; margin: 0 auto; padding: 0 0 28px; display: flex; flex-direction: column; gap: 28px; color: var(--t-text); font-family: var(--t-font); }
html.toro #page-most-played svg { flex: none; width: 16px; height: 16px; }
html.toro #page-most-played .b365mp-head { display: flex; flex-direction: column; gap: 8px; }
html.toro #page-most-played .b365mp-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--t-teal); font-size: 15px; font-style: italic; font-weight: 800; text-transform: uppercase; text-decoration: none; }
html.toro #page-most-played .b365mp-back:hover { color: var(--t-teal-neon); }
html.toro #page-most-played :is(.b365mp-title, .b365mp-h2, .b365mp-h3) { margin: 0; color: var(--t-teal); font-family: var(--t-font); font-style: italic; font-weight: 800; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
html.toro #page-most-played .b365mp-title { font-size: 32px; }
html.toro #page-most-played .b365mp-h2 { font-size: 24px; }
html.toro #page-most-played .b365mp-h3 { margin-top: 8px; font-size: 17px; }
html.toro #page-most-played :is(.b365mp-sub, .b365mp-sec-sub) { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--t-muted); font-size: 14px; }
html.toro #page-most-played .b365mp-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--t-teal); box-shadow: var(--t-glow); }
html.toro #page-most-played .b365mp-dot.is-small { width: 7px; height: 7px; box-shadow: none; }

/* The phone's jump buttons and the bets' periods: the canvas's leaning tab group. */
html.toro #page-most-played :is(.b365mp-jump, .b365mp-spans) { display: flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; padding: 6px 12px; background: var(--t-card); border-radius: 10px; transform: var(--t-lean); }
html.toro #page-most-played .b365mp-jump { margin-top: 4px; }
html.toro #page-most-played :is(.b365mp-jump, .b365mp-spans) button { padding: 9px 14px; background: transparent; border: 0; border-radius: 5px; color: var(--t-text-2); font: inherit; font-size: 15px; font-style: italic; font-weight: 700; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
html.toro #page-most-played :is(.b365mp-jump, .b365mp-spans) button:hover { color: var(--t-text); }
html.toro #page-most-played :is(.b365mp-jump, .b365mp-spans) button[aria-pressed="true"] { background: var(--t-teal); color: var(--t-on-teal); }

html.toro #page-most-played .b365mp-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px 32px; }
html.toro #page-most-played .b365mp-sec { display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 120px; }
html.toro #page-most-played .b365mp-sec-matches { flex: 999 1 480px; }
html.toro #page-most-played .b365mp-sec-bets { flex: 1 1 340px; }
html.toro #page-most-played :is(.b365mp-sec-head, .b365mp-sec-titles) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html.toro #page-most-played .b365mp-sec-head.has-action { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; }
/* Refresh: the canvas's secondary button, square. */
html.toro #page-most-played .b365mp-refresh { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 4px; padding: 0; background: var(--t-raised); border: 0; border-radius: 5px; color: var(--t-text); cursor: pointer; transform: var(--t-lean); }
html.toro #page-most-played .b365mp-refresh:hover { color: var(--t-teal); box-shadow: var(--t-ring); }
html.toro #page-most-played .b365mp-refresh svg { width: 18px; height: 18px; }
html.toro #page-most-played .b365mp-refresh.is-busy svg { animation: toro-mp-turn .8s linear infinite; }
@keyframes toro-mp-turn { to { transform: rotate(360deg); } }

/* ---- The matches: the canvas's "Ndeshjet e sotme" row ---------------------------------- */
html.toro #page-most-played .b365mp-list { display: flex; flex-direction: column; gap: 8px; }
html.toro #page-most-played .b365mp-row { position: relative; isolation: isolate; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; min-height: 66px; padding: 10px 18px; }
html.toro #page-most-played .b365mp-row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--t-card); border-radius: 5px; transform: var(--t-lean); transition: box-shadow .15s; }
@media (hover: hover) { html.toro #page-most-played .b365mp-row:hover::before { box-shadow: var(--t-ring); } }
html.toro #page-most-played .b365mp-rank { color: var(--t-teal); font-size: 22px; font-style: italic; font-weight: 800; line-height: 1; text-align: center; }
html.toro #page-most-played .b365mp-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html.toro #page-most-played .b365mp-meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--t-muted); font-size: 12px; }
html.toro #page-most-played .b365mp-meta b { color: var(--t-teal); font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #page-most-played .b365mp-teams { color: var(--t-text); font-size: 17px; font-weight: 600; line-height: 1.25; text-decoration: none; }
html.toro #page-most-played .b365mp-teams:hover { color: var(--t-teal-neon); }
html.toro #page-most-played .b365mp-team + .b365mp-team::before { content: ' – '; }
html.toro #page-most-played .b365mp-kit { display: none; }   /* none on the canvas */
html.toro #page-most-played .b365mp-pick { display: flex; align-items: flex-start; gap: 5px; min-width: 0; color: var(--t-text-2); font-size: 13px; line-height: 17px; }
html.toro #page-most-played .b365mp-flame { width: 13px; height: 13px; margin-top: 2px; color: var(--t-odds); }
html.toro #page-most-played .b365mp-share { color: var(--t-odds); }
html.toro #page-most-played .b365mp-pick-txt { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
html.toro #page-most-played .b365mp-pick-txt b { color: var(--t-text); }
/* Its price: a leaning pill, the pick small over the price (its "Add" word goes: the row says it). */
html.toro #page-most-played .b365mp-odd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 84px; height: 46px; padding: 0 8px; background: var(--t-raised); border-radius: 5px; color: var(--t-odds); transform: var(--t-lean); cursor: pointer; }
html.toro #page-most-played .b365mp-odd::before { content: attr(data-slip-label); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--t-muted); font-size: 11px; line-height: 1.1; }
html.toro #page-most-played .b365mp-price { font-size: 17px; font-weight: 700; line-height: 1.1; }
html.toro #page-most-played .b365mp-add { display: none; }
@media (hover: hover) { html.toro #page-most-played .b365mp-odd:not(.selected, .disabled):hover { box-shadow: var(--t-ring); } }
html.toro #page-most-played .b365mp-odd.selected { background: var(--t-teal); color: var(--t-on-teal); }
html.toro #page-most-played .b365mp-odd.selected::before { color: var(--t-on-teal); }
html.toro #page-most-played .b365mp-odd.disabled { color: var(--t-muted); cursor: default; }

/* ---- The latest bets: each the canvas's Bast panel, its legs as slip rows --------------- */
html.toro #page-most-played .b365mp-bets { display: flex; flex-direction: column; gap: 12px; }
html.toro #page-most-played .b365mp-bet { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--t-card); border-radius: 12px; }
html.toro #page-most-played .b365mp-bet.is-foldable { cursor: pointer; }
html.toro #page-most-played .b365mp-bet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
html.toro #page-most-played .b365mp-bet-kind { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
html.toro #page-most-played .b365mp-bet-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #page-most-played .b365mp-ago { flex: none; color: var(--t-muted); font-size: 12px; }
/* BB / LAY / LIVE: the canvas's badge, in the line. */
html.toro #page-most-played :is(.b365mp-badge, .b365mp-livetag) { flex: none; display: inline-block; padding: 1px 6px; background: var(--t-teal); border-radius: 4px; color: var(--t-on-teal); font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.4; }
html.toro #page-most-played .b365mp-badge.is-lay { background: var(--lay-accent); }
html.toro #page-most-played .b365mp-livetag { margin-left: 4px; vertical-align: 1px; }
html.toro #page-most-played :is(.b365mp-legs, .b365mp-bb) { display: flex; flex-direction: column; gap: 8px; }
html.toro #page-most-played :is(.b365mp-leg, .b365mp-bb-pick) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 10px 14px; background: var(--t-raised); border-radius: 5px; }
html.toro #page-most-played .b365mp-node { display: none; }   /* the slip's rows carry no dots */
html.toro #page-most-played .b365mp-leg-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html.toro #page-most-played .b365mp-leg-match { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--t-muted); font-size: 12px; }
html.toro #page-most-played .b365mp-leg-pick { color: var(--t-text-2); font-size: 14px; }
html.toro #page-most-played .b365mp-leg-pick b, html.toro #page-most-played .b365mp-bb-name { color: var(--t-text); font-size: 14px; font-weight: 700; }
html.toro #page-most-played .b365mp-leg-odd { color: var(--t-odds); font-size: 17px; font-weight: 700; }
html.toro #page-most-played .b365mp-lay { color: var(--lay-accent); }
html.toro #page-most-played .b365mp-bb-match { color: var(--t-text); font-size: 15px; font-weight: 700; text-decoration: none; }
html.toro #page-most-played a.b365mp-bb-match:hover { color: var(--t-teal-neon); }
html.toro #page-most-played .b365mp-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0; background: none; border: 0; color: var(--t-teal); font: inherit; font-size: 14px; font-style: italic; font-weight: 800; text-transform: uppercase; cursor: pointer; }
html.toro #page-most-played .b365mp-chev { width: 14px; height: 14px; transition: transform .15s; }
html.toro #page-most-played .b365mp-more[aria-expanded="true"] .b365mp-chev { transform: rotate(180deg); }
html.toro #page-most-played .b365mp-bet-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
html.toro #page-most-played .b365mp-facts { min-width: 0; color: var(--t-muted); font-size: 14px; line-height: 1.5; }
html.toro #page-most-played .b365mp-facts b { color: var(--t-text); }
html.toro #page-most-played .b365mp-facts b.is-odds { color: var(--t-odds); }
html.toro #page-most-played .b365mp-facts b.is-win { color: var(--t-teal); }
/* Play it too / Add: the canvas's outline chip as a button; in the slip it fills teal (picked). */
html.toro #page-most-played .b365mp-play { flex: none; margin-left: auto; min-height: 40px; padding: 0 16px; background: transparent; border: 1px solid var(--t-teal); border-radius: 5px; color: var(--t-teal); font: inherit; font-size: 14px; font-style: italic; font-weight: 800; text-transform: uppercase; cursor: pointer; transform: var(--t-lean); }
html.toro #page-most-played .b365mp-play:hover:not(:disabled) { color: var(--t-teal-neon); border-color: var(--t-teal-neon); box-shadow: var(--t-ring); }
html.toro #page-most-played .b365mp-play:disabled { border-color: var(--t-line); color: var(--t-muted); cursor: default; }
html.toro #page-most-played :is(.b365mp-play .is-in, .brr-69 .b365mp-play .is-add) { display: none; }
html.toro #page-most-played .brr-69 .b365mp-play .is-in { display: inline; }
html.toro #page-most-played .brr-69 .b365mp-play { background: var(--t-teal); border-color: var(--t-teal); color: var(--t-on-teal); }

/* ---- Empty and loading ------------------------------------------------------------------ */
html.toro #page-most-played .b365mp-none { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
html.toro #page-most-played .b365mp-none-title { margin: 0; color: var(--t-muted); font-size: 17px; font-style: italic; font-weight: 600; }
html.toro #page-most-played .b365mp-none-sub { margin: 0; color: var(--t-muted); font-size: 14px; font-style: italic; }
html.toro #page-most-played .b365mp-go { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 8px; }
html.toro #page-most-played .b365mp-go-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; background: transparent; border: 1px solid var(--t-teal); border-radius: 5px; color: var(--t-teal); font: inherit; font-size: 15px; font-style: italic; font-weight: 800; text-transform: uppercase; text-decoration: none; cursor: pointer; transform: var(--t-lean); }
html.toro #page-most-played .b365mp-go-link:hover { color: var(--t-teal-neon); border-color: var(--t-teal-neon); }
html.toro #page-most-played .b365mp-skel { display: flex; flex-direction: column; gap: 8px; }
html.toro #page-most-played .b365mp-skel-row { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; background: var(--t-card); border-radius: 5px; }
html.toro #page-most-played .b365mp-skel .skel { background-image: linear-gradient(90deg, var(--t-raised) 25%, var(--bg-hover) 37%, var(--t-raised) 63%); }

html.toro #page-most-played :is(.b365mp-back, .b365mp-jump button, .b365mp-spans button, .b365mp-refresh, .b365mp-teams, .b365mp-odd, .b365mp-more, .b365mp-play, .b365mp-go-link, a.b365mp-bb-match):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html.toro #page-most-played :is(.b365mp-refresh.is-busy svg, .b365mp-chev, .b365mp-row::before) { animation: none; transition: none; } }

@media (min-width: 981px) {
    html.toro #page-most-played .b365mp-jump { display: none; }   /* both lists are in sight */
}
@media (max-width: 980px) {
    html.toro #page-most-played .b365mp { gap: 22px; }
    html.toro #page-most-played .b365mp-title { font-size: 24px; }
    html.toro #page-most-played .b365mp-h2 { font-size: 20px; }
    html.toro #page-most-played :is(.b365mp-jump, .b365mp-spans) { padding: 5px 8px; }
    html.toro #page-most-played :is(.b365mp-jump, .b365mp-spans) button { padding: 8px 12px; font-size: 14px; }
    html.toro #page-most-played .b365mp-row { grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 12px; padding: 10px 16px; }
    html.toro #page-most-played .b365mp-row::before { transform: skew(-6deg); }
    html.toro #page-most-played .b365mp-rank { font-size: 18px; }
    html.toro #page-most-played .b365mp-teams { font-size: 15px; }
    html.toro #page-most-played .b365mp-odd { width: 76px; height: 44px; }
    html.toro #page-most-played .b365mp-odd::before { font-size: 10px; }
    html.toro #page-most-played .b365mp-price { font-size: 16px; }
    html.toro #page-most-played .b365mp-bet { padding: 14px; }
}

/* ================================================================================================
   A match row - model A (owner 2026-12-04, design "Ndeshjet e sotme: modele të reja"): the two
   teams one over the other, each with its kit and its whole name (a long one wraps, never "..."),
   the prices beside them. A desktop: the time at the left, the markets' count at the right; a phone:
   the time and the count on the row's top line. The sport and league lists and Home's "Ndeshjet në
   vijim" (App's rows, unchanged markup: the teams' box and the time's line give their children to
   the grid). An outright row keeps its own layout above.
   ============================================================================================== */
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    grid-auto-columns: auto;
    grid-auto-flow: column;
    align-items: center;
    gap: 8px 20px;
    min-height: 0;
    padding: 14px 18px;
}
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) :is(.league-match-teams, .league-match-meta) { display: contents; }
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-time { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    max-width: none;
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
}
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team + .league-match-team { grid-row: 2; margin: 0; }
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team + .league-match-team::before { content: none; }
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) :is(.league-match-team, .league-match-team > span) { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team .team-kit-sm { flex: none; width: 20px; height: 20px; }
/* Each market's prices (a wide screen may show several side by side) and then the count, in the
   columns after the teams (auto-placed: the count last by order). */
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-markets { grid-row: 1 / span 2; order: 99; justify-self: end; min-width: 64px; margin: 0; }
html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-odds { grid-row: 1 / span 2; margin: 0; }
@media (max-width: 980px) {
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "time more" "home odds" "away odds";
        grid-auto-flow: row;
        gap: 8px 12px;
        padding: 12px 14px 14px;
    }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-time { grid-area: time; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team { grid-area: home; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team + .league-match-team { grid-area: away; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-markets { grid-area: more; min-width: 0; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-odds { grid-area: odds; }
    /* Several markets: the teams across the row, each market's prices a full-width row under them. */
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright):has(.league-match-odds ~ .league-match-odds) { grid-template-areas: "time more" "home home" "away away"; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-date-group .league-match-row:not(.league-match-outright):has(.league-match-odds ~ .league-match-odds) .league-match-odds:is(.pmx-odds, :not(.pmx-odds)) { grid-area: auto; grid-column: 1 / -1; grid-auto-columns: minmax(0, 1fr); }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team { font-size: 16px; gap: 8px; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-team .team-kit-sm { width: 18px; height: 18px; }
    /* The prices: 52px each, beside the teams (a goal line: Over, its line picker, Under). */
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .league-match-odds,
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-date-group .league-match-row:not(.league-match-outright) .league-match-odds:is(.pmx-odds, :not(.pmx-odds)) {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 52px;
        gap: 6px;
        width: auto;
        margin: 0;
    }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-date-group .league-match-row:not(.league-match-outright) .league-match-odds.pmx-nl { grid-template-columns: 52px 40px 52px; grid-auto-flow: row; }
    html.toro :is(#page-sport-detail, #page-league, #league-matches-grouped) .league-match-row:not(.league-match-outright) .odd-btn-inline { height: 52px; padding: 0 2px; }
}

/* #BR#: football's kick-off windows over the page (as Home's "Sipas kohës", index.html .br-times). */
html.toro #page-browse .br-times { margin: 0 0 20px; }
