/* =========================================================
 * Fičo Liga – sprednji del
 * Barve izhajajo iz barve besedila teme (currentColor), zato
 * se samodejno prilagodijo svetlim in temnim temam.
 * ======================================================= */
.fl {
	--fl-accent: #2563eb;
	--fl-live: #e11d48;
	--fl-win: #16a34a;
	--fl-draw: #a3a3a3;
	--fl-loss: #dc2626;
	--fl-line: color-mix(in srgb, currentColor 13%, transparent);
	--fl-soft: color-mix(in srgb, currentColor 4.5%, transparent);
	--fl-soft2: color-mix(in srgb, currentColor 8%, transparent);
	--fl-muted: color-mix(in srgb, currentColor 62%, transparent);
	--fl-accent-soft: color-mix(in srgb, var(--fl-accent) 12%, transparent);
	--fl-radius: 14px;
	--fl-radius-sm: 9px;
	--fl-team: var(--fl-accent);
	margin-block: 1.5em;
	font-size: 15px;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}
.fl *, .fl *::before, .fl *::after { box-sizing: border-box; }
.fl a { color: inherit; text-decoration: none; }
.fl a:hover { color: var(--fl-accent); }
.fl :focus-visible { outline: 2px solid var(--fl-accent); outline-offset: 2px; border-radius: 4px; }
.fl img { max-width: 100%; }
.fl .fl { margin-block: 0; }
.fl-title { margin: 0 0 .7em; font-size: 1.15em; font-weight: 700; letter-spacing: -.01em; }
.fl-subtitle, .fl h4.fl-subtitle { margin: 1.6em 0 .6em; font-size: 1em; }
.fl-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: .8em; }
.fl-titlebar .fl-title { margin: 0; font-size: 1.5em; }
.fl-empty { color: var(--fl-muted); padding: 1.2em; text-align: center; background: var(--fl-soft); border-radius: var(--fl-radius-sm); margin: .5em 0 1em; }
.fl-muted { color: var(--fl-muted); }
.fl-center { text-align: center; }
.fl-hint { color: var(--fl-muted); font-size: .9em; margin: .3em 0 1em; }
.fl-dot { opacity: .45; margin: 0 .35em; }
.fl-count { display: inline-block; min-width: 1.6em; padding: 0 .45em; font-size: .75em; line-height: 1.6; text-align: center; border-radius: 99px; background: var(--fl-soft2); color: var(--fl-muted); vertical-align: middle; font-weight: 600; }
.fl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fl-hide-sm { }
.fl.is-loading, .fl .is-loading { opacity: .55; transition: opacity .2s; pointer-events: none; }

/* gumbi in obrazci */
.fl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	padding: .55em 1.05em; border: 0; border-radius: 99px;
	background: var(--fl-accent); color: #fff !important; font: inherit; font-weight: 600; font-size: .92em;
	cursor: pointer; transition: transform .12s, filter .12s; text-decoration: none;
}
.fl-btn:hover { filter: brightness(1.08); }
.fl-btn:active { transform: scale(.97); }
.fl-btn:disabled { opacity: .5; cursor: default; }
.fl-btn-ghost { background: var(--fl-soft2); color: inherit !important; }
.fl select, .fl input[type=text], .fl input[type=number], .fl input[type=search], .fl input[type=date], .fl input[type=url], .fl textarea {
	font: inherit; color: inherit; background: var(--fl-soft); border: 1px solid var(--fl-line); border-radius: var(--fl-radius-sm); padding: .45em .65em;
}
.fl select { padding-right: 1.8em; }
.fl-search { width: 100%; max-width: 320px; margin-bottom: .8em; }

/* značke */
.fl-badge { display: inline-flex; align-items: center; gap: .35em; margin-left: auto; padding: .1em .55em; border-radius: 99px; font-size: .74em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--fl-soft2); color: var(--fl-muted); white-space: nowrap; }
.fl-badge-live { background: var(--fl-live); color: #fff; }
.fl-badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: fl-pulse 1.4s infinite; }
.fl-badge-postponed, .fl-badge-cancelled { background: color-mix(in srgb, #f59e0b 20%, transparent); color: color-mix(in srgb, #b45309 85%, currentColor); }
@keyframes fl-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .fl-badge-live i { animation: none; } }

/* logotipi in avatarji */
.fl-logo { width: 28px; height: 28px; object-fit: contain; flex: none; border-radius: 6px; }
.fl-logo-ph { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--fl-soft2); color: var(--fl-muted); font-weight: 700; letter-spacing: -.02em; line-height: 1; flex: none; }
.fl-avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--fl-soft2); }
.fl-avatar-ph { display: inline-flex; align-items: center; justify-content: center; color: var(--fl-muted); font-weight: 700; }
.fl-team, .fl-player-link { display: inline-flex; align-items: center; gap: .55em; min-width: 0; }
.fl-tname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-tabbr { display: none; font-weight: 600; }
.fl-tbd { color: var(--fl-muted); font-style: italic; }

/* =========================================================
 * Tekme
 * ======================================================= */
.fl-matchlist { display: flex; flex-direction: column; gap: 8px; }
.fl-group-head { margin: 1.1em 0 .1em; font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fl-muted); }
.fl-group-head:first-child { margin-top: 0; }
.fl-match {
	position: relative; padding: 10px 14px 12px; border-radius: var(--fl-radius); background: var(--fl-soft);
	border: 1px solid transparent; transition: border-color .15s, background .15s;
}
.fl-match:hover { border-color: var(--fl-line); }
.fl-match.fl-status-live { border-color: color-mix(in srgb, var(--fl-live) 45%, transparent); background: color-mix(in srgb, var(--fl-live) 6%, transparent); }
.fl-m-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0; font-size: .78em; color: var(--fl-muted); margin-bottom: 6px; min-height: 1.4em; }
.fl-m-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.fl-m-team { display: flex; align-items: center; gap: .6em; min-width: 0; font-weight: 600; }
.fl-m-team.fl-m-home { justify-content: flex-end; text-align: right; }
.fl-m-team.is-win { font-weight: 800; }
.fl-match.fl-status-finished .fl-m-team:not(.is-win) { opacity: .82; }
.fl-m-score {
	display: inline-flex; align-items: center; justify-content: center; gap: .25em; min-width: 76px; padding: .3em .7em;
	border-radius: 10px; background: var(--fl-soft2); font-weight: 800; font-size: 1.1em; letter-spacing: .02em;
}
.fl-status-live .fl-m-score { background: var(--fl-live); color: #fff !important; }
.fl-status-scheduled .fl-m-score { font-weight: 600; font-size: .95em; color: var(--fl-muted); }
.fl-sep { opacity: .5; }
.fl-res-pill { position: absolute; right: 10px; top: 9px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: .7em; font-weight: 800; }
.fl-res-w { background: var(--fl-win); }
.fl-res-d { background: var(--fl-draw); }
.fl-res-l { background: var(--fl-loss); }
.fl-match.fl-mres-w, .fl-match.fl-mres-l, .fl-match.fl-mres-d { padding-right: 38px; }
.fl-match.fl-mres-w { box-shadow: inset 3px 0 0 var(--fl-win); }
.fl-match.fl-mres-l { box-shadow: inset 3px 0 0 var(--fl-loss); }
.fl-match.fl-mres-d { box-shadow: inset 3px 0 0 var(--fl-draw); }
.fl-flash { animation: fl-flash 1.2s; }
@keyframes fl-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fl-accent) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* kartice (drsnik) */
.fl-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.fl-tile { scroll-snap-align: start; display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border-radius: var(--fl-radius); background: var(--fl-soft); border: 1px solid var(--fl-line); }
.fl-tile:hover { border-color: var(--fl-accent); color: inherit !important; }
.fl-tile-top { display: flex; align-items: center; font-size: .76em; color: var(--fl-muted); }
.fl-tile-row { display: flex; align-items: center; gap: .55em; font-weight: 600; }
.fl-tile-row .fl-tname { flex: 1; }
.fl-tile-row b { font-size: 1.1em; }
.fl-tile-foot { font-size: .78em; color: var(--fl-muted); }

/* krogi */
.fl-md-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.fl-md-nav select { flex: 1; max-width: 280px; text-align: center; font-weight: 600; }
.fl-md-nav .fl-btn { width: 38px; height: 38px; padding: 0; font-size: 1.3em; }

/* =========================================================
 * Tabele in lestvica
 * ======================================================= */
.fl-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; }
.fl-table th, .fl-table td { padding: .55em .45em; text-align: center; border: 0; border-bottom: 1px solid var(--fl-line); white-space: nowrap; background: none; }
.fl-table thead th { font-size: .72em; text-transform: uppercase; letter-spacing: .06em; color: var(--fl-muted); font-weight: 700; }
.fl-table tbody tr { transition: background .12s; }
.fl-table tbody tr:hover { background: var(--fl-soft); }
.fl-table tfoot th { font-weight: 800; }
.fl-table .fl-left { text-align: left; }
.fl-table td.fl-left { max-width: 280px; }
.fl-table .fl-pos { width: 2.6em; }
.fl-table th[data-sort] { cursor: pointer; user-select: none; }
.fl-table th[aria-sort="descending"]::after { content: " ↓"; }
.fl-table th[aria-sort="ascending"]::after { content: " ↑"; }
.fl-table tr.is-highlight { background: var(--fl-accent-soft) !important; }
.fl-table tr.is-highlight td { font-weight: 700; }
.fl-standings-table tr.has-zone .fl-pos span { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; border-radius: 7px; background: var(--fl-zone); color: #fff; font-weight: 700; }
.fl-standings-table tr.has-zone td:first-child { box-shadow: inset 3px 0 0 var(--fl-zone); }
.fl-c-pts strong { font-size: 1.05em; }
.fl-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: .8em 0 0; padding: 0; font-size: .82em; color: var(--fl-muted); }
.fl-legend li { display: flex; align-items: center; gap: .45em; margin: 0; }
.fl-legend i { width: 12px; height: 12px; border-radius: 3px; }
.fl-form { display: inline-flex; gap: 3px; }
.fl-f { width: 21px; height: 21px; border-radius: 6px; display: inline-grid; place-items: center; color: #fff !important; font-size: .68em; font-weight: 800; font-style: normal; }
.fl-f-W { background: var(--fl-win); }
.fl-f-D { background: var(--fl-draw); }
.fl-f-L { background: var(--fl-loss); }
a.fl-next { display: inline-flex; }
.fl-th-l { }

/* =========================================================
 * Zavihki
 * ======================================================= */
.fl-tabs { margin-top: .5em; }
.fl-tablist { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--fl-line); margin-bottom: 1.1em; }
.fl-tablist::-webkit-scrollbar { display: none; }
.fl-tablist [role=tab] {
	appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
	padding: .7em 1em; font: inherit; font-weight: 600; color: var(--fl-muted); cursor: pointer; white-space: nowrap; border-radius: 8px 8px 0 0;
}
.fl-tablist [role=tab]:hover { color: inherit; background: var(--fl-soft); }
.fl-tablist [role=tab][aria-selected=true] { color: var(--fl-accent); border-bottom-color: var(--fl-accent); }
.fl-tabpanel { animation: fl-fade .2s; }
@keyframes fl-fade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

/* =========================================================
 * Glave strani (tekma, ekipa, igralec)
 * ======================================================= */
.fl-hero {
	position: relative; overflow: hidden; border-radius: calc(var(--fl-radius) + 4px); padding: 22px;
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--fl-team) 22%, transparent), transparent 60%),
		radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--fl-accent) 14%, transparent), transparent 60%),
		var(--fl-soft);
	border: 1px solid var(--fl-line); margin-bottom: 1.2em;
}
.fl-hero-top { text-align: center; font-size: .8em; text-transform: uppercase; letter-spacing: .07em; color: var(--fl-muted); font-weight: 600; margin-bottom: 14px; }
.fl-hero-main { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; }
.fl-hero-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 0; }
.fl-hero-tlink { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 1.12em; }
.fl-hero-tlink .fl-logo { width: 88px; height: 88px; }
.fl-hero-center { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 18px; }
.fl-bigscore { display: flex; align-items: center; gap: 10px; font-size: 3.1em; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.fl-bigscore i { font-style: normal; opacity: .4; }
.fl-bigscore-time { font-size: 2em; color: var(--fl-muted); }
.fl-status-live .fl-bigscore { color: var(--fl-live); }
.fl-hero-status .fl-badge { margin: 0; }
.fl-periods { font-size: .85em; color: var(--fl-muted); }
.fl-periods span + span::before { content: ""; }
.fl-hero-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin-top: 18px; font-size: .86em; color: var(--fl-muted); text-align: center; }
.fl-scorers { list-style: none; margin: 0; padding: 0; font-size: .82em; color: var(--fl-muted); }
.fl-scorers li { margin: 0; }
.fl-scorers li::before { content: "⚽ "; opacity: .7; }
.fl-scorers span { opacity: .85; }

.fl-countdown { display: flex; justify-content: center; gap: 10px; }
.fl-countdown span { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 8px 6px; border-radius: 12px; background: var(--fl-soft2); }
.fl-countdown b { font-size: 1.5em; line-height: 1.1; }
.fl-countdown small { font-size: .7em; color: var(--fl-muted); text-transform: uppercase; letter-spacing: .05em; }
.fl-countdown-inline { margin-top: 16px; }
.fl-countdown-card { padding: 20px; border-radius: var(--fl-radius); background: var(--fl-soft); border: 1px solid var(--fl-line); text-align: center; }
.fl-cd-teams { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 16px; }
.fl-cd-team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; flex: 1; max-width: 200px; }
.fl-cd-team .fl-logo { width: 56px; height: 56px; }
.fl-cd-vs { color: var(--fl-muted); font-weight: 700; }
.fl-cd-meta { display: block; margin-top: 12px; font-size: .86em; color: var(--fl-muted); }

.fl-team-head, .fl-player-head { display: flex; align-items: center; gap: 20px; }
.fl-team-head .fl-logo, .fl-team-head .fl-logo-ph { width: 112px; height: 112px; }
.fl-hero-name { margin: 0; font-size: 1.9em; line-height: 1.15; letter-spacing: -.02em; }
.fl-hero-sub { margin: .35em 0 0; color: var(--fl-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .3em; }
.fl-hero-note { margin: 10px 0 0; font-size: .8em; color: var(--fl-muted); }
.fl-links { display: flex; gap: 8px; flex-wrap: wrap; margin: .8em 0 0; }
.fl-links a { padding: .25em .75em; border-radius: 99px; background: var(--fl-soft2); font-size: .85em; font-weight: 600; }
.fl-player-head .fl-avatar { width: 140px; height: 140px; border-radius: 22px; border: 3px solid color-mix(in srgb, var(--fl-team) 60%, transparent); }
.fl-bignum { display: block; font-size: 2.4em; font-weight: 900; line-height: 1; color: var(--fl-team); opacity: .9; }
.fl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-top: 20px; }
.fl-kpis div { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; border-radius: 12px; background: var(--fl-soft2); text-align: center; }
.fl-kpis b { font-size: 1.35em; line-height: 1.2; }
.fl-kpis small { font-size: .74em; color: var(--fl-muted); text-transform: uppercase; letter-spacing: .05em; }
.fl-kpis-sm { margin: 0 0 1em; }

/* dejstva */
.fl-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 0 0 1.2em; }
.fl-facts > div { padding: 10px 14px; border-radius: var(--fl-radius-sm); background: var(--fl-soft); }
.fl-facts dt { font-size: .74em; text-transform: uppercase; letter-spacing: .05em; color: var(--fl-muted); margin: 0; }
.fl-facts dd { margin: .15em 0 0; font-weight: 600; }
.fl-swatch { display: inline-block; width: 18px; height: 18px; border-radius: 5px; margin-right: 4px; vertical-align: middle; border: 1px solid var(--fl-line); }
.fl-prose { margin-bottom: 1.2em; }

/* potek tekme */
.fl-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.fl-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--fl-line); transform: translateX(-1px); }
.fl-timeline li { position: relative; display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; gap: 10px; margin: 0 0 10px; }
.fl-tl-min { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; min-width: 40px; padding: .2em .4em; border-radius: 99px; background: var(--fl-soft2); text-align: center; font-size: .78em; font-weight: 700; backdrop-filter: blur(6px); }
.fl-tl-icon { font-size: 1.15em; }
.fl-tl-body { display: flex; flex-direction: column; font-size: .92em; }
.fl-tl-body small { color: var(--fl-muted); font-size: .85em; }
.fl-tl-label { font-size: .74em; text-transform: uppercase; letter-spacing: .05em; color: var(--fl-muted); }
.fl-tl-home .fl-tl-icon, .fl-tl-home .fl-tl-body, .fl-tl-away .fl-tl-icon, .fl-tl-away .fl-tl-body { grid-row: 1; }
.fl-tl-home .fl-tl-body { grid-column: 1; text-align: right; align-items: flex-end; padding-right: 30px; }
.fl-tl-home .fl-tl-icon { grid-column: 1; justify-self: end; }
.fl-tl-away .fl-tl-body { grid-column: 3; padding-left: 30px; }
.fl-tl-away .fl-tl-icon { grid-column: 3; justify-self: start; }
.fl-tl-goal .fl-tl-body > a, .fl-tl-goal .fl-tl-body { font-weight: 700; }
.fl-in { color: var(--fl-win); }
.fl-out { color: var(--fl-loss); }

/* postavi */
.fl-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fl-lineup { padding: 14px 16px; border-radius: var(--fl-radius); background: var(--fl-soft); }
.fl-lineup h4 { display: flex; align-items: center; gap: .5em; margin: 0 0 .5em; }
.fl-lineup h5 { margin: 1em 0 .3em; font-size: .74em; text-transform: uppercase; letter-spacing: .06em; color: var(--fl-muted); }
.fl-lineup ul { list-style: none; margin: 0; padding: 0; }
.fl-lineup li { display: flex; align-items: center; gap: .55em; padding: .35em 0; margin: 0; border-bottom: 1px solid var(--fl-line); }
.fl-lineup li:last-child { border-bottom: 0; }
.fl-lu-num { width: 1.9em; text-align: center; font-weight: 700; color: var(--fl-muted); }
.fl-lu-evs { margin-left: auto; display: flex; gap: .3em; font-size: .85em; }
.fl-lu-ev { white-space: nowrap; }
.fl-cap { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--fl-accent); color: #fff; font-size: .62em; font-weight: 800; }

/* statistika ekip */
.fl-teamstats { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 0 auto; }
.fl-ts-vals { display: flex; justify-content: space-between; align-items: baseline; font-size: .92em; margin-bottom: 5px; }
.fl-ts-vals span { color: var(--fl-muted); font-size: .9em; }
.fl-ts-bar { display: flex; gap: 4px; height: 7px; }
.fl-ts-bar i { display: block; border-radius: 99px; background: var(--fl-accent); min-width: 4px; }
.fl-ts-bar i + i { background: color-mix(in srgb, currentColor 35%, transparent); }

/* medsebojno */
.fl-h2h-sum { display: flex; justify-content: space-around; text-align: center; margin-bottom: 12px; }
.fl-h2h-team { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fl-h2h-team strong { font-size: 1.6em; line-height: 1; }
.fl-h2h-team small { color: var(--fl-muted); font-size: .75em; }
.fl-h2h-d { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.4em; color: var(--fl-muted); }
.fl-bar3 { display: flex; height: 8px; gap: 3px; margin-bottom: 8px; }
.fl-bar3 i { display: block; border-radius: 99px; background: var(--fl-accent); }
.fl-bar3 i:nth-child(2) { background: var(--fl-draw); }
.fl-bar3 i:nth-child(3) { background: color-mix(in srgb, currentColor 45%, transparent); }

/* osebe in igralci */
.fl-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 1em; }
.fl-people-sm { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.fl-person { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px 14px; border-radius: var(--fl-radius); background: var(--fl-soft); text-align: center; border: 1px solid transparent; transition: transform .15s, border-color .15s; }
.fl-person:hover { transform: translateY(-2px); border-color: var(--fl-line); }
.fl-person .fl-avatar { width: 84px !important; height: 84px !important; margin-bottom: 6px; }
.fl-people-sm .fl-person .fl-avatar { width: 64px !important; height: 64px !important; }
.fl-person-num { position: absolute; top: 10px; left: 12px; font-weight: 900; font-size: 1.15em; color: var(--fl-accent); }
.fl-person-name { font-weight: 700; line-height: 1.25; }
.fl-person-sub { font-size: .8em; color: var(--fl-muted); }

/* vodilni */
.fl-leaders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fl-leaders li { margin: 0; }
.fl-leaders a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--fl-radius-sm); background: var(--fl-soft); }
.fl-leaders .is-first a { padding: 14px; background: linear-gradient(120deg, var(--fl-accent-soft), var(--fl-soft)); }
.fl-l-rank { width: 1.4em; text-align: center; font-weight: 800; color: var(--fl-muted); }
.fl-l-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fl-l-name small { color: var(--fl-muted); font-size: .8em; }
.fl-l-val { font-size: 1.3em; font-weight: 800; }
.fl-leaders .is-first .fl-l-val { font-size: 2em; color: var(--fl-accent); }

/* mreža ekip */
.fl-teamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fl-teamcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border-radius: var(--fl-radius); text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--fl-team) 14%, transparent), var(--fl-soft)); border: 1px solid var(--fl-line); transition: transform .15s; }
.fl-teamcard:hover { transform: translateY(-3px); }
.fl-teamcard .fl-logo { width: 72px; height: 72px; }
.fl-teamcard span { font-weight: 700; }
.fl-teamcard small { color: var(--fl-muted); font-size: .8em; }

/* drevo izločilnih bojev */
.fl-bracket { display: grid; grid-template-columns: repeat(var(--fl-rounds), minmax(210px, 1fr)); gap: 26px; min-width: calc(var(--fl-rounds) * 230px); }
.fl-br-round { display: flex; flex-direction: column; }
.fl-br-title { margin: 0 0 10px; text-align: center; font-size: .78em; text-transform: uppercase; letter-spacing: .06em; color: var(--fl-muted); }
.fl-br-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 12px; }
.fl-br-match { position: relative; display: block; border-radius: var(--fl-radius-sm); background: var(--fl-soft); border: 1px solid var(--fl-line); overflow: hidden; }
.fl-br-match:hover { border-color: var(--fl-accent); color: inherit !important; }
.fl-br-round:not(:last-child) .fl-br-match::after { content: ""; position: absolute; right: -27px; top: 50%; width: 26px; height: 2px; background: var(--fl-line); }
.fl-br-team { display: flex; align-items: center; gap: .5em; padding: 7px 10px; font-size: .92em; }
.fl-br-team + .fl-br-team { border-top: 1px solid var(--fl-line); }
.fl-br-team .fl-tname { flex: 1; }
.fl-br-team b { min-width: 1.4em; text-align: right; }
.fl-br-team sup { font-size: .7em; opacity: .7; }
.fl-br-team.is-win { font-weight: 800; background: var(--fl-accent-soft); }
.fl-br-date { display: block; padding: 3px 10px 5px; font-size: .7em; color: var(--fl-muted); }
.fl-br-third { max-width: 260px; margin: 22px auto 0; }
.fl-champion { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding: 14px; border-radius: var(--fl-radius); background: linear-gradient(120deg, color-mix(in srgb, #eab308 25%, transparent), var(--fl-soft)); font-size: 1.15em; }

/* koledar */
.fl-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fl-cal-head strong { font-size: 1.1em; text-transform: capitalize; }
.fl-cal-head .fl-btn { width: 36px; height: 36px; padding: 0; font-size: 1.25em; }
.fl-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.fl-cal-dow { text-align: center; font-size: .72em; text-transform: uppercase; color: var(--fl-muted); padding: 4px 0; font-weight: 700; }
.fl-cal-day { min-height: 88px; padding: 5px; border-radius: 8px; background: var(--fl-soft); display: flex; flex-direction: column; gap: 3px; }
.fl-cal-day.is-empty { background: none; }
.fl-cal-day.is-today { box-shadow: inset 0 0 0 2px var(--fl-accent); }
.fl-cal-num { font-size: .78em; font-weight: 700; color: var(--fl-muted); }
.fl-cal-match { display: flex; align-items: center; justify-content: space-between; gap: 2px; padding: 2px 4px; border-radius: 6px; background: var(--fl-soft2); font-size: .72em; font-weight: 700; }
.fl-cal-match .fl-logo, .fl-cal-match .fl-logo-ph { width: 16px !important; height: 16px !important; font-size: 7px !important; }
.fl-cal-match.fl-status-live { background: var(--fl-live); color: #fff !important; }
.fl-ics { margin-top: 1em; }

/* zemljevid, galerija, video */
.fl-map { position: relative; border-radius: var(--fl-radius); overflow: hidden; border: 1px solid var(--fl-line); margin-bottom: 1em; }
.fl-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.fl-map-link { position: absolute; right: 8px; bottom: 8px; padding: .3em .7em; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #111 !important; font-size: .8em; font-weight: 600; }
.fl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 1em; }
.fl-gallery a { display: block; aspect-ratio: 4/3; border-radius: var(--fl-radius-sm); overflow: hidden; }
.fl-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fl-gallery a:hover img { transform: scale(1.05); }
.fl-video { position: relative; aspect-ratio: 16/9; border-radius: var(--fl-radius); overflow: hidden; }
.fl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.fl-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; }
.fl-lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 8px; }
.fl-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.fl-lb-close { top: 18px; right: 18px; }
.fl-lb-prev { left: 18px; }
.fl-lb-next { right: 18px; }

/* izbirnik sezone */
.fl-season-select select { font-weight: 600; }

/* napovedi */
.fl-predict-form, .fl-pred-past, .fl-mod-form { padding: 12px 14px; border-radius: var(--fl-radius); background: var(--fl-soft); margin-bottom: 10px; border: 1px solid transparent; }
.fl-predict-form.is-saved { border-color: color-mix(in srgb, var(--fl-win) 40%, transparent); }
.fl-pred-past { padding: 0; background: none; }
.fl-pred-inputs { display: inline-flex; align-items: center; gap: 6px; }
.fl .fl-pred-inputs input { width: 3.4em; text-align: center; font-size: 1.15em; font-weight: 800; padding: .35em .2em; -moz-appearance: textfield; }
.fl-pred-inputs input::-webkit-outer-spin-button, .fl-pred-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fl-pred-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; font-size: .9em; }
.fl-predict-msg { font-size: .88em; }
.fl-predict-msg.is-ok { color: var(--fl-win); }
.fl-predict-msg.is-error { color: var(--fl-loss); }
.fl-pred-line { padding: 6px 14px 0; font-size: .88em; }
.fl-pts-pill { display: inline-block; padding: 0 .55em; border-radius: 99px; background: var(--fl-win); color: #fff; font-weight: 800; }

/* moderator */
.fl-mod-head { display: flex; align-items: center; gap: 14px; margin: 10px 0 6px; }
.fl-mod-head .fl-title { margin: 0; }
.fl-alert { padding: 10px 14px; border-radius: var(--fl-radius-sm); margin-bottom: 12px; font-weight: 600; }
.fl-alert-ok { background: color-mix(in srgb, var(--fl-win) 15%, transparent); }
.fl-alert-err { background: color-mix(in srgb, var(--fl-loss) 15%, transparent); }
.fl-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.fl-form-grid label, .fl-block-label { display: flex; flex-direction: column; gap: 4px; font-size: .9em; }
.fl-form-grid label span, .fl-block-label span { font-weight: 600; }
.fl-sheet-front input[type=text] { width: 100%; min-width: 140px; }
.fl-sheet-front .fl-num-in { width: 4em; }
.fl-mod .fl-season-select { margin-bottom: 8px; }

/* =========================================================
 * Odzivnost
 * ======================================================= */
@media (max-width: 640px) {
	.fl { font-size: 14px; }
	.fl-hide-sm { display: none !important; }
	.fl-match .fl-tname { display: none; }
	.fl-match .fl-tabbr { display: inline; }
	.fl-standings-table .fl-tname { display: none; }
	.fl-standings-table .fl-tabbr { display: inline; }
	.fl-m-score { min-width: 64px; }
	.fl-hero { padding: 16px 12px; }
	.fl-hero-tlink .fl-logo, .fl-hero-tlink .fl-logo-ph { width: 56px !important; height: 56px !important; }
	.fl-hero-tlink { font-size: .95em; }
	.fl-bigscore { font-size: 2.2em; }
	.fl-hero-main { gap: 8px; }
	.fl-scorers { display: none; }
	.fl-team-head, .fl-player-head { flex-direction: column; text-align: center; }
	.fl-hero-sub, .fl-links { justify-content: center; }
	.fl-lineups { grid-template-columns: 1fr; }
	.fl-countdown span { min-width: 50px; }
	.fl-cal-day { min-height: 54px; }
	.fl-cal-match span { display: none; }
	.fl-cal-match { justify-content: center; }
	.fl-th-l { display: none; }
	.fl-timeline li { grid-template-columns: 1fr 38px 1fr; gap: 6px; }
	.fl-tl-home .fl-tl-body { padding-right: 24px; }
	.fl-tl-away .fl-tl-body { padding-left: 24px; }
}

/* urejevalnik blokov */
.editor-styles-wrapper .fl a { pointer-events: none; }
