/* TORO247 - live (design canvas "TORO247 – koncepti i ri", board Match.dc.html, the live cards of
   Main.dc.html / Phone.dc.html; TORO-SHAPES.md): the live match page (#LM), the market grid on it
   and on the prematch match page (#M), the prematch header, the live list (#LV#). bet365's sheets
   (js/live-mobile.js) load after this file: every rule here carries an id. Nothing that holds a
   fixed / sticky / absolute box leans - a ::before layer or a child (.tsb-lean) does. */

/* ================================================================================================
   The live match: the scoreboard panel (js/toro-match.js, inside bet365's header #lmm-header)
   ============================================================================================== */
/* bet365's header content steps aside for the panel; the rail's own scoreboard too (the panel
   carries the score). */
html.toro #page-live-match #lmm-header > .ipe-InPlayEventViewModule,
html.toro #page-live-match #lmm-side-score { display: none !important; }
html.toro #page-live-match:not(.lmm-on) #lmm-header { height: auto; background: none; }
html.toro #page-live-match .live-md-main { gap: 22px; }

/* The canvas draws it in a 924px column; the page's main column is narrower beside the left
   menu, the pitch's rail and the slip (400px at 1440): the names, the score and the paddings
   step down with the column (cqi of .tsb-wrap) and reach the canvas's sizes at its width. */
html.toro #page-live-match .tsb-wrap { container-type: inline-size; display: flex; flex-direction: column; gap: 22px; }
html.toro #page-live-match .tsb-back {
    align-self: flex-start;
    margin: 0;
    padding: 0;
    color: var(--t-teal);
    font-size: 15px;
    text-decoration: none;
}
html.toro #page-live-match .tsb-back:hover { color: var(--t-teal-neon); }
html.toro #page-live-match .tsb-back:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #page-live-match .tsb { position: relative; padding: 24px clamp(20px, 4.3cqi, 40px); }
html.toro #page-live-match .tsb-lean {
    position: absolute;
    inset: 0;
    background: var(--t-card);
    border-radius: 12px;
    transform: skew(-6deg);
    box-shadow: var(--t-ring);
}
html.toro #page-live-match .tsb-in { position: relative; display: flex; flex-direction: column; gap: 16px; }
html.toro #page-live-match .tsb-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--t-muted); }
html.toro #page-live-match .tsb-lg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.toro #page-live-match .tsb-when { flex: none; }
html.toro #page-live-match .tsb-clock { color: var(--t-teal); font-variant-numeric: tabular-nums; }
html.toro #page-live-match .tsb-mid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 3cqi, 28px);
}
html.toro #page-live-match .tsb-tm { font-size: clamp(20px, 3.7cqi, 34px); line-height: 1.05; overflow-wrap: break-word; }
html.toro #page-live-match .tsb-home { text-align: right; }
html.toro #page-live-match .tsb-score { display: flex; gap: 10px; }
html.toro #page-live-match .tsb-sc {
    width: clamp(44px, 7cqi, 64px);
    height: clamp(44px, 7cqi, 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--t-deep);
    color: var(--t-text);
    border-radius: 10px;
    font-size: clamp(28px, 4.3cqi, 40px);
    transform: var(--t-lean);
}
html.toro #page-live-match .tsb-sc.tsb-lead { background: var(--t-teal); color: var(--t-on-teal); }
html.toro #page-live-match .tsb-stats {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--t-raised);
}
html.toro #page-live-match .tsb-stats[hidden] { display: none; }
html.toro #page-live-match .tsb-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; color: var(--t-muted); text-align: center; }
html.toro #page-live-match .tsb-stat b { font-size: 18px; color: var(--t-text); white-space: nowrap; }
/* The board's detail (js/toro-match.js detail): each set's / game's / quarter's / period's score,
   the one in play teal; a two-leg tie's aggregate. The statistics row's look, centred. */
html.toro #page-live-match .tsb-pers {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 132px);
    justify-content: center;
    gap: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--t-raised);
}
html.toro #page-live-match .tsb-pers[hidden] { display: none; }
html.toro #page-live-match .tsb-pers:not([hidden]) + .tsb-stats { padding-top: 0; border-top: 0; }
html.toro #page-live-match .tsb-cur b { color: var(--t-teal); }
/* Who serves (bats): a teal dot on the score's side of the name. */
html.toro #page-live-match .tsb-dot {
    display: inline-block;
    width: .3em;
    height: .3em;
    margin: 0 .3em;
    border-radius: 50%;
    background: var(--t-teal);
    box-shadow: var(--t-glow);
    vertical-align: .2em;
}
/* Cricket's innings ("240 & 151/3") in the boxes. */
html.toro #page-live-match .tsb-sc.tsb-wide { width: auto; min-width: clamp(44px, 7cqi, 64px); padding: 0 .55em; font-size: clamp(18px, 2.8cqi, 26px); white-space: nowrap; }
/* "‹ Live · Futboll" and, while the sport has more than one match live, the ⌄ of bet365's header
   (its list of the sport's live matches): an outline chip. */
html.toro #page-live-match .tsb-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
html.toro #page-live-match .tsb-switch {
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--t-teal);
    border-radius: 5px;
    background: transparent;
    color: var(--t-teal);
    font-size: 13px;
    transform: var(--t-lean);
    cursor: pointer;
}
html.toro #page-live-match .tsb-switch:hover { background: var(--t-teal); color: var(--t-on-teal); }
html.toro #page-live-match .tsb-switch:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #page-live-match #lmm-header:has(.ipe-EventHeaderBreadcrumb-noeventswitcher) .tsb-switch { display: none; }

/* A phone: the panel is the pinned header the pitch sticks under (its height measured by
   js/live-mobile.js), the Phone board's card in size - the names a step under its 19px so a
   "GALATASARAY" keeps its line beside the score - and without the statistics, which the
   pitch's Statistika tab has. */
html.toro #page-live-match.lmm-on #lmm-header { background: var(--t-bg); }
html.toro #page-live-match.lmm-on .tsb-wrap { gap: 6px; padding: 6px 14px 10px; }
html.toro #page-live-match.lmm-on .tsb-back { font-size: 13px; line-height: 18px; }
html.toro #page-live-match.lmm-on .tsb { padding: 10px 16px; }
html.toro #page-live-match.lmm-on .tsb-lean { transform: skew(-8deg); }
html.toro #page-live-match.lmm-on .tsb-in { gap: 6px; }
html.toro #page-live-match.lmm-on .tsb-top { font-size: 12px; }
html.toro #page-live-match.lmm-on .tsb-mid { gap: 8px; }
html.toro #page-live-match.lmm-on .tsb-tm { font-size: 17px; }
html.toro #page-live-match.lmm-on .tsb-score { gap: 6px; }
html.toro #page-live-match.lmm-on .tsb-sc { width: 34px; height: 34px; border-radius: 8px; font-size: 22px; }
html.toro #page-live-match.lmm-on .tsb-stats { display: none; }
html.toro #page-live-match.lmm-on .tsb-pers { grid-auto-columns: minmax(0, 1fr); gap: 4px; padding-top: 4px; }
html.toro #page-live-match.lmm-on .tsb-pers .tsb-stat { gap: 0; font-size: 11px; }
html.toro #page-live-match.lmm-on .tsb-pers .tsb-stat b { font-size: 14px; }
html.toro #page-live-match.lmm-on .tsb-sc.tsb-wide { width: auto; min-width: 34px; padding: 0 .45em; font-size: 15px; }
/* The ⌄ a step smaller; its touch area 44px tall (the ::after over it). */
html.toro #page-live-match.lmm-on .tsb-switch { height: 26px; padding: 0 10px; font-size: 12px; }
html.toro #page-live-match.lmm-on .tsb-switch::after { content: ''; position: absolute; inset: -9px -4px; }
/* The pinned header covers the page's top: the phone tab row and the content's 20px top padding sat
   under it, and the space the page keeps for the header (--lmm-head-h) came on top of them - a ~75px
   empty band under the card (user, 2026-12-04). On the match the list starts right under the card. */
html.toro #main-content:has(> #page-live-match.active.lmm-on) { padding-top: 0; }
html.toro #main-content:has(> #page-live-match.active.lmm-on) > #tr-ptabs { display: none; }

/* ================================================================================================
   The prematch match (#M): the same panel without a score - the league and the kick-off over the
   teams - from the page's own header (#md-detail-top, app.js), laid out on a grid: the hero's
   boxes step aside (display: contents) so the league, the date, the names and the "v" are its
   items; the panel is its ::before, behind rows 2-3.
   ============================================================================================== */
html.toro #page-match-detail #md-detail-top {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: clamp(12px, 3cqi, 28px);
    margin: 0 0 22px;
    padding: 0;
    background: none;
    border-radius: 0;
}
html.toro #page-match-detail #md-detail-top::before {
    content: '';
    grid-column: 1 / -1;
    grid-row: 2 / 4;
    margin-top: 22px;
    background: var(--t-card);
    border-radius: 12px;
    transform: skew(-6deg);
    box-shadow: var(--t-ring);
}
html.toro #page-match-detail #md-detail-top > *,
html.toro #page-match-detail #md-detail-top :is(.md-team-name, .md-date, .md-vs, .md-agg) { position: relative; z-index: 1; }
html.toro #page-match-detail #md-detail-top :is(.match-detail-hero, .md-team, .md-center) { display: contents; }
/* An outright has one name: bast's own rule (css/style.css .md-outright) hides the second, which
   the display: contents above overrode - "PREMIER LEAGUE - WINNER   WINNER". */
html.toro #page-match-detail #md-detail-top.md-outright .md-team:last-of-type { display: none; }
/* A match: each team its row in the panel, its kit small beside its name on the "v" side, as
   bast shows them (bast: over the name). The names' own paddings move to the row. */
html.toro #page-match-detail #md-detail-top:not(.md-outright) .md-team {
    position: relative;
    z-index: 1;
    grid-row: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px 0 24px;
}
html.toro #page-match-detail #md-detail-top:not(.md-outright) .md-team:first-child { grid-column: 1; flex-direction: row-reverse; padding-left: clamp(20px, 4.3cqi, 40px); }
html.toro #page-match-detail #md-detail-top:not(.md-outright) .md-team:last-child { grid-column: 3; padding-right: clamp(20px, 4.3cqi, 40px); }
html.toro #page-match-detail #md-detail-top:not(.md-outright) .md-team .md-team-name { flex: 0 1 auto; min-width: 0; padding: 0; }
html.toro #page-match-detail #md-detail-top:not(.md-outright) :is(.md-kit, .md-kit .team-kit-lg) { flex: none; width: 30px; height: 30px; }
html.toro #page-match-detail #md-detail-top .md-kit:empty { display: none; }
html.toro #page-match-detail #match-back-link {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
    padding: 0;
    color: var(--t-teal);
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}
html.toro #page-match-detail #match-back-link svg { display: none; }
html.toro #page-match-detail #match-back-link::before { content: '‹\00a0'; }
html.toro #page-match-detail #match-back-link:hover { color: var(--t-teal-neon); }
html.toro #page-match-detail #md-league {
    grid-column: 1 / 3;
    grid-row: 2;
    justify-self: start;
    justify-content: flex-start;
    margin-top: 22px;
    padding: 24px 0 0 clamp(20px, 4.3cqi, 40px);
    color: var(--t-muted);
    font-size: 14px;
    font-weight: 400;
}
html.toro #page-match-detail #md-league:hover { color: var(--t-text); }
html.toro #page-match-detail .md-date {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    margin-top: 22px;
    padding: 24px clamp(20px, 4.3cqi, 40px) 0 0;
    color: var(--t-teal);
    font-size: 14px;
    font-weight: 700;
}
html.toro #page-match-detail .md-agg { grid-column: 2; grid-row: 2; align-self: end; margin-top: 22px; }
html.toro #page-match-detail .md-team-name {
    grid-row: 3;
    align-self: center;
    padding: 16px 0 24px;
    color: var(--t-text);
    font-size: clamp(20px, 3.7cqi, 34px);
    font-style: italic;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    overflow-wrap: break-word;
}
html.toro #page-match-detail #md-home-name { grid-column: 1; text-align: right; padding-left: clamp(20px, 4.3cqi, 40px); }
html.toro #page-match-detail #md-away-name { grid-column: 3; text-align: left; padding-right: clamp(20px, 4.3cqi, 40px); }
html.toro #page-match-detail .md-vs {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
    padding: 16px 0 24px;
    color: var(--t-muted);
    font-size: clamp(20px, 3.7cqi, 34px);
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}
html.toro #page-match-detail #md-change-match-btn {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: start;
    height: 38px;
    margin: 22px 0 0;
    padding: 0 20px;
    border: 0;
    border-radius: 5px;
    background: var(--t-raised);
    transform: var(--t-lean);
    color: var(--t-text);
    font-size: 14px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}
html.toro #page-match-detail #md-change-match-btn:hover { background: var(--bg-hover); }
html.toro #page-match-detail #md-change-match-btn:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
/* An outright (one event, no away side): its name across the panel. */
html.toro #page-match-detail #md-detail-top.md-outright #md-home-name { grid-column: 1 / -1; text-align: left; padding-right: clamp(20px, 4.3cqi, 40px); }
@media (max-width: 980px) {
    html.toro #page-match-detail #md-detail-top { margin: 0 14px 14px; }
    html.toro #page-match-detail #md-detail-top::before { transform: skew(-8deg); margin-top: 14px; }
    html.toro #page-match-detail :is(#md-league, .md-date, .md-agg) { margin-top: 14px; padding-top: 12px; font-size: 12px; }
    html.toro #page-match-detail .md-team-name, html.toro #page-match-detail .md-vs { padding: 8px 0 12px; font-size: 17px; }
    html.toro #page-match-detail #md-detail-top:not(.md-outright) .md-team { gap: 8px; padding-top: 8px; padding-bottom: 12px; }
    html.toro #page-match-detail #md-detail-top:not(.md-outright) :is(.md-kit, .md-kit .team-kit-lg) { width: 22px; height: 22px; }
    html.toro #page-match-detail #md-change-match-btn { margin-top: 14px; }
}

/* ================================================================================================
   The market category tabs: a leaning tab group (the canvas's nav), the site's own buttons
   ============================================================================================== */
/* Desktop (live and prematch): the strip as wide as its tabs, its panel a leaning layer. */
html.toro :is(#page-live-match, #page-match-detail) .md-categories-wrapper {
    position: relative;
    isolation: isolate;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 6px 12px;
    background: none;
    border: 0;
}
html.toro :is(#page-live-match, #page-match-detail) .md-categories-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 10px;
    transform: var(--t-lean);
}
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) { flex: 0 1 auto; align-items: center; gap: 4px; height: auto; min-height: 0; padding: 0; background: none; border: 0; }
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn {
    height: auto;
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--t-text-2);
    font: inherit;
    font-size: 15px;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: none;
}
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn::after { display: none; }
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn .md-cat-label { font: inherit; color: inherit; }
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn .md-cat-ico { display: none; }
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn:hover { background: var(--t-raised); color: var(--t-text); }
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn.active { background: var(--t-teal); color: var(--t-on-teal); }
html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-categories, #md-categories) .md-cat-btn:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro :is(#page-live-match, #page-match-detail) :is(.md-search-toggle, .md-cat-arrow) { align-self: center; background: transparent; border: 0; color: var(--t-text-2); }
/* #M: the strip clear of the first market (22px as the column's other gaps; a phone 14px and in from
   the sides). After the rule above: the same weight, so placed earlier its "margin: 0" won and the
   strip sat on the first card. */
html.toro #page-match-detail .md-categories-wrapper { margin-bottom: 22px; }
@media (max-width: 980px) {
    html.toro #page-match-detail .md-categories-wrapper { margin: 0 14px 14px; max-width: calc(100% - 28px); }
}

/* A phone (bet365's tab bar, #lmm-tabs): the pill under the chosen tab (placed by
   js/live-mobile.js) is the teal one, the bar a leaning panel. */
html.toro #page-live-match.lmm-on #lmm-tabs { background: var(--t-bg); }
html.toro #page-live-match.lmm-on #lmm-tabs .ipe-GridHeader { position: relative; isolation: isolate; width: auto; margin: 8px 14px; background: none; border: 0; }
html.toro #page-live-match.lmm-on #lmm-tabs .ipe-GridHeader::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 10px;
    transform: var(--t-lean);
}
html.toro #page-live-match .ipe-GridHeader_Indicator { background-color: var(--t-teal); border-radius: 5px; transform: var(--t-lean); }
html.toro #page-live-match .ipe-GridHeaderTabLink { color: var(--t-text-2); font-style: italic; font-weight: 700; text-transform: uppercase; }
html.toro #page-live-match .ipe-GridHeaderTabLink-selected { color: var(--t-on-teal); }

/* ================================================================================================
   The market grid (js/live-mobile.js's bet365 markup) on #LM and #M, every width: the canvas's
   .grp panels and leaning price pills. The cells keep data-koefi, their _Highlighted (picked) and
   _Suspended (padlock) states and the live flash (OddsFormat: .odd-chg-up / -down).
   ============================================================================================== */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid { display: flex; flex-direction: column; gap: 22px; padding: 0; background: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroup {
    margin: 5px;   /* the owner's, 2026-12-04 */
    padding: 16px 22px 20px;
    background: var(--t-card);
    border-radius: 10px;
    box-shadow: none;
}
/* The group's head: the canvas's title, italic upper case; the star (teal, always there - a phone
   has no pointer to bring it up; its own end of this file); no chevron. */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroupButton {
    height: auto;
    min-height: 0;
    gap: 12px;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroupButton.sip-MarketGroup_Open::after { display: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroupButton::after { background-color: var(--t-muted); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroup:has(> .sip-MarketGroupButton:not(.sip-MarketGroup_Open)) { padding-bottom: 16px; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroupButton_Text {
    flex: 1 1 auto;
    margin: 0;
    color: var(--t-text);
    font-size: 18px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: normal;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-MarketGroup_Wrapper { margin-top: 14px; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-MarketGroupContainer { font-size: 15px; }

/* Flat markets: a grid of as many columns as the cells say (cn1 / cn2 / cn3). */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-pwidth100:not(.mcs-MarketCorrectScore) {
    display: grid;
    grid-template-columns: repeat(var(--t-cols, 3), minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
    border: 0;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-pwidth100:has(> .gl-Market_General-cn1) { --t-cols: 1; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-pwidth100:has(> .gl-Market_General-cn2) { --t-cols: 2; }
/* Line tables and the correct score's All: columns side by side - the lines 90px, the rest
   equal - each a header over its cells. */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-TeamPanel[hidden] { display: none !important; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-MarketGroupContainer, .lmm-TeamPanel):has(> .gl-Market_General-columnheader) {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-columnheader {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    /* One line: bet365's .gl-Market wraps, and a wrapping column stretched each price only to its line's
       widest one - the two prices of an Over / Under table sat ~50px wide at the left of their columns. */
    flex-wrap: nowrap;
    gap: 10px;
    border: 0;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-columnheader.gl-Market_General-haslabels { flex: 0 0 90px; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-MarketGroupContainer, .lmm-TeamPanel) > .gl-Market_General-pwidth100 { flex: 0 0 100%; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-MarketColumnHeader {
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
    color: var(--t-muted);
    font-size: 13px;
    font-style: italic;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    text-transform: uppercase;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .srb-ParticipantLabelCentered {
    width: auto;
    height: 46px;
    justify-content: flex-start;
    border: 0;
    background: none;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .srb-ParticipantLabelCentered_Name { color: var(--t-text); font-size: 16px; font-style: italic; font-weight: 800; text-transform: uppercase; }

/* The price: a leaning pill, the pick's name left and its price right; picked = teal. */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless, .gl-ParticipantOddsOnly, .mcs-ScoreParticipant) {
    box-sizing: border-box;
    width: auto !important;   /* bet365's cnN widths are !important; the grid sizes the cells */
    min-width: 0;
    height: 46px;
    min-height: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
    border: 0;
    border-radius: 5px;
    background: var(--t-raised);
    transform: var(--t-lean);
    color: var(--t-text-2);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless, .gl-ParticipantOddsOnly, .mcs-ScoreParticipant)::before { display: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantOddsOnly { justify-content: center; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantBorderless_Name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    padding: 0;
    overflow: hidden;
    color: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantBorderless_Handicap { flex: none; color: var(--t-text); font-size: 15px; font-weight: 700; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless_Odds, .gl-ParticipantOddsOnly_Odds, .mcs-ScoreParticipant_Odds) {
    flex: none;
    display: inline;
    margin-left: auto;
    padding: 0;
    color: var(--t-odds);
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantOddsOnly_Odds { margin-left: 0; }
/* (bet365's own three-outcome layout, name over price, gives way to the canvas's row.) */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantBorderless.gl-Market_General-cn3 { flex-wrap: nowrap; align-content: center; padding: 0 16px; text-align: left; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-cn3 .gl-ParticipantBorderless_Odds { flex: none; padding-left: 0; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-Stacked .gl-ParticipantBorderless { height: auto; min-height: 46px; padding: 8px 16px; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-Stacked .gl-ParticipantBorderless_Name { white-space: normal; }
@media (hover: hover) {
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless, .gl-ParticipantOddsOnly, .mcs-ScoreParticipant):not([class*="_Suspended"], [class*="_Highlighted"]):hover { background: var(--bg-hover); color: var(--t-text); }
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless_Highlighted, .gl-ParticipantOddsOnly_Highlighted, .mcs-ScoreParticipant_Highlighted) { background: var(--t-teal); color: var(--t-on-teal); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless_Highlighted, .gl-ParticipantOddsOnly_Highlighted, .mcs-ScoreParticipant_Highlighted) :is([class$="_Odds"], [class$="_Name"], [class$="_Handicap"], .oc-new, .oc-chev) { color: var(--t-on-teal); }
/* Suspended: the price under bet365's padlock (its ::after mask), in the canvas's muted. */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid [class*="_Suspended"] { cursor: default; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid [class*="_Suspended"] :is(.gl-ParticipantBorderless_Odds, .gl-ParticipantOddsOnly_Odds, .mcs-ScoreParticipant_Odds) { display: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid [class*="_Suspended"]::after { background-color: var(--t-muted); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantBorderless_Suspended .gl-ParticipantBorderless_Name { color: var(--t-muted); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-Gap:not([class*="_Suspended"]) { height: 46px; background: none; transform: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-Participant_General, .sip-MarketGroupButton, [role="tab"]):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* ---- The correct score: "Zgjedhës / Të gjitha" and the Slider, as drawn ------------------- */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroupButton > .gl-ButtonBar {
    flex: none;
    display: flex;
    gap: 4px;
    height: auto;
    padding: 4px;
    background: var(--t-deep);
    border-radius: 8px;
    transform: var(--t-lean);
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ButtonBar_ButtonHitArea {
    height: auto;
    min-width: 0;
    padding: 6px 12px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--t-text-2);
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ButtonBar_ButtonHitArea::after { display: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ButtonBar_Button { height: auto; padding: 0; background: none; color: inherit; font: inherit; border: 0; box-shadow: none; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ButtonBar_ButtonHitArea-selected { background: var(--t-teal); color: var(--t-on-teal); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-HasBar > .gl-ButtonBar { transform: none; background: none; padding: 0; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-HasBar > .gl-ButtonBar > .gl-ButtonBar_ButtonHitArea { background: var(--t-raised); transform: var(--t-lean); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-HasBar > .gl-ButtonBar > .gl-ButtonBar_ButtonHitArea-selected { background: var(--t-teal); }

html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-MarketCorrectScore {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
    width: 100%;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-Selector { display: flex; flex-direction: column; align-items: center; gap: 10px; width: auto; padding: 0; border: 0; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-Selector_ParticipantLabelName {
    max-width: 100%;
    overflow: hidden;
    color: var(--t-text);
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.mcs-Selector_WrapperComponent, .mcs-Selector_ButtonsAndDisplay) { display: flex; align-items: center; gap: 14px; width: auto; height: auto; padding: 0; background: none; border: 0; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-SelectorButton {
    flex: none;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--t-line);
    border-radius: 5px;
    background: transparent;
    transform: var(--t-lean);
    cursor: pointer;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-SelectorButton_Icon { background-color: var(--t-teal); }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-SelectorButton-disable { cursor: default; opacity: .35; }
@media (hover: hover) { html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-SelectorButton:not(.mcs-SelectorButton-disable):hover { border-color: var(--t-teal); } }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-Selector_ScoreLabel {
    width: 30px;
    color: var(--t-text);
    font-size: 30px;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-MarketCorrectScore_OddsContainer { width: auto; height: auto; padding: 0; border: 0; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-ScoreParticipant { justify-content: center; height: 56px; }
/* Its score before the price ("1 – 1  7.50"): the Slider's own (js/toro-match.js, --t-cs). */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-MarketCorrectScore_OddsContainer .mcs-ScoreParticipant::before {
    content: var(--t-cs, none);
    display: inline;
    color: inherit;
    font-size: 16px;
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-ScoreParticipant .mcs-ScoreParticipant_Odds { margin-left: 0; font-size: 20px; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-ScoreParticipant:not([class*="_Highlighted"])::before { color: var(--t-text-2); }

/* Popular bets (js/live.js _drawPopularBets, inside the grid): its cards the canvas's raised
   panels, its prices leaning pills; picked stays the page's teal (--odd-selected-bg). */
html.toro #live-md-markets .lpb-Card { border: 0; border-radius: 10px; background: var(--t-raised); }
html.toro #live-md-markets .lpb-Market { font-style: italic; font-weight: 800; }
html.toro #live-md-markets .lpb-Odds { border-radius: 5px; background: var(--t-deep); transform: var(--t-lean); }
html.toro #live-md-markets .lpb-Odds.selected { background: var(--t-teal); }

/* A narrow group (a phone, or the desktop's main column beside the rail and the slip, 400px at
   1440): the Phone board's prices - the name small over the price - and the Slider's two
   selectors side by side over its price. Each group is its own container. */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroup { container-type: inline-size; }
@container (max-width: 560px) {
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless, .gl-ParticipantOddsOnly) {
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        padding: 0 8px;
        color: var(--t-muted);
        text-align: center;
    }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantBorderless.gl-Market_General-cn3 { flex-wrap: nowrap; padding: 0 8px; text-align: center; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-ParticipantBorderless_Name { max-width: 100%; font-size: 11px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless_Odds, .gl-ParticipantOddsOnly_Odds) { margin-left: 0; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-pwidth100:not(.mcs-MarketCorrectScore) { gap: 8px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-MarketGroupContainer, .lmm-TeamPanel):has(> .gl-Market_General-columnheader) { gap: 8px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-columnheader { gap: 8px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-Market_General-columnheader.gl-Market_General-haslabels { flex-basis: 64px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-MarketCorrectScore { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .mcs-MarketCorrectScore_OddsContainer { grid-column: 1 / -1; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.mcs-Selector_WrapperComponent, .mcs-Selector_ButtonsAndDisplay) { gap: 10px; }
    /* HT/FT: the feed's "1/X" in place of two team names cut to "Beyoglu Yeni Carsi FK..." */
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-Long { display: none; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-Short { display: inline; }
    /* A player keeps his row - shirt, name, line, price: stacked in 44px the name had no height left. */
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-PlayerList .gl-ParticipantBorderless { flex-direction: row; justify-content: flex-start; gap: 0; padding: 0 14px; color: var(--t-text-2); text-align: left; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-PlayerList .gl-ParticipantBorderless_Name { font-size: 14px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .lmm-PlayerList .gl-ParticipantBorderless_Odds { margin-left: auto; padding-left: 10px; }
}
/* A phone: the Phone board's sizes - 44px prices, 16px. */
@media (max-width: 980px) {
    html.toro :is(#page-live-match, #page-match-detail) :is(#live-md-markets, #md-markets).gl-MarketGrid { gap: 14px; padding: 0 14px 14px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroup { padding: 14px 14px 16px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-MarketGroupButton_Text { font-size: 16px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .gl-MarketGroup_Wrapper { margin-top: 12px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless, .gl-ParticipantOddsOnly, .srb-ParticipantLabelCentered, .lmm-Gap) { height: 44px; }
    html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid :is(.gl-ParticipantBorderless_Odds, .gl-ParticipantOddsOnly_Odds) { font-size: 16px; }
}

/* ================================================================================================
   The live list (#LV#): the sports bar as a leaning tab group with its live counts, the league
   heads, and each match row in the look of the canvas's live cards ("Live tani", Main.dc.html):
   a leaning card, the minute teal, the score in .t-sc boxes, the prices leaning pills. The rows
   keep their height (--lm-row-h, the band grid live.js and its delta patcher rely on) and the
   buttons their widths (--odd-w: the league head's 1 / X / 2 sit over them).
   ============================================================================================== */
/* (The sports bar: its own section at the end of this file.) */

/* A league's head: on the page's colour (it pins while its rows scroll), its name the canvas's
   heading, the columns' 1 / X / 2 as the grid's "Mbi / Nën". */
html.toro #live-page-matches .live-league-header {
    height: 34px;
    margin-top: 14px;
    background: var(--t-bg);
    border: 0;
    border-radius: 0;
    color: var(--t-text);
}
html.toro #live-page-matches .live-league-group:first-child .live-league-header { margin-top: 0; }
html.toro #live-page-matches .live-league-name { color: var(--t-text); font-size: 15px; font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #live-page-matches .live-league-fav { color: var(--t-muted); }
html.toro #live-page-matches :is(.live-league-odds-header, .live-league-mkt-header, .live-ouh-label) { color: var(--t-muted); font-size: 13px; font-style: italic; font-weight: 800; text-transform: uppercase; }

/* A row: the live card's leaning layer, its content over it. */
html.toro #live-page-matches .live-match-row {
    position: relative;
    isolation: isolate;
    margin-top: 10px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
html.toro #live-page-matches .live-match-row::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 12px;
    transform: var(--t-lean);
    transition: background .1s;
}
html.toro #live-page-matches .live-match-row:hover { background: none; }
html.toro #live-page-matches .live-match-row:hover::before { background: var(--live-row-hover); }
html.toro #live-page-matches .live-match-row.is-fav { box-shadow: none; }
html.toro #live-page-matches .live-match-row.is-fav::before { box-shadow: inset 3px 0 0 var(--t-teal); }
html.toro #live-page-matches .live-match-info { padding-left: 22px; }
html.toro #live-page-matches .live-match-teams { gap: 2px; }
html.toro #live-page-matches .live-match-team { font-size: 16px; font-weight: 600; color: var(--t-text); }
html.toro #live-page-matches .live-match-score {
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    border-radius: 5px;
    background: var(--t-deep);
    color: var(--t-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}
html.toro #live-page-matches .live-match-minute { color: var(--t-teal); font-weight: 700; }
html.toro #live-page-matches :is(.live-mkt-count-val, .live-match-periods) { color: var(--t-muted); font-style: italic; font-weight: 700; }

/* The prices: the canvas's leaning pill, 46px; picked = teal; a padlock muted. */
html.toro #live-page-matches .live-match-row .live-odd-btn {
    align-self: center;
    height: 46px;
    border: 0;
    border-radius: 5px;
    transform: var(--t-lean);
    color: var(--t-odds);
    font-size: 17px;
    font-weight: 700;
}
/* (A moving price keeps the page's own up / down tint, css/style.css .odd-chg-up / -down.) */
html.toro #live-page-matches .live-match-row .live-odd-btn:not(.odd-chg-up, .odd-chg-down) { background: var(--t-raised); }
html.toro #live-page-matches .live-match-row .live-odd-btn.is-void { background: none; transform: none; }
@media (hover: hover) { html.toro #live-page-matches .live-match-row .live-odd-btn:not(.locked, .selected, .is-void):hover { background: var(--bg-hover); } }
html.toro #live-page-matches .live-match-row .live-odd-btn.locked { color: var(--t-muted); }
html.toro #live-page-matches .live-match-row .live-odd-btn.selected { background: var(--t-teal); color: var(--t-on-teal); }
html.toro #live-page-matches .live-odd-btn.selected :is(.oc-new, .oc-chev, .live-odd-cap) { color: var(--t-on-teal); }
html.toro #live-page-matches .live-odd-btn .live-odd-cap { color: var(--t-muted); font-weight: 400; }
html.toro #live-page-matches .live-odd-btn:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* ---- #LM on desktop: the prices across the page, the pitch and the slip on the right ----------
   Owner 2026-12-04: the pitch / video, the scout and the statistics in the page column (the
   canvas's one column) left almost no prices on screen. The scoreboard, the market tabs and the
   groups take the left column; the right one (the slip's 340) holds the pitch rail
   (.live-md-side) and under it the slip panel, moved in by js/toro-home.js (#toro-lm-slip). The
   rail scrolls away with the page; the slip then rides at the top. The rail's statistics panel
   scrolls within 300px. */
@media (min-width: 981px) {
    html.toro #page-live-match .live-md-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto minmax(0, 1fr); gap: 22px 32px; align-items: start; }
    html.toro #page-live-match .live-md-main { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
    html.toro #page-live-match .live-md-side { grid-column: 2; grid-row: 1; position: static; max-height: none; overflow: visible; }
    html.toro #toro-lm-slip { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }
    html.toro #live-md-scout [class*="Module_CarouselConstrainer"] { max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
}
html.toro #toro-lm-slip:empty { display: none; }

/* ================================================================================================
   #LV# fixes, 2026-12-04 - the user: the sports bar's icons sat off their pill, the latest goals
   in the old look; QA: the phone's pinned height, cut team names, the old yellow / green / system
   face; #LM: the pitch host's grey and face.
   ============================================================================================== */

/* ---- The canvas's one face on the live pages: the site's display / body faces (the prices, the
   scores, the minute were in the system face). ---------------------------------------------- */
html.toro :is(#page-live, #page-live-match) {
    --font-display: var(--t-font);
    --font-body: var(--t-font);
    --font-head: var(--t-font);
    --font-odds: var(--t-font);
}

/* ---- The sports bar (bet365's ClassificationBar, js/live.js): the canvas's "Live tani" tab group.
   One leaning tab per sport, its icon beside its name (the canvas's one-line tab, 36px); the sport
   on screen a teal pill behind the whole tab, its icon dark; its live count a .t-badge over the
   tab's top-right corner; the panel leaning behind the row. A tab's width never changes with its
   state (one weight; bet365's bold copy, which only reserved that width, is out), so the bar's own
   measures (its scroll, js/live.js _centerBar) stay right; bet365's underline marker gives way to
   the pill. The bar is 56px: 13px over the tabs for the badges, which its scroller would clip. */
html.toro #live-page-sport-tabs.live-sport-tabs { min-height: 56px; background: var(--t-bg); }
html.toro #live-page-sport-tabs .ovm-ClassificationBar { position: relative; isolation: isolate; max-height: none; background: none; font-family: var(--t-font); }
html.toro #live-page-sport-tabs .ovm-ClassificationBar::before {
    content: '';
    position: absolute;
    inset: 7px 6px 1px;
    height: auto;   /* bet365's own ::before is its 2px underline */
    z-index: -1;
    background: var(--t-card);
    border-radius: 10px;
    transform: var(--t-lean);
}
html.toro #live-page-sport-tabs .ovm-ClassificationBar_Contents { align-items: center; gap: 2px; height: 56px; padding: 6px 12px 0; }
html.toro #live-page-sport-tabs .ovm-ClassificationBar_Indicator { visibility: hidden; }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton, .ovm-PseudoClassificationBarButton) {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    height: 36px;
    max-width: none;
    margin: 0;
    padding: 0;
}
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton, .ovm-PseudoClassificationBarButton)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
    border-radius: 5px;
    transform: var(--t-lean);
    transition: background .15s;
}
html.toro #live-page-sport-tabs.allow-hover :is(.ovm-ClassificationBarButton, .ovm-PseudoClassificationBarButton):not(.ovm-ClassificationBarButton-active, .ovm-PseudoClassificationBarButton-active):hover::before { background: var(--t-raised); }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton-active, .ovm-PseudoClassificationBarButton-active)::before { background: var(--t-teal); }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton_Container, .ovm-PseudoClassificationBarButton_Container) {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
}
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton_Icon, .ovm-PseudoClassificationBarButton_Icon) { flex: none; width: 18px; height: 18px; margin: 0 7px 0 0; }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton-active .ovm-ClassificationBarButton_Icon, .ovm-PseudoClassificationBarButton-active .ovm-PseudoClassificationBarButton_Icon) { filter: brightness(0); opacity: 1; }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton_Text, .ovm-PseudoClassificationBarButton_Text),
html.toro #live-page-sport-tabs .ovm-ClassificationBarButton-4 .ovm-ClassificationBarButton_Text {
    max-width: none;
    margin: 0;
    overflow: hidden;
    color: var(--t-text-2);
    opacity: 1;
    font: italic 700 15px/18px var(--t-font);
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton_BoldText, .ovm-PseudoClassificationBarButton_BoldText) { display: none; }
html.toro #live-page-sport-tabs.allow-hover :is(.ovm-ClassificationBarButton, .ovm-PseudoClassificationBarButton):hover :is(.ovm-ClassificationBarButton_Text, .ovm-PseudoClassificationBarButton_Text) { color: var(--t-text); }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton-active, .ovm-PseudoClassificationBarButton-active) :is(.ovm-ClassificationBarButton_Text, .ovm-PseudoClassificationBarButton_Text) { color: var(--t-on-teal); }
/* The counts (the sports' js/live.js _paintBarCounts, Favourites' bet365's own): .t-badge. */
html.toro #live-page-sport-tabs :is(.live-bar-count, .ovm-FavouriteButtonCount),
html.toro #live-page-sport-tabs.allow-hover :is(.ovm-ClassificationBarButton, .ovm-PseudoClassificationBarButton):hover :is(.live-bar-count, .ovm-FavouriteButtonCount) {
    position: absolute;
    top: -11px;
    right: 2px;
    left: auto;
    z-index: 1;
    display: block;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--t-teal);
    color: var(--t-on-teal);
    font: 700 11px/14px var(--t-font);
    text-align: center;
}
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton-active .live-bar-count, .ovm-PseudoClassificationBarButton-active .ovm-FavouriteButtonCount) { background: var(--t-on-teal); color: var(--t-teal); }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBar_LeftButton, .ovm-ClassificationBar_RightButton) { top: calc(50% + 3px); }
html.toro #live-page-sport-tabs :is(.ovm-ClassificationBar_LeftButton, .ovm-ClassificationBar_RightButton)::after { background-color: var(--t-teal); }
@media (max-width: 980px) {
    html.toro #live-page-sport-tabs :is(.ovm-ClassificationBarButton_Text, .ovm-PseudoClassificationBarButton_Text),
    html.toro #live-page-sport-tabs .ovm-ClassificationBarButton-4 .ovm-ClassificationBarButton_Text { font-size: 14px; }
}
/* A phone: the bar pins under the header at its own 56px (the space kept for it, --live-bar-pin,
   with it), the panel's 7px over the tabs the gap under the header. */
@media (max-width: 600px) {
    html.toro #page-live { --live-bar-pin: 56px; }
    html.toro #page-live #live-page-sport-tabs.live-sport-tabs { min-height: 56px; padding-top: 0; }
}

/* ---- The latest goals (Live._renderGoalStrip, both copies): a .t-grp panel, its title the
   canvas's teal heading, its count a .t-badge; the cards leaning raised cards with a teal edge, the
   scorer teal (was bet365's scoreboard yellow). A chalked-off goal keeps its red, a finished match
   its grey. Each card's lean is a layer (its ::before), the text stays upright. ---------------- */
html.toro .live-goals-strip { margin-bottom: 14px; background: var(--t-card); border: 0; border-radius: 10px; box-shadow: none; }
html.toro .live-goals-head {
    min-height: 44px;
    gap: 10px;
    padding: 10px 16px;
    color: var(--t-teal);
    font: italic 800 15px/1.2 var(--t-font);
    letter-spacing: .01em;
    text-transform: uppercase;
}
html.toro .live-goals-head:hover { color: var(--t-teal-neon); }
html.toro .live-goals-head:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: -2px; }
html.toro :is(.live-goals-head-dot, .live-goal-pulse) { background: var(--t-teal); }
html.toro .live-goals-head-dot { animation-name: toro-goals-dot; }
@keyframes toro-goals-dot {
    0%   { box-shadow: 0 0 0 0 rgba(var(--t-teal-rgb), .5); }
    70%  { box-shadow: 0 0 0 7px rgba(var(--t-teal-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--t-teal-rgb), 0); }
}
html.toro .live-goals-count {
    min-width: 0;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--t-teal);
    color: var(--t-on-teal);
    font: 700 11px/14px var(--t-font);
    letter-spacing: 0;
}
html.toro .live-goals-chev { color: var(--t-teal); }
html.toro .live-goals-arrow { color: var(--t-teal); }
html.toro .live-goals-arrow:hover { color: var(--t-teal-neon); border-color: var(--t-teal); }
html.toro .live-goals-scroll { gap: 12px; padding: 2px 18px 14px; }
html.toro .live-goal-card {
    isolation: isolate;
    overflow: visible;
    min-width: 176px;
    gap: 3px;
    padding: 9px 14px 9px 18px;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--t-text);
}
html.toro .live-goal-card:hover { background: none; }
html.toro .live-goal-card::before {
    inset: 0;
    width: auto;
    z-index: -1;
    background: var(--t-raised);
    border-radius: 10px;
    transform: var(--t-lean);
    box-shadow: inset 3px 0 0 var(--t-teal);
}
html.toro .live-goal-card:hover::before { background: var(--bg-hover); }
html.toro .live-goal-card.is-disallowed::before { box-shadow: inset 3px 0 0 var(--accent-red); }
html.toro .live-goal-card.is-ended::before { box-shadow: inset 3px 0 0 var(--t-muted); }
html.toro .live-goal-card:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro .live-goal-card-top { font-size: 12px; color: var(--t-muted); }
html.toro .live-goal-minute { color: var(--t-teal); }
html.toro .live-goal-card.is-ended .live-goal-minute { color: var(--t-text-2); }
html.toro .live-goal-ago { font-size: 11px; }
html.toro .live-goal-line { font-size: 14px; }
html.toro .live-goal-score { color: var(--t-text); }
html.toro .live-goal-team.scored { color: var(--t-teal); }
/* The rows' own goal cues: the scorer's line and the GOAL chip, teal. */
html.toro #live-page-matches .live-match-team.live-team-scored :is(.live-match-team-name, .lmn-scroll, .live-match-score) { color: var(--t-teal); }
html.toro .live-goal-chip:not(.is-disallowed) { background: var(--t-teal); color: var(--t-on-teal); }
/* A phone (and a tablet): the strip scrolls away with the page - only the header and the sports
   bar stay pinned - and the league heads pin right under the bar. */
@media (max-width: 980px) {
    html.toro #page-live .live-goals-strip { position: static; z-index: auto; }
    html.toro #live-page-matches .live-league-header { top: calc(var(--header-height, 60px) + var(--live-bar-pin, 0px)); }
}

/* ---- A price that moves: the canvas's teal up, the site's red down (was bet365's green). A picked
   price keeps its teal. ------------------------------------------------------------------------ */
html.toro #live-page-matches .live-match-row .live-odd-btn.odd-chg-up:not(.selected) { background: color-mix(in srgb, var(--t-teal) 16%, var(--t-raised)); animation: toro-odd-up .55s ease; }
html.toro #live-page-matches .live-match-row .live-odd-btn.odd-chg-down:not(.selected) { background: color-mix(in srgb, var(--accent-red) 16%, var(--t-raised)); animation: toro-odd-down .55s ease; }
@keyframes toro-odd-up { from { background: color-mix(in srgb, var(--t-teal) 42%, var(--t-raised)); } }
@keyframes toro-odd-down { from { background: color-mix(in srgb, var(--accent-red) 42%, var(--t-raised)); } }

/* ---- A phone's row: the team names get the room (a 375px screen left them ~76px): the card's
   inner edge, the prices (55 -> 50px, the league head's 1 / X / 2 with them), no gap for an
   empty red-card slot. The rows keep their height (--lm-row-h). ---------------------------- */
@media (max-width: 600px) {
    html.toro #page-live { --odd-w: 50px; }
    html.toro #live-page-matches .live-match-info { padding-left: 14px; }
    html.toro #live-page-matches .live-match-team { gap: 5px; }
    html.toro #live-page-matches .live-match-rcards:empty { display: none; }
}

/* ---- #LM: the pitch module's host on the canvas's card (was a bet365 grey) and its texts in the
   canvas's face (the module's own root sets the system face; its sizes stay its own). ------ */
html.toro .live-scout-host:not(.live-scout-pin) { background: var(--t-card); }
html.toro .live-scout-host .ml-MatchLiveModule { font-family: var(--t-font); }

/* ================================================================================================
   Test findings, 2026-12-04 (second round)
   ============================================================================================== */

/* ---- #LM / #M: a market group's favourite star, always there (a phone has no pointer to bring it
   up) and teal - the canvas's "★" (Match.dc.html): an outline star to make one, a filled one on a
   favourite. bet365's mask star (shown only under the pointer, its outline mask only then) gives way
   to the glyph. 44px to touch, its overhang in the head's own room: the group does not fold
   (js/live-mobile.js takes the tap). ----------------------------------------------------------- */
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-FavouriteButton {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: -10px -12px -10px 0;
    padding: 0;
    visibility: visible;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-FavouriteButton .sip-FavouriteButton_SVG {
    width: auto;
    height: auto;
    margin: 0;
    opacity: 1;
    background: none;
    -webkit-mask: none;
    mask: none;
    animation: none;
}
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-FavouriteButton_SVG::before { content: '☆'; color: var(--t-teal); font-size: 20px; line-height: 1; }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-FavouriteButton-selected .sip-FavouriteButton_SVG::before { content: '★'; }
@media (hover: hover) { html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-FavouriteButton:hover .sip-FavouriteButton_SVG::before { color: var(--t-teal-neon); } }
html.toro :is(#live-md-markets, #md-markets).gl-MarketGrid .sip-FavouriteButton:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: -4px; }

/* ---- #LM desktop: the scout's message row pinned under the header (js/live-scout.js pinInfoRow)
   is for a phone, where the pitch sticks. On the desktop's one column the pitch scrolls away with
   the page and the pinned copy covered the first market group: it stays off there. ---------- */
@media (min-width: 981px) {
    html.toro .live-scout-host.live-scout-pin.is-on { display: none; }
}

/* ---- #LM: the pitch module's "Statistika | Përmbledhje" bar (football's ml1-, the other sports'
   ml-, the page's own bar for volleyball / table tennis) on the card, not bet365's black: the
   canvas's tabs - italic upper case, the current one teal, the module's marker teal. ---------- */
html.toro #page-live-match :is(.ml1-LocationEventsMenu, .ml-LocationEventsMenu, .live-md-view-tabs) {
    background: var(--t-card);
    border-bottom: 1px solid var(--t-raised);
}
html.toro #page-live-match :is(.ml1-LocationEventsMenu, .ml-LocationEventsMenu) [class*="LocationEventsMenu_Item"] {
    color: var(--t-text-2);
    font-family: var(--t-font);
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}
html.toro #page-live-match :is(.ml1-LocationEventsMenu, .ml-LocationEventsMenu) [class*="LocationEventsMenu_Item-active"] { color: var(--t-teal); }
html.toro #page-live-match :is(.ml1-LocationEventsMenu, .ml-LocationEventsMenu) [class*="LocationEventsMenu_Indicator"] { height: 3px; background: var(--t-teal); border-radius: 2px; }
html.toro #page-live-match [class*="LocationEventMenuScroller_"][class*="Arrow"] { background: var(--t-card); }

/* ---- #LM / #M: the market search (js/app.js _initMarketSearch) as the live list's: a leaning
   panel (its ::before), the field a deep well with a teal edge in focus. ------------------------ */
html.toro :is(#md-search-bar, #live-md-search-bar, #live-search-bar) {
    position: relative;
    isolation: isolate;
    gap: 10px;
    margin: 0 0 14px;
    padding: 8px 18px;
    background: none;
    border: 0;
    border-radius: 0;
}
html.toro :is(#md-search-bar, #live-md-search-bar, #live-search-bar)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--t-card);
    border-radius: 10px;
    transform: var(--t-lean);
}
html.toro :is(#md-search-bar, #live-md-search-bar, #live-search-bar) > svg { color: var(--t-teal); }
html.toro :is(#md-search-input, #live-md-search-input, #live-search-input) {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    background: var(--t-deep);
    border: 1px solid var(--t-raised);
    border-radius: 5px;
    color: var(--t-text);
    font: inherit;
    font-size: 15px;
    outline: none;
}
html.toro :is(#md-search-input, #live-md-search-input, #live-search-input):focus { background: var(--t-deep); border-color: var(--t-teal); box-shadow: var(--t-ring); }
html.toro :is(#md-search-input, #live-md-search-input, #live-search-input)::placeholder { color: var(--t-muted); }
/* One clear button: the field's own (type=search) steps aside for the bar's ×. */
html.toro #live-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
html.toro :is(.md-search-close, .live-search-clear) {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--t-raised);
    transform: var(--t-lean);
    color: var(--t-teal);
    font-size: 20px;
    line-height: 1;
}
html.toro :is(.md-search-close, .live-search-clear):hover { background: var(--t-teal); color: var(--t-on-teal); }
html.toro :is(.md-search-close, .live-search-clear):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
/* The list's toolbar: a control shaping the list (a search, a sort) teal, not bet365's green. */
html.toro #page-live .live-view-btn.live-toolbar-on { background: rgba(var(--t-teal-rgb), .16); border-color: var(--t-teal); color: var(--t-teal); }
html.toro #page-live .live-view-btn.live-toolbar-on::after { background: var(--t-teal); box-shadow: 0 0 0 2px var(--t-card); }
/* The searched / sorted list's one column head (was a flat grey bar): the league heads' look. */
html.toro #live-page-matches .live-flat-list-header { padding-right: 0; background: var(--t-bg); }   /* (its 12px right padding set every label 12px off its column) */

/* ---- #LV#: the sort menu (js/live.js _buildSortMenu, on <body>): a card with the canvas's ring,
   its choices leaning tabs (the current one teal), Rritës / Zbritës the canvas's two-way switch
   ("Zgjedhës | Të gjitha"); "clear" a red outline chip. ------------------------------------------ */
html.toro .live-sort-menu {
    min-width: 220px;
    padding: 8px;
    background: var(--t-card);
    border: 0;
    border-radius: 10px;
    box-shadow: var(--t-ring), 0 12px 28px color-mix(in srgb, var(--t-deep) 80%, transparent);
    font-family: var(--t-font);
}
/* (Room each side for the leaning tabs: the list scrolls, and its edge cut them.) */
html.toro .live-sort-items { gap: 4px; padding: 0 6px; scrollbar-width: thin; scrollbar-color: var(--t-raised) transparent; }
html.toro .live-sort-item {
    padding: 9px 14px;
    border-radius: 5px;
    transform: var(--t-lean);
    color: var(--t-text-2);
    font: italic 700 14px/1.2 var(--t-font);
    text-transform: uppercase;
}
html.toro .live-sort-item:hover { background: var(--t-raised); color: var(--t-text); }
html.toro .live-sort-item.active { background: var(--t-teal); color: var(--t-on-teal); font-weight: 800; }
html.toro .live-sort-dir-row {
    gap: 4px;
    margin-top: 10px;
    padding: 4px;
    border: 0;
    border-radius: 8px;
    background: var(--t-deep);
    transform: var(--t-lean);
}
html.toro .live-sort-dir {
    padding: 7px 12px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--t-text-2);
    font: italic 700 13px/1.2 var(--t-font);
    text-transform: uppercase;
}
html.toro .live-sort-dir:hover { background: var(--t-raised); color: var(--t-text); }
html.toro .live-sort-dir.active { background: var(--t-teal); border-color: transparent; color: var(--t-on-teal); }
html.toro .live-sort-clear {
    margin-bottom: 8px;
    border: 1px solid var(--accent-red);
    border-radius: 5px;
    background: transparent;
    transform: var(--t-lean);
    color: var(--accent-red);
    font: italic 800 13px/1.2 var(--t-font);
    text-transform: uppercase;
}
html.toro .live-sort-clear:hover { background: color-mix(in srgb, var(--accent-red) 16%, transparent); }
html.toro :is(.live-sort-item, .live-sort-dir, .live-sort-clear):focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* ---- #LV#: a row's statistics popover (js/live.js _showStatsPopover, on <body>): the canvas's card
   and ring, its heads italic, the period in play teal. ------------------------------------------ */
html.toro .live-stats-popover {
    padding: 12px 14px;
    background: var(--t-card);
    border: 0;
    border-radius: 10px;
    box-shadow: var(--t-ring), 0 12px 28px color-mix(in srgb, var(--t-deep) 80%, transparent);
    color: var(--t-text);
    font-family: var(--t-font);
}
html.toro .live-stats-popover .lsp-arrow { background: var(--t-card); border-color: rgba(var(--t-teal-rgb), .25); border-style: solid; border-width: 1px; }
html.toro .live-stats-popover[data-placement="top"] .lsp-arrow { border-top: 0; border-left: 0; }
html.toro .live-stats-popover[data-placement="bottom"] .lsp-arrow { border-bottom: 0; border-right: 0; }
html.toro .live-stats-popover .lsp-head { border-bottom-color: var(--t-raised); color: var(--t-muted); }
html.toro .live-stats-popover .lsp-head-txt { color: var(--t-muted); font-style: italic; font-weight: 800; }
html.toro .live-stats-popover .lsp-cell { color: var(--t-text); font-size: 15px; }
html.toro .live-stats-popover :is(.lsp-head, .lsp-cell).lsp-cur,
html.toro .live-stats-popover .lsp-head.lsp-cur .lsp-head-txt { color: var(--t-teal); }
html.toro .live-stats-popover .lsp-team-swatch { border-radius: 4px; }
html.toro .live-stats-popover .lsp-team-name { color: var(--t-text); font-weight: 600; }

/* ---- #LV# desktop rows: the prices the canvas's 66px pill (bet365's 88px left the match ~172px:
   "Fatih Karag…"), the names the room. Every row's match cell is the three-way row's (the row less
   its 1 X 2, Gola, Këndore and Tregje columns: 7 prices and 136px), so a two-way row's prices
   (tennis, table tennis, basketball) start where the 1 X 2 does instead of across ~350px of empty
   card; its league head's left part the same, so the 1 / 2 stay over their columns. The rows keep
   their 90px. -------------------------------------------------------------------------------------- */
@media (min-width: 1100px) {
    html.toro #page-live { --odd-w: 66px; }
    html.toro #live-page-matches .live-match-row > .live-match-info { flex: 0 1 max(220px, calc(100% - 7 * var(--odd-w) - 136px)); }
    html.toro #live-page-matches .live-league-header { justify-content: flex-start; }
    /* (Tregje keeps the row's right end: the prices before it take the free room - the block at
       the end of this file.) */
    html.toro #live-page-matches .live-league-header > .live-league-header-left + div { flex: 1 1 auto; }
    html.toro #live-page-matches .live-league-header > .live-league-header-left { flex: 0 1 max(208px, calc(100% - 7 * var(--odd-w) - 136px)); }
}
/* A folded league keeps only its name: its Tregje label went with the other column labels. */
html.toro #live-page-matches .live-league-group.collapsed .live-league-mkt-header { display: none; }

/* ---- #M / #LM desktop: the category strip's arrows show only under the pointer (bast,
   css/style.css); hidden they kept their room, and a scrolled strip started ~40px in, its first
   tab cut there. They lie over the strip's ends instead, on the panel's colour. ---------------- */
@media (hover: hover) and (min-width: 601px) {
    html.toro :is(#page-live-match, #page-match-detail) .md-categories-wrapper .md-cat-arrow { position: relative; z-index: 1; align-self: stretch; height: auto; background: var(--t-card); }
    html.toro #page-match-detail .md-categories-wrapper #md-cat-left { margin-right: -38px; }
    html.toro #page-match-detail .md-categories-wrapper #md-cat-right { margin-left: -38px; }
    html.toro #page-live-match .md-categories-wrapper #live-md-cat-left { margin-right: -21px; }
    html.toro #page-live-match .md-categories-wrapper #live-md-cat-right { margin-left: -21px; }
}
/* (#LM desktop: the column's grid gap spaces it.) */
@media (min-width: 981px) { html.toro #page-live-match #live-md-search-bar { margin: 0; } }
/* (A phone: inside the page's 14px sides, as the groups.) */
@media (max-width: 980px) { html.toro :is(#md-search-bar, #live-md-search-bar) { margin: 0 14px 14px; } }

/* ---- Live-match switcher (#LM "Ndeshjet live ⌄": bet365's InplaySwitcher, appended to <body>) ----
   Its colours come from variables (vendor/live-scout/inplay/css/ipn-theme-default.css and the
   --ipn-green* of ipn-inplaynavigation.css): set to the TORO palette here, so every sport's score
   layout follows. The rest: the canvas's card, headings, score boxes and picked row. */
html.toro .ipe-EventHeaderFlyout {
    --color-green3: var(--t-teal);          /* competition names, chevrons */
    --color-yellow1: var(--t-teal);         /* scores, serve dot, stars */
    --color-grey8: var(--t-text);           /* team names, title, clocks */
    --color-grey6: var(--t-text-2);
    --color-grey9: var(--t-text-2);         /* tennis points */
    --color-grey5: var(--t-muted);
    --color-white10p: var(--t-raised);      /* separators, picked row */
    --color-white25p: var(--t-line);
    --color-white7p: transparent;
    --ipn-green1: var(--t-card);
    --ipn-green2: var(--t-card);
    --ipn-green25p: rgba(var(--t-teal-rgb), .18);
}
html.toro .ipe-EventHeaderFlyout .ipn-InPlayNavigationModule { font-family: var(--t-font); }
html.toro .ipe-EventHeaderFlyout .ipn-EventViewNavigationFloat {
    background: var(--t-card);
    border-radius: 12px;
    box-shadow: var(--t-ring), 0 18px 48px rgba(0, 0, 0, .55);
}
html.toro .ipe-EventHeaderFlyout .ipn-EventViewNavigationFloat_ClassificationTitle {
    font-style: italic; font-weight: 800; text-transform: uppercase;
    font-size: 20px; color: var(--t-teal);
    border-bottom: 1px solid var(--t-raised);
}
html.toro .ipe-EventHeaderFlyout .ipn-EventViewNavigationFloat_CloseButton { filter: grayscale(1) brightness(1.4); }
html.toro .ipe-EventHeaderFlyout .ipn-EventViewNavigationFloat_CloseButton:hover { filter: none; }
html.toro .ipe-EventHeaderFlyout .ipn-Competition { border-top: 0; }
html.toro .ipe-EventHeaderFlyout .ipn-CompetitionButton {
    height: 44px; min-height: 44px; line-height: 44px;
    font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 14px;
    background: var(--t-deep);
}
html.toro .ipe-EventHeaderFlyout .ipn-CompetitionContainer { padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 6px; }
/* A match (every sport's row type): the canvas's leaning row - a ::before layer, the row itself
   stays upright. The picked one teal, its texts and scores in the on-teal ink through the variables. */
html.toro .ipe-EventHeaderFlyout .ipn-Fixture { height: 58px; }
html.toro .ipe-EventHeaderFlyout :is(.ipn-Fixture, .ipn-FixtureSetsBasedScores, .ipn-FixtureNoScores, .ipn-FixtureNascar, .ipn-GaelicFixture, .ipn-GolfFixture) { isolation: isolate; background: transparent; }
html.toro .ipe-EventHeaderFlyout :is(.ipn-Fixture, .ipn-FixtureSetsBasedScores, .ipn-FixtureNoScores, .ipn-FixtureNascar, .ipn-GaelicFixture, .ipn-GolfFixture)::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--t-raised); border-radius: 5px; transform: skew(-6deg);
}
html.toro .ipe-EventHeaderFlyout :is(.ipn-Fixture, .ipn-FixtureSetsBasedScores, .ipn-FixtureNoScores, .ipn-FixtureNascar, .ipn-GaelicFixture, .ipn-GolfFixture):hover::before { background: var(--t-line); }
html.toro .ipe-EventHeaderFlyout :is(.ipn-Fixture-selected, .ipn-FixtureSetsBasedScores-selected, .ipn-FixtureNoScores-selected, .ipn-FixtureNascar-selected, .ipn-GaelicFixture-selected, .ipn-GolfFixture-selected) {
    --color-grey8: var(--t-on-teal); --color-grey6: var(--t-on-teal); --color-grey5: var(--t-on-teal);
    --color-grey9: var(--t-on-teal); --color-yellow1: var(--t-on-teal); --color-green3: var(--t-on-teal);
}
html.toro .ipe-EventHeaderFlyout :is(.ipn-Fixture-selected, .ipn-FixtureSetsBasedScores-selected, .ipn-FixtureNoScores-selected, .ipn-FixtureNascar-selected, .ipn-GaelicFixture-selected, .ipn-GolfFixture-selected)::before { background: var(--t-teal); box-shadow: var(--t-glow); }
html.toro .ipe-EventHeaderFlyout .ipn-Fixture_Team { font-size: 14px; font-weight: 600; }
html.toro .ipe-EventHeaderFlyout .ipn-Fixture_TeamContainer { margin-top: 14px; }
html.toro .ipe-EventHeaderFlyout :is(.ipn-Fixture_TimerContainer, .ipn-Fixture_Period, .ipn-Fixture_ExtraTime, .ipn-FixtureSetsBasedScores_TimerContainer, .ipn-GaelicFixture_TimerContainer) { color: var(--t-teal); font-weight: 700; }
html.toro .ipe-EventHeaderFlyout [class*="-selected"] :is(.ipn-Fixture_TimerContainer, .ipn-Fixture_Period, .ipn-Fixture_ExtraTime, .ipn-FixtureSetsBasedScores_TimerContainer, .ipn-GaelicFixture_TimerContainer) { color: var(--t-on-teal); }
/* The score: the canvas's dark boxes (.t-sc). */
html.toro .ipe-EventHeaderFlyout .ipn-ScoresDefault { gap: 4px; height: 26px; margin-top: 3px; font-size: 16px; color: var(--t-text); }
html.toro .ipe-EventHeaderFlyout :is(.ipn-ScoresDefault_Team1Score, .ipn-ScoresDefault_Team2Score) {
    justify-content: center; min-width: 26px; padding: 0 4px;
    background: var(--t-deep); border-radius: 5px; color: var(--t-text);
}
html.toro .ipe-EventHeaderFlyout .ipn-ScoresDefault_HasAggregate .ipn-ScoresDefault_Team2Score,
html.toro .ipe-EventHeaderFlyout .ipn-ScoresDefault_Team2Score { padding-left: 4px; }
html.toro .ipe-EventHeaderFlyout .ipn-FloatScroller { scrollbar-color: var(--t-line) transparent; }

/* ---- #LV's sports bar: its ends fade (owner 2026-12-04, a phone: a cut name - "TENI" - stood past
   the panel's slanted end). The scroller clips straight, the panel leans: faded, nothing reads cut. */
html.toro #live-page-sport-tabs .ovm-ClassificationBar_Scroller {
    /* The panel (::before) is 6px in from the scroller's sides and leans ~4px more at its corners:
       nothing shows past 12px from either side. */
    -webkit-mask-image: linear-gradient(90deg, transparent 10px, black 22px, black calc(100% - 44px), transparent calc(100% - 12px));
    mask-image: linear-gradient(90deg, transparent 10px, black 22px, black calc(100% - 44px), transparent calc(100% - 12px));
}

/* ---- #LV on a desktop: the prices against the markets' count (owner 2026-12-04: with one market
   they stood right after the teams, ~340px of nothing before "+96" - every sport). The free room
   goes before the first price block, not before the count; the league header's column heads
   follow it (same widths: the odds block, then the 52px count). Several markets: all of them
   slide right together. ------------------------------------------------------------------- */
@media (min-width: 981px) {
    html.toro #live-page-matches .live-match-info + .live-match-oddscol,
    html.toro #live-page-matches .live-league-odds-header:first-child { margin-left: auto; }
    html.toro #live-page-matches :is(.live-match-mkt-count, .live-league-mkt-header) { margin-left: 16px; }
}
