/* Bandyallsvenskan: Elitseriens matcher, tabell och statistik i Bandyallsvenskans ljusa design (genererad av gen-css.php – ändra inte för hand) */
body.ebs-page .ebs .standings tbody td,
body.ebs-page .ebs .standings tbody th { height: auto; font-size: inherit; }
body.ebs-page .container { box-sizing: border-box; width: 100%; max-width: var(--wrap, 1240px); margin: 0 auto; padding-left: var(--gutter, 24px); padding-right: var(--gutter, 24px); }
body.ebs-page .pt-5 { padding-top: 3rem; }
body.ebs-page .py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
body.ebs-page .py-5 { padding-top: 3rem; padding-bottom: 3rem; }
body.ebs-page .text-center { text-align: center; }
body.ebs-page .d-flex { display: flex !important; }
body.ebs-page .align-items-center { align-items: center !important; }
body.ebs-page .justify-content-between { justify-content: space-between !important; }
body.ebs-page .justify-content-center { justify-content: center !important; }
body.ebs-page .flex-grow-1 { flex-grow: 1 !important; min-width: 0; }
body.ebs-page .gap-2 { gap: .5rem !important; }
body.ebs-page .gap-3 { gap: 1rem !important; }
body.ebs-page .mb-4 { margin-bottom: 1.5rem !important; }
body.ebs-page .mb-3 { margin-bottom: 1rem !important; }
body.ebs-page .mt-4 { margin-top: 1.5rem !important; }
body.ebs-page .w-100 { width: 100% !important; }
body.ebs-page .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
body.ebs-page .ebs a { color: inherit; }
body.ebs-page .ebs table { margin: 0; }
body.ebs-page .ebs th, body.ebs-page .ebs td { border-left: 0; border-right: 0; }
body.ebs-page .ebs select { font-family: var(--font-body); }
body.ebs-page .series-switch:not(.seg):not(:has(a + a)) { display: none; }/* ==========================================================================
   Statistik (bandystats) – enligt Elitseriens profil (grafisk profil, okt 2026)
   Sidhuvud = temats .team-hero, flikar = .team-tab-btn, ytor = .elit-ui-card,
   tabeller som .toplist-table. Värdena är temats egna variabler i style.css.
   Allt ligger under .ebs så att inget krockar med resten av temat.
   ========================================================================== */

.ebs {
	--ebs-line: var(--border, rgba(255, 255, 255, .06));
	--ebs-line-strong: rgba(255, 255, 255, .18);
	--ebs-muted: var(--text-muted, #C2D2EC);
	--ebs-faint: rgba(194, 210, 236, .55);
	--ebs-accent: var(--accent, #E9A21A);
	--ebs-head: var(--surface-dark, #001542);
	--ebs-pill: var(--blue-dark, #002E7D);
	--ebs-row: rgba(36, 72, 154, .35);
	--ebs-row-even: rgba(0, 29, 90, .5);
	--ebs-row-hover: rgba(36, 72, 154, .6);
	--ebs-display: var(--font-display); color: var(--text, var(--ink, #001D5A));
}
.ebs [hidden] { display: none !important; }
.ebs .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ebs abbr[title] { text-decoration: none; cursor: help; }
.ebs .icon { width: 12px; height: 12px; }

/* ---------- Sidhuvud: temats team-hero; flikarna är team-tab-btn ---------- */
.ebs .stat-seg .team-tab-btn[aria-selected="true"] { background: var(--ebs-accent); color: #fff; }

/* Tredje raden: panelens flikar (understrukna, en nivå under knapparna ovanför) och lagfiltret */
.ebs .stat-subbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin: 0 0 24px; }
.ebs .stat-subtabs { display: flex; gap: 24px; max-width: 100%; overflow-x: auto; overscroll-behavior-x: none; scrollbar-width: none; border-bottom: 1px solid rgba(0, 29, 90, 0.108); }
.ebs .stat-subtabs::-webkit-scrollbar { display: none; }
.ebs .stat-subtabs [role="tab"] { flex: 0 0 auto; margin: 0; padding: 12px 2px; border: 0; background: none; color: var(--ebs-muted); font: 700 .875rem var(--font-body); white-space: nowrap; cursor: pointer; }
.ebs .stat-subtabs [role="tab"]:hover { color: var(--ink, #001D5A); }
.ebs .stat-subtabs [role="tab"][aria-selected="true"] { color: var(--ink, #001D5A); box-shadow: inset 0 -3px 0 var(--ebs-accent); }
.ebs .stat-subtabs [role="tab"]:focus { outline: none; }
.ebs .stat-subtabs [role="tab"]:focus-visible { outline: 2px solid rgba(0, 29, 90, 0.049); outline-offset: -2px; }
.ebs .stat-subbar .filter select { height: 44px; min-height: 44px; padding-left: 16px; font-size: .875rem; }

/* Sorterbara kolumnrubriker (Poängligan) */
.ebs .th-sort { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.ebs .th-sort:hover { color: var(--ink, #001D5A); }
.ebs .th-sort::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 5px; vertical-align: 2px; border: 4px solid transparent; border-top-color: currentColor; opacity: 0; }
.ebs th[aria-sort] .th-sort::after { opacity: 1; }
.ebs th[aria-sort="ascending"] .th-sort::after { border-top-color: transparent; border-bottom-color: currentColor; vertical-align: 6px; }
.ebs th[data-col]:not([aria-sort]) .th-sort { color: var(--ebs-muted); }

/* Dator: siffrorna i jämnt fördelade kolumner, rubrikerna på en rad */
@media (min-width: 721px) {
	.ebs .statlist--even { table-layout: fixed; }
	.ebs .statlist--even .c-pos { width: 56px; }
	.ebs .statlist--even .c-team { width: 26%; }
	.ebs .statlist--even th.c-n,
	.ebs .statlist--even th.c-main { width: auto; min-width: 0; max-width: none; }
	/* Rubriker bryts hellre på två rader än får tre prickar */
	.ebs .statlist--even thead th { overflow: hidden; white-space: normal; line-height: 1.25; padding-left: 6px; padding-right: 6px; }
	.ebs .statlist--even .c-bar { width: 14%; }
	.ebs .statlist--even .c-reason-t { width: 15%; }
	.ebs .statlist--even .c-reason { max-width: none; white-space: nowrap; }
	/* Utvisningar: orsakerna visas en sida i taget (bläddras i panelens rubrikband) */
	.ebs .statlist[data-pg="1"] .c-reason:not(.c-pg1),
	.ebs .statlist[data-pg="2"] .c-reason:not(.c-pg2),
	.ebs .statlist[data-pg="3"] .c-reason:not(.c-pg3) { display: none; }
	.ebs #panel-utv .statlist--even thead th.c-reason { white-space: normal; line-height: 1.25; text-overflow: clip; }
	.ebs .stat-card:has(#panel-utv:not([hidden])) .stat-pager { display: flex; }
}
.ebs .stat-divider { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 14px 20px 10px; border-top: 2px solid var(--ebs-line-strong); background: var(--ebs-head); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink, #001D5A); }
.ebs .stat-divider span { font: 600 .72rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ebs-muted); }
.ebs .stat-card__head { display: flex; align-items: center; gap: 12px; }
.ebs .stat-pager { display: none; align-items: center; gap: 8px; margin-left: auto; }
.ebs .stat-pager__label { margin-right: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ebs-muted); }
.ebs .stat-pager__label b { color: var(--ink, #001D5A); }
.ebs .stat-pager__btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 0 2px; border: 1px solid rgba(0, 29, 90, 0.108); border-radius: 999px; background: #FFFFFF; color: var(--ink, #001D5A); font: 700 18px/1 var(--font-body); cursor: pointer; }
.ebs .stat-pager__btn:hover:not(:disabled) { border-color: rgba(0, 29, 90, 0.315); }
.ebs .stat-pager__btn:disabled { color: var(--faint, #677589); cursor: default; }
.ebs .stat-pager__btn:focus { outline: none; }
.ebs .stat-pager__btn:focus-visible { border-color: rgba(0, 29, 90, 0.54); }
@media (max-width: 720px) {
	.ebs .stat-card:has(#panel-utv:not([hidden])) .stat-pager { display: none; }
}
.ebs .statlist td.c-main { font-weight: 800; color: var(--ink, #001D5A); }

/* ---------- Panel: rubrikband med reglage ---------- */
.ebs .stat-card { border-radius: .375rem; }
.ebs .stat-card__head { flex-wrap: wrap; gap: 10px 16px; }
.ebs .stat-card__head .elit-ui-title { margin-right: auto; }
.ebs .stat-card__body { min-width: 0; }
.ebs .stat-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

.ebs .filter { display: flex; align-items: center; gap: 8px; margin: 0; }
.ebs .filter > span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ebs-muted); }
.ebs .filter select { -webkit-appearance: none; appearance: none; min-height: 36px; width: auto; max-width: 100%; padding: 0 34px 0 14px; border: 1px solid var(--ebs-line); border-radius: 999px; background: var(--ebs-pill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b8d3dc' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink, #001D5A); font: 600 .8rem var(--font-body); cursor: pointer; }
.ebs .filter select:hover { border-color: rgba(0, 29, 90, 0.225); }
/* Ingen rosa fokusram när man klickar på en rullgardin; vid tangentbord syns en ljus kant i stället */
.ebs .filter select:focus,
.ebs .filter select:focus-visible { outline: none; box-shadow: none; }
.ebs .filter select:focus-visible { border-color: rgba(0, 29, 90, 0.405); }
.ebs .filter select option { background: #FFFFFF; color: var(--ink, #001D5A); }
.ebs .season-nav { display: flex; align-items: center; margin: 0; }
/* Sidhuvudet: herr/dam till vänster, säsong till höger på samma rad */
/* Jämna avstånd i sidhuvudet: rubrik, herr/dam + säsong, flikar och panelen nedanför har samma luft
   (24 px på dator, 20 px på mobil). Rubrikens versaler har tom luft under sig, den dras av. */
.ebs .team-hero,
.team-hero.ebs { --ebs-hero-gap: 24px; padding-bottom: 0; }
.ebs .team-hero__inner { gap: var(--ebs-hero-gap); }
.ebs .team-hero__inner > * { margin-top: 0; margin-bottom: 0; }
.ebs .team-hero__inner > .team-hero__title { margin-bottom: 24px; } /* som övriga sidor: 48 px luft under rubriken */
.ebs .stat-page,
.ebs-tabell > .container { padding-top: 24px !important; }
.ebs .stat-hero-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 auto; }
.ebs .stat-hero-bar .series-switch { margin: 0; }
.ebs .stat-hero-bar .season-nav__pick { width: auto; }
/* Säsongsväljaren lika hög som herr/dam-växeln bredvid (3 px luft + 36 px knapp + 3 px luft + ram) */
.ebs .stat-hero-bar .filter select { height: 44px; min-height: 44px; padding-left: 16px; }
/* Säsongsväljaren lika hög som herr/dam-växeln bredvid */
.ebs .stat-hero-bar { align-items: stretch; }
.ebs .stat-hero-bar .season-nav,
.ebs .stat-hero-bar .filter { display: flex; flex-direction: row; align-items: stretch; }
.ebs .stat-hero-bar .filter select { min-height: 0; height: auto; align-self: stretch; }
.ebs .stat-hero-bar .season-nav__pick > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Lag och spelare i tabellerna ---------- */
.ebs .crest { width: 24px; height: 24px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 29, 90, 0.02); color: var(--ink, #001D5A); font: 800 .55rem var(--font-body); }
.ebs .crest--img { background: transparent; border-radius: 0; object-fit: contain; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)); }
.ebs .team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ebs .team--link { color: inherit; text-decoration: none; }
.ebs .team--link:hover .team__name { text-decoration: underline; text-underline-offset: 3px; }
.ebs .team__name { font-weight: 600; color: var(--ink, #001D5A); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebs .team__code { display: none; }
.ebs .player { display: flex; flex-direction: column; min-width: 0; }
.ebs .player__team { display: none; }

/* ---------- Tabeller (som temats .toplist-table) ---------- */
/* Sidan ska aldrig kunna dras i sidled; bara tabellerna själva sveps (utan iOS-studs) */
main.ebs { overflow-x: clip; }
.ebs .table-scroll { overflow-x: auto; overscroll-behavior-x: none; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--blue-mid, #24489A) transparent; }
.ebs .standings { width: 100%; border-collapse: collapse; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--text, var(--ink, #001D5A)); }
.ebs .standings th,
.ebs .standings td { padding: .55rem .75rem; text-align: center; vertical-align: middle; }
.ebs .standings thead th { padding: .65rem .75rem; background: var(--ebs-head); border-bottom: 1px solid var(--ebs-line-strong); color: var(--ebs-muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ebs .standings thead th.c-main { color: var(--ebs-accent); }
.ebs .standings thead th abbr { font-size: inherit; }
.ebs .standings tbody td,
.ebs .standings tbody th { border-bottom: 1px solid var(--ebs-line); font-weight: 400; }
.ebs .standings tbody tr { background: linear-gradient(90deg, var(--ebs-row), rgba(0, 29, 90, 0.02)); transition: background .12s; }
.ebs .standings tbody tr.is-alt { background: linear-gradient(90deg, var(--ebs-row-even), rgba(0, 29, 90, 0.02)); }
.ebs .standings tbody tr:hover { background: linear-gradient(90deg, var(--ebs-row-hover), rgba(0, 29, 90, 0.02)); }
.ebs .standings tbody tr.is-top { background: linear-gradient(90deg, rgba(233, 162, 26, .3), rgba(0, 29, 90, 0.02)); }
.ebs .standings tbody tr:last-child > * { border-bottom: 0; }
.ebs .standings .c-pos { width: 44px; }
.ebs .standings tbody .c-pos { color: var(--ebs-muted); font-weight: 700; font-size: .8rem; }
.ebs .standings tbody tr.is-top .c-pos { color: var(--ebs-accent); }
.ebs .standings .c-team { text-align: left; }
.ebs .statlist .c-n { min-width: 44px; white-space: nowrap; }
.ebs .statlist .c-wide { min-width: 96px; }
.ebs .statlist .c-main { width: 64px; }
.ebs .pts { font-weight: 800; color: var(--ink, #001D5A); }
.ebs .statlist td.is-zero,
.ebs .statlist .muted { color: var(--ebs-faint); }
.ebs .statlist .muted { font-size: .75rem; }
.ebs .statlist td.c-wide { line-height: 1.15; }
.ebs .statlist td.c-wide .muted { display: block; margin-top: 2px; font-weight: 600; }
.ebs .statlist .c-hidden { display: none; }
.ebs .statlist .c-reason { max-width: 110px; white-space: normal; line-height: 1.15; }
.ebs .statlist .c-reason-t { text-align: left; white-space: nowrap; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.ebs .statlist .h-s { display: none; }
.ebs #panel-forlopp .statlist thead th { white-space: normal; line-height: 1.2; max-width: 120px; }
.ebs .statlist tfoot td,
.ebs .statlist tfoot th { background: var(--ebs-head); border-top: 1px solid var(--ebs-line-strong); font-weight: 700; }
.ebs .statlist tfoot th.c-team { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ebs-muted); }
.ebs .c-bar { width: 26%; }
.ebs .fp-bar { display: block; height: 6px; border-radius: 6px; background: var(--blue, #003DA6); }

/* Detaljrad på mobil */
.ebs .statlist .c-exp,
.ebs .statlist .row-detail { display: none; }

/* ---------- Hörnor ---------- */
.ebs .switch { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; margin: 12px 20px; padding: 0; border: 0; background: none; color: var(--ink, #001D5A); font: 600 .8rem var(--font-body); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.ebs .switch__ui { position: relative; flex: none; width: 40px; height: 22px; border-radius: 22px; background: var(--ebs-pill); box-shadow: inset 0 0 0 1px var(--ebs-line-strong); transition: background .15s; }
.ebs .switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ebs-muted); transition: transform .15s; }
.ebs .switch[aria-checked="true"] .switch__ui { background: var(--ebs-accent); box-shadow: none; }
.ebs .switch[aria-checked="true"] .switch__ui::after { transform: translateX(18px); background: #fff; }
.ebs .corners .c-s,
.ebs .corners .corners__sides { display: none; }
.ebs .is-split .corners .c-s { display: table-cell; }
.ebs .is-split .corners .c-t { display: none; }
.ebs .is-split .corners .corners__sides { display: table-row; }
.ebs .corners thead tr.corners__groups th { padding: 8px 6px; color: var(--ink, #001D5A); border-bottom: 2px solid var(--text-meta, #8AB0F2); }
.ebs .corners thead tr.corners__groups th.g-def { border-bottom-color: var(--ebs-muted); }
.ebs .corners thead tr.corners__groups th:first-child { border-bottom: 0; }
.ebs .corners .g-first { box-shadow: inset 1px 0 0 var(--ebs-line); }
.ebs .corners .g-block { box-shadow: inset 2px 0 0 rgba(0, 29, 90, 0.02) !important; }
.ebs .corners thead tr.corners__groups th { box-shadow: none !important; }
.ebs .corners td.c-goal { font-weight: 800; color: var(--ink, #001D5A); }

/* ---------- Målminuter ---------- */
.ebs .minchart { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 16px 20px 24px; }
.ebs .minchart__half { display: flex; flex-direction: column; gap: 12px; }
.ebs .minchart__title { padding-bottom: 6px; border-bottom: 1px solid var(--ebs-line); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ebs-muted); }
.ebs .minchart__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; height: 170px; align-items: end; }
.ebs .minchart__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.ebs .minchart__bar { display: flex; align-items: flex-start; justify-content: center; width: 100%; max-width: 92px; min-height: 30px; border-radius: .375rem .375rem 0 0; background: var(--blue-mid, #24489A); }
.ebs .minchart__pct { padding-top: 8px; font-weight: 800; font-size: .95rem; line-height: 1; color: var(--ink, #001D5A); }
.ebs .minchart__l { margin-top: 6px; font-weight: 700; font-size: .8rem; }
.ebs .minchart__n { font-size: .75rem; color: var(--ebs-muted); }
.ebs .minchart__n b { color: var(--ink, #001D5A); }
.ebs .statlist td.c-min { padding-top: 6px; padding-bottom: 6px; }
.ebs .statlist .c-half { box-shadow: inset 1px 0 0 var(--ebs-line); }
.ebs .mm { display: inline-grid; grid-template-rows: auto 26px 26px auto; justify-items: center; width: 40px; }
.ebs .mm__f { margin-bottom: 3px; font-weight: 800; font-size: .9rem; line-height: 1.1; color: var(--ink, #001D5A); }
.ebs .mm__f.is-zero { color: var(--ebs-faint); }
.ebs .mm__a { margin-top: 3px; font-size: .75rem; line-height: 1.1; color: var(--ebs-muted); }
.ebs .mm__up,
.ebs .mm__dn { position: relative; width: 22px; height: 26px; }
.ebs .mm__up { border-bottom: 1px solid rgba(0, 29, 90, 0.315); }
.ebs .mm__up i,
.ebs .mm__dn i { position: absolute; left: 0; right: 0; display: block; }
.ebs .mm__up i { bottom: 0; background: var(--blue, #003DA6); }
.ebs .mm__dn i { top: 0; background: rgba(194, 210, 236, .4); }

/* ---------- Publik ---------- */
.ebs .sub-title { margin: 0; padding: 1rem 20px; background: var(--ebs-head); border-top: 1px solid var(--ebs-line); border-bottom: 1px solid var(--ebs-line); font-size: .95rem; }
.ebs .att-top { margin: 0; padding: 0; list-style: none; }
.ebs .att-top a { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; min-height: 48px; padding: 0 20px; color: var(--ink, #001D5A); text-decoration: none; background: rgba(0, 61, 166, 0.04); border-bottom: 1px solid var(--ebs-line); }
.ebs .att-top li:nth-child(even) a { background: rgba(0, 29, 90, 0.07); }
.ebs .att-top a:hover { background: rgba(138, 176, 242, .08); }
.ebs .att-top__n { font-weight: 800; font-variant-numeric: tabular-nums; }
.ebs .att-top__d { font-size: .75rem; color: var(--ebs-muted); text-align: right; }

/* ---------- Rekord: rader som matchsidans info ---------- */
.ebs .records { margin: 0; padding: 0; list-style: none; }
.ebs .records li { display: block; }
.ebs .records__row { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr auto; gap: 4px 16px; align-items: center; min-height: 56px; padding: 10px 20px; color: var(--ink, #001D5A); text-decoration: none; background: rgba(0, 61, 166, 0.04); border-bottom: 1px solid var(--ebs-line); }
.ebs .records li:nth-child(even) .records__row { background: rgba(0, 29, 90, 0.07); }
.ebs a.records__row:hover { background: rgba(138, 176, 242, .08); color: var(--ink, #001D5A); }
.ebs a.records__row:hover .records__t { text-decoration: underline; text-underline-offset: 3px; }
.ebs .records__k { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ebs-muted); }
.ebs .records__t { font-size: .875rem; line-height: 1.35; color: var(--text, var(--ink, #001D5A)); }
.ebs .records__v { font-size: 1.35rem; font-weight: 900; line-height: 1; color: var(--ink, #001D5A); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.ebs .records__v small { font-size: .55em; font-weight: 600; color: var(--ebs-muted); }

/* ---------- Övrigt ---------- */
.ebs .stat-note { margin: 0; padding: 12px 20px 16px; font-size: .75rem; color: var(--ebs-muted); max-width: 90ch; }
.ebs .empty { margin: 0; padding: 24px 20px; color: var(--ebs-muted); }
.ebs .stat-page > .stat-note { padding-left: 0; }

/* ---------- Tabellen ---------- */
.ebs-tabell .table-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.ebs-tabell .standings-list--archive .standings-row::before { background: none !important; }
.ebs-tabell .table-group-title { margin: 0; justify-content: flex-start; }
.ebs-tabell .table-logo.crest { width: 30px; height: 30px; }
.ebs-tabell .playoff-team .crest { width: 26px; height: 26px; }
.ebs-tabell .playoff-round .playoff-label { white-space: nowrap; }
.ebs-tabell .playoff-team-name .n-short { display: none; }
.ebs-tabell > .container > .stat-note { padding: 12px 0 0; }

/* ==========================================================================
   Surfplatta
   ========================================================================== */
@media (max-width: 1080px) {
	.ebs .hide-m { display: none; }
}

/* ==========================================================================
   Mobil
   ========================================================================== */
@media (max-width: 720px) {
	.ebs .hide-s { display: none; }

	.ebs .stat-card__head { padding: .75rem 1rem; }
	.ebs .stat-card__head .elit-ui-title { width: 100%; }
	/* Panelens reglage på mobil: Visa och Lag delar bredden lika (rullgardinerna fyller sin halva) */
	/* Tredje raden på mobil: flikarna sveps, lagfiltret får hela bredden under */
	.ebs .stat-subbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 20px; }
	.ebs .stat-subtabs { gap: 20px; padding: 0 4px; }
	.ebs .stat-subbar .filter select { width: 100% !important; }
	.ebs .stat-ctrl { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.ebs .stat-ctrl .filter { min-width: 0; }
	.ebs .stat-ctrl .filter select { width: 100% !important; min-width: 0; }
	.ebs .stat-ctrl .filter,
	.ebs .stat-ctrl .season-nav { min-width: 0; }
	.ebs .filter { flex-direction: column; align-items: stretch; gap: 4px; }
	.ebs .team-hero,
	.team-hero.ebs { --ebs-hero-gap: 20px; }
	.ebs .stat-page,
	.ebs-tabell > .container { padding-top: 20px !important; }
	.ebs .stat-hero-bar { gap: 10px; }
	.ebs .stat-hero-bar .season-nav__pick { width: auto; }
	/* Flikraden i sidhuvudet: en rad som går att svepa, inte två rader */
	.ebs .stat-seg.team-hero__tabs { flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; overflow-x: auto; overscroll-behavior-x: none; scrollbar-width: none; border-radius: 999px; }
	.ebs .stat-seg.team-hero__tabs::-webkit-scrollbar { display: none; }
	.ebs .stat-seg .team-tab-btn { flex: 0 0 auto; padding: .4rem .8rem; font-size: .75rem; }

	/* Swipa i sidled: alla kolumner syns, rank och namn ligger kvar till vänster */
	.ebs .hide-s { display: revert; }
	.ebs .statlist .hide-s { display: table-cell; }
	.ebs .statlist .c-exp,
	.ebs .statlist .row-detail { display: none !important; }
	.ebs .statlist { width: max-content; min-width: 100%; }
	.ebs .standings tbody td,
	.ebs .standings tbody th { padding: .55rem 8px; }
	.ebs .standings thead th { padding-left: 8px; padding-right: 8px; font-size: .62rem; letter-spacing: .06em; }
	.ebs .statlist .c-pos { position: sticky; left: 0; z-index: 2; width: 34px; min-width: 34px; padding-left: 10px; padding-right: 2px; }
	.ebs .statlist .c-team { position: sticky; left: 34px; z-index: 2; max-width: 132px; box-shadow: 8px 0 10px -8px rgba(0, 29, 90, 0.245); }
	.ebs .corners thead tr.corners__groups th:first-child { position: sticky; left: 0; z-index: 3; background: var(--ebs-head); }
	.ebs .statlist thead .c-pos,
	.ebs .statlist thead .c-team,
	.ebs .statlist tfoot .c-pos,
	.ebs .statlist tfoot .c-team { background: var(--ebs-head); }
	.ebs .statlist tbody .c-pos,
	.ebs .statlist tbody .c-team { background: #FFFFFF; }
	.ebs .statlist tbody tr.is-alt .c-pos,
	.ebs .statlist tbody tr.is-alt .c-team { background: #FFFFFF; }
	.ebs .statlist tbody tr.is-top .c-pos,
	.ebs .statlist tbody tr.is-top .c-team { background: #4a3a14; }
	.ebs .statlist .team { gap: 8px; }
	.ebs .statlist .crest { width: 22px; height: 22px; }
	/* Spelarnamn: förnamn och efternamn på var sin rad, för långt blir punkter.
	   Tryck på ett namn: alla namn fälls ihop till en rad (med punkter). Tryck igen: två rader. */
	.ebs .statlist .player .team__name { display: block; max-width: 104px; line-height: 1.2; }
	.ebs .statlist .player .n-first,
	.ebs .statlist .player .n-last { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.ebs .statlist .player .n-sp { display: none; }
	.ebs.names-1 .statlist .player .team__name { max-width: 92px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.ebs.names-1 .statlist .player .n-first,
	.ebs.names-1 .statlist .player .n-last { display: inline; }
	.ebs.names-1 .statlist .player .n-sp { display: inline; }
	.ebs .statlist--player tbody tr { cursor: pointer; -webkit-tap-highlight-color: transparent; }
	/* Lag: förkortningen syns hela tiden */
	.ebs .statlist .team > .team__name { display: none; }
	.ebs .statlist .team__code { display: inline; font-weight: 800; color: var(--ink, #001D5A); }
	.ebs .statlist .h-l { display: none; }
	.ebs .statlist .h-s { display: inline; }
	.ebs .statlist .c-n { min-width: 40px; }

	.ebs .minchart { gap: 14px; padding: 12px 12px 18px; }
	.ebs .minchart__bars { gap: 6px; height: 140px; }
	.ebs .minchart__pct { font-size: .8rem; padding-top: 6px; }
	.ebs .minchart__l,
	.ebs .minchart__n { font-size: .65rem; }
	.ebs #panel-minuter .statlist thead th { font-size: .55rem; letter-spacing: 0; padding-left: 1px; padding-right: 1px; }
	.ebs #panel-minuter .statlist .c-n { min-width: 58px; padding-left: 2px; padding-right: 2px; }
	.ebs .mm { width: 28px; grid-template-rows: auto 20px 20px auto; }
	.ebs .mm__up,
	.ebs .mm__dn { width: 14px; height: 20px; }
	.ebs .mm__f { font-size: .8rem; }

	.ebs .att-top a { grid-template-columns: 64px 1fr; padding: 8px 14px; }
	.ebs .att-top__d { grid-column: 2; text-align: left; }

	.ebs .records__row { grid-template-columns: 1fr auto; grid-template-areas: "k v" "t v"; padding: 10px 14px; }
	.ebs .records__k { grid-area: k; }
	.ebs .records__t { grid-area: t; }
	.ebs .records__v { grid-area: v; }

	.ebs-tabell .table-bar { justify-content: stretch; }
	.ebs-tabell .playoff-team-name .n-full { display: none; }
	.ebs-tabell .playoff-team-name .n-short { display: inline; font-weight: 700; }
	.ebs-tabell .table-bar .season-nav,
	.ebs-tabell .table-bar .filter { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.ebs * { transition: none !important; }
}

/* Infopluppar i rubriker (dator): ett i i rubriken, förklaringen i en ruta vid hovring. Mobil behåller texten under tabellen. */
.ebs .tip-i { display: none; }
.ebs-tip { position: fixed; z-index: 9999; max-width: 260px; padding: 8px 12px; border: 1px solid rgba(0, 29, 90, 0.126); border-radius: 6px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(0, 29, 90, 0.158); color: var(--ink, #001D5A); font: 400 13px/1.45 var(--font-body); letter-spacing: 0; text-transform: none; pointer-events: none; }
@media (hover: hover) and (min-width: 721px) {
	.ebs .tip-i { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: 5px; border: 1px solid currentColor; border-radius: 50%; font: 700 9px/1 var(--font-body); font-style: normal; letter-spacing: 0; text-transform: none; vertical-align: 1px; opacity: .7; }
	.ebs [data-tip] { cursor: help; }
	.ebs .stat-note--tips { display: none; }
}

/* Publik: lagtabellen och Största publiken som två egna block med luft emellan */
.ebs .stat-card:has(#panel-publik:not([hidden])) { background: none; border: 0; box-shadow: none; overflow: visible; }
.ebs .stat-card:has(#panel-publik:not([hidden])) > .stat-card__head { border: 1px solid var(--border); }
.ebs #panel-publik .att-part { background: linear-gradient(180deg, #FFFFFF, rgb(0 0 0 / 24%)); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 .375rem .375rem; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 29, 90, 0.053); }
.ebs #panel-publik .att-part--top { margin-top: 24px; border-top: 1px solid var(--border); border-radius: .375rem; }
.ebs #panel-publik .att-part--top .sub-title { border-top: 0; background: var(--surface-dark); }

/* Rubriker som inte får plats (dator): korta namnet om det finns, annars tätare text – aldrig klippt eller tre prickar */
@media (min-width: 721px) {
	.ebs .statlist th.is-tight { letter-spacing: .02em; font-size: .62rem; padding-left: 2px; padding-right: 2px; }
	.ebs .statlist th.is-tight.has-short .h-l { display: none; }
	.ebs .statlist th.is-tight.has-short .h-s { display: inline; }
	.ebs .statlist .h-tip { white-space: nowrap; }
}

/* Rekord på dator: kort i ett rutnät (rubrik, stort värde, vem/vilken match) */
@media (min-width: 721px) {
	.ebs .records { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 20px; }
	.ebs .records__row,
	.ebs .records li:nth-child(even) .records__row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; min-height: 0; padding: 18px 20px 20px; border: 1px solid var(--ebs-line); border-radius: .375rem; background: rgba(0, 61, 166, 0.044); }
	.ebs a.records__row:hover { border-color: rgba(0, 29, 90, 0.225); }
	.ebs .records__k { order: 1; }
	.ebs .records__v { order: 2; font-size: 2.25rem; text-align: left; }
	.ebs .records__t { order: 3; color: var(--ebs-muted); }
}

/* Målminuter: värmekarta */
.ebs .hm { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 36px; padding: 0 8px; border-radius: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ebs .hm { font-weight: 600; color: var(--ink, #001D5A); }
.ebs #panel-minuter td.c-min { padding: 6px 3px; }
.ebs #panel-minuter td.c-half { padding-left: 10px; }
@media (max-width: 720px) {
	.ebs .hm { min-width: 52px; height: 32px; padding: 0 5px; font-size: .8rem; }
}

/* Tabellen: Totalt/Hemma/Borta, form och länk till lagstatistiken */
.ebs .league-table__bar { margin-bottom: 20px; }
.ebs .league-table__bar:empty { display: none; }
.ebs .standings-list.has-form .form-col { width: 150px; flex: none; display: flex; justify-content: center; }
.ebs .form { display: inline-flex; gap: 4px; }
.ebs .form__i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; font-size: 10px; font-weight: 800; line-height: 1; color: var(--ink, #001D5A); }
.ebs .form__i--v { background: var(--es-win, #11724A); }
.ebs .form__i--o { background: var(--es-draw, #4D5B70); }
.ebs .form__i--f { background: var(--es-loss, #a8364f); }
.ebs .form__i--none { background: rgba(0, 29, 90, 0.02); }
.ebs .league-table__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: -8px 0 24px; font-size: .75rem; color: var(--ebs-muted); }
.ebs .league-table__more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid rgba(0, 29, 90, 0.126); border-radius: 999px; color: var(--ink, #001D5A); font-size: .85rem; font-weight: 600; text-decoration: none; }
.ebs .league-table__more:hover { border-color: rgba(0, 29, 90, 0.36); color: var(--ink, #001D5A); }
@media (max-width: 768px) {
	.ebs .standings-list.has-form .form-col { width: 58px; }
	.ebs .standings-head .form-col { font-size: .65rem; }
	.ebs .form { gap: 3px; }
	.ebs .form__i { width: 8px; height: 8px; border-radius: 50%; font-size: 0; }
	.ebs .league-table__foot { flex-direction: column; align-items: stretch; text-align: center; }
	.ebs .league-table__more { justify-content: center; }
}

/* Tabellen: inte bredare än vad kolumnerna behöver på stora skärmar */
.ebs-tabell .tab-content,
.ebs-tabell > .container > .stat-note { max-width: 1040px; margin-left: auto; margin-right: auto; }

/* Tabellen: Mer lagstatistik i raden med Totalt/Hemma/Borta, i samma stil som lagfiltret på statistiksidan */
.ebs-tabell .league-table__bar .league-table__more { display: inline-flex; align-items: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(0, 29, 90, 0.054); border-radius: 999px; background: #FFFFFF; color: var(--ink, #001D5A); font: 600 .875rem var(--font-body); text-decoration: none; }
.ebs-tabell .league-table__bar .league-table__more:hover { border-color: rgba(0, 29, 90, 0.225); color: var(--ink, #001D5A); }
.ebs-tabell .league-table__bar .league-table__more span { color: var(--ebs-muted); }
.ebs-tabell .league-table__foot { margin: -8px 0 24px; }

/* ==========================================================================
   Grafisk profil 2026 (Petrol) – statistik- och tabellsidan (body.es-sub)
   En blågrön kulör (petrol), en rosa accent, inga linjer, rundat ytterst och rakt inuti.
   ========================================================================== */
body.es-sub .ebs {
	--ebs-line: transparent;
	--ebs-line-strong: transparent;
	--ebs-muted: #C2D2EC;
	--ebs-faint: rgba(194, 210, 236, .55);
	--ebs-head: #001542;
	--ebs-pill: rgba(0, 61, 166, .28);
	--es-list: rgba(0, 61, 166, .12);
	--es-stripe: rgba(0, 61, 166, .3);
	--es-hover: rgba(0, 61, 166, .55);
	--es-solid: #002a72;
	--es-shadow: 0 6px 16px rgba(0, 0, 0, .25); color: var(--ink, #001D5A);
}

/* Reglage: Herr/Dam, flikar och rullgardiner i samma petrol, utan ramar */
body.es-sub .ebs .series-switch,
body.es-sub .ebs .team-hero__tabs { border: 0 !important; background: var(--ebs-pill) !important; box-shadow: var(--es-shadow); }
body.es-sub .ebs .team-tab-btn { color: var(--ebs-muted); }
body.es-sub .ebs .team-tab-btn:hover { background: rgba(0, 61, 166, 0.06); color: var(--ink, #001D5A); }
body.es-sub .ebs .team-tab-btn.active,
body.es-sub .ebs .stat-seg .team-tab-btn[aria-selected="true"] { background: #E9A21A; color: #fff; }
body.es-sub .ebs .filter select { border: 0; background-color: var(--ebs-pill); box-shadow: var(--es-shadow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5l4.5 4.5 4.5-4.5' fill='none' stroke='%23b1dae1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.es-sub .ebs .filter select:hover { background-color: rgba(0, 61, 166, 0.08); }
body.es-sub .ebs .filter select:focus-visible { box-shadow: 0 0 0 2px #E9A21A; }
body.es-sub .ebs .filter select option { background: #FFFFFF; }

/* Undernivå (Poängliga/Målen/Utvisningar, Totalt/Hemma/Borta): ingen understrykning – rosa boll som i menyn */
body.es-sub .ebs .stat-subtabs { border-bottom: 0; gap: 22px; }
body.es-sub .ebs .stat-subtabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; color: var(--ebs-muted); }
body.es-sub .ebs .stat-subtabs [role="tab"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background-color .15s; }
body.es-sub .ebs .stat-subtabs [role="tab"]:hover::before { background: rgba(233, 162, 26, .55); }
body.es-sub .ebs .stat-subtabs [role="tab"][aria-selected="true"] { color: var(--ink, #001D5A); box-shadow: none; }
body.es-sub .ebs .stat-subtabs [role="tab"][aria-selected="true"]::before { background: #E9A21A; }

/* Länk vidare (Mer lagstatistik →) som profilens länkar */
body.es-sub .ebs .league-table__more,
body.es-sub.ebs-tabell .league-table__bar .league-table__more,
body.es-sub .ebs-tabell .league-table__bar .league-table__more { height: auto; min-height: 0; padding: 0; border: 0 !important; border-radius: 0; background: none !important; color: var(--muted, #4D5B70) !important; font: 700 12px/1.5 var(--font-body) !important; letter-spacing: .72px; text-transform: uppercase; white-space: nowrap; gap: 6px; }
body.es-sub .ebs .league-table__more:hover { color: var(--ink, #001D5A) !important; }
body.es-sub .ebs .league-table__more span[aria-hidden] { display: inline-block; width: 15px; height: 15px; font-size: 0; color: inherit !important; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='skewX(-14) translate(3 0)' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h16M14 7l5 5-5 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='skewX(-14) translate(3 0)' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h16M14 7l5 5-5 5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }

/* Paneler: mörk rubrikrad, petrol-kropp, rundat ytterst, skugga i stället för ramar */
body.es-sub .ebs .elit-ui-card,
body.es-sub .ebs .stat-card { border: 0 !important; border-radius: 8px; background: var(--es-list) !important; box-shadow: var(--es-shadow) !important; overflow: hidden; }
body.es-sub .ebs .elit-ui-header,
body.es-sub .ebs .stat-card__head { border-bottom: 0 !important; background: var(--ebs-head); border-radius: 8px 8px 0 0; }
body.es-sub .ebs .elit-ui-title { color: var(--ink, #001D5A); }

/* Statistiktabeller: kolumnrubriker vita i rubrikstilen, sorterad kolumn markeras med pil (inte rosa text) */
body.es-sub .ebs .standings thead th { border-bottom: 0; background: var(--ebs-head); color: var(--ink, #001D5A); font: 900 13px/1.2 var(--font-display); letter-spacing: normal; }
body.es-sub .ebs .standings thead th.c-main { color: var(--ink, #001D5A); }
body.es-sub .ebs th[data-col]:not([aria-sort]) .th-sort { color: var(--ebs-muted); }
body.es-sub .ebs .standings tbody td,
body.es-sub .ebs .standings tbody th { border-bottom: 0; color: var(--ink, #001D5A); }
body.es-sub .ebs .standings tbody tr { background: none; }
body.es-sub .ebs .standings tbody tr.is-alt { background: linear-gradient(90deg, var(--es-stripe), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs .standings tbody tr:hover { background: linear-gradient(90deg, var(--es-hover), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs .standings tbody tr.is-top { background: linear-gradient(90deg, #E9A21A, rgba(233, 162, 26, 0)); }
body.es-sub .ebs .standings tbody .c-pos { color: var(--ebs-muted); }
body.es-sub .ebs .standings tbody tr.is-top .c-pos { color: var(--ink, #001D5A); }
body.es-sub .ebs .statlist tfoot td,
body.es-sub .ebs .statlist tfoot th { border-top: 0; }
body.es-sub .ebs .stat-divider { border-top: 0; }
body.es-sub .ebs .sub-title { border: 0; }
body.es-sub .ebs .fp-bar { background: #003DA6; }
@media (max-width: 720px) {
	body.es-sub .ebs .statlist tbody .c-pos,
	body.es-sub .ebs .statlist tbody .c-team { background: #001f28; }
	body.es-sub .ebs .statlist tbody tr.is-alt .c-pos,
	body.es-sub .ebs .statlist tbody tr.is-alt .c-team { background: #003341; }
	body.es-sub .ebs .statlist tbody tr.is-top .c-pos,
	body.es-sub .ebs .statlist tbody tr.is-top .c-team { background: #E9A21A; }
	body.es-sub .ebs .statlist .c-team { box-shadow: 8px 0 10px -8px rgba(0, 29, 90, 0.175); }
}

/* Serietabellen (tabellsidan): som startsidans tabell */
body.es-sub .ebs .standings-list { border: 0; border-radius: 8px; overflow: hidden; background: var(--es-list) !important; box-shadow: var(--es-shadow); }
body.es-sub .ebs .standings-list .standings-row { border-bottom: 0 !important; color: var(--ink, #001D5A); }
body.es-sub .ebs .standings-list .standings-row:not(.standings-head):not(.active) { background: none !important; }
body.es-sub .ebs .standings-list .standings-row:not(.standings-head):not(.active):nth-child(even) { background: linear-gradient(90deg, var(--es-stripe), rgba(0, 61, 166, 0.02)) !important; }
body.es-sub .ebs .standings-list .standings-row:not(.standings-head):not(.active):hover { background: linear-gradient(90deg, var(--es-hover), rgba(0, 61, 166, 0.02)) !important; transform: none; }
body.es-sub .ebs .standings-list .standings-row.active { background: linear-gradient(90deg, #E9A21A, rgba(233, 162, 26, 0)) !important; }
body.es-sub .ebs .standings-list .standings-row a,
body.es-sub .ebs .standings-list .table-rank { color: var(--ink, #001D5A); }
body.es-sub .ebs .standings-list .standings-head { background: var(--ebs-head) !important; }
body.es-sub .ebs .form__i--none { background: rgba(0, 61, 166, 0.06); }

/* Slutspel, publik, rekord, hörnor: samma ytor utan linjer */
body.es-sub .ebs .att-top a,
body.es-sub .ebs .records__row { border-bottom: 0; background: none; }
body.es-sub .ebs .att-top li:nth-child(even) a,
body.es-sub .ebs .records li:nth-child(even) .records__row { background: linear-gradient(90deg, var(--es-stripe), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs .att-top a:hover,
body.es-sub .ebs a.records__row:hover { background: linear-gradient(90deg, var(--es-hover), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs #panel-publik .att-part { border: 0; background: var(--es-list); box-shadow: var(--es-shadow); border-radius: 0 0 8px 8px; }
body.es-sub .ebs #panel-publik .att-part--top { border-radius: 8px; }
body.es-sub .ebs .stat-card:has(#panel-publik:not([hidden])) > .stat-card__head { border: 0; }
@media (min-width: 721px) {
	body.es-sub .ebs .records__row,
	body.es-sub .ebs .records li:nth-child(even) .records__row { border: 0; border-radius: 8px; background: rgba(0, 61, 166, 0.056); box-shadow: var(--es-shadow); }
	body.es-sub .ebs a.records__row:hover { background: linear-gradient(90deg, var(--es-hover), rgba(0, 61, 166, 0.02)), rgba(0, 61, 166, 0.056); }
}
body.es-sub .ebs .corners thead tr.corners__groups th { border-bottom: 0; background: rgba(0, 61, 166, 0.056); }
body.es-sub .ebs .corners thead tr.corners__groups th:first-child { background: var(--ebs-head); }
body.es-sub .ebs .corners .g-first,
body.es-sub .ebs .corners .g-block,
body.es-sub .ebs .statlist .c-half { box-shadow: none !important; }
body.es-sub .ebs .minchart__title { border-bottom: 0; }
body.es-sub .ebs .minchart__bar,
body.es-sub .ebs .mm__up i { background: #003DA6; }
body.es-sub .ebs .switch__ui { background: var(--es-solid); box-shadow: none; }

/* Små rutor och knappar */
body.es-sub .ebs .stat-pager__btn { border: 0; background: var(--es-solid); box-shadow: var(--es-shadow); }
body.es-sub .ebs .stat-pager__btn:hover:not(:disabled) { background: #E9A21A; }
body.es-sub .ebs-tip,
body.es-sub .ebs-tip { border: 0; border-radius: 8px; background: #FFFFFF; }
body.es-sub .ebs .tip-i { border: 0; background: rgba(194, 210, 236, .2); opacity: 1; color: var(--muted, #4D5B70); }
/* Nollor och sekundära värden dämpade */
body.es-sub .ebs .standings tbody td.is-zero,
body.es-sub .ebs .standings tbody .muted { color: var(--ebs-faint); }
/* Tabellen: Mer lagstatistik → till höger i samma rad, flikarna kvar i mitten */
@media (min-width: 721px) {
	body.es-sub .ebs .league-table__bar { position: relative; }
	body.es-sub .ebs .league-table__bar .league-table__more { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
}

/* ---- Profil 2026, omgång 2 ---- */
/* Spelarlistor: 25 rader, sedan "Visa alla" */
body.es-sub .ebs .statlist tbody tr.is-cut { display: none; }
body.es-sub .ebs .ebs-showall { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; border: 0; background: none; color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; cursor: pointer; }
body.es-sub .ebs .ebs-showall::after { content: ""; width: 12px; height: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5l4.5 4.5 4.5-4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.5l4.5 4.5 4.5-4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
body.es-sub .ebs .ebs-showall:hover { color: var(--ink, #001D5A); background: linear-gradient(90deg, rgba(0, 61, 166, 0.02), rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs .ebs-showall:focus-visible { outline: 2px solid #E9A21A; outline-offset: -2px; }
body.es-sub .ebs .ebs-showall[hidden] { display: none; }

/* Breda statistiktabeller: ledarens rosa tonar ut vid halva raden */
body.es-sub .ebs .statlist tbody tr.is-top { background: linear-gradient(90deg, #E9A21A, rgba(233, 162, 26, 0) 50%); }
@media (max-width: 720px) {
	body.es-sub .ebs .statlist tbody tr.is-top .c-pos { background: linear-gradient(90deg, #E9A21A, #D4920F); }
	body.es-sub .ebs .statlist tbody tr.is-top .c-team { background: linear-gradient(90deg, #D4920F, #6d1e4a); }
}
/* Målminuter: ingen vinnare – raderna randas som vanligt */
body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top { background-image: none; }
body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top.is-alt { background: linear-gradient(90deg, var(--es-stripe), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top .c-pos { color: var(--ebs-muted); }
@media (max-width: 720px) {
	body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top .c-pos,
	body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top .c-team { background: #FFFFFF; }
}

/* Hörnor: grupperna skiljs med luft och ton, inte med streck */
body.es-sub .ebs .corners thead tr.corners__groups th.g-first,
body.es-sub .ebs .corners thead tr.corners__sides th.g-first { box-shadow: inset 8px 0 0 #FFFFFF !important; }
body.es-sub .ebs .corners thead tr.corners__sides th { background: rgba(0, 61, 166, 0.028); }
body.es-sub .ebs .corners thead tr.corners__sides th:first-child { background: var(--ebs-head); }
body.es-sub .ebs .corners .g-first { padding-left: 22px; }
body.es-sub .ebs .corners tbody td.g-def { background: rgba(0, 61, 166, 0.02); }

/* Serietabellen: hela ord när det finns plats, jämnt fördelade kolumner */
body.es-sub .ebs .standings-head .h-s { display: none; }
@media (min-width: 1081px) {
	body.es-sub .ebs .standings-list .standings-row > .team { flex: 0 0 30% !important; min-width: 0; }
	body.es-sub .ebs .standings-list .standings-row > .stat,
	body.es-sub .ebs .standings-list .standings-row > .goals { flex: 1 1 0; width: auto; text-align: center; }
	body.es-sub .ebs .standings-list .standings-row > .stat:last-child { flex: 0.8 1 0; text-align: right; }
	body.es-sub .ebs .standings-list.has-form .standings-row > .form-col { flex: 1.6 1 0; width: auto; }
}
@media (max-width: 1080px) {
	body.es-sub .ebs .standings-head .h-l { display: none; }
	body.es-sub .ebs .standings-head .h-s { display: inline; }
}
/* Serietabellen: lägre rader (64 → 48 px), samma som på mobil */
body.es-sub .ebs .standings-list .standings-row:not(.standings-head) { min-height: 48px; }
/* Lagstatistiken: ingen rosa etta – raderna randas som vanligt (rosa ledare bara i spelarlistor) */
body.es-sub .ebs .statlist--team tbody tr.is-top { background-image: none; }
body.es-sub .ebs .statlist--team tbody tr.is-top.is-alt { background: linear-gradient(90deg, var(--es-stripe), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs .statlist--team tbody tr.is-top:hover { background: linear-gradient(90deg, var(--es-hover), rgba(0, 61, 166, 0.02)); }
body.es-sub .ebs .statlist--team tbody tr.is-top .c-pos { color: var(--ebs-muted); }
@media (max-width: 720px) {
	body.es-sub .ebs .statlist--team tbody tr.is-top .c-pos,
	body.es-sub .ebs .statlist--team tbody tr.is-top .c-team { background: #FFFFFF; }
}
/* Tabellsidan: Tabell/Slutspel i samma rad som Herr/Dam och säsong (bryts till egen rad på mobil) */
body.es-sub .ebs .stat-hero-bar .team-hero__tabs { margin: 0; }

/* Hörnor: reglagen i en rad som hör till rubriken; med vänster/höger visas anfall eller försvar (K3) */
.ebs .corner-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 20px 12px; background: #FFFFFF; }
.ebs .corner-ctrl .switch { margin: 0; }
.ebs .corner-side { display: none; gap: 4px; padding: 4px; margin-right: auto; border-radius: 999px; background: rgba(0, 61, 166, 0.056); }
.ebs .is-split .corner-side { display: inline-flex; }
.ebs .corner-side button { min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--muted, #4D5B70); font: 700 12px/1 var(--font-body); letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
.ebs .corner-side button[aria-pressed="true"] { background: #E9A21A; color: #fff; }
.ebs .corner-side button:focus-visible { outline: 2px solid #E9A21A; outline-offset: 2px; }
.ebs .is-split .corners tr.corners__groups { display: none; }
.ebs .is-split:not(.show-def) .corners .g-def,
.ebs .is-split.show-def .corners .g-att { display: none !important; }
body.es-sub .ebs .is-split .corners tbody td.g-def { background: none; }
body.es-sub .ebs .is-split .corners thead tr.corners__sides th.g-first { box-shadow: inset 8px 0 0 #FFFFFF !important; }
@media (max-width: 720px) {
	.ebs .corner-ctrl { flex-wrap: wrap; justify-content: space-between; padding: 0 14px 12px; }
}
/* Tabellsidan: Tabell/Slutspel som underflikar med rosa boll (skiljer sig från Herr/Dam bredvid) */
body.es-sub .ebs .stat-hero-bar .team-hero__tabs { align-items: center; gap: 18px; padding: 0 6px; background: none !important; box-shadow: none !important; border: 0; }
body.es-sub .ebs .stat-hero-bar .team-tab-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 2px; border-radius: 0; background: none !important; color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; }
body.es-sub .ebs .stat-hero-bar .team-tab-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background-color .15s; }
body.es-sub .ebs .stat-hero-bar .team-tab-btn:hover { color: var(--ink, #001D5A); }
body.es-sub .ebs .stat-hero-bar .team-tab-btn:hover::before { background: rgba(233, 162, 26, .55); }
body.es-sub .ebs .stat-hero-bar .team-tab-btn.active { color: var(--ink, #001D5A); }
body.es-sub .ebs .stat-hero-bar .team-tab-btn.active::before { background: #E9A21A; }
/* Hörnor enligt skiss K3: reglagen tillsammans till vänster, Vänster/Höger som etiketter utan band, luft mellan grupperna */
.ebs .corner-ctrl { justify-content: flex-start; gap: 20px; }
.ebs .corner-side { margin-right: 0; }
body.es-sub .ebs .corners thead tr.corners__sides th,
body.es-sub .ebs .corners thead tr.corners__groups th { background: var(--ebs-head) !important; box-shadow: none !important; padding-top: 10px; padding-bottom: 2px; font: 700 11px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; color: var(--muted, #4D5B70); }
body.es-sub .ebs .corners .g-first { padding-left: 32px; }
body.es-sub .ebs .corners tbody td.g-def { background: none; }
/* Målvakter: "Mindre speltid" avdelas som en egen rubrikrad med luft ovanför (i stället för strecket) */
body.es-sub .ebs .stat-divider { margin-top: 28px; padding: 14px 20px 12px; background: var(--ebs-head); border-top: 0; font: 900 15.2px/1.2 var(--font-display); letter-spacing: normal; color: var(--ink, #001D5A); }
body.es-sub .ebs .stat-divider span { font: 700 11px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; color: var(--muted, #4D5B70); }
/* Under avdelaren (mindre speltid) finns ingen ledare – ingen rosa rad */
body.es-sub .ebs .stat-divider ~ * tbody tr.is-top { background-image: none; }
body.es-sub .ebs .stat-divider ~ * tbody tr.is-top .c-pos { color: var(--ebs-muted); }
@media (max-width: 720px) {
	body.es-sub .ebs .stat-divider ~ * tbody tr.is-top .c-pos,
	body.es-sub .ebs .stat-divider ~ * tbody tr.is-top .c-team { background: #FFFFFF; }
}
/* Hörnor: reglagen tillsammans till höger */
.ebs .corner-ctrl { justify-content: flex-end; }
/* Tabellsidan mobil: alla kolumner, sidsvep, # och lag ligger fast; poängen direkt efter laget */
@media (max-width: 768px) {
	body.es-sub .ebs .standings-list { overflow-x: auto; overscroll-behavior-x: none; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	body.es-sub .ebs .standings-list::-webkit-scrollbar { display: none; }
	body.es-sub .ebs .standings-list .standings-row { min-width: 600px; padding-left: 0; padding-right: 12px; }
	body.es-sub .ebs .standings-list .standings-row > div:nth-child(4),
	body.es-sub .ebs .standings-list .standings-row > div:nth-child(5),
	body.es-sub .ebs .standings-list .standings-row > div:nth-child(6),
	body.es-sub .ebs .standings-list .standings-row > .goals { display: block !important; }
	body.es-sub .ebs .standings-list .standings-row > .rank { order: -3; position: sticky; left: 0; z-index: 2; flex: 0 0 34px; width: 34px; align-self: stretch; display: flex; align-items: center; padding-left: 12px; }
	body.es-sub .ebs .standings-list .standings-row > .team { order: -2; position: sticky; left: 34px; z-index: 2; flex: 0 0 150px !important; width: 150px; align-self: stretch; display: flex; align-items: center; box-shadow: 8px 0 10px -8px rgba(0, 29, 90, 0.175); }
	body.es-sub .ebs .standings-list .standings-row > .stat:last-child { order: -1; flex: 0 0 44px; text-align: center; font-weight: 800; }
	body.es-sub .ebs .standings-list .standings-row > .stat,
	body.es-sub .ebs .standings-list .standings-row > .goals { flex: 1 0 48px; text-align: center; }
	body.es-sub .ebs .standings-list .standings-row > .team a,
	body.es-sub .ebs .standings-list .standings-row > .team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	/* fasta cellernas täckande ton = radens ton */
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head) > .rank,
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head) > .team { background: #FFFFFF; }
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head):not(.active):nth-child(even) { background: #FFFFFF !important; }
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head):nth-child(even) > .rank,
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head):nth-child(even) > .team { background: #FFFFFF; }
	body.es-sub .ebs .standings-list .standings-row.active > .rank { background: linear-gradient(90deg, #E9A21A, #E9A21A); }
	body.es-sub .ebs .standings-list .standings-row.active > .team { background: linear-gradient(90deg, #E9A21A, #a21c5a); }
	body.es-sub .ebs .standings-list .standings-head > .rank,
	body.es-sub .ebs .standings-list .standings-head > .team { background: #FFFFFF; }
	/* zonstrecket följer med de fasta cellerna */
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head)::before { z-index: 3; position: sticky; left: 0; flex: 0 0 3px; margin-right: -3px; align-self: stretch; order: -4; }
	/* Totalt/Hemma/Borta och lagstatistiken på samma rad */
	body.es-sub .ebs .league-table__bar { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; }
	body.es-sub .ebs .league-table__bar .stat-subtabs { gap: 14px; padding: 0; min-width: 0; flex: 0 1 auto; overflow-x: auto; scrollbar-width: none; }
	body.es-sub .ebs .league-table__bar .league-table__more { justify-content: flex-end; flex: 0 0 auto; white-space: nowrap; }
	body.es-sub .ebs .league-table__bar .league-table__more .ltm-word { display: none; }
}

/* Svepbara tabeller på mobil: det som sveps in under de fasta kolumnerna ska aldrig synas eller krocka.
   Randen blir platt (ingen fade) så att fasta cellernas ton är exakt radens ton i hela svepet,
   alla rubrikrader har fasta celler och kanten markeras med skugga i stället för streck.
   Raderna är täckande (sidans bakgrundsglöd ligger fast i fönstret och skulle annars skilja sig från de fasta cellerna). */
@media (max-width: 768px) {
	body.es-sub .ebs .statlist tbody tr,
	body.es-sub .ebs .statlist tbody tr.is-top { background-color: #FFFFFF; }
	body.es-sub .ebs .standings-list .standings-row:not(.standings-head):not(.active) { background-color: #FFFFFF; }
	body.es-sub .ebs .statlist tbody tr.is-alt { background: #FFFFFF !important; }
	body.es-sub .ebs .statlist tbody .c-pos,
	body.es-sub .ebs .statlist tbody .c-team { background: #FFFFFF; }
	body.es-sub .ebs .statlist tbody tr.is-alt .c-pos,
	body.es-sub .ebs .statlist tbody tr.is-alt .c-team { background: #FFFFFF; }
	body.es-sub .ebs .statlist thead tr > :first-child { position: sticky; left: 0; z-index: 3; background: var(--ebs-head); }
	body.es-sub .ebs .statlist .c-team,
	body.es-sub .ebs .statlist thead tr > :first-child[colspan="2"] { box-shadow: 10px 0 12px -8px rgba(0, 29, 90, 0.262); }
	body.es-sub .ebs .statlist thead .c-team { z-index: 3; }
	body.es-sub .ebs .statlist .c-team + * { padding-left: 14px; }
	body.es-sub .ebs .table-scroll { overscroll-behavior-x: none; }
}
@media (max-width: 768px) {
	body.es-sub .ebs .table-scroll,
	body.es-sub .ebs .standings-list { scroll-snap-type: x mandatory; }
	body.es-sub .ebs .statlist thead tr:last-child > th,
	body.es-sub .ebs .standings-list .standings-head > * { scroll-snap-align: start; }
	body.es-sub .ebs .statlist .c-team,
	body.es-sub .ebs .statlist thead tr > :first-child[colspan="2"],
	body.es-sub .ebs .standings-list .standings-row > .team { box-shadow: none; transition: box-shadow .15s; }
	body.es-sub .ebs .is-swiped .statlist .c-team,
	body.es-sub .ebs .is-swiped .statlist thead tr > :first-child[colspan="2"],
	body.es-sub .ebs .standings-list.is-swiped .standings-row > .team { box-shadow: 8px 0 10px -4px rgba(0, 29, 90, 0.193); }
}

/* Lagnamn i tabellen: fullt namn, förkortning bara på tabellsidan i mobil (fälls ut med "Lag" i rubriken) */
.ebs .t-s,
.ebs .lt-names,
.t-s { display: none; }
@media (max-width: 768px) {
	body.es-sub .ebs .standings-list .lt-head { display: none; }
	body.es-sub .ebs .standings-list .lt-names { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
	body.es-sub .ebs .standings-list .lt-names:focus { outline: none; }
	body.es-sub .ebs .standings-list .lt-names:focus-visible { outline: 2px solid #E9A21A; outline-offset: 2px; border-radius: 4px; }
	body.es-sub .ebs .standings-list .lt-names__ico { width: 7px; height: 7px; border-right: 2px solid #E9A21A; border-bottom: 2px solid #E9A21A; transform: rotate(-45deg); transition: transform .2s; }
	body.es-sub .ebs .standings-list.show-names .lt-names__ico { transform: rotate(135deg); }
	body.es-sub .ebs .standings-list:not(.show-names) .standings-row > .team { flex: 0 0 96px !important; width: 96px; }
	body.es-sub .ebs .standings-list:not(.show-names) .t-l { display: none; }
	body.es-sub .ebs .standings-list:not(.show-names) .t-s { display: inline; letter-spacing: .02em; }
	body.es-sub .ebs .standings-list.show-names .standings-row > .team { flex: 0 0 172px !important; width: 172px; }
	body.es-sub .ebs .standings-list .standings-row > .team { transition: flex-basis .2s, width .2s; }
	body.es-sub .ebs .standings-list:not(.show-names) .standings-row { min-width: 520px; }
}

/* Statistik: hela säsongen / grundserie / slutspel (syns när slutspelet har börjat) */
.ebs .stat-hero-bar .season-nav { gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.ebs .stat-hero-bar .season-nav__del { margin: 0; max-width: 100%; }
.ebs .stat-hero-bar .season-nav__del a { white-space: nowrap; }
@media (max-width: 480px) {
	.ebs .stat-hero-bar .season-nav__del a { padding-left: .7rem; padding-right: .7rem; font-size: .72rem; }
}
/* Mobil: ledarens rosa tonar ut inom de fasta kolumnerna (# och namn) och slutar i radens egen ton.
   Förut tonade cellerna ut till en mörk ton medan resten av raden hade en egen, ljusare fade – en tydlig kant vid de fasta kolumnerna. */
@media (max-width: 768px) {
	body.es-sub .ebs .statlist tbody tr.is-top { background-image: none !important; background-color: #FFFFFF; }
	body.es-sub .ebs .statlist tbody tr.is-top .c-pos { background: #E9A21A !important; }
	body.es-sub .ebs .statlist tbody tr.is-top .c-team { background: linear-gradient(90deg, #E9A21A, #FFFFFF) !important; }
	body.es-sub .ebs .statlist--team tbody tr.is-top .c-pos,
	body.es-sub .ebs .statlist--team tbody tr.is-top .c-team,
	body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top .c-pos,
	body.es-sub .ebs #panel-minuter .statlist tbody tr.is-top .c-team,
	body.es-sub .ebs .stat-divider ~ * tbody tr.is-top .c-pos,
	body.es-sub .ebs .stat-divider ~ * tbody tr.is-top .c-team { background: #FFFFFF !important; }
}

/* ---- Från Elitseriens style.css ---- */
body.ebs-page .series-switch { display: inline-flex; background: var(--blue-dark); padding: 3px; border-radius: 999px; border: 1px solid var(--border); gap: 2px; }
body.ebs-page .series-switch a { padding: .35rem .85rem; border-radius: 999px; color: var(--text-muted); text-decoration: none; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; transition: background .15s, color .15s; }
body.ebs-page .series-switch a.active { background: var(--accent); color: #fff; }
body.ebs-page .series-switch a:hover:not(.active) { background: rgba(0, 29, 90, 0.02); color: var(--ink, #001D5A); }
body.ebs-page .table-logo { width: 22px; height: 22px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)); }
body.ebs-page .elit-ui-wrap { color: var(--text); }
body.ebs-page .elit-ui-card { background: var(--blue-mid); background: linear-gradient(180deg, #FFFFFF, rgb(0 0 0 / 24%)); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0, 29, 90, 0.053); overflow: hidden; }
body.ebs-page .elit-ui-card-inner, body.ebs-page .elit-ui-header { padding: 1rem 1.25rem; }
body.ebs-page .elit-ui-header { border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--surface-dark); border-radius: .375rem .375rem 0 0; gap: .5rem; }
body.ebs-page .elit-ui-title { margin: 0; font-size: .95rem; }
body.ebs-page .standings-list, body.ebs-page .standings-list-sm { overflow: hidden; background: linear-gradient( 180deg, rgba(0, 61, 166, 0.024), rgba(0, 29, 90, 0.042) ); backdrop-filter: blur(10px); }
body.ebs-page .standings-row { position: relative; min-height: 64px; padding: 0 1.25rem; color: var(--text); border-bottom: 1px solid var(--border); transition: .2s ease; }
body.ebs-page .standings-row:not(.standings-head):before { content: ""; width: 3px; position: absolute; left: 0; top: 0; bottom: 0; }
body.ebs-page .standings-row.top-6:before { background: #003DA6; }
body.ebs-page .standings-row:not(.standings-head):nth-child(8):before, body.ebs-page .standings-row:not(.standings-head):nth-child(9):before, body.ebs-page .standings-row:not(.standings-head):nth-child(10):before, body.ebs-page .standings-row:not(.standings-head):nth-child(11):before { background: #8AB0F2; }
body.ebs-page .standings-row:not(.standings-head):nth-child(13):before, body.ebs-page .standings-row:not(.standings-head):nth-child(14):before { background: #FFFFFF; }
body.ebs-page .standings-row:not(.standings-head):nth-child(15):before { background: #E9A21A; }
body.ebs-page .standings-row:not(.standings-head):nth-child(odd) { background: var(--row-a); }
body.ebs-page .standings-row:not(.standings-head):nth-child(even) { background: var(--row-b); }
body.ebs-page .standings-row.current { background: linear-gradient(90deg, rgba(233, 162, 26, 1), rgba(0, 29, 90, 0.02)) !important; }
body.ebs-page .standings-row:not(.standings-head):hover { background: rgba(138, 176, 242,.08); transform: translateY(-1px); }
body.ebs-page .standings-list-sm .standings-row { min-height: 44px; }
body.ebs-page .standings-list-sm .table-logo { width: 24px; height: 24px; }
body.ebs-page .standings-head { position: sticky; top: 0; z-index: 10; min-height: 58px; background: var(--surface-dark); color: var(--text-muted); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid rgba(0, 29, 90, 0.072); }
body.ebs-page .standings-row.active { background: rgba(138, 176, 242,.10) ; background: linear-gradient(90deg, rgba(233, 162, 26, 1), rgba(0, 29, 90, 0.02)) !important; }
body.ebs-page .table-rank { width: 28px; height: 28px; font-weight: 700; }
body.ebs-page .rank { width: 40px; flex-shrink: 0; }
body.ebs-page .team { min-width: 0; }
body.ebs-page .team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
body.ebs-page .stat, body.ebs-page .goals { font-variant-numeric: tabular-nums; text-align: right; }
body.ebs-page .stat { width: 52px; }
body.ebs-page .goals { width: 78px; }
body.ebs-page .points { font-weight: 800; }
body.ebs-page .table-logo { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
@media (max-width: 768px) {
body.ebs-page .standings-row { min-height: 48px; padding: 0 .9rem; }
body.ebs-page .standings-list-sm .standings-row > div:nth-child(4) { display: none; }
body.ebs-page .standings-list .standings-row > div:nth-child(4), body.ebs-page .standings-list .standings-row > div:nth-child(5), body.ebs-page .standings-list .standings-row > div:nth-child(6), body.ebs-page .standings-list .goals { display: none; }
body.ebs-page .rank { width: 30px; }
body.ebs-page .table-logo { width: 26px; height: 26px; }
body.ebs-page .team span { font-size: .95rem; }
body.ebs-page .points { width: 42px; }
body.ebs-page .standings-head { font-size: .72rem; }
}
body.ebs-page .profixio-playoff { width: 100%; }
body.ebs-page .playoff-round { margin-bottom: 2rem; }
body.ebs-page .playoff-round-title { text-align: center; font-size: .82rem; font-weight: 800; letter-spacing: .08em; min-height: 48px; padding: 0 .9rem; text-transform: uppercase; color: var(--text-muted); background: var(--surface-dark); display: flex; align-items:center; justify-content:center; }
@media (max-width: 768px) {
body.ebs-page .playoff-round-title { font-size: .72rem; }
}
body.ebs-page .playoff-card { display: grid; grid-template-columns: 1fr 140px 1fr; align-items: center; gap: 12px 16px; color: var(--ink, #001D5A); text-decoration: none; padding: .875rem 1.25rem; transition: background .15s; }
body.ebs-page .playoff-card:nth-child(odd) { background: var(--row-a); }
body.ebs-page .playoff-card:nth-child(even) { background: var(--row-b); }
body.ebs-page .playoff-card:hover { background: rgba(138, 176, 242,.08); transform: translateY(-1px); }
body.ebs-page .playoff-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.ebs-page .playoff-team.right { justify-content: flex-end; text-align: right; }
body.ebs-page .playoff-team img { width: 26px; height: 26px; object-fit: contain; flex: 0 0 auto; }
body.ebs-page .playoff-team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
body.ebs-page .playoff-team.winner .playoff-team-name { font-weight: 700; }
body.ebs-page .playoff-score { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; text-align: center; gap: 6px; }
body.ebs-page .playoff-wins { font-size: 1.35rem; font-weight: 800; line-height: 1; }
body.ebs-page .playoff-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #4D5B70); line-height: 1.2; }
@media (max-width: 575px) {
body.ebs-page .playoff-card { grid-template-columns: 1fr 72px 1fr; gap: 8px; padding: .65rem .75rem; }
body.ebs-page .playoff-team img { width: 20px; height: 20px; }
body.ebs-page .playoff-team-name { font-size: .75rem; }
body.ebs-page .playoff-wins { font-size: 1.1rem; }
body.ebs-page .playoff-score { grid-template-columns: 22px 1fr 22px; gap: 4px; }
body.ebs-page .playoff-label { font-size: .6rem; }
}
@media (min-width: 576px) and (max-width: 767px) {
body.ebs-page .playoff-card { grid-template-columns: 1fr 100px 1fr; padding: .75rem 1rem; }
body.ebs-page .playoff-team-name { font-size: .85rem; }
body.ebs-page .playoff-wins { font-size: 1.2rem; }
}
body.ebs-page .team-row { display:flex; align-items:center; }
body.ebs-page .team-logo { width:36px; height:36px; object-fit:contain; flex:0 0 auto; filter: drop-shadow(0 1px 0 rgba(0,0,0,.2)); padding: 5px; border-radius: 200px; background-color: rgba(0, 29, 90, 0.035); }
body.ebs-page .team-content { background: var(--blue-mid); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0, 29, 90, 0.053); border-radius: .375rem; }
body.ebs-page .team-content .wp-post-image { width: 80px; height: 80px; object-fit: contain; }
body.ebs-page .team-archive__header { border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
body.ebs-page .team-archive__group-title { text-transform: uppercase; font-size: 1rem; letter-spacing: .06em; }
body.ebs-page .team-archive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .75rem; }
body.ebs-page .team-archive__item { display: flex; min-height: 9rem; align-items: center; justify-content: center; flex-direction: column; gap: .75rem; padding: 1rem .75rem; color: var(--text); text-align: center; text-decoration: none; background: var(--row-b); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 29, 90, 0.042); transition: background .15s, transform .15s; }
body.ebs-page .team-archive__item:hover, body.ebs-page .team-archive__item:focus { color: var(--text); background: var(--row-a); transform: translateY(-2px); }
body.ebs-page .team-archive__logo { display: flex; width: 4.5rem; height: 4.5rem; align-items: center; justify-content: center; }
body.ebs-page .team-archive__logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .22)); }
body.ebs-page .team-archive__name { font-weight: 700; line-height: 1.15; font-size: .85rem; }
body.ebs-page .team-item { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; text-decoration: none; }
body.ebs-page .team-img-wrapper { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); }
body.ebs-page .team-img-wrapper:hover { filter: grayscale(0); }
body.ebs-page .team-img-wrapper img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); transition: filter .15s, transform .15s; }
body.ebs-page .team-item:hover .team-img-wrapper img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); transform: scale(1.1); }
body.ebs-page .team-news-feed { margin-top: 1rem; }
body.ebs-page .team-news-card { margin-bottom: 8px; }
body.ebs-page .team-news-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; text-decoration: none; color: inherit; background: linear-gradient(90deg, rgba(0, 29, 90, 0.054), rgba(0, 29, 90, 0.02)); border: 1px solid rgba(0, 29, 90, 0.054); border-radius: .5rem; transition: transform .2s ease, background .2s ease; }
body.ebs-page .team-news-link:hover { transform: translateY(-2px); background: linear-gradient(180deg, rgba(15, 68, 82, .35), rgba(7, 39, 48, .25)); }
body.ebs-page .team-news-image-wrap { width: 90px; min-width: 90px; height: 70px; overflow: hidden; border-radius: 10px; flex-shrink: 0; }
body.ebs-page .team-news-image { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ebs-page .team-news-content { min-width: 0; flex: 1; }
body.ebs-page .team-news-date { font-size: .75rem; color: var(--muted, #4D5B70); margin-bottom: 4px; }
body.ebs-page .team-news-title { margin: 0; font-size: .95rem; line-height: 1.3; font-weight: 700; color: var(--ink, #001D5A); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.ebs-page .team-news-excerpt { margin: 6px 0 0; font-size: .84rem; line-height: 1.4; color: var(--muted, #4D5B70); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px) {
body.ebs-page .team-hero { padding-top: 1.5rem; padding-bottom: 1.5rem; }
body.ebs-page .team-hero__logo img { width: 64px; height: 64px; }
body.ebs-page .team-hero__tabs { border-radius: .75rem; }
body.ebs-page .team-tab-btn { flex: 1 1 auto; font-size: .75rem; padding: .4rem .6rem; }
}
@media (max-width: 575.98px) {
body.ebs-page .elit-ui-card-inner, body.ebs-page .elit-ui-header { padding: .75rem 1rem; }
body.ebs-page .team-news-link { flex-direction: column; gap: 8px; }
body.ebs-page .team-news-image-wrap { width: 100%; height: 140px; border-radius: 8px; }
body.ebs-page .team-archive__grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
body.ebs-page .team-archive__item { min-height: 7.5rem; padding: .75rem .5rem; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
body.ebs-page .team-archive__grid { grid-template-columns: repeat(3, 1fr); }
body.ebs-page .team-news-image-wrap { width: 95px; min-width: 95px; height: 72px; }
}
@media (max-width: 767.98px) {
body.ebs-page .table-logo { width: 18px; height: 18px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
body.ebs-page .team-archive__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
body.ebs-page .team-archive__grid { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
}
body.ebs-page .btn, body.ebs-page .nav-link, body.ebs-page a.elit-ui-button, body.ebs-page .series-switch a { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
body.ebs-page .btn, body.ebs-page .card, body.ebs-page .team-archive__item, body.ebs-page .team-news-link { transition-duration: .15s; transition-timing-function: ease; }
body.ebs-page .team-hero {  }
body.ebs-page .team-hero__inner { display: flex; flex-direction: column; align-items: center; gap: .875rem; }
body.ebs-page .team-hero__logo img { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35)); }
body.ebs-page .team-hero__title { margin: 0; font-size: clamp(2.5rem, 5vw, 5.5rem); letter-spacing: 1px; }
body.ebs-page .team-hero__subtitle { margin-top: -1em; font-size: clamp(1.5rem, 5vw, 2.5rem); margin-bottom: .5em; font-family: 'Satisfied_Brush', "trade-gothic-next-condensed", sans-serif; font-weight: 400; color: var(--accent); }
body.ebs-page .team-hero--page .team-hero__inner { padding-top: .5rem; }
body.ebs-page .team-hero__tabs { display: flex; gap: 4px; background: var(--blue-dark); padding: 4px; border-radius: 999px; border: 1px solid var(--border); flex-wrap: wrap; justify-content: center; }
body.ebs-page .team-tab-btn { padding: .4rem 1.1rem; border-radius: 999px; border: none; background: transparent; color: var(--text-muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; min-height: 36px; }
body.ebs-page .team-tab-btn:hover { background: rgba(0, 29, 90, 0.02); color: var(--ink, #001D5A); }
body.ebs-page .team-tab-btn.active { background: var(--accent); color: #fff; }
body.ebs-page .team-description { max-width: 700px; margin-left: auto; margin-right: auto; font-size: .95rem; line-height: 1.65; color: var(--text-muted); }
body.ebs-page .match-hero { border-bottom: 1px solid var(--border); padding: 2rem 0 2.5rem; }
body.ebs-page .match-hero__meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: 1.5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
body.ebs-page .match-hero__category { color: var(--accent); font-weight: 700; }
body.ebs-page .match-hero__date, body.ebs-page .match-hero__venue { color: var(--text-muted); }
@media (max-width: 575.98px) {
body.ebs-page .match-hero { padding: 1.25rem 0 1.75rem; }
}
body.ebs-page .matches-head__in > .team-hero__title { margin-bottom: 24px; }
body.ebs-page .matches-archive .team-archive__header { margin-bottom: 24px !important; }
body.ebs-page .matches-bar .series-switch { margin: 0; }
@media (max-width: 720px) {
body.ebs-page .matches-archive .team-archive__header { margin-bottom: 20px !important; }
}
body.ebs-page .ebs-matcher .mlist__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 20px; }
body.ebs-page .ebs-matcher .mlist__filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
body.ebs-page .ebs-matcher .mlist__filters .series-switch { margin: 0; }
body.ebs-page .ebs-matcher .mlist__filters .filter select { height: 44px; min-height: 44px; padding-left: 16px; }
body.ebs-page .ebs-matcher .mlist__status { padding: 40px 0; text-align: center; color: var(--ebs-muted); }
body.ebs-page .ebs-matcher .mlist__empty { padding: 32px 0; text-align: center; color: var(--ebs-muted); }
body.ebs-page .ebs-matcher .mlist { display: flex; flex-direction: column; gap: 16px; }
body.ebs-page .ebs-matcher .mlist__day .stat-card__head { padding: 14px 20px; }
body.ebs-page .ebs-matcher .mlist__day .elit-ui-title { margin: 0; font-size: 15.2px; }
body.ebs-page .ebs-matcher .mrow { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 6px 20px; color: var(--ink, #001D5A); text-decoration: none; font: 600 14px/1.3 var(--font-body); }
body.ebs-page .ebs-matcher .mrow:nth-child(even) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.ebs-page .ebs-matcher .mrow:hover { background: linear-gradient(90deg, rgba(0, 61, 166, 0.11), rgba(0, 61, 166, 0.02)); color: var(--ink, #001D5A); }
body.ebs-page .ebs-matcher .mrow:focus-visible { outline: 2px solid #E9A21A; outline-offset: -2px; }
body.ebs-page .ebs-matcher .mrow__team { display: flex; align-items: center; gap: 12px; min-width: 0; }
body.ebs-page .ebs-matcher .mrow__team--home { justify-content: flex-end; text-align: right; }
body.ebs-page .ebs-matcher .mrow__crest { flex: 0 0 28px; width: 28px; height: 28px; object-fit: contain; }
body.ebs-page .ebs-matcher .mrow__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-matcher .mrow__name.is-sel { font-weight: 800; }
body.ebs-page .ebs-matcher .mrow__name .n-s { display: none; }
body.ebs-page .ebs-matcher .mrow__mid { display: flex; justify-content: center; }
body.ebs-page .ebs-matcher .mrow__score { min-width: 64px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 61, 166, 0.056); color: var(--muted, #4D5B70); font: 700 13px/1.3 var(--font-body); text-align: center; font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-matcher .mrow__score.is-played { color: var(--ink, #001D5A); font-weight: 800; font-size: 15px; }
body.ebs-page .ebs-matcher .mrow__mid:has(.mrow__ser) { flex-direction: column; align-items: center; gap: 3px; }
body.ebs-page .ebs-matcher .mrow__ser { padding: 3px 8px; border-radius: 999px; background: rgba(0, 29, 90, 0.077); color: var(--muted, #4D5B70); font: 700 10px/1.1 var(--font-body); }
body.ebs-page .ebs-matcher .mrow__ser--dam { background: rgba(233, 162, 26, .22); color: var(--gold-text, #A86F00); }
@media (max-width: 767.98px) {
body.ebs-page .ebs-matcher .mlist__bar { gap: 12px; }
body.ebs-page .ebs-matcher .mlist__bar .stat-subtabs { gap: 18px; }
body.ebs-page .ebs-matcher .mlist__filters { width: 100%; margin-left: 0; }
body.ebs-page .ebs-matcher .mlist__filters .filter { flex: 1 1 auto; }
body.ebs-page .ebs-matcher .mlist__filters .filter select { width: 100%; }
body.ebs-page .ebs-matcher .mlist__day .stat-card__head { padding: 12px 16px; }
body.ebs-page .ebs-matcher .mrow { grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); gap: 8px; min-height: 52px; padding: 6px 12px; }
body.ebs-page .ebs-matcher .mrow__team { gap: 8px; }
body.ebs-page .ebs-matcher .mrow__crest { flex-basis: 24px; width: 24px; height: 24px; }
body.ebs-page .ebs-matcher .mrow__score { min-width: 0; width: 100%; }
}
@media (max-width: 479.98px) {
body.ebs-page .ebs-matcher .mrow__name .n-l { display: none; }
body.ebs-page .ebs-matcher .mrow__name .n-s { display: inline; letter-spacing: .02em; }
}
body.ebs-page .ebs-eyebrow { display: block; margin: 0 0 6px; color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; }
body.ebs-page .match-hero .mh__meta { margin-bottom: 20px; }
body.ebs-page .match-hero .mh__board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; max-width: 920px; margin: 0 auto; }
body.ebs-page .match-hero .mh__team { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; color: var(--ink, #001D5A); text-decoration: none; }
body.ebs-page .match-hero a.mh__team:hover .mh__name { text-decoration: underline; }
body.ebs-page .match-hero .mh__team .crest { width: 96px; height: 96px; font-size: 1.1rem; }
body.ebs-page .match-hero .mh__name { max-width: 100%; color: var(--ink, #001D5A); font: 900 26px/1.05 var(--font-display); text-transform: uppercase; overflow-wrap: break-word; }
body.ebs-page .match-hero .mh__center { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 180px; }
body.ebs-page .match-hero .mh__score { display: flex; align-items: center; gap: 14px; color: var(--ink, #001D5A); font: 900 96px/.9 var(--font-display); font-variant-numeric: tabular-nums; }
body.ebs-page .match-hero .mh__score.is-empty { display: none; }
body.ebs-page .match-hero .mh__dash { color: var(--faint, #677589); }
body.ebs-page .match-hero .mh__kickoff { color: var(--ink, #001D5A); font: 900 64px/.9 var(--font-display); font-variant-numeric: tabular-nums; }
body.ebs-page .match-hero .mh__status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(0, 61, 166, 0.056); color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; }
body.ebs-page .match-hero .mh__dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
body.ebs-page .match-hero .mh__status--live { background: #E9A21A; color: #fff; }
body.ebs-page .match-hero .mh__status--live .mh__dot { display: inline-block; animation: es-pulse 1.4s ease-in-out infinite; }
body.ebs-page .match-hero .mh__status--finished { color: var(--ink, #001D5A); }
body.ebs-page .match-hero .mh__status .is-clock { font-variant-numeric: tabular-nums; }
body.ebs-page .match-hero .mh__countdown { display: inline-flex; gap: 10px; margin: 28px auto 0; }
body.ebs-page .match-hero .mh__countdown[hidden] { display: none; }
body.ebs-page .match-hero .cd-u { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 10px 6px 8px; border-radius: 8px; background: rgba(0, 61, 166, 0.056); box-shadow: 0 6px 16px rgba(0, 29, 90, 0.088); }
body.ebs-page .match-hero .cd-u[hidden] { display: none; }
body.ebs-page .match-hero .cd-u b { color: var(--ink, #001D5A); font: 900 32px/1 var(--font-display); font-variant-numeric: tabular-nums; }
body.ebs-page .match-hero .cd-u small { margin-top: 4px; color: var(--muted, #4D5B70); font: 700 10px/1.3 var(--font-body); letter-spacing: .6px; text-transform: uppercase; }
body.ebs-page .match-jump { position: sticky; top: 0; z-index: 40; margin-top: 32px; background: #FFFFFF; box-shadow: 0 8px 18px -10px rgba(0, 29, 90, 0.21); }
body.ebs-page .match-jump .match-jump__inner { justify-content: center; gap: 24px; padding: 4px 0; }
body.ebs-page .match-jump .match-jump__inner [role="tab"] { text-decoration: none; }
body.ebs-page .match-jump .match-jump__inner [hidden] { display: none; }
body.ebs-page .ebs-match { scroll-margin-top: 80px; }
body.ebs-page .ebs-match .match-card { scroll-margin-top: 90px; }
body.ebs-page .ebs-match .match-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
body.ebs-page .ebs-match .match-main, body.ebs-page .ebs-match .match-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
body.ebs-page .ebs-match #s-lineup { margin-top: 16px; }
body.ebs-page .ebs-match .match-empty { margin: 0; padding: 20px; color: var(--muted, #4D5B70); }
body.ebs-page .ebs-match .timeline { margin: 0; padding: 0; list-style: none; }
body.ebs-page .ebs-match .timeline[hidden] { display: none; }
body.ebs-page .ebs-match .timeline__empty { padding: 20px; color: var(--muted, #4D5B70); }
body.ebs-page .ebs-match .tl { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 52px; padding: 8px 20px; }
body.ebs-page .ebs-match .tl:nth-child(even) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.ebs-page .ebs-match .tl__time { color: var(--muted, #4D5B70); font: 700 13px/1.3 var(--font-body); font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .tl__body { display: flex; align-items: center; gap: 12px; min-width: 0; }
body.ebs-page .ebs-match .tl__badge { flex: none; min-width: 60px; padding: 5px 10px; border-radius: 999px; background: #fff; color: #001542; font: 800 13px/1.3 var(--font-body); text-align: center; font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .tl__badge--pen { background: var(--es-loss); color: #fff; }
body.ebs-page .ebs-match .tl__text { display: flex; flex-direction: column; min-width: 0; color: var(--ink, #001D5A); font: 600 14px/1.35 var(--font-body); }
body.ebs-page .ebs-match .tl__text strong { font-weight: 700; }
body.ebs-page .ebs-match .tl__assist { color: var(--muted, #4D5B70); font-weight: 500; }
body.ebs-page .ebs-match .tl__sub { color: var(--muted, #4D5B70); font: 500 12px/1.4 var(--font-body); }
body.ebs-page .ebs-match .tl--period { min-height: 40px; background: rgba(0, 29, 90, 0.066) !important; }
body.ebs-page .ebs-match .tl__text--period { color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; }
body.ebs-page .ebs-match .tl--raw { min-height: 44px; }
body.ebs-page .ebs-match .tl--raw .tl__text strong { font-weight: 600; }
body.ebs-page .ebs-match .tl--raw.tl--goal .tl__text strong { font-weight: 800; }
body.ebs-page .ebs-match .timeline-more { display: flex; align-items: center; justify-content: center; width: 100%; }
body.ebs-page .ebs-match .mstats { padding: 8px 20px 20px; }
body.ebs-page .ebs-match .mstats__head { display: flex; justify-content: space-between; padding: 8px 0 4px; color: var(--muted, #4D5B70); font: 800 12px/1.5 var(--font-body); letter-spacing: .72px; }
body.ebs-page .ebs-match .mstat { padding: 10px 0 6px; }
body.ebs-page .ebs-match .mstat__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; }
body.ebs-page .ebs-match .mstat__v { color: var(--ink, #001D5A); font: 800 16px/1.2 var(--font-body); font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .mstat__v[data-side="away"] { text-align: right; }
body.ebs-page .ebs-match .mstat__label { color: var(--muted, #4D5B70); font: 600 12px/1.4 var(--font-body); text-align: center; }
body.ebs-page .ebs-match .mstat__bar { display: flex; gap: 4px; height: 6px; margin-top: 8px; }
body.ebs-page .ebs-match .mstat__fill { display: block; height: 100%; min-width: 2px; border-radius: 3px; transition: width .4s; }
body.ebs-page .ebs-match .mstat__fill--home { background: #C2D2EC; }
body.ebs-page .ebs-match .mstat__fill--away { background: #003DA6; }
body.ebs-page .ebs-match .mfacts { display: flex; flex-direction: column; margin: 0; padding: 4px 0; }
body.ebs-page .ebs-match .mfacts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 20px; }
body.ebs-page .ebs-match .mfacts > div:nth-child(even) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.ebs-page .ebs-match .mfacts dt { color: var(--muted, #4D5B70); font: 700 11px/1.6 var(--font-body); letter-spacing: .66px; text-transform: uppercase; }
body.ebs-page .ebs-match .mfacts dd { margin: 0; color: var(--ink, #001D5A); font: 600 14px/1.45 var(--font-body); }
body.ebs-page .ebs-match .mclip { display: block; width: 100%; padding: 16px 20px 20px; border: 0; background: none; color: var(--ink, #001D5A); text-align: left; cursor: pointer; }
body.ebs-page .ebs-match .mclip__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #FFFFFF; }
body.ebs-page .ebs-match .mclip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
body.ebs-page .ebs-match .mclip:hover .mclip__media img { transform: scale(1.03); }
body.ebs-page .ebs-match .mclip__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: #E9A21A; box-shadow: 0 6px 16px rgba(0, 29, 90, 0.122); }
body.ebs-page .ebs-match .mclip__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
body.ebs-page .ebs-match .mclip__dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 29, 90, 0.096); color: var(--ink, #001D5A); font: 700 12px/1.5 var(--font-body); }
body.ebs-page .ebs-match .mclip__title { display: block; margin-top: 10px; font: 700 14px/1.35 var(--font-body); }
body.ebs-page .ebs-match .mclip:focus-visible { outline: 2px solid #E9A21A; outline-offset: -2px; }
body.ebs-page .ebs-match .lineups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
body.ebs-page .ebs-match .lineup { min-width: 0; padding-bottom: 16px; }
body.ebs-page .ebs-match .lineup__team { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 20px 10px; color: var(--ink, #001D5A); font: 900 20px/1.1 var(--font-display); text-transform: uppercase; }
body.ebs-page .ebs-match .lineup__list { margin: 0; padding: 0; list-style: none; }
body.ebs-page .ebs-match .lineup__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 6px 20px; }
body.ebs-page .ebs-match .lineup__list li:nth-child(even) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.ebs-page .ebs-match .lineup__no { color: var(--muted, #4D5B70); font: 800 13px/1 var(--font-body); font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .lineup__name { min-width: 0; color: var(--ink, #001D5A); font: 600 14px/1.35 var(--font-body); }
body.ebs-page .ebs-match .lineup__c { color: var(--muted, #4D5B70); text-decoration: none; }
body.ebs-page .ebs-match .lineup__pos { color: var(--muted, #4D5B70); font: 500 12px/1.3 var(--font-body); text-align: right; }
body.ebs-page .ebs-match .lineup__staff { margin: 10px 20px 0; color: var(--muted, #4D5B70); font: 500 13px/1.5 var(--font-body); }
body.ebs-page .ebs-match .lineup__staff b { color: var(--ink, #001D5A); font-weight: 700; }
body.ebs-page .ebs-match .pre { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px 20px 20px; }
body.ebs-page .ebs-match .pre__team { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
body.ebs-page .ebs-match .pre__name { display: flex; align-items: center; gap: 10px; color: var(--ink, #001D5A); font: 900 20px/1.1 var(--font-display); text-transform: uppercase; }
body.ebs-page .ebs-match .pre__facts { display: flex; gap: 20px; margin: 0; }
body.ebs-page .ebs-match .pre__facts dt { color: var(--muted, #4D5B70); font: 700 11px/1.5 var(--font-body); letter-spacing: .66px; text-transform: uppercase; }
body.ebs-page .ebs-match .pre__facts dd { margin: 0; color: var(--ink, #001D5A); font: 900 26px/1 var(--font-display); font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .pre__form { display: flex; align-items: center; gap: 10px; }
body.ebs-page .ebs-match .pre__lbl { color: var(--muted, #4D5B70); font: 700 11px/1.5 var(--font-body); letter-spacing: .66px; text-transform: uppercase; }
body.ebs-page .ebs-match .pre__form .form__i { width: 22px; height: 22px; border-radius: 4px; font-size: 10px; }
body.ebs-page .ebs-match .pre__h { margin: 0; padding: 12px 20px 8px; color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; }
body.ebs-page .ebs-match .pre__game { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 20px; color: var(--ink, #001D5A); text-decoration: none; font: 600 14px/1.3 var(--font-body); }
body.ebs-page .ebs-match .pre__game:nth-child(odd) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.ebs-page .ebs-match .pre__game:hover { background: linear-gradient(90deg, rgba(0, 61, 166, 0.11), rgba(0, 61, 166, 0.02)); color: var(--ink, #001D5A); }
body.ebs-page .ebs-match .pre__date { color: var(--muted, #4D5B70); font-size: 12px; }
body.ebs-page .ebs-match .pre__teams { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-match .pre__res { min-width: 56px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 61, 166, 0.056); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .pre__h2h { padding-bottom: 8px; }
@media (max-width: 991.98px) {
body.ebs-page .ebs-match .match-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
body.ebs-page .match-hero .mh__meta { margin-bottom: 16px; padding: 0 8px; }
body.ebs-page .match-hero .mh__board { gap: 10px; }
body.ebs-page .match-hero .mh__team { gap: 10px; }
body.ebs-page .match-hero .mh__team .crest { width: 60px; height: 60px; }
body.ebs-page .match-hero .mh__name { font-size: 16px; }
body.ebs-page .match-hero .mh__center { min-width: 0; gap: 10px; }
body.ebs-page .match-hero .mh__score { gap: 8px; font-size: 60px; }
body.ebs-page .match-hero .mh__kickoff { font-size: 44px; }
body.ebs-page .match-hero .mh__status { padding: 5px 10px; font-size: 11px; letter-spacing: .5px; }
body.ebs-page .match-hero .mh__countdown { gap: 8px; margin-top: 22px; }
body.ebs-page .match-hero .cd-u { min-width: 56px; }
body.ebs-page .match-hero .cd-u b { font-size: 26px; }
body.ebs-page .match-jump { margin-top: 24px; }
body.ebs-page .match-jump .match-jump__inner { justify-content: flex-start; gap: 18px; padding: 4px 16px; margin: 0 -12px; }
body.ebs-page .ebs-match .tl { grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding: 8px 14px; }
body.ebs-page .ebs-match .tl__time { font-size: 12px; }
body.ebs-page .ebs-match .tl__body { gap: 10px; }
body.ebs-page .ebs-match .tl__badge { min-width: 56px; padding: 4px 8px; font-size: 12px; }
body.ebs-page .ebs-match .mstats { padding: 6px 14px 16px; }
body.ebs-page .ebs-match .mfacts > div { grid-template-columns: 100px minmax(0, 1fr); padding: 10px 14px; }
body.ebs-page .ebs-match .lineups { grid-template-columns: minmax(0, 1fr); }
body.ebs-page .ebs-match .lineup__team { padding: 14px 14px 8px; }
body.ebs-page .ebs-match .lineup__list li { padding: 6px 14px; }
body.ebs-page .ebs-match .lineup__staff { margin: 10px 14px 0; }
body.ebs-page .ebs-match .pre { grid-template-columns: minmax(0, 1fr); padding: 14px; }
body.ebs-page .ebs-match .pre__game { grid-template-columns: 70px minmax(0, 1fr) auto; padding: 6px 14px; }
body.ebs-page .ebs-match .mclip { padding: 14px; }
}
body.ebs-page .team-hero__title { overflow-wrap: break-word; }
body.ebs-page .match-hero .mh__ht { color: var(--muted, #4D5B70); font: 600 12px/1.4 var(--font-body); font-variant-numeric: tabular-nums; }
body.ebs-page .match-hero .mh__scorers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 calc(180px + 48px); max-width: 920px; margin: 18px auto 0; }
body.ebs-page .match-hero .mh__goals { margin: 0; padding: 0; list-style: none; color: var(--ink, #001D5A); font: 600 13px/1.6 var(--font-body); }
body.ebs-page .match-hero .mh__goals--home { text-align: center; }
body.ebs-page .match-hero .mh__goals--away { text-align: center; }
body.ebs-page .match-hero .mh__mins { color: var(--muted, #4D5B70); font-weight: 500; font-variant-numeric: tabular-nums; }
body.ebs-page .match-hero .mh__ics { display: inline-flex; margin: 18px auto 0; }
body.ebs-page .match-hero .mh__countdown + .mh__ics { display: flex; justify-content: center; }
body.ebs-page .ebs-match .pre__chips { display: inline-flex; gap: 4px; }
body.ebs-page .ebs-match .pre__chips .form__i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 4px; color: var(--ink, #001D5A); font: 800 11px/1 var(--font-body); text-decoration: none; }
body.ebs-page .ebs-match .pre__chips .form__i:hover { filter: brightness(1.15); }
body.ebs-page .ebs-match .pre__chips .form__i:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.ebs-page .ebs-match .pre__none { color: var(--muted, #4D5B70); font: 500 12px/1.4 var(--font-body); }
body.ebs-page .ebs-match .pre__last { margin: 0; padding: 0; list-style: none; }
body.ebs-page .ebs-match .pre__last li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 34px; font: 600 13px/1.3 var(--font-body); }
body.ebs-page .ebs-match .pre__ha { color: var(--muted, #4D5B70); font: 800 11px/1 var(--font-body); }
body.ebs-page .ebs-match .pre__opp { overflow: hidden; color: var(--ink, #001D5A); text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-match .pre__sc { min-width: 48px; padding: 3px 8px; border-radius: 999px; color: var(--ink, #001D5A); font: 800 12px/1.3 var(--font-body); text-align: center; font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .pre__sc--v { background: var(--es-win); }
body.ebs-page .ebs-match .pre__sc--o { background: var(--es-draw); }
body.ebs-page .ebs-match .pre__sc--f { background: var(--es-loss); }
body.ebs-page .ebs-match .pre__date small { display: block; color: var(--muted, #4D5B70); font-size: 11px; }
body.ebs-page .ebs-match .h2h__sum { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; padding: 18px 20px 10px; }
body.ebs-page .ebs-match .h2h__side { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.ebs-page .ebs-match .h2h__side b { color: var(--ink, #001D5A); font: 900 34px/1 var(--font-display); font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .h2h__side span { overflow: hidden; color: var(--muted, #4D5B70); font: 600 12px/1.4 var(--font-body); text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-match .h2h__side--mid { align-items: center; text-align: center; }
body.ebs-page .ebs-match .h2h__side--away { align-items: flex-end; text-align: right; }
body.ebs-page .ebs-match .h2h__bar { display: flex; gap: 4px; height: 6px; margin: 0 20px; }
body.ebs-page .ebs-match .h2h__fill { display: block; height: 100%; border-radius: 3px; }
body.ebs-page .ebs-match .h2h__fill--home { background: #C2D2EC; }
body.ebs-page .ebs-match .h2h__fill--draw { background: var(--es-draw); }
body.ebs-page .ebs-match .h2h__fill--away { background: #003DA6; }
body.ebs-page .ebs-match .h2h__note { margin: 0; padding: 14px 20px 6px; color: var(--muted, #4D5B70); font: 700 12px/1.5 var(--font-body); letter-spacing: .72px; text-transform: uppercase; }
body.ebs-page .ebs-match .mtable { width: 100%; min-width: 0; table-layout: fixed; }
body.ebs-page .ebs-match .mtable .c-pos { width: 44px; }
body.ebs-page .ebs-match .mtable th.c-n, body.ebs-page .ebs-match .mtable td.c-n { width: 48px; text-align: center; }
body.ebs-page .ebs-match .mtable .c-team { overflow: hidden; text-align: left; }
body.ebs-page .ebs-match .mtable .c-team .team { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.ebs-page .ebs-match .mtable .c-team .team > span:last-child { overflow: hidden; color: var(--ink, #001D5A); text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-match .mtable .c-pts { font-weight: 800; }
body.ebs-page .ebs-match .mtable tbody tr:nth-child(even) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
body.ebs-page .ebs-match .mtable tbody tr.is-me { background: linear-gradient(90deg, #E9A21A, rgba(233, 162, 26, 0)); }
body.ebs-page .ebs-match .mtable tbody tr.is-me .c-pos { color: var(--ink, #001D5A); }
body.ebs-page .ebs-match #s-table .stat-card__head .league-table__more { margin-left: auto; }
@media (max-width: 768px) {
body.ebs-page .ebs-match .mtable .c-pos, body.ebs-page .ebs-match .mtable .c-team { position: static; background: none !important; box-shadow: none !important; }
body.ebs-page .ebs-match .mtable .c-pos { width: 34px; padding-left: 12px; }
body.ebs-page .ebs-match .mtable th.c-n, body.ebs-page .ebs-match .mtable td.c-n { width: 40px; padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 767.98px) {
body.ebs-page .match-hero .mh__scorers { gap: 0 24px; margin-top: 14px; }
body.ebs-page .match-hero .mh__goals { font-size: 12px; line-height: 1.5; }
body.ebs-page .ebs-match .h2h__sum { padding: 16px 14px 8px; }
body.ebs-page .ebs-match .h2h__bar { margin: 0 14px; }
body.ebs-page .ebs-match .h2h__note { padding: 12px 14px 6px; }
}
body.ebs-page .ebs-match .match-news { scroll-margin-top: 90px; }
body.ebs-page .ebs-match .club-h { margin: 48px 0 16px; color: var(--ink, #001D5A); font: 900 28px/1 var(--font-display); text-transform: uppercase; }
body.ebs-page .ebs-match .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991.98px) {
body.ebs-page .ebs-match .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
body.ebs-page .ebs-match .news-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
body.ebs-page .ebs-match .club-h { margin-top: 36px; font-size: 24px; }
}
body.ebs-page .match-hero .mh__ics { display: none; }
body.ebs-page .match-hero .mh__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px auto 0; }
body.ebs-page .match-hero .mh__live, body.ebs-page .match-hero .mh__act { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(0, 61, 166, 0.056); box-shadow: 0 6px 16px rgba(0, 29, 90, 0.088); color: var(--ink, #001D5A); font: 700 12px/1 var(--font-body); letter-spacing: .72px; text-decoration: none; text-transform: uppercase; cursor: pointer; }
body.ebs-page .match-hero .mh__act:hover { background: rgba(0, 61, 166, 0.1); color: var(--ink, #001D5A); }
body.ebs-page .match-hero .mh__live { background: #E9A21A; }
body.ebs-page .match-hero .mh__live:hover { background: #e0287a; color: var(--ink, #001D5A); }
body.ebs-page .match-hero .mh__live:focus-visible, body.ebs-page .match-hero .mh__act:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.ebs-page .match-hero .mh__live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: es-pulse 1.4s ease-in-out infinite; }
body.ebs-page .match-hero .mh__live-note { margin: 10px 0 0; color: var(--muted, #4D5B70); font: 500 12px/1.4 var(--font-body); }
body.ebs-page .ebs-match .mpoints { width: 100%; min-width: 0; table-layout: fixed; }
body.ebs-page .ebs-match .mpoints .c-team { overflow: hidden; padding-left: 20px; text-align: left; }
body.ebs-page .ebs-match .mpoints th.c-n, body.ebs-page .ebs-match .mpoints td.c-n { width: 52px; text-align: center; }
body.ebs-page .ebs-match .mpoints .mpoints__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
body.ebs-page .ebs-match .mpoints .mpoints__code { flex: none; width: 34px; color: var(--muted, #4D5B70); font: 800 11px/1 var(--font-body); letter-spacing: .3px; }
body.ebs-page .ebs-match .mpoints .mpoints__name { overflow: hidden; color: var(--ink, #001D5A); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-match .mpoints .c-pts { font-weight: 800; }
body.ebs-page .ebs-match .mpoints .is-zero { color: var(--faint, #677589); }
body.ebs-page .ebs-match .mpoints tbody tr:nth-child(even) { background: linear-gradient(90deg, rgba(0, 61, 166, 0.06), rgba(0, 61, 166, 0.02)); }
@media (max-width: 768px) {
body.ebs-page .ebs-match .mpoints .c-team { position: static; background: none !important; box-shadow: none !important; padding-left: 14px; }
body.ebs-page .ebs-match .mpoints th.c-n, body.ebs-page .ebs-match .mpoints td.c-n { width: 44px; padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 767.98px) {
body.ebs-page .match-hero .mh__actions { gap: 8px; margin-top: 20px; }
body.ebs-page .match-hero .mh__live, body.ebs-page .match-hero .mh__act { min-height: 38px; padding: 0 14px; font-size: 11px; }
}
body.ebs-page .ebs-match .pre__pts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
body.ebs-page .ebs-match .pre__ptab { width: 100%; table-layout: fixed; border-collapse: collapse; font: 600 13px/1.3 var(--font-body); font-variant-numeric: tabular-nums; }
body.ebs-page .ebs-match .pre__ptab th, body.ebs-page .ebs-match .pre__ptab td { padding: 9px 0; border: 0; }
body.ebs-page .ebs-match .pre__ptab thead th { padding-bottom: 6px; }
body.ebs-page .ebs-match .pre__more { margin-top: 4px; }
body.ebs-page .ebs-match .pre__ptab thead th { padding-top: 0; color: var(--muted, #4D5B70); font: 700 11px/1.5 var(--font-body); letter-spacing: .66px; text-transform: uppercase; }
body.ebs-page .ebs-match .pre__ptab abbr { text-decoration: none; cursor: help; }
body.ebs-page .ebs-match .pre__ptab .c-who { overflow: hidden; color: var(--ink, #001D5A); font-weight: 600; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
body.ebs-page .ebs-match .pre__ptab thead .c-who { color: var(--muted, #4D5B70); font-weight: 700; }
body.ebs-page .ebs-match .pre__ptab .c-n { width: 40px; color: var(--ink, #001D5A); text-align: center; }
body.ebs-page .ebs-match .pre__ptab thead .c-n { color: var(--muted, #4D5B70); }
body.ebs-page .ebs-match .pre__ptab .c-pts { font-weight: 800; }
body.ebs-page .ebs-match .pre__more { align-self: flex-start; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(0, 61, 166, 0.056); color: var(--ink, #001D5A); font: 700 11px/1 var(--font-body); letter-spacing: .66px; text-transform: uppercase; cursor: pointer; }
body.ebs-page .ebs-match .pre__more:hover { background: rgba(0, 61, 166, 0.1); }
body.ebs-page .ebs-match .pre__more:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body.ebs-page .ebs-match .pre__ptab tr[hidden] { display: none; }
body.ebs-page .match-hero .mh__meta-b::before { content: " · "; }
body.ebs-page .match-hero .mh__code { display: none; }
@media (max-width: 767.98px) {
body.ebs-page .match-hero .mh__meta-a, body.ebs-page .match-hero .mh__meta-b { display: block; }
body.ebs-page .match-hero .mh__meta-b { margin-top: 4px; }
body.ebs-page .match-hero .mh__meta-b::before { content: none; }
body.ebs-page .match-hero .mh__name { display: none; }
body.ebs-page .match-hero .mh__code { display: block; color: var(--ink, #001D5A); font: 900 20px/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
}
body.ebs-page .ebs-match .mpoints tr[hidden] { display: none; }
@media (max-width: 991.98px) {
body.ebs-page .ebs-match .match-grid { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
body.ebs-page .ebs-match .match-grid > * > * { width: 100%; min-width: 0; }
body.ebs-page .ebs-match .match-main, body.ebs-page .ebs-match .match-side { display: contents; }
body.ebs-page .ebs-match .match-grid > * > * { order: 50; }
body.ebs-page .ebs-match .match-grid #s-pre { order: 1; }
body.ebs-page .ebs-match .match-grid #s-h2h { order: 2; }
body.ebs-page .ebs-match .match-grid #s-table { order: 3; }
body.ebs-page .ebs-match .match-grid #s-facts { order: 4; }
body.ebs-page .ebs-match .match-grid--after #s-clip { order: 1; }
body.ebs-page .ebs-match .match-grid--after #s-events { order: 2; }
body.ebs-page .ebs-match .match-grid--after #s-stats { order: 3; }
body.ebs-page .ebs-match .match-grid--after #s-points { order: 4; }
body.ebs-page .ebs-match .match-grid--after #s-h2h { order: 5; }
body.ebs-page .ebs-match .match-grid--after #s-pre { order: 6; }
body.ebs-page .ebs-match .match-grid--after #s-table { order: 7; }
body.ebs-page .ebs-match .match-grid--after #s-facts { order: 8; }
}
body.ebs-page .ebs-match .h2h__t { color: var(--ink, #001D5A); font-weight: 600; }
body.ebs-page .ebs-match .h2h__t.is-win { font-weight: 800; }
body.ebs-page .ebs-match .h2h__t.is-loss { color: var(--faint, #677589); font-weight: 500; }
body.ebs-page .ebs-match .pre__res .is-win { color: var(--ink, #001D5A); font-weight: 900; }
body.ebs-page .ebs-match .pre__res .is-loss { color: var(--faint, #677589); font-weight: 600; }
body.ebs-page .ebs-match .pre__teams .n-s { display: none; }
@media (max-width: 767.98px) {
body.ebs-page .ebs-match .pre__teams .n-l { display: none; }
body.ebs-page .ebs-match .pre__teams .n-s { display: inline; }
}
body.ebs-page .ebs-match .pre__res .pre__dash { margin: 0 4px; color: var(--faint, #677589); }
body.ebs-page .ebs-match .pre { column-gap: 56px; row-gap: 32px; }
@media (max-width: 1199.98px) {
body.ebs-page .ebs-match .pre { column-gap: 40px; }
}
body.ebs-page .ebs-match .pre__res { display: inline-flex; align-items: center; justify-content: center; justify-self: end; min-width: 68px; padding: 5px 12px; white-space: nowrap; }
body.ebs-page .ebs-match .pre__res .pre__dash { margin: 0 3px; }
@media (max-width: 767.98px) {
body.ebs-page .ebs-match .pre__game { grid-template-columns: 82px minmax(0, 1fr) auto; }
body.ebs-page .ebs-match .pre__date { white-space: nowrap; }
}
@media (max-width: 991.98px) {
body.ebs-page .ebs-match .match-card > .stat-card__head { flex-wrap: nowrap; gap: 12px; }
body.ebs-page .ebs-match .match-card > .stat-card__head .league-table__more { flex: none; white-space: nowrap; }
}
@media (max-width: 767.98px) {
body.ebs-page .ebs-match .mtable .c-pos { width: 36px; }
body.ebs-page .ebs-match .mtable th.c-n, body.ebs-page .ebs-match .mtable td.c-n { width: 40px; }
}
body.ebs-page .info-hero .team-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
body.ebs-page .info-hero .ebs-eyebrow { margin: 0; }
body.ebs-page .info-hero .team-hero__title { margin: 0; }
body.ebs-page .info-hero__nav .stat-subtabs { justify-content: center; }
body.ebs-page .info-hero__nav .stat-subtabs a { text-decoration: none; }
@media (max-width: 767.98px) {
body.ebs-page .info-hero__nav .stat-subtabs { justify-content: flex-start; }
}
body.ebs-page .match-hero .mh__dash { margin: 0 .12em; color: var(--ink, #001D5A); }
body.ebs-page .match-hero .mh__play { flex: none; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #fff; }
body.ebs-page .info-hero__nav .stat-subtabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
body.ebs-page .info-hero__nav .stat-subtabs::-webkit-scrollbar { display: none; }
body.ebs-page .ebs-matcher #timeTabs { display: inline-flex; gap: 0; padding: 4px; border-radius: 999px; background: var(--ebs-pill, #FFFFFF); box-shadow: 0 6px 16px rgba(0, 29, 90, 0.088); overflow: visible; }
body.ebs-page .ebs-matcher #timeTabs [role="tab"] { min-height: 40px; padding: 0 22px; border-radius: 999px; color: var(--muted, #4D5B70); font: 700 13px/1 var(--font-body); letter-spacing: .78px; text-transform: uppercase; }
body.ebs-page .ebs-matcher #timeTabs [role="tab"]::before { display: none; }
body.ebs-page .ebs-matcher #timeTabs [role="tab"]:hover { color: var(--ink, #001D5A); }
body.ebs-page .ebs-matcher #timeTabs [role="tab"][aria-selected="true"] { background: #E9A21A; color: #fff; }
body.ebs-page .ebs-matcher #timeTabs [role="tab"]:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
@media (max-width: 767.98px) {
body.ebs-page .ebs-matcher #timeTabs [role="tab"] { min-height: 36px; padding: 0 16px; font-size: 12px; }
}
body.ebs-page .news-article-hero .team-hero__title { max-width: 960px; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; letter-spacing: .5px; text-wrap: balance; }
body.ebs-page .news-article-hero .ebs-eyebrow time { color: inherit; }
body.ebs-page .match-hero .mh__act.mh__act--live { background: #fff; color: #001542; }
body.ebs-page .match-hero .mh__act.mh__act--live:hover { background: #ffd9e8; color: #001542; }
body.ebs-page .match-hero .mh__act--live .mh__live-dot { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #E9A21A; animation: lv-dot 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
body.ebs-page .match-hero .mh__act--live .mh__live-dot { animation: none; }
}
@media (hover: hover) and (pointer: fine) {
body.ebs-page .mh__act--ics { display: none !important; }
}
body.ebs-page .visually-hidden:not(:focus):not(:focus-within), body.ebs-page .screen-reader-text:not(:focus) { left: 0 !important; top: 0 !important; }
body.ebs-page .dl-cat .stat-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.ebs-page .ebs-info .info-content .dl h2.elit-ui-title { width: auto; margin: 0 auto 0 0; font-size: 15.2px; text-align: left; }
body.ebs-page .ebs-info .info-content .dl .dl-cat .stat-card__head { padding: 16px 18px 6px; }

/* ---- Bandyallsvenskans ljusa design (sist, så att den gäller före Elitseriens) ---- */
html body.ebs-page .ebs,
html body.ebs-page #primary,
html body.ebs-page .ebs-tip {
	--bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F0F5FA; --surface-dark: #F0F5FA; --card: #FFFFFF;
	--border: #E1E7EE; --text-muted: #4D5B70; --text-meta: #677589;
	--accent: #E9A21A; --accent-hover: #F4B53A; --accent-light: #FCE7B8;
	--row-a: #F0F5FA; --row-b: #FFFFFF; --active: rgba(233, 162, 26, .18);
	--es-win: #11724A; --es-draw: #4D5B70; --es-loss: #C0392B; --es-live: #E9A21A;
	--es-win-hi: #11724A; --es-draw-hi: #4D5B70; --es-loss-hi: #C0392B;
	--ebs-line: #E1E7EE; --ebs-line-strong: #D2DAE4; --ebs-muted: #4D5B70; --ebs-faint: #677589;
	--ebs-accent: #E9A21A; --ebs-head: #FFFFFF; --ebs-pill: #F0F5FA;
	--ebs-row: #F0F5FA; --ebs-row-even: #FFFFFF; --ebs-row-hover: var(--ice-hover, #E4ECF7);
	--es-list: #FFFFFF; --es-stripe: #F0F5FA; --es-hover: var(--ice-hover, #E4ECF7); --es-solid: #001D5A; --es-shadow: none;
	color: var(--ink, #001D5A);
}
html body.ebs-page #primary { background: #FFFFFF; padding-bottom: 64px; }

/* Sidrubriken som på resten av sajten (page-hero): ljus yta, stort A:et till höger, mörkblå rubrik */
html body.ebs-page .team-hero {
	background-color: var(--ice-surface, #EEF3FA);
	background-image: url("../../assets/img/a-stor.svg");
	background-repeat: no-repeat;
	background-position: right max(-80px, calc((100vw - 1240px) / 2 - 160px)) center;
	background-size: auto 150%;
	color: var(--ink, #001D5A);
	box-shadow: none;
}
html body.ebs-page .team-hero .container { padding-top: 40px; padding-bottom: 40px; }
html body.ebs-page .team-hero__title { margin: 0; color: var(--ink, #001D5A); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: .015em; text-transform: uppercase; text-align: left; }

/* Rullistor (säsong, lag) som Bandyallsvenskans: ljus yta, mörkblå text, pil */
html body.ebs-page .ebs select,
html body.ebs-page .team-hero select {
	-webkit-appearance: none; appearance: none; height: 48px; min-width: 160px; padding: 0 44px 0 16px; border: 0; border-radius: 0; box-shadow: none;
	background: var(--zebra, #F0F5FA) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23001D5A' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat right 16px center;
	font: 600 16px var(--font-body); color: var(--ink, #001D5A); cursor: pointer;
}
html body.ebs-page .ebs select:hover,
html body.ebs-page .team-hero select:hover { background-color: var(--ice-hover, #E4ECF7); }

/* Flikar (Spelare/Lag/…, Tabell/Övre/…, Kommande/Resultat) som Bandyallsvenskans .tab */
html body.ebs-page .team-tab-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border: 0; border-radius: 0; box-shadow: none;
	background: var(--zebra, #F0F5FA); color: var(--text, #2B3A50);
	font-family: var(--font-body); font-style: italic; font-weight: 700; font-size: 16px; letter-spacing: .03em; text-transform: uppercase;
}
html body.ebs-page .team-tab-btn:hover { background: var(--ice-hover, #E4ECF7); color: var(--navy, #001D5A); }
html body.ebs-page .team-tab-btn.active,
html body.ebs-page .team-tab-btn[aria-selected="true"],
html body.ebs-page .team-tab-btn.is-active { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); padding: 0 20px; box-shadow: none !important; }

/* Tabeller: vita, randiga som på live, mörkblå siffror */
html body.ebs-page .ebs table thead th { background: #FFFFFF; color: var(--ink, #001D5A); opacity: 1; }
html body.ebs-page .ebs .standings tbody td,
html body.ebs-page .ebs .standings tbody th { color: var(--ink, #001D5A); font-weight: 600; }
html body.ebs-page .ebs .team__name,
html body.ebs-page .ebs .t-l { color: var(--ink, #001D5A); font-weight: 600; }
html body.ebs-page .ebs a:hover .team__name,
html body.ebs-page .ebs a:hover .t-l { text-decoration: underline; }
html body.ebs-page .ebs h2,
html body.ebs-page .ebs h3,
html body.ebs-page .elit-ui-title { color: var(--ink, #001D5A); }
/* Kort: vita utan skugga; dagsrubrik och rader randiga som tabellerna */
html body.ebs-page .elit-ui-card { background: #FFFFFF; background-image: none; box-shadow: none; border: 0; border-radius: 0; }
html body.ebs-page .mlist__day { border-top: 4px solid var(--navy, #001D5A); }
html body.ebs-page .mlist__day .elit-ui-title { font-style: italic; }
html body.ebs-page .mrow { background: #FFFFFF; }
html body.ebs-page .mrow:nth-child(odd) { background: var(--zebra, #F0F5FA); }
html body.ebs-page .mrow:hover { background: var(--ice-hover, #E4ECF7); }
/* Rubrikraden vänsterställd som på resten av sajten */
html body.ebs-page .team-hero .container,
html body.ebs-page .team-hero .text-center { text-align: left; }
html body.ebs-page .team-hero .justify-content-center { justify-content: flex-start !important; }
html body.ebs-page .team-hero__inner { align-items: flex-start !important; text-align: left; }
html body.ebs-page .team-hero__inner > * { margin-left: 0; justify-content: flex-start; }
@media (max-width: 720px) {
	html body.ebs-page .container { padding-left: 16px; padding-right: 16px; }
	html body.ebs-page .team-hero .container { padding-top: 28px; padding-bottom: 28px; }
	html body.ebs-page .team-hero__title { font-size: clamp(24px, 7.6vw, 36px); }
	html body.ebs-page .team-tab-btn { font-size: 14px; padding: 0 12px; }
}
/* ==== Grafiska profilen (bandyallsvenskan.se/grafisk-profil/) – sist, så den gäller före allt ovan ==== */
/* Skarpa hörn och platta ytor: inga rundade hörn eller skuggor (undantag: rullgardinsmenyer och play-knappar) */
html body.ebs-page .ebs :is(.elit-ui-card, .elit-ui-header, .stat-subtabs, .tab, .series-switch, .mh__act, .mh__status, .cd-u, .tl__badge, .form__i, .pre__sc, .pre__more, .ebs-showall, .mstat__fill, .h2h__fill, .mrow__score, .league-table__more, .stat-pager__btn, select, button),
html body.ebs-page .team-hero :is(.tab, .team-tab-btn, .series-switch, select, .mh__act, .mh__status, .cd-u) { border-radius: 0 !important; box-shadow: none !important; }

/* ---- Sidrubriken: rubrik till vänster, säsongen till höger på samma rad (som Tabell/Statistik/Matcher på live) ---- */
html body.ebs-page .team-hero:not(.match-hero) .container { padding-top: 40px; padding-bottom: 40px; }
html body.ebs-page .team-hero:not(.match-hero) .team-hero__inner { display: grid !important; grid-template-columns: 1fr auto; align-items: end; gap: 20px 24px; text-align: left; }
html body.ebs-page .team-hero:not(.match-hero) .team-hero__title { grid-column: 1; grid-row: 1; margin: 0; }
html body.ebs-page .team-hero:not(.match-hero) .team-hero__subtitle { grid-column: 1 / -1; margin: 0; }
html body.ebs-page .team-hero:not(.match-hero) .stat-hero-bar { display: contents; }
html body.ebs-page .team-hero:not(.match-hero) .season-nav { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
html body.ebs-page .team-hero:not(.match-hero) .team-hero__tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin: 0; }
html body.ebs-page .season-nav__pick { display: flex; align-items: center; gap: 12px; margin: 0; }
html body.ebs-page .season-nav__pick > span,
html body.ebs-page .mlist__filters .filter > span:not(.screen-reader-text) { position: static !important; width: auto !important; height: auto !important; clip: auto !important; margin: 0 !important; overflow: visible !important; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink, #001D5A); }
html body.ebs-page .team-hero select { background-color: #FFFFFF; }
@media (max-width: 720px) {
	html body.ebs-page .team-hero:not(.match-hero) .team-hero__inner { grid-template-columns: 1fr; }
	html body.ebs-page .team-hero:not(.match-hero) .season-nav { grid-column: 1; grid-row: 2; justify-self: stretch; }
	html body.ebs-page .team-hero:not(.match-hero) .season-nav__pick select { flex: 1; }
	html body.ebs-page .team-hero:not(.match-hero) .team-hero__tabs { grid-row: 3; justify-self: stretch; }
}

/* ---- Primära flikar: versaler, kursiv. Vald = mörkblå och sned. I isblå huvuden är övriga dova ---- */
html body.ebs-page .team-hero__tabs,
html body.ebs-page .stat-seg { display: flex !important; flex-wrap: wrap; gap: 2px !important; padding: 0 !important; background: none !important; border: 0 !important; }
html body.ebs-page .team-hero__tabs .tab,
html body.ebs-page .team-hero__tabs .team-tab-btn { min-height: 48px; padding: 0 18px; border: 0; background: rgba(0, 29, 90, .06) !important; color: var(--text, #2B3A50) !important; font: italic 700 16px/1 var(--font-body); letter-spacing: .03em; text-transform: uppercase; clip-path: none; }
html body.ebs-page .team-hero__tabs .tab:hover,
html body.ebs-page .team-hero__tabs .team-tab-btn:hover { background: rgba(0, 29, 90, .12) !important; color: var(--ink, #001D5A) !important; }
html body.ebs-page .team-hero__tabs .tab[aria-selected="true"],
html body.ebs-page .team-hero__tabs .team-tab-btn[aria-selected="true"],
html body.ebs-page .team-hero__tabs .team-tab-btn.active { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); padding: 0 22px; }
@media (max-width: 720px) {
	html body.ebs-page .team-hero__tabs .tab,
	html body.ebs-page .team-hero__tabs .team-tab-btn { flex: 1 1 auto; min-height: 44px; padding: 0 12px; font-size: 14px; }
}

/* ---- Nivå två: textflikar på en tunn linje, vald = mörkblå text med snett blått streck. Filter till höger ---- */
html body.ebs-page .stat-subbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin: 0 0 24px; padding: 0; border-bottom: 1px solid var(--line, #E1E7EE); background: none; }
html body.ebs-page .stat-subtabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0 !important; background: none !important; border: 0 !important; }
html body.ebs-page .stat-subtabs .tab { position: relative; min-height: 0; height: auto; padding: 0 0 12px !important; border: 0; background: none !important; color: var(--muted, #4D5B70) !important; font: 600 16px/1.2 var(--font-body) !important; font-style: normal !important; letter-spacing: 0 !important; text-transform: none !important; clip-path: none !important; white-space: nowrap; }
html body.ebs-page .stat-subtabs .tab::before { display: none !important; }
html body.ebs-page .stat-subtabs .tab:hover { color: var(--ink, #001D5A) !important; }
html body.ebs-page .stat-subtabs .tab[aria-selected="true"] { color: var(--ink, #001D5A) !important; font-weight: 700 !important; }
html body.ebs-page .stat-subtabs .tab[aria-selected="true"]::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -1px; height: 4px; background: var(--blue, #003DA6); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
html body.ebs-page .stat-subbar .filter { margin: 0 0 8px; }
html body.ebs-page .stat-subbar .filter select { height: 44px; }

/* Tabellen: Totalt/Hemma/Borta som flikarna på live, "Mer statistik" som länk bredvid */
html body.ebs-page .league-table__bar { justify-content: flex-start; align-items: center; border: 0; }
html body.ebs-page .league-table__bar .stat-subtabs { gap: 2px; }
html body.ebs-page .league-table__bar .stat-subtabs .tab { min-height: 48px; padding: 0 18px !important; background: var(--zebra, #F0F5FA) !important; color: var(--text, #2B3A50) !important; font: italic 700 16px/1 var(--font-body) !important; letter-spacing: .03em !important; text-transform: uppercase !important; }
html body.ebs-page .league-table__bar .stat-subtabs .tab:hover { background: var(--ice-hover, #E4ECF7) !important; }
html body.ebs-page .league-table__bar .stat-subtabs .tab[aria-selected="true"] { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm) !important; padding: 0 22px !important; }
html body.ebs-page .league-table__bar .stat-subtabs .tab[aria-selected="true"]::after { display: none; }
html body.ebs-page .league-table__more { margin-left: 12px; padding: 0; background: none !important; color: var(--blue, #003DA6) !important; font: italic 600 15px var(--font-body) !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none; }
html body.ebs-page .league-table__more:hover { color: var(--blue-dark, #002E7D) !important; text-decoration: underline; }
@media (max-width: 720px) {
	html body.ebs-page .league-table__bar .stat-subtabs .tab { min-height: 44px; padding: 0 12px !important; font-size: 14px !important; }
}

/* ---- Sektionsrubrik: guldmarkör + kursiv versal rubrik. Kort utan ram och bakgrund ---- */
html body.ebs-page .ebs .elit-ui-card { background: none !important; border: 0 !important; padding: 0; }
html body.ebs-page .ebs .elit-ui-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px !important; background: none !important; border: 0 !important; }
html body.ebs-page .ebs .elit-ui-title { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--ink, #001D5A) !important; font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-weight: 800 !important; font-style: italic !important; font-size: 26px !important; line-height: 1; letter-spacing: .02em; text-transform: uppercase !important; }
html body.ebs-page .ebs .elit-ui-title::before { content: ""; flex: none; width: 9px; height: 22px; background: var(--gold, #E9A21A); transform: skewX(-14deg); }
html body.ebs-page .mlist__day { border-top: 0 !important; margin-bottom: 28px; }
html body.ebs-page .mlist__day .elit-ui-title { font-size: 22px !important; }
html body.ebs-page .mlist__day .elit-ui-title::before { display: none; }

/* ---- Tabeller: kolumnrubriker i Condensed 13 px versal, varannan rad isblå, siffror Barlow 600, huvudsiffran fet Condensed ---- */
html body.ebs-page .ebs table thead th,
html body.ebs-page .ebs table thead th .th-sort,
html body.ebs-page .standings-head,
html body.ebs-page .standings-head .stat,
html body.ebs-page .standings-head .lt-head { background: none !important; color: var(--ink, #001D5A) !important; font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-weight: 700 !important; font-style: normal; font-size: 13px !important; letter-spacing: .1em !important; text-transform: uppercase; opacity: .8; border: 0 !important; }
html body.ebs-page .ebs table tbody tr,
html body.ebs-page .ebs table tbody tr > * { background-image: none !important; }
html body.ebs-page .ebs table tbody tr > * { background-color: #FFFFFF !important; border: 0 !important; color: var(--ink, #001D5A); font-weight: 600; }
html body.ebs-page .ebs table tbody tr:nth-child(odd) > * { background-color: var(--zebra, #F0F5FA) !important; }
html body.ebs-page .ebs table tbody tr:hover > * { background-color: var(--ice-hover, #E4ECF7) !important; }
html body.ebs-page .ebs table .c-main { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 20px; }
html body.ebs-page .ebs table tbody .c-pos { font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; }
html body.ebs-page .ebs table .is-zero,
html body.ebs-page .ebs table .muted { color: var(--faint, #677589) !important; font-weight: 500; }
/* Ettan i topplistor: blå sned ruta med vit siffra */
html body.ebs-page .ebs table tbody tr.is-top .c-pos { position: relative; z-index: 0; color: #FFFFFF !important; }
html body.ebs-page .ebs table tbody tr.is-top .c-pos::before { content: ""; position: absolute; z-index: -1; left: 2px; right: 4px; top: 50%; height: 30px; transform: translateY(-50%); background: var(--blue, #003DA6); clip-path: var(--slant-sm); }

/* Ligatabellen (raderna är div:ar) */
html body.ebs-page .standings-list { border: 0; background: none; }
html body.ebs-page .standings-row { min-height: 48px; height: auto; padding: 0 12px 0 0 !important; background: #FFFFFF !important; background-image: none !important; border: 0 !important; color: var(--ink, #001D5A); }
html body.ebs-page .standings-row:not(.standings-head):nth-child(even) { background: var(--zebra, #F0F5FA) !important; }
html body.ebs-page .standings-row:not(.standings-head):hover { background: var(--ice-hover, #E4ECF7) !important; }
html body.ebs-page .standings-row::before { display: none !important; }
html body.ebs-page .standings-head { min-height: 40px; background: none !important; }
html body.ebs-page .standings-row .rank { align-self: stretch; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; }
html body.ebs-page .standings-row .table-rank { width: auto; height: auto; background: none !important; color: inherit; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: normal; font-size: 20px; }
html body.ebs-page .standings-row .stat,
html body.ebs-page .standings-row .goals { color: var(--ink, #001D5A); font-family: var(--font-body); font-weight: 600; font-size: 16px; }
html body.ebs-page .standings-row .points { color: var(--ink, #001D5A); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 22px; }
html body.ebs-page .standings-row .t-l { font-weight: 600; }
/* Zonfärg i placeringskolumnen (pågående säsong, tabellen Totalt): 1 Elitserien, 2–3 kval, 12–13 negativt kval, 14 åker ur */
html body.ebs-page .league-table > div:nth-child(2) .standings-list:not(.standings-list--archive) .standings-row:nth-child(2) .rank { background: var(--z-up, #E9A21A); }
html body.ebs-page .league-table > div:nth-child(2) .standings-list:not(.standings-list--archive) .standings-row:nth-child(3) .rank,
html body.ebs-page .league-table > div:nth-child(2) .standings-list:not(.standings-list--archive) .standings-row:nth-child(4) .rank { background: var(--z-qu, #F5DDA8); }
html body.ebs-page .league-table > div:nth-child(2) .standings-list:not(.standings-list--archive) .standings-row:nth-last-child(2) .rank,
html body.ebs-page .league-table > div:nth-child(2) .standings-list:not(.standings-list--archive) .standings-row:nth-last-child(3) .rank { background: var(--z-qd, #F3CDC6); }
html body.ebs-page .league-table > div:nth-child(2) .standings-list:not(.standings-list--archive) .standings-row:nth-last-child(1):not(.standings-head) .rank { background: var(--z-dn, #B8382B); color: #FFFFFF; }

/* Formkurvan: snett, profilens färger */
html body.ebs-page .form__i,
html body.ebs-page .pre__sc { display: inline-flex; align-items: center; justify-content: center; border-radius: 0 !important; clip-path: var(--slant-sm); color: #FFFFFF !important; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; }
html body.ebs-page .form__i { width: 22px; height: 22px; font-size: 13px; }
html body.ebs-page .pre__sc { padding: 3px 12px; }
html body.ebs-page :is(.form__i, .pre__sc)[class*="--v"] { background: #1E7A3C !important; }
html body.ebs-page :is(.form__i, .pre__sc)[class*="--o"] { background: #6F7C91 !important; }
html body.ebs-page :is(.form__i, .pre__sc)[class*="--f"] { background: var(--z-dn, #B8382B) !important; }

/* ---- Matcher: dagsrubrik, randiga rader, tiden/resultatet i mörkblå sned ruta ---- */
html body.ebs-page .mlist__day .elit-ui-header { padding-bottom: 8px !important; }
html body.ebs-page .mrow { min-height: 58px; border: 0 !important; }
html body.ebs-page .mrow:nth-child(odd) { background: var(--zebra, #F0F5FA) !important; }
html body.ebs-page .mrow:nth-child(even) { background: #FFFFFF !important; }
html body.ebs-page .mrow:hover { background: var(--ice-hover, #E4ECF7) !important; }
html body.ebs-page .mrow__score { min-width: 64px; padding: 6px 14px; border: 0 !important; background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 22px; line-height: 1; }
html body.ebs-page .mrow__name { color: var(--ink, #001D5A); font-weight: 600; }
html body.ebs-page .mrow__ser { color: var(--muted, #4D5B70); font-weight: 500; }

/* ---- Matchsidan ---- */
html body.ebs-page .match-hero .mh__score { color: var(--ink, #001D5A); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: normal; }
html body.ebs-page .match-hero .mh__name { color: var(--ink, #001D5A); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; text-transform: uppercase; }
html body.ebs-page .match-hero .mh__meta { color: var(--ink, #001D5A); }
html body.ebs-page .mh__status { background: var(--blue, #003DA6) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); padding: 4px 14px; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; letter-spacing: .06em; text-transform: uppercase; }
html body.ebs-page .mh__status--live { background: var(--gold, #E9A21A) !important; color: var(--navy, #001D5A) !important; }
html body.ebs-page .mh__ht { color: var(--muted, #4D5B70); font-weight: 600; }
html body.ebs-page .cd-u { background: #FFFFFF !important; clip-path: var(--slant); }
html body.ebs-page .cd-u b { color: var(--ink, #001D5A); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; }
html body.ebs-page .mh__act { min-height: 44px; padding: 0 22px; border: 2px solid var(--navy, #001D5A) !important; background: transparent !important; color: var(--navy, #001D5A) !important; clip-path: var(--slant); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
html body.ebs-page .mh__act:hover { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; }
/* Delmenyn: blått band med flikar (som live) */
html body.ebs-page .match-jump { background: var(--blue, #003DA6) !important; border: 0 !important; box-shadow: none !important; }
html body.ebs-page .match-jump .container { padding-top: 0; padding-bottom: 0; }
html body.ebs-page .match-jump__inner { display: flex; gap: 2px; justify-content: flex-start; padding: 12px 0 !important; border: 0 !important; background: none !important; }
html body.ebs-page .match-jump__inner .tab { min-height: 40px; padding: 0 14px !important; background: rgba(255, 255, 255, .12) !important; color: #FFFFFF !important; font: italic 700 14px/1 var(--font-body) !important; letter-spacing: .03em; text-transform: uppercase !important; clip-path: none; border: 0 !important; }
html body.ebs-page .match-jump__inner .tab:hover { background: rgba(255, 255, 255, .22) !important; }
html body.ebs-page .match-jump__inner .tab.is-active,
html body.ebs-page .match-jump__inner .tab[aria-current="true"] { background: var(--navy, #001D5A) !important; clip-path: var(--slant-sm); }
html body.ebs-page .match-jump__inner .tab::after { display: none !important; }
/* Händelser: tider raka, mål i blå sned ruta, utvisning i guld, perioder isblå */
html body.ebs-page .tl__badge { background: var(--blue, #003DA6) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-style: italic; }
html body.ebs-page .tl__badge--pen { background: var(--gold, #E9A21A) !important; color: var(--navy, #001D5A) !important; }
html body.ebs-page .tl--period { background: var(--zebra, #F0F5FA) !important; }
html body.ebs-page .tl__time { color: var(--ink, #001D5A); font-weight: 600; }
html body.ebs-page .tl__sub { color: var(--muted, #4D5B70); }
/* Statistikstaplar: blå (hemma) och mörkblå (borta), raka */
html body.ebs-page .mstat__fill--home { background: var(--blue, #003DA6) !important; }
html body.ebs-page .mstat__fill--away { background: var(--navy, #001D5A) !important; }
html body.ebs-page .h2h__fill--home { background: var(--blue, #003DA6) !important; }
html body.ebs-page .h2h__fill--draw { background: #6F7C91 !important; }
html body.ebs-page .h2h__fill--away { background: var(--navy, #001D5A) !important; }
html body.ebs-page .mstat__label { color: var(--text, #2B3A50); }
html body.ebs-page .mstat__v { color: var(--ink, #001D5A); font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-weight: 800; font-size: 18px; }
/* "Visa alla"-knappar: isblå, kursiv versal */
html body.ebs-page .ebs-showall,
html body.ebs-page .pre__more { border: 0 !important; background: var(--zebra, #F0F5FA) !important; color: var(--navy, #001D5A) !important; font: italic 700 14px var(--font-body) !important; letter-spacing: .04em; text-transform: uppercase; }
html body.ebs-page .ebs-showall:hover,
html body.ebs-page .pre__more:hover { background: var(--ice-hover, #E4ECF7) !important; }
/* Justeringar: rubrikradens höjd som live, ligatabellen i full bredd, rubrikkolumner lika, å/ä/ö får plats */
html body.ebs-page .team-hero:not(.match-hero).pt-5,
html body.ebs-page .team-hero:not(.match-hero) { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0 !important; }
html body.ebs-page .team-hero:not(.match-hero) .team-hero__inner { padding: 0 !important; min-height: 0 !important; }
html body.ebs-page .team-hero__title { line-height: 1.05 !important; padding-top: .06em; overflow: visible; }
html body.ebs-page .league-table,
html body.ebs-page .league-table .standings-list { max-width: none !important; width: 100%; margin-left: 0; margin-right: 0; }
html body.ebs-page .standings-head :is(.rank, .goals, .points, .form-col, .stat, .team) { color: var(--ink, #001D5A) !important; font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-weight: 700 !important; font-size: 13px !important; letter-spacing: .1em !important; text-transform: uppercase; }
html body.ebs-page .ebs .elit-ui-title { line-height: 1.15 !important; padding-top: .08em; overflow: visible !important; }
/* Tabellsidan: innehållet i sidans fulla bredd (som rubriken) */
html body.ebs-page .ebs-tabell .tab-content { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
/* Delarna i rubrikraden (Tabell, Övre, Nedre …): primära flikar */
html body.ebs-page .team-hero__tabs .team-tab-btn { min-height: 48px !important; padding: 0 18px !important; font: italic 700 16px/1 var(--font-body) !important; letter-spacing: .03em !important; text-transform: uppercase !important; }
html body.ebs-page .team-hero__tabs .team-tab-btn::before,
html body.ebs-page .team-hero__tabs .team-tab-btn::after { display: none !important; }
html body.ebs-page .team-hero__tabs .team-tab-btn[aria-selected="true"],
html body.ebs-page .team-hero__tabs .team-tab-btn.active { padding: 0 22px !important; }
/* Matcher: Kommande/Resultat som flikarna på live */
html body.ebs-page .mlist__bar { align-items: center; border: 0; }
html body.ebs-page .mlist__bar .stat-subtabs { gap: 2px; }
html body.ebs-page .mlist__bar .stat-subtabs .tab { min-height: 48px; padding: 0 18px !important; background: var(--zebra, #F0F5FA) !important; color: var(--text, #2B3A50) !important; font: italic 700 16px/1 var(--font-body) !important; letter-spacing: .03em !important; text-transform: uppercase !important; }
html body.ebs-page .mlist__bar .stat-subtabs .tab:hover { background: var(--ice-hover, #E4ECF7) !important; }
html body.ebs-page .mlist__bar .stat-subtabs .tab[aria-selected="true"] { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm) !important; padding: 0 22px !important; }
html body.ebs-page .mlist__bar .stat-subtabs .tab[aria-selected="true"]::after { display: none; }
html body.ebs-page .mlist__bar .filter { margin: 0; }
@media (max-width: 720px) {
	html body.ebs-page .mlist__bar .stat-subtabs .tab { min-height: 44px; padding: 0 12px !important; font-size: 14px !important; }
	html body.ebs-page .team-hero__tabs .team-tab-btn { min-height: 44px !important; padding: 0 12px !important; font-size: 14px !important; }
}
/* Matchhuvudet centrerat som på live; Dela/Kalender som isblå sneda knappar */
html body.ebs-page .match-hero .team-hero__inner { align-items: center !important; text-align: center !important; }
html body.ebs-page .match-hero .mh__meta { justify-content: center; text-align: center; width: 100%; }
html body.ebs-page .mh__act { border: 0 !important; background: rgba(0, 29, 90, .08) !important; color: var(--navy, #001D5A) !important; }
html body.ebs-page .mh__act:hover { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; }
html body.ebs-page .match-jump__inner { justify-content: flex-start !important; overflow-x: auto; scrollbar-width: none; }
html body.ebs-page .match-jump__inner .tab { flex: none; }
html body.ebs-page .mrow__score * { font: inherit !important; color: inherit !important; }
html body.ebs-page .mrow__score { font-size: 22px !important; }
@media (max-width: 720px) { html body.ebs-page .mrow__score { min-width: 54px; padding: 5px 10px; font-size: 18px !important; } }
@media (max-width: 720px) {
	/* Flikraderna på en rad, vänsterställda; sveps i sidled om de inte får plats */
	html body.ebs-page .stat-subbar { justify-content: flex-start; }
	html body.ebs-page .stat-subtabs { flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
	html body.ebs-page .stat-subtabs::-webkit-scrollbar { display: none; }
	html body.ebs-page .league-table__bar,
	html body.ebs-page .mlist__bar { flex-wrap: wrap; }
	html body.ebs-page .league-table__bar .stat-subtabs,
	html body.ebs-page .mlist__bar .stat-subtabs { flex: 1 1 100%; overflow: visible; }
	html body.ebs-page .league-table__bar .stat-subtabs .tab,
	html body.ebs-page .mlist__bar .stat-subtabs .tab { flex: 1 1 0; }
	html body.ebs-page .league-table__more { margin-left: auto; }
	html body.ebs-page .match-jump__inner { flex-wrap: nowrap !important; }
	html body.ebs-page .match-jump__inner::-webkit-scrollbar { display: none; }
}
html body.ebs-page .stat-subbar,
html body.ebs-page .mlist__bar { justify-content: space-between !important; }
html body.ebs-page .stat-subbar > .stat-subtabs { margin-right: auto !important; margin-left: 0 !important; justify-content: flex-start !important; }
@media (max-width: 720px) {
	html body.ebs-page .stat-subbar > .stat-subtabs { flex: 1 1 100%; }
	html body.ebs-page .stat-subbar > .filter { flex: 1 1 100%; }
	html body.ebs-page .stat-subbar > .filter select { width: 100%; }
}
/* Visningsval (Anfall/Försvar, brytaren): mörkblått, inte guld (guld = markör och BandyPlay) */
html body.ebs-page .ebs .seg button,
html body.ebs-page .ebs .corner-side button,
html body.ebs-page .ebs .seg .tab { border: 0 !important; background: var(--zebra, #F0F5FA) !important; color: var(--navy, #001D5A) !important; font-family: var(--font-display); font-size-adjust: var(--display-adjust); font-style: italic; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; clip-path: none; }
html body.ebs-page .ebs .seg button[aria-pressed="true"],
html body.ebs-page .ebs .corner-side button[aria-pressed="true"],
html body.ebs-page .ebs .seg button[aria-selected="true"],
html body.ebs-page .ebs .seg .is-active { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); }
html body.ebs-page .ebs .switch .switch__ui { background: var(--line-strong, #D2DAE4) !important; }
html body.ebs-page .ebs .switch[aria-checked="true"] .switch__ui { background: var(--blue, #003DA6) !important; }
html body.ebs-page .ebs .switch { color: var(--ink, #001D5A); }
html body.ebs-page .ebs .corner-side { display: inline-flex; gap: 2px; padding: 0 !important; background: none !important; border-radius: 0 !important; }
html body.ebs-page .ebs .corner-side button { padding: 8px 14px; border-radius: 0 !important; }
/* Anfall/Försvar gör bara något när hörnorna visas uppdelade på vänster/höger */
html body.ebs-page .ebs .corner-side { display: none !important; }
html body.ebs-page .ebs .is-split .corner-side { display: inline-flex !important; }
/* Rubrikmarkören exakt som live (h2.match-card__title::before): sned parallellogram, ingen extra lutning */
html body.ebs-page .ebs .elit-ui-title { gap: .28em !important; }
html body.ebs-page .ebs .elit-ui-title::before { width: .54em !important; height: .66em !important; transform: none !important; clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%) !important; background: var(--gold, #E9A21A) !important; }
/* Ligatabellen: skarpa hörn, luft mellan placeringen och klubbmärket */
html body.ebs-page .standings-list,
html body.ebs-page .standings-row,
html body.ebs-page .standings-row > *,
html body.ebs-page .league-table { border-radius: 0 !important; }
html body.ebs-page .standings-row .team { padding-left: 14px !important; }
html body.ebs-page .ebs table .c-team { padding-left: 14px !important; }
/* Säsongen direkt till höger om rubriken; rullistan vit så att den syns mot isblått */
html body.ebs-page .team-hero:not(.match-hero) .team-hero__inner { grid-template-columns: auto 1fr !important; align-items: center !important; column-gap: 40px !important; }
html body.ebs-page .team-hero:not(.match-hero) .season-nav { grid-column: 2 !important; grid-row: 1 !important; justify-self: start !important; align-self: center; }
html body.ebs-page .team-hero select,
html body.ebs-page .team-hero .season-nav select {
	background-color: #FFFFFF !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23001D5A' stroke-width='2.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 14px 9px !important;
	color: var(--ink, #001D5A) !important; border: 0 !important;
}
html body.ebs-page .team-hero select:hover { background-color: var(--ice-hover, #E4ECF7) !important; }
@media (max-width: 720px) {
	html body.ebs-page .team-hero:not(.match-hero) .team-hero__inner { grid-template-columns: 1fr !important; }
	html body.ebs-page .team-hero:not(.match-hero) .season-nav { grid-column: 1 !important; grid-row: 2 !important; justify-self: stretch !important; }
}
/* Matcher: Båda/Hemma/Borta (lagfiltret) som flikarna – isblå, vald mörkblå och sned */
html body.ebs-page .series-switch.seg { display: inline-flex !important; gap: 2px !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html body.ebs-page .series-switch.seg > * { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: var(--zebra, #F0F5FA) !important; color: var(--text, #2B3A50) !important; font: italic 700 14px/1 var(--font-body) !important; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; clip-path: none; cursor: pointer; }
html body.ebs-page .series-switch.seg > *:hover { background: var(--ice-hover, #E4ECF7) !important; color: var(--navy, #001D5A) !important; }
html body.ebs-page .series-switch.seg > .active,
html body.ebs-page .series-switch.seg > [aria-current="true"],
html body.ebs-page .series-switch.seg > [aria-pressed="true"],
html body.ebs-page .series-switch.seg > [aria-selected="true"] { background: var(--navy, #001D5A) !important; color: #FFFFFF !important; clip-path: var(--slant-sm); padding: 0 20px !important; }
/* Antal på flikarna (Kommande 140 / Resultat 42): liten räknebubbla som på live */
html body.ebs-page .tab .tab__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 18px; margin-left: 8px; padding: 0 7px; border-radius: 9px !important; background: rgba(0, 29, 90, .1); color: var(--navy, #001D5A); font: normal 700 11px/1 var(--font-body); letter-spacing: 0; }
html body.ebs-page .tab .tab__count:empty { display: none; }
html body.ebs-page .tab[aria-selected="true"] .tab__count { background: var(--navy-line, #24489A); color: #FFFFFF; }
/* ==== Typsnittsstorlekar som på resten av bandyallsvenskan.se (uppmätta på live-sidorna) ==== */
html body.ebs-page { --bas-d: var(--font-display); }
/* Matcher */
html body.ebs-page .mrow__name,
html body.ebs-page .mrow__name .n-l,
html body.ebs-page .mrow__name .n-s { font-family: var(--font-body) !important; font-size: 17px !important; font-weight: 600 !important; font-style: normal !important; }
html body.ebs-page .mrow__score,
html body.ebs-page .mrow__score * { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 22px !important; font-weight: 800 !important; font-style: italic !important; letter-spacing: .01em; }
html body.ebs-page .mrow__ser { font-family: var(--font-body) !important; font-size: 14px !important; font-weight: 400 !important; font-style: normal !important; color: var(--muted, #4D5B70) !important; }
html body.ebs-page img.mrow__crest { width: 32px !important; height: 32px !important; }
html body.ebs-page .mlist__day .elit-ui-title { font-size: 24px !important; }
/* Tabell och statistik */
html body.ebs-page .standings-row:not(.standings-head) .stat:not(.points),
html body.ebs-page .standings-row:not(.standings-head) .goals,
html body.ebs-page .standings-row .t-l { font-family: var(--font-body) !important; font-size: 17px !important; font-weight: 600 !important; }
html body.ebs-page .standings-row .table-rank { font-size: 22px !important; }
html body.ebs-page .ebs table tbody td,
html body.ebs-page .ebs table tbody th,
html body.ebs-page .ebs table tbody .player,
html body.ebs-page .ebs table tbody .t-l { font-family: var(--font-body); font-size: 16px !important; font-weight: 600; }
html body.ebs-page .ebs table tbody .c-main { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 20px !important; font-weight: 800 !important; }
html body.ebs-page .ebs table tbody .c-pos { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 20px !important; font-weight: 800 !important; }
html body.ebs-page .ebs table td small,
html body.ebs-page .ebs table td .sub { font-size: 12px !important; font-weight: 500 !important; color: var(--faint, #677589) !important; }
html body.ebs-page .league-table__more { font-size: 15px !important; font-weight: 600 !important; font-style: italic !important; }
html body.ebs-page .stat-note,
html body.ebs-page .league-table__foot { font-size: 14px !important; color: var(--muted, #4D5B70) !important; }
/* Sektionsrubriker som live (h2 32 px) */
html body.ebs-page .ebs .elit-ui-title { font-size: 32px !important; }
/* Matchsidan */
html body.ebs-page .mh__meta,
html body.ebs-page .mh__meta-a,
html body.ebs-page .mh__meta-b { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 17px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink, #001D5A) !important; }
html body.ebs-page .mh__score { font-size: 104px !important; line-height: 1 !important; }
html body.ebs-page .mh__kickoff { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 88px !important; font-weight: 800 !important; color: var(--ink, #001D5A) !important; }
html body.ebs-page .mh__name { font-size: 40px !important; line-height: 1 !important; }
html body.ebs-page .mh__scorer,
html body.ebs-page .mh__mins,
html body.ebs-page .mh__ht { font-size: 15px !important; }
html body.ebs-page .mh__scorer { font-weight: 600 !important; color: var(--ink, #001D5A) !important; }
html body.ebs-page .mh__mins { font-weight: 400 !important; color: var(--muted, #4D5B70) !important; }
html body.ebs-page .tl__time { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 17px !important; font-weight: 800 !important; font-style: normal !important; }
html body.ebs-page .tl__text,
html body.ebs-page .tl__text strong { font-size: 17px !important; }
html body.ebs-page .tl__text strong { font-weight: 700 !important; }
html body.ebs-page .tl__assist { font-size: 16px !important; font-weight: 400 !important; }
html body.ebs-page .tl__sub { font-size: 14px !important; font-weight: 400 !important; }
html body.ebs-page .tl__badge { font-size: 15px !important; font-weight: 800 !important; font-style: italic !important; font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); }
html body.ebs-page .tl__text--period { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 14px !important; font-weight: 800 !important; letter-spacing: .08em; text-transform: uppercase; }
html body.ebs-page .mstat__v { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 20px !important; font-weight: 800 !important; }
html body.ebs-page .mstat__label { font-size: 15px !important; font-weight: 500 !important; }
html body.ebs-page .mstats__head span { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 15px !important; font-weight: 800 !important; }
html body.ebs-page .mpoints__name { font-size: 16px !important; font-weight: 600 !important; }
html body.ebs-page .mpoints__code { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 14px !important; font-weight: 800 !important; }
html body.ebs-page #s-facts dt,
html body.ebs-page #s-facts th { font-family: var(--font-body) !important; font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink, #001D5A) !important; }
html body.ebs-page #s-facts dd,
html body.ebs-page #s-facts td { font-size: 15px !important; font-weight: 600 !important; }
html body.ebs-page .lineup__name { font-size: 17px !important; font-weight: 400 !important; }
html body.ebs-page .lineup__no { font-size: 15px !important; font-weight: 700 !important; }
html body.ebs-page .lineup__pos { font-size: 14px !important; }
html body.ebs-page .lineup__team,
html body.ebs-page .lineup__team span { font-family: var(--font-body) !important; font-size: 18px !important; font-weight: 700 !important; font-style: normal !important; text-transform: none !important; }
html body.ebs-page .match-jump__inner .tab { font-family: var(--font-display) !important; font-size-adjust: var(--display-adjust); font-size: 15px !important; font-weight: 800 !important; font-style: italic !important; }
html body.ebs-page :is(.pre__opp, .pre__game, .pre__name, .h2h__t) { font-size: 15px !important; }
html body.ebs-page :is(.pre__lbl, .pre__date, .h2h__note) { font-size: 13px !important; }
@media (max-width: 720px) {
	html body.ebs-page .mrow__name,
	html body.ebs-page .mrow__name .n-l,
	html body.ebs-page .mrow__name .n-s { font-size: 16px !important; }
	html body.ebs-page .mrow__score,
	html body.ebs-page .mrow__score * { font-size: 18px !important; }
	html body.ebs-page img.mrow__crest { width: 26px !important; height: 26px !important; }
	html body.ebs-page .ebs table tbody td,
	html body.ebs-page .ebs table tbody th,
	html body.ebs-page .ebs table tbody .player,
	html body.ebs-page .standings-row:not(.standings-head) .stat:not(.points),
	html body.ebs-page .standings-row:not(.standings-head) .goals,
	html body.ebs-page .standings-row .t-l { font-size: 15px !important; }
	html body.ebs-page .ebs .elit-ui-title { font-size: 26px !important; }
	html body.ebs-page .mh__score { font-size: 64px !important; }
	html body.ebs-page .mh__kickoff { font-size: 56px !important; }
	html body.ebs-page .mh__name { font-size: 20px !important; }
	html body.ebs-page .mh__meta,
	html body.ebs-page .mh__meta-a,
	html body.ebs-page .mh__meta-b { font-size: 14px !important; }
	html body.ebs-page .tl__text,
	html body.ebs-page .tl__text strong,
	html body.ebs-page .lineup__name { font-size: 16px !important; }
}
/* "Mer lagstatistik →": ett ord, mörkblå, lite större */
html body.ebs-page.ebs-page .ebs .league-table .league-table__bar a.league-table__more { display: inline-block !important; color: var(--navy, #001D5A) !important; font-family: var(--font-body) !important; font-size: 17px !important; font-weight: 700 !important; font-style: italic !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; }
html body.ebs-page.ebs-page .ebs .league-table .league-table__bar a.league-table__more .ltm-word { display: inline !important; margin: 0 !important; padding: 0 !important; font: inherit !important; color: inherit !important; }
html body.ebs-page.ebs-page .ebs .league-table .league-table__bar a.league-table__more span[aria-hidden] { display: inline !important; position: static !important; margin-left: 6px !important; font: inherit !important; font-style: normal !important; vertical-align: baseline !important; transform: none !important; }
html body.ebs-page.ebs-page .ebs .league-table .league-table__bar a.league-table__more:hover { color: var(--blue, #003DA6) !important; text-decoration: underline; }
@media (max-width: 720px) { html body.ebs-page.ebs-page .ebs .league-table .league-table__bar a.league-table__more { font-size: 15px !important; } }