/* TORO247 - home (design canvas "TORO247 – koncepti i ri": board Main = desktop, board Phone =
   phone, <= 980px; TORO-SHAPES.md). Markup: index.html #toro-home; data: js/toro-home.js.
   Sizes, gaps, radii and type are the canvas's own; colours only var(--t-*). */

/* The classic blocks left outside #toro-home (hero, Bet Boost, the old live board, banners): their
   code still runs, unseen. bast's other boards are inside #toro-home, restyled below. */
html.toro #page-sports > :not(#toro-home) { display: none !important; }

html.toro .th { color: var(--t-text); }
html.toro .th p { margin: 0; }
html.toro .th :is(h1, h2) { font-family: var(--t-font); }   /* style.css gives headings the system face */
html.toro .th .th-m { display: none; }      /* the phone board's own words */

/* ---- the welcome-bonus banners (guests) -------------------------------------------------- */
/* The operator's art (img/toro/bonus-*.webp, index.html): the wide strip on top (a phone: the hero's
   shape), the hero down the page (a phone: the tall one), the tall one under the slip. Each leads to
   the registration; a signed-in player gets none. */
html.toro .th-banner { display: block; border-radius: 12px; }
html.toro .th-banner img { display: block; width: 100%; height: auto; }
html.toro:not(.is-guest) .th-banner { display: none; }
html.toro .th-banner:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 3px; }
html.toro .th-slip { display: flex; flex-direction: column; gap: 16px; }
html.toro .th-banner-side { order: 2; align-self: center; width: 100%; max-width: 332px; }

/* ---- the page ---------------------------------------------------------------------------- */
html.toro .th-main { max-width: 1360px; margin: 0 auto; padding: 36px 0 48px;   /* the sides are the page column's (shell.css) */ display: flex; flex-direction: column; gap: 40px; }
html.toro .th-h2 { color: var(--t-teal); font-size: 32px; }
html.toro .th a { text-decoration: none; }

/* the hero: title, line, chips; the mascot and the match of the day */
html.toro .th-hero { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
html.toro .th-hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
html.toro .th-h1 { color: var(--t-teal); font-size: 64px; line-height: .95; }
html.toro .th-lead { font-size: 20px; font-style: italic; font-weight: 600; color: var(--t-text-2); max-width: 460px; }
html.toro .th-chips { display: flex; gap: 12px; flex-wrap: wrap; }
html.toro .th-hero-side { flex: 1 1 560px; min-width: 0; display: flex; gap: 24px; align-items: stretch; }
html.toro .th-mascot { flex: 0 0 230px; width: 230px; height: auto; align-self: center; mix-blend-mode: lighten; }   /* the video's black ground: the page shows through */
/* The clip's arms swing out of its own frame (in about one frame in seven they reach its left or right edge, cut
   straight): its sides fade out instead. */
html.toro .th-mascot {
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
html.toro .th-motd-box { flex: 1 1 auto; min-width: 0; display: flex; }
html.toro .th-motd-box[hidden] { display: none; }
html.toro .th-motd { position: relative; flex: 1 1 auto; min-width: 0; padding: 22px 30px; }
html.toro .th-motd > .t-lean { box-shadow: var(--t-ring); }
html.toro .th-motd-in { display: flex; flex-direction: column; gap: 16px; }
html.toro .th-motd-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
html.toro .th-motd-tag { color: var(--t-teal); font-size: 15px; white-space: nowrap; }
html.toro .th-motd .th-lg { font-size: 14px; color: var(--t-muted); text-align: right; min-width: 0; }
html.toro .th-motd-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; color: var(--t-text); }
/* 28px as the canvas, smaller for a long word: ~0.55em a letter in a ~134px column (--n: the name's
   longest word, js/toro-home.js), so a word never breaks; lines break at spaces only. */
html.toro .th-motd-team { font-size: clamp(15px, calc(230px / var(--n, 8)), 28px); overflow-wrap: normal; }
html.toro .th-motd-home { text-align: right; }
html.toro .th-motd-score { font-size: 40px; color: var(--t-teal); white-space: nowrap; }
html.toro .th-dash { margin: 0 .25em; }
html.toro .th-motd-clock { text-align: center; font-size: 15px; color: var(--t-muted); }
html.toro .th-motd-clock b { color: var(--t-teal); }
html.toro .th-more { align-self: flex-end; font-size: 14px; color: var(--t-teal); }
html.toro .th-more:hover { color: var(--t-teal-neon); }
html.toro .th-more[hidden] { display: none; }

/* the prices: 1 / X / 2 side by side (1 / 2 for a two-way sport) */
html.toro .th-odds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
html.toro .th .t-odd { min-width: 0; }
html.toro .th .t-odd.disabled, html.toro .th .th-locked { cursor: default; opacity: .55; }
html.toro .th .th-locked b { display: inline-flex; color: var(--t-muted); }
html.toro .th .th-void { visibility: hidden; }

/* the four quick entries (a signed-in player has no "Regjistrohu falas") */
html.toro .th-quick { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
html.toro .th-quick .t-btn { height: 56px; font-size: 18px; }
html.toro:not(.is-guest) .th-quick-reg { display: none; }

/* Football by kick-off (Live, today, in 3 / 8 hours, the next days, leagues): the canvas's sport
   tabs with the header groups' teal label. The tabs scroll sideways when they do not fit; the
   scroller reaches 12px over the panel so the Live badge and the focus ring are not cut. */
html.toro .th-times { width: fit-content; max-width: 100%; }
html.toro .th-times-h { flex: none; color: var(--t-teal); font-size: 15px; padding: 0 6px; }
html.toro .th-times-row { display: flex; gap: 6px; min-width: 0; margin: -12px -4px -4px; padding: 12px 4px 4px; overflow-x: auto; scrollbar-width: none; }
html.toro .th-times-row::-webkit-scrollbar { display: none; }
html.toro .th-times .t-tab { flex: none; white-space: nowrap; }
html.toro .th-times .t-tab:hover { color: var(--t-text); background: var(--t-raised); }

/* Live tani + Ndeshjet e sotme, the slip beside them */
html.toro .th-cols { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
html.toro .th-left { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
html.toro .th-slip { flex: 1 1 340px; min-width: 0; position: sticky; top: calc(var(--header-height) + 16px); }
html.toro .th-slip:empty { display: none; }
/* The site's slip panel (js/toro-home.js moves it here on Home): always shown in this column,
   as wide as the column. Its look is css/toro/betslip.css's. */
html.toro .th-slip > .betslip-panel { display: flex !important; position: static; align-self: stretch; width: 100%; min-width: 0; height: auto; max-height: calc(100vh - var(--header-height) - 32px); border-left: 0; }

html.toro .th-live { display: flex; flex-direction: column; gap: 18px; }
html.toro .th-live[hidden] { display: none; }
html.toro .th-live-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html.toro .th-tabs { gap: 4px; padding: 6px 12px; flex-wrap: wrap; }
html.toro .th-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; }
html.toro .th-card { position: relative; padding: 16px 26px; }
html.toro .th-card-in { display: flex; flex-direction: column; gap: 10px; }
html.toro .th-card-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--t-muted); }
html.toro .th-card-top .th-lg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.toro .th-card-top b { color: var(--t-teal); white-space: nowrap; }
html.toro .th-card-teams { display: flex; flex-direction: column; gap: 10px; color: var(--t-text); }
html.toro .th-team { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
html.toro .th-name { min-width: 0; font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.toro .th-team .t-sc { flex: none; }
html.toro .th-card .th-odds { gap: 10px; margin-top: 4px; }
html.toro :is(.th-motd-teams, .th-card-teams, .th-row-teams):hover { color: var(--t-teal-neon); }

html.toro .th-today { display: flex; flex-direction: column; gap: 14px; }
html.toro .th-today:has(> .th-today-list:empty) { display: none; }
html.toro .th-today-list { display: flex; flex-direction: column; gap: 8px; }
html.toro .th-today-list > .th-row:nth-child(n+6) { display: none; }
/* A match - model A (owner 2026-12-04): the time over its league at the left, the two teams one over
   the other (kit + the whole name: a long one wraps, never "..."), the prices, the markets' count.
   A phone: the time, league and count on the top line, the teams beside the prices under it. */
html.toro .th-row {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto 56px;
    grid-template-areas: "time teams odds more" "lg teams odds more";
    align-items: center;
    gap: 4px 20px;
    padding: 14px 18px;
}
html.toro .th-row::before { content: ''; position: absolute; inset: 0; background: var(--t-card); border-radius: 10px; transform: var(--t-lean); }
html.toro .th-row > * { position: relative; }
html.toro .th-time { grid-area: time; align-self: end; color: var(--t-teal); font-size: 18px; }
html.toro .th-row-lg { grid-area: lg; align-self: start; font-size: 13px; color: var(--t-muted); }
html.toro .th-row-teams { grid-area: teams; display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--t-text); }
html.toro .th-rteam { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
html.toro .th-rteam .th-kit { flex: none; width: 20px; height: 20px; }
html.toro .th-row-odds { grid-area: odds; display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; }
html.toro .th-row-odds .t-odd { min-width: 0; height: 54px; }
html.toro .th-row-more { grid-area: more; justify-self: end; font-size: 14px; color: var(--t-teal); white-space: nowrap; }
html.toro .th-row-more:hover { color: var(--t-teal-neon); }

/* ---- bast's home boards, in the canvas's pieces (index.html #toro-home; App draws them) -------- */
/* The sports ribbon (App._renderSportStrip): the kick-off row's tab group, each sport's icon beside
   its name. style.css's strip (tiles, borders, 80px) is undone here. */
html.toro .th-sports:has(.th-times-row:empty) { display: none; }
html.toro .th-sports .ss-item {
    position: relative; flex: none; display: inline-flex; flex-direction: row; align-items: center; gap: 8px; min-width: 0;
    padding: 9px 14px; border: 0; border-radius: 5px; background: transparent; color: var(--t-text-2);
    font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 15px; white-space: nowrap; text-decoration: none;
}
html.toro .th-sports .ss-item:hover { color: var(--t-text); background: var(--t-raised); }
html.toro .th-sports .ss-item:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro .th-sports .ss-icon { width: 20px; height: 20px; }
html.toro .th-sports .ss-name { font-size: inherit; line-height: 1.2; }

/* "Shiko të gjitha ›" under "Ndeshjet e sotme": the day's whole list. */
html.toro .th-see-all { align-self: flex-end; }

/* The section heads of the boards below; a board with nothing in it is not shown. */
html.toro :is(.th-feat, .th-ff .ff-module, .th-topcomp, .th-up) { display: flex; flex-direction: column; gap: 18px; margin: 0; background: none; border: 0; }
html.toro #toro-home #home-popular-leagues { display: flex !important; flex-direction: column; gap: 18px; margin: 0; }   /* style.css hides it */
html.toro :is(.th-feat, .th-topcomp)[hidden], html.toro .th-ff:empty { display: none; }
html.toro #toro-home #home-popular-leagues:has(> .th-pop-list:empty), html.toro .th-up:has(> #league-matches-grouped:empty) { display: none !important; }
html.toro .th-ff { display: flex; flex-direction: column; gap: 36px; }
html.toro .th-ff .ff-head { margin: 0; padding: 0; background: none; color: var(--t-teal); font-size: 32px; font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
html.toro .th-ff .ff-head a { gap: 12px; color: inherit; }
html.toro .th-ff .ff-head a:hover { color: var(--t-teal-neon); text-decoration: none; }
html.toro .th-ff .ff-head .league-comp-logo { width: 30px; height: 30px; }

/* Featured matches (App._ffCardHtml): the canvas's live cards in a row that scrolls sideways -
   three in view and the next one's edge (two in a narrower column); the scroller reaches 16px
   past the column so the cards' lean is not cut. */
html.toro .th .ff-row { display: grid; grid-auto-flow: column; grid-auto-columns: max(250px, calc((100% - 32px - 60px) / 3)); gap: 30px; margin: -6px -16px -10px; padding: 6px 16px 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
html.toro .th .ff-row::-webkit-scrollbar { display: none; }
html.toro .th .ff-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 16px 26px; border: 0; background: none; scroll-snap-align: start; }
html.toro .th .ff-card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 12px; background: var(--t-card); transform: var(--t-lean); }
html.toro .th .ff-teams { gap: 10px; color: var(--t-text); }
html.toro .th .ff-teams:hover { color: var(--t-teal-neon); }
html.toro .th .ff-teams:hover .ff-name { text-decoration: none; }
html.toro .th .ff-when { order: -1; margin: 0; color: var(--t-teal); font-size: 13px; font-weight: 700; }
html.toro .th .ff-team { font-size: 17px; font-weight: 600; }
html.toro .th .ff-kit { display: none; }   /* none on the canvas */
/* Its prices: the canvas's leaning pills, the label over the price; picked = teal. */
html.toro .th .ff-odds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 4px; }
html.toro .th .ff-odd { flex-direction: column; justify-content: center; gap: 1px; min-height: 0; height: 46px; padding: 0 4px; border-radius: 5px; background: var(--t-raised); transform: var(--t-lean); font-family: var(--t-font); }
html.toro .th .ff-odd .ff-odd-lbl { color: var(--t-muted); font-size: 11px; }
html.toro .th .ff-odd .ff-odd-val { color: var(--t-odds); font-size: 17px; font-weight: 700; }
html.toro .th .ff-odd.selected { background: var(--t-teal); }
html.toro .th .ff-odd.selected :is(.ff-odd-lbl, .ff-odd-val) { color: var(--t-on-teal); }
html.toro .th .ff-odd:is(:disabled, .disabled) { opacity: .55; }
@media (hover: hover) {
    html.toro .th .ff-odd:hover:not(:disabled, .disabled, .selected) { background: var(--t-raised); box-shadow: var(--t-ring); }
}
html.toro .th .ff-odd:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* Top competitions (App._renderTopCompetitions): the canvas's leaning rows, two side by side. */
html.toro .th-tc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; }
html.toro .th .tc-row { position: relative; isolation: isolate; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 18px; border: 0; background: none; color: var(--t-text); font-size: 17px; font-weight: 600; }
html.toro .th .tc-row::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 5px; background: var(--t-card); transform: var(--t-lean); transition: box-shadow .15s; }
html.toro .th .tc-row:is(:hover, :focus-visible) { background: none; color: var(--t-teal-neon); }
html.toro .th .tc-row:hover::before { box-shadow: var(--t-ring); }
html.toro .th .tc-row:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro .th .tc-flag { width: 22px; }
html.toro .th .tc-flag img { width: 20px; height: 20px; }
html.toro .th .tc-chev { color: var(--t-teal); }

/* Popular leagues (App.loadSuperTopLeagues): leaning cards with the flag, the name and the count;
   a card takes the page to that league's matches below (role / keys: js/toro-home.js). */
html.toro .th-pop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; }
html.toro .th .league-card { position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 16px; background: none; border: 0; border-radius: 5px; box-shadow: none; color: var(--t-text); }
html.toro .th .league-card::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 5px; background: var(--t-card); transform: var(--t-lean); transition: box-shadow .15s; }   /* also the corner bands' layer: none here */
html.toro .th .league-card:hover { background: none; color: var(--t-teal-neon); }
html.toro .th .league-card:hover::before { box-shadow: var(--t-ring); }
html.toro .th .league-card:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro .th .league-icon { width: 24px; height: 24px; background: none; }
html.toro .th .league-icon :is(img, .league-comp-logo) { width: 20px; height: 20px; object-fit: contain; }
html.toro .th .league-name { font-size: 15px; font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro .th .league-count { font-size: 12px; color: var(--t-muted); }
html.toro .th .league-count-n { color: var(--t-teal); font-weight: 700; }

/* "Ndeshjet në vijim" (App.renderGroupedLeagueMatches): a league's name as a small teal heading
   (the header folds it, js/leaguecollapse.js), its rows as the sport page's (css/toro/sports.css). */
html.toro #toro-home #league-matches-grouped { display: flex !important; flex-direction: column; gap: 22px; }   /* style.css hides it */
html.toro #league-matches-grouped .league-group { margin: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
html.toro #league-matches-grouped .league-group-header { gap: 10px; min-height: 44px; margin-bottom: 6px; padding: 0 2px; background: none; }
@media (hover: hover) { html.toro #league-matches-grouped .league-group-header:hover { background: none; } }
html.toro #league-matches-grouped .league-group-header:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro #league-matches-grouped .league-group-title { gap: 10px; color: var(--t-teal); font-size: 15px; font-style: italic; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
html.toro #league-matches-grouped .league-flag img { width: 18px; height: 18px; }
html.toro #league-matches-grouped .league-go { width: 44px; height: 44px; background: none; color: var(--t-teal); }
html.toro #league-matches-grouped .league-go:hover { background: none; color: var(--t-teal-neon); }
html.toro #league-matches-grouped .league-date-group { display: flex; flex-direction: column; gap: 8px; border: 0; border-radius: 0; }
html.toro #league-matches-grouped .league-group.collapsed .league-date-group { display: none; }
html.toro #league-matches-grouped .league-date-group + .league-date-group { margin-top: 14px; }
html.toro #league-matches-grouped .league-date-header { min-height: 0; padding: 2px 18px 0; background: none; border: 0; color: var(--t-muted); font-size: 13px; font-style: italic; font-weight: 800; text-transform: uppercase; }
html.toro #league-matches-grouped .odds-header-labels { display: none; }   /* the pills carry 1 / X / 2 */
/* A match: time | home – away | prices | +markets, the fill leaning on ::before. */
html.toro #league-matches-grouped .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; cursor: pointer; }
html.toro #league-matches-grouped .league-match-row::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 5px; background: var(--t-card); transform: var(--t-lean); transition: box-shadow .15s; }
@media (hover: hover) {
    html.toro #league-matches-grouped .league-match-row:hover { background: none; }
    html.toro #league-matches-grouped .league-match-row:hover::before { box-shadow: var(--t-ring); }
}
html.toro #league-matches-grouped :is(.league-match-teams, .league-match-meta) { display: contents; }
html.toro #league-matches-grouped .league-match-time { order: -1; flex: 0 0 56px; margin-right: 16px; padding: 0; background: none; border: 0; color: var(--t-teal); font-size: 17px; font-style: italic; font-weight: 800; line-height: 1.2; }
html.toro #league-matches-grouped .league-match-team { flex: 1 1 0; min-width: 0; max-width: max-content; gap: 6px; color: var(--t-text); font-size: 17px; font-weight: 600; line-height: 1.25; }
html.toro #league-matches-grouped .league-match-team > span:not([class]) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.toro #league-matches-grouped .league-match-team + .league-match-team { margin-right: auto; }
html.toro #league-matches-grouped .league-match-team + .league-match-team::before { content: '–'; flex: 0 0 auto; margin: 0 2px 0 6px; }
html.toro #league-matches-grouped .team-kit-sm { display: none; }   /* none on the canvas */
html.toro #league-matches-grouped .league-match-markets { order: 3; flex: 0 0 52px; margin-left: 16px; padding: 0; background: none; border: 0; color: var(--t-teal); font-size: 14px; font-style: italic; font-weight: 800; text-align: right; white-space: nowrap; }
html.toro #league-matches-grouped .league-match-markets::after { content: ' \203A'; }
html.toro #league-matches-grouped .league-match-odds { order: 2; flex: 0 0 auto; display: flex; gap: 16px; width: auto; margin-left: 16px; }
html.toro #league-matches-grouped .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: 66px; 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 #league-matches-grouped .odd-btn-inline:not(.odd-chg-up, .odd-chg-down) { background: var(--t-raised); }
html.toro #league-matches-grouped .odd-btn-inline::before { font-size: 11px; font-weight: 400; color: var(--t-muted); }
html.toro #league-matches-grouped .league-match-odds > .odd-btn-inline:nth-child(1):not(:only-child)::before { content: '1'; }
html.toro #league-matches-grouped .league-match-odds > .odd-btn-inline:nth-child(2)::before { content: 'X'; }
html.toro #league-matches-grouped .league-match-odds > .odd-btn-inline:is(:nth-child(2):last-child, :nth-child(3))::before { content: '2'; }
@media (hover: hover) {
    html.toro #league-matches-grouped .odd-btn-inline:not(.selected, .disabled):hover { box-shadow: var(--t-ring); }
}
html.toro #league-matches-grouped .odd-btn-inline.selected { background: var(--t-teal); color: var(--t-on-teal); box-shadow: none; }
html.toro #league-matches-grouped .odd-btn-inline.selected :is(.oc-new), html.toro #league-matches-grouped .odd-btn-inline.selected::before { color: var(--t-on-teal); }
html.toro #league-matches-grouped .odd-btn-inline.disabled { color: var(--t-muted); cursor: default; }
html.toro #league-matches-grouped .odd-btn-inline:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }

/* ---- the casino row ------------------------------------------------------------------------ */
html.toro .th-casino { display: flex; flex-direction: column; gap: 16px; }
html.toro .th-casino-head { display: flex; justify-content: space-between; align-items: center; }
html.toro .th-all { font-size: 15px; color: var(--t-teal); }
html.toro .th-all:hover { color: var(--t-teal-neon); }
html.toro .th-games { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 981px) { html.toro .th-games > :nth-child(n+7) { display: none; } }   /* a phone swipes them all */
html.toro .th-games .slot-card { position: relative; aspect-ratio: 3 / 4; width: auto; min-width: 0; height: auto; margin: 0; padding: 0; border-radius: 10px; overflow: hidden; background: var(--t-card); cursor: pointer; }
html.toro .th-games .slot-card-thumb-wrap { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; border-radius: 0; }
html.toro .th-games .slot-card-thumb { width: 100%; height: 100%; object-fit: cover; }
html.toro .th-games .slot-card-heart { display: none; }
html.toro .th-games .slot-card-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; background: linear-gradient(transparent, var(--t-deep)); }
html.toro .th-games .slot-card-name { font: inherit; font-size: 14px; color: var(--t-text-2); background: none; border: 0; padding: 0; text-align: left; }

/* Model C (owner 2026-12-05, design "TORO247 – Kazino në faqen kryesore"): the casino in one card -
   bast's Pragmatic banner, Slots' first six games beside it; a tablet: the banner over six, a phone
   (600px and under): over four. The pictures carry their names: the overlay goes. */
html.toro .th-casino-card { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; background: var(--t-card); border-radius: 14px; }
html.toro .th-casino-card .th-slot-ad { display: block; line-height: 0; border-radius: 10px; overflow: hidden; }
html.toro .th-casino-card .th-slot-ad img { display: block; width: 100%; height: auto; }
html.toro .th-casino-card .th-slot-ad:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro .th-casino-card .th-games { gap: 10px; }
html.toro .th-casino-card .th-games .slot-card { border-radius: 8px; }
html.toro .th-casino-card .th-games .slot-card-meta { display: none; }
html.toro .th-casino-card .th-games > :nth-child(n+7) { display: none; }
html.toro .th-livetag { display: none; }   /* a phone's hero card only */

/* ---- the operator's promos (#PB) - bast's hero ads: picture cards, first on the page ---------
   App._promoCardHtml's markup (style.css draws it as the classic rail's 78px strips: redrawn here
   as 3:2 pictures, the title on a scrim at the foot). Four in view on a desktop, the arrows page
   them; a phone swipes, the next card peeking. */
html.toro .th-promos { position: relative; }
html.toro .th-promos[hidden] { display: none; }
html.toro .th-promo-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
html.toro .th-promo-row::-webkit-scrollbar { display: none; }
html.toro .th-promo-row .promo-rail-card { flex: 0 0 calc((100% - 48px) / 4); height: auto; aspect-ratio: 3 / 2; display: block; padding: 0; border-radius: 12px; overflow: hidden; background: var(--t-card); scroll-snap-align: start; cursor: pointer; }
html.toro .th-promo-row .promo-rail-card.th-promo-wide { flex-basis: calc((100% - 48px) / 2 + 16px); aspect-ratio: auto; }
html.toro .th-promo-row .promo-rail-bg { background-position: center; transition: transform .3s ease; }
html.toro .th-promo-row .promo-rail-bg::after { display: none; }
html.toro .th-promo-row .promo-rail-card:hover .promo-rail-bg { transform: scale(1.04); }
html.toro .th-promo-row .promo-rail-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 44px 16px 14px; background: linear-gradient(transparent, color-mix(in srgb, var(--t-deep) 92%, transparent)); }
html.toro .th-promo-row .promo-rail-badge { align-self: flex-start; margin: 0; padding: 2px 8px; border-radius: 4px; background: var(--t-teal); color: var(--t-on-teal); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
html.toro .th-promo-row .promo-rail-title { font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1.1; color: var(--t-text); white-space: normal; }
html.toro .th-promo-row .promo-rail-sub { font-size: 13px; color: var(--t-text-2); }
html.toro .th-promo-row .promo-rail-card:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: -2px; }
html.toro .th-promos-arrow { display: none; position: absolute; top: 50%; z-index: 1; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: var(--t-card); color: var(--t-teal); box-shadow: var(--t-ring), 0 6px 18px color-mix(in srgb, var(--t-deep) 70%, transparent); cursor: pointer; }
html.toro .th-promos-arrow:hover { background: var(--t-raised); }
html.toro .th-promos-arrow:focus-visible { outline: 2px solid var(--t-teal-neon); outline-offset: 2px; }
html.toro .th-promos-arrow[data-dir="-1"] { left: -16px; }
html.toro .th-promos-arrow[data-dir="1"] { right: -16px; }
@media (hover: hover) and (min-width: 981px) { html.toro .th-promos-arrow { display: flex; } }
html.toro .th-promos.th-at-start .th-promos-arrow[data-dir="-1"],
html.toro .th-promos.th-at-end .th-promos-arrow[data-dir="1"] { display: none; }

/* Too narrow for the slip beside the column (981 - 1100px, the columns wrap): the slip right under
   "Ndeshjet e sotme", where it stood before bast's boards came in, and the boards after it - not
   the slip below them all. The left column gives its sections to the row for this. */
@media (min-width: 981px) and (max-width: 1100px) {
    html.toro .th-cols { gap: 36px; }
    html.toro .th-left { display: contents; }
    html.toro :is(.th-left > *, .th-slip) { flex: 1 1 100%; min-width: 0; }
    html.toro .th-slip { order: 1; position: static; }
    html.toro .th-left > :is(.th-ff, .th-feat, .th-bbp, .th-topcomp, #home-popular-leagues, .th-up) { order: 2; }
}

/* ---- phone (the canvas's Phone board) -------------------------------------------------- */
@media (max-width: 980px) {
    html.toro .th .th-d { display: none; }
    html.toro .th .th-m { display: inline; }

    html.toro .th-banner-mid { align-self: center; width: 100%; max-width: 620px; }

    html.toro .th-main { padding: 20px 0 24px; gap: 22px; }   /* .content has the 18px sides */
    html.toro .th-h2 { font-size: 24px; }
    /* The phone board: the title, the match of the day, Live tani, Ndeshjet e sotme. */
    html.toro :is(.th-chips, .th-quick, .th-slip, .th-more) { display: none !important; }
    /* The hero as one card (owner 2026-12-05, design board C): "Live tani", the heading, a line, the
       bull over the card's corner (owner 2026-12-04: signed in, the phone showed it nowhere), the
       match of the day inside on the page's ground. */
    html.toro .th-hero { position: relative; padding: 18px 16px 16px; background: var(--t-card); border-radius: 14px; box-shadow: var(--t-ring); }
    html.toro .th-hero-copy { gap: 6px; }
    html.toro .th-livetag { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--t-teal); }
    html.toro .th-livetag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--t-teal); box-shadow: 0 0 8px var(--t-teal); }
    html.toro .th-hero .th-h1 { max-width: calc(100% - 126px); }
    html.toro .th-lead { margin-top: 4px; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.35; max-width: none; }
    html.toro .th-mascot { position: absolute; top: -30px; right: 6px; width: 128px; flex: none; }   /* its sides inside the card: only the horns over its edge */
    html.toro .th-hero .th-motd { padding: 12px; }
    html.toro .th-hero .th-motd > .t-lean { background: var(--t-bg); box-shadow: none; border-radius: 10px; }
    /* The promos and the casino row: swiped sideways, the next card peeking. */
    html.toro .th-promo-row { gap: 12px; }
    html.toro .th-promo-row .promo-rail-card { flex-basis: 78%; }
    html.toro .th-promo-row .promo-rail-card.th-promo-wide { flex-basis: 92%; }
    html.toro .th-promo-row .promo-rail-title { font-size: 16px; }
    html.toro .th-casino { gap: 12px; }
    html.toro .th-casino-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 10px; }
    html.toro .th-hero { flex-direction: column; align-items: stretch; gap: 16px; }
    html.toro :is(.th-hero-copy, .th-hero-side) { flex: none; }
    html.toro .th-h1 { font-size: 32px; }

    html.toro .th-motd { padding: 16px 20px; }
    html.toro .th :is(.th-motd, .th-card) > .t-lean { transform: skew(-8deg); }
    html.toro .th-motd-in { gap: 10px; }
    html.toro .th-motd-tag { font-size: 13px; }
    html.toro .th-motd .th-lg { font-size: 12px; }
    html.toro .th-motd-teams { gap: 10px; }
    html.toro .th-motd-team { font-size: clamp(13px, calc(200px / var(--n, 8)), 19px); }
    html.toro .th-motd-score { font-size: 28px; }
    html.toro .th-dash { margin: 0; }
    html.toro .th-motd-clock { font-size: 13px; }
    html.toro .th-odds { gap: 10px; }
    html.toro .th .t-odd { height: 44px; }
    html.toro .th .t-odd b { font-size: 16px; }
    html.toro .th .t-odd small { font-size: 10px; }

    html.toro .th-left { gap: 22px; }
    html.toro .th-live { gap: 14px; }
    /* nowrap: a wrapping column's line is as wide as its widest item, so the tabs (and the page)
       grew to their full ~420px instead of scrolling inside the screen. */
    html.toro .th-live-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
    /* Every sport (it showed three, the rest unreachable): the row scrolls sideways, each count inside
       its tab's corner so the scrolling panel does not cut it. */
    html.toro .th-tabs { padding: 7px 8px 5px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    html.toro .th-tabs::-webkit-scrollbar { display: none; }
    html.toro .th-tabs .t-tab { flex: none; }
    html.toro .th-tabs .t-tab { padding: 8px 12px; font-size: 14px; }
    html.toro .th-tabs .t-badge { top: -5px; right: 0; font-size: 10px; padding: 0 5px; }
    html.toro .th-times { padding: 5px 8px; }
    html.toro .th-times-h { font-size: 14px; padding: 0 4px; }
    html.toro .th-times .t-tab { padding: 8px 12px; font-size: 14px; }
    html.toro .th-times .t-badge { top: -10px; right: 2px; font-size: 10px; padding: 0 5px; }
    html.toro .th-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    html.toro .th-grid > :nth-child(n+4) { display: none; }
    html.toro .th-card { padding: 12px 18px; }
    html.toro .th-card-in { gap: 7px; }
    html.toro .th-card-top { font-size: 12px; }
    html.toro .th-card-teams { gap: 7px; }
    html.toro .th-name { font-size: 16px; }
    html.toro .th-team .t-sc { width: 24px; height: 24px; }
    html.toro .th-card .th-odds { gap: 8px; margin-top: 2px; }

    html.toro .th-today { gap: 10px; }
    html.toro .th-today-list { gap: 10px; }
    html.toro .th-today-list > .th-row:nth-child(n+4) { display: none; }
    html.toro .th-row { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "time lg lg more" "teams teams odds odds"; gap: 10px 8px; padding: 12px 14px 14px; }
    html.toro .th-row::before { transform: skew(-6deg); }
    html.toro .th-time { align-self: baseline; font-size: 15px; }
    html.toro .th-row-lg { align-self: baseline; min-width: 0; font-size: 12px; }
    html.toro .th-row-more { align-self: baseline; font-size: 13px; }
    html.toro .th-rteam { font-size: 16px; gap: 8px; }
    html.toro .th-rteam .th-kit { width: 18px; height: 18px; }
    html.toro .th-row-odds { grid-auto-columns: 52px; gap: 6px; }
    html.toro .th-row-odds .t-odd { height: 52px; }

    /* bast's boards, one column. */
    html.toro .th-sports .ss-item { padding: 8px 12px; font-size: 14px; }
    html.toro .th-see-all { font-size: 14px; }
    html.toro :is(.th-feat, .th-ff .ff-module, .th-topcomp, .th-up), html.toro #toro-home #home-popular-leagues { gap: 14px; }
    html.toro .th-ff { gap: 22px; }
    html.toro .th-ff .ff-head { font-size: 24px; }
    html.toro .th-ff .ff-head .league-comp-logo { width: 24px; height: 24px; }
    /* One card and the next one's edge. */
    html.toro .th .ff-row { grid-auto-columns: 84%; gap: 14px; }
    html.toro .th .ff-card { padding: 12px 18px; gap: 7px; }
    html.toro .th .ff-card::before { transform: skew(-8deg); }
    html.toro .th .ff-teams { gap: 7px; }
    html.toro .th .ff-when { font-size: 12px; }
    html.toro .th .ff-team { font-size: 16px; }
    html.toro .th .ff-odds { gap: 8px; margin-top: 2px; }
    html.toro .th .ff-odd { height: 44px; }
    html.toro .th .ff-odd .ff-odd-val { font-size: 16px; }
    html.toro .th .ff-odd .ff-odd-lbl { font-size: 10px; }
    html.toro .th-tc-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    html.toro .th .tc-row { min-height: 44px; padding: 8px 16px; font-size: 15px; }
    html.toro .th .tc-row::before { transform: skew(-6deg); }
    /* The popular leagues: one row that scrolls sideways. */
    html.toro .th-pop-list { display: flex; gap: 10px; margin: -4px -16px -6px; padding: 4px 16px 6px; overflow-x: auto; scrollbar-width: none; }
    html.toro .th-pop-list::-webkit-scrollbar { display: none; }
    html.toro .th .league-card { flex: none; max-width: 240px; min-height: 44px; }
    html.toro .th .league-name { font-size: 14px; }

    /* "Ndeshjet në vijim": time, teams and +markets over a row of three equal pills (as sports.css). */
    html.toro #league-matches-grouped { gap: 18px; }
    html.toro #league-matches-grouped .league-group-title { font-size: 14px; }
    html.toro #league-matches-grouped .league-date-header { padding: 2px 16px 0; font-size: 12px; }
    html.toro #league-matches-grouped .league-match-row { flex-wrap: wrap; align-items: baseline; row-gap: 8px; min-height: 0; padding: 10px 16px; }
    html.toro #league-matches-grouped .league-match-row::before { transform: skew(-6deg); }
    html.toro #league-matches-grouped .league-match-time { flex: 0 0 auto; margin-right: 10px; font-size: 15px; }
    html.toro #league-matches-grouped .league-match-team { font-size: 15px; }
    html.toro #league-matches-grouped .league-match-markets { order: 1; flex-basis: auto; margin-left: 10px; font-size: 13px; }
    html.toro #league-matches-grouped .league-match-odds { order: 2; flex: 1 0 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-left: 0; }
    html.toro #league-matches-grouped .odd-btn-inline { min-width: 0; height: 44px; font-size: 16px; }
    html.toro #league-matches-grouped .odd-btn-inline::before { font-size: 10px; }
}

/* After the phone block (the same weight). A tablet (601 - 980px, the phone's layout): the bonus pictures are the desktop's (index.html's
   <source> media), the one in the page at most 620 wide; three promo cards in view, not one. */
@media (min-width: 601px) and (max-width: 980px) {
    html.toro .th-promo-row .promo-rail-card { flex-basis: calc((100% - 24px) / 3); }
    html.toro .th-promo-row .promo-rail-card.th-promo-wide { flex-basis: calc((100% - 24px) / 3 * 2 + 12px); }
}
@media (max-width: 600px) { html.toro .th-banner-mid { max-width: 332px; } }   /* a phone: the tall picture */
/* Model C on a phone (600px and under): the banner over four games. */
@media (max-width: 600px) {
    html.toro .th-casino-card .th-games { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    html.toro .th-casino-card .th-games > :nth-child(n+5) { display: none; }
}
