:root {
	--md-green: #148a3c;
	--md-green-dark: #0e6e2f;
	--md-green-soft: #e8f4ec;
	--md-pitch: #0f3d26;
	--md-ink: #121a15;
	--md-muted: #5f6b64;
	--md-line: #e3e8e5;
	--md-bg: #f5f7f6;
	--md-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	/* stare nazwy z TSD - używane w części reguł */
	--tsd-ink: var(--md-ink);
	--tsd-muted: var(--md-muted);
	--tsd-line: var(--md-line);
	--tsd-green: var(--md-green);
	--tsd-green-dark: var(--md-green-dark);
	--tsd-navy: var(--md-pitch);
}

.grid-container { max-width: 1180px; }

body {
	font-family: var(--md-font);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.55;
	color: var(--md-ink);
	background: #fff;
}
h1, h2, h3 { font-family: var(--md-font); font-weight: 800; color: var(--md-ink); letter-spacing: -.01em; }
a { color: var(--md-green-dark); }

/* ---------- Nagłówek ---------- */
.site-header { background: var(--md-pitch); border-bottom: 0; }
.site-header .inside-header { padding: 0 24px; min-height: 64px; align-items: center; }
.main-title.tsd-logo { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.main-title.tsd-logo a,
.main-title.tsd-logo a:hover { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.tsd-logo__mark { width: 26px; height: 26px; color: var(--md-pitch); flex: none; }
.tsd-logo__img { display: block; width: auto; height: 26px; max-width: none; }
.md-footer__brand a { display: inline-block; }
.md-footer__logo { display: block; width: auto; height: 30px; max-width: 100%; }

.site-header .main-navigation,
.site-header .main-navigation ul ul { background: transparent; }
.site-header .main-navigation .main-nav ul li a {
	color: #cfe3d6;
	font-size: 15px;
	font-weight: 600;
	line-height: 64px;
	padding: 0 14px;
	background: transparent;
}
.site-header .main-navigation .main-nav ul li a:hover,
.site-header .main-navigation .main-nav ul li:hover > a { color: #fff; background: transparent; }
.site-header .main-navigation .main-nav ul li.current-menu-item > a {
	color: #fff;
	background: transparent;
	box-shadow: inset 0 -3px 0 #3fbf6b;
}
/* rozwijane menu (Rozgrywki) zostaje białe */
.site-header .main-navigation .main-nav ul ul li a { color: var(--md-ink); }
.site-header .main-navigation .main-nav ul ul li a:hover,
.site-header .main-navigation .main-nav ul ul li:hover > a { color: var(--md-green-dark); background: var(--md-bg); }
.site-header .main-navigation .main-nav ul ul li.current-menu-item > a { color: var(--md-green-dark); box-shadow: none; }
.site-header .main-navigation ul ul { background: #fff; border: 1px solid var(--md-line); border-radius: 8px; box-shadow: 0 10px 28px rgba(18, 26, 21, .12); }
.site-header .main-navigation .main-nav ul ul li a { line-height: 1.3; padding: 9px 16px; font-size: 15px; font-weight: 500; }
.site-header .main-navigation .menu-toggle,
.site-header .main-navigation .menu-toggle:hover,
.site-header .main-navigation .menu-toggle:focus { color: #fff; background: transparent; }
.site-header .main-navigation.toggled .main-nav > ul { background: var(--md-pitch); }

.menu-bar-items { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.md-hsearch,
.md-hsearch:hover,
.md-hsearch:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.md-hsearch[hidden] { display: none; }
.md-hsearch[aria-expanded="true"] { background: #fff; border-color: #fff; color: var(--md-pitch); }
.md-hdate {
	color: #fff;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- Pas strony z listą ---------- */
.tsd-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.md-hero { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--md-line); }
.md-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; padding-top: 40px; padding-bottom: 28px; }
.md-hero__text { position: relative; z-index: 1; }
.md-hero .tsd-hero__title {
	margin: 0 0 14px;
	font-size: clamp(36px, 5.6vw, 64px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.025em;
	color: var(--md-ink);
}
.tsd-hero__date { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.tsd-hero__weekday { color: var(--md-green-dark); }
.tsd-hero__updated { display: inline-block; margin-left: 12px; font-size: 14px; font-weight: 500; color: var(--md-muted); white-space: nowrap; }
.tsd-hero__updated time { color: var(--md-ink); font-weight: 600; }
.tsd-hero__lead { margin: 12px 0 0; max-width: 62ch; font-size: 17px; color: #46524b; }

.md-hero__art { position: relative; align-self: stretch; min-height: 180px; pointer-events: none; }
.md-pitch {
	position: absolute;
	top: -30px;
	right: -150px;
	width: 560px;
	height: auto;
	color: #b9dcc4;
	background: var(--md-green-soft);
	transform: perspective(900px) rotateX(48deg) rotateZ(-24deg);
	transform-origin: 60% 40%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
	mask-image: linear-gradient(90deg, transparent 0, #000 35%);
}
.md-hero__slogan {
	position: absolute;
	right: 0;
	bottom: 4px;
	margin: 0;
	padding-left: 14px;
	border-left: 3px solid var(--md-green);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--md-ink);
}

/* Dni (zakładki ze strzałkami) */
.md-days { position: relative; z-index: 2; padding: 0 0 18px; }
.md-days__inner { display: flex; align-items: center; gap: 10px; }
.md-days__list { display: flex; flex: 0 1 auto; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.md-days__list::-webkit-scrollbar { display: none; }
.md-days__list li { flex: 0 0 120px; margin: 0; }
.md-days__list a,
.md-days__list .is-off {
	display: block;
	padding: 9px 10px;
	border-radius: 8px;
	background: var(--md-bg);
	text-align: center;
	line-height: 1.25;
	color: var(--md-ink);
	text-decoration: none;
	white-space: nowrap;
}
.md-days__list strong { display: block; font-size: 15px; font-weight: 700; }
.md-days__list span span,
.md-days__list a span { font-size: 13px; color: var(--md-muted); }
.md-days__list a:hover { background: #e9eeeb; }
.md-days__list a[aria-current="page"],
.md-days__list a[aria-current="page"]:hover { background: var(--md-green); color: #fff; }
.md-days__list a[aria-current="page"] span { color: #d6efdf; }
.md-days__list .is-off { opacity: .45; }
.md-days__arrow {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--md-line);
	border-radius: 50%;
	background: #fff;
	color: var(--md-ink);
}
.md-days__arrow:hover { border-color: var(--md-green); color: var(--md-green-dark); }
.md-days__arrow.is-off { display: none; }

/* ---------- Treść ---------- */
.one-container .site-content { padding: 28px 24px 56px; }
.tsd-page.one-container .site-content { padding: 22px 24px 56px; }
.tsd-page .inside-article { padding: 0; }
.tsd-page .site-main { margin: 0; }
.page .entry-header .entry-title { margin: 0 0 20px; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.page .entry-content > p { max-width: none; }
.page .entry-content > h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.2; }
.page .entry-content > h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.25; }

/* Okruszki */
#breadcrumbs { margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: var(--md-muted); }
#breadcrumbs a { color: var(--md-ink); text-decoration: none; border-bottom: 1px solid var(--md-line); }
#breadcrumbs a:hover,
#breadcrumbs a:focus { color: var(--md-green-dark); border-bottom-color: var(--md-green); }
#breadcrumbs .breadcrumb_last { color: var(--md-muted); }
#breadcrumbs .tsd-bc-sep { margin: 0 8px; color: #a9b4ae; }

/* Sekcje */
.md-section { margin: 0 0 36px; }
.md-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.tsd-page .entry-content .md-h2,
.md-h2 { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; }
.md-h2::after { content: ""; width: 32px; height: 3px; background: var(--md-green); border-radius: 2px; }
.md-section > .md-h2 { margin-bottom: 14px; }
.tsd-page .entry-content .md-h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 700; color: var(--md-muted); }
.md-more-link { font-size: 14px; font-weight: 700; color: var(--md-green-dark); text-decoration: none; white-space: nowrap; }
.md-more-link::after { content: " \2192"; }
.md-more-link:hover { text-decoration: underline; }

/* Filtry */
.md-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 26px; }
.tsd-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.tsd-filter .tsd-filter__btn,
.md-more > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 15px;
	border: 1px solid var(--md-line);
	border-radius: 999px;
	background: #fff;
	color: var(--md-ink);
	font-family: var(--md-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	white-space: nowrap;
}
.tsd-filter .tsd-filter__btn:hover,
.tsd-filter .tsd-filter__btn:focus,
.md-more > summary:hover { background: #fff; color: var(--md-ink); border-color: #b9c4bd; }
.tsd-filter .tsd-filter__btn.is-active,
.tsd-filter .tsd-filter__btn.is-active:hover,
.md-more.is-active > summary { background: var(--md-green); border-color: var(--md-green); color: #fff; }
.tsd-filter .tsd-filter__btn:focus-visible,
.md-days a:focus-visible { outline: 2px solid var(--md-green); outline-offset: 2px; }
.md-more { position: relative; }
.md-more > summary { list-style: none; }
.md-more > summary::-webkit-details-marker { display: none; }
.md-more > summary::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.md-more__list {
	position: absolute;
	z-index: 15;
	top: calc(100% + 6px);
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 210px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--md-line);
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(18, 26, 21, .12);
}
.md-more__list .tsd-filter__btn { justify-content: flex-start; border-color: transparent; border-radius: 6px; }

.md-switch,
.md-switch:hover,
.md-switch:focus {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--md-ink);
	font-family: var(--md-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}
.md-switch__track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d3dbd6; transition: background .15s; }
.md-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.md-switch[aria-checked="true"] .md-switch__track { background: var(--md-green); }
.md-switch[aria-checked="true"] .md-switch__track::after { transform: translateX(16px); }

.md-search { margin: -12px 0 24px; }
.md-search[hidden] { display: none; }
.md-search__input {
	width: 100%;
	max-width: 460px;
	padding: 10px 16px;
	border: 1px solid var(--md-line);
	border-radius: 999px;
	font-family: var(--md-font);
	font-size: 16px;
	box-sizing: border-box;
}
.md-search__input:focus { outline: 2px solid var(--md-green); outline-offset: 1px; border-color: var(--md-green); }

/* Herby i drużyny */
.md-crest { display: inline-block; flex: none; width: 22px; height: 22px; object-fit: contain; vertical-align: middle; }
.md-crest--none { border-radius: 50%; background: #dfe5e1; }
.md-teams { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.md-team { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.md-vs { font-size: 13px; font-weight: 500; color: var(--md-muted); }

/* Najciekawsze mecze */
.md-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.md-card { position: relative; margin: 0; padding: 14px 16px; border: 1px solid var(--md-line); border-radius: 10px; background: #fff; }
.md-card[hidden] { display: none; }
.md-card__top { display: flex; gap: 12px; align-items: baseline; margin: 0 0 10px; font-size: 13px; color: var(--md-muted); }
.md-card__top time { font-size: 17px; font-weight: 800; color: var(--md-ink); }
.md-card__teams { margin: 0 0 10px; font-size: 16px; }
.md-card__tv { margin: 0; font-size: 13px; color: var(--md-muted); }
.md-card__link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; color: var(--md-green-dark); border-radius: 10px; }

/* Mecz dnia */
.md-motd {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 20px 32px;
	align-items: center;
	margin: 0 0 36px;
	padding: 24px 28px;
	border-radius: 12px;
	background: var(--md-pitch) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'%3E%3Crect x='10' y='10' width='580' height='280'/%3E%3Cpath d='M300 10v280'/%3E%3Ccircle cx='300' cy='150' r='48'/%3E%3Crect x='10' y='75' width='80' height='150'/%3E%3Crect x='510' y='75' width='80' height='150'/%3E%3C/svg%3E") right center / auto 130% no-repeat;
	color: #fff;
}
.md-motd[hidden] { display: none; }
.md-motd p { margin: 0; }
.md-motd__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; color: #cfe3d6; }
.md-motd__label { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: #fff; }
.md-motd__label svg { color: #f2c94c; }
.md-motd__top time { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .25); font-size: 17px; font-weight: 800; color: #fff; }
.md-motd__teams { margin: 16px 0 12px; font-size: clamp(20px, 2.4vw, 26px); }
.md-motd__teams .md-team { color: #fff; }
.md-motd__teams .md-vs { color: #cfe3d6; font-size: 16px; margin: 0 6px; }
.md-motd__teams .md-crest { width: 34px; height: 34px; }
.md-motd__teams .md-crest--none { background: rgba(255, 255, 255, .2); }
.md-motd__tv { font-size: 14px; color: #cfe3d6; }
.md-motd .tsd-free { color: #8fe0ad; }
.md-motd__note { padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(0, 0, 0, .2); font-size: 15px; line-height: 1.5; color: #e8f2ec; }

/* Tabela */
.md-table__head,
.md-row { display: grid; grid-template-columns: 76px 190px minmax(0, 1fr) 260px; gap: 4px 20px; align-items: center; }
.md-table--nocomp .md-table__head,
.md-table--nocomp .md-row { grid-template-columns: 76px 150px minmax(0, 1fr) 260px; }
.md-table__head { padding: 0 12px 8px; border-bottom: 1px solid var(--md-line); font-size: 12px; font-weight: 600; color: var(--md-muted); }
.md-table__head span:nth-child(3) { text-align: center; }
.md-table--nocomp .md-table__head span:nth-child(2) { visibility: hidden; }
.tsd-list { margin: 0; padding: 0; list-style: none; }
.md-row { margin: 0; padding: 12px; border-bottom: 1px solid var(--md-line); }
.md-row[hidden] { display: none; }
.md-row:hover { background: #fafbfa; }
.tsd-ev.is-featured { box-shadow: inset 3px 0 0 var(--md-green); }
.tsd-ev__time { font-size: 17px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tsd-ev__approx { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; color: var(--md-muted); }
.tsd-ev__state { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; }
.md-row__comp { min-width: 0; font-size: 14px; line-height: 1.35; }
.md-comp__name { display: block; font-weight: 600; }
.md-comp__name a { color: var(--md-ink); text-decoration: none; }
.md-comp__name a:hover { color: var(--md-green-dark); text-decoration: underline; }
.md-comp__round { display: block; font-size: 12px; color: var(--md-muted); }
.md-row__match { min-width: 0; }
.md-row .md-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); width: 100%; font-size: 15px; }
.md-row .md-team--home { justify-content: flex-end; text-align: right; }
.md-row .md-team--home .md-crest { order: 2; }
.tsd-ev__tv { font-size: 14px; line-height: 1.35; }
.tsd-ev__tv strong { display: block; font-weight: 600; }
.tsd-ev__tv span { display: block; font-size: 13px; color: var(--md-muted); }
.tsd-ev__tv.is-empty span { font-style: italic; }
.tsd-ev--pst .tsd-ev__time time,
.tsd-ev--canc .tsd-ev__time time { color: var(--md-muted); text-decoration: line-through; }
.tsd-ev--pst .tsd-ev__state,
.tsd-ev--canc .tsd-ev__state { color: #b4412f; }
.tsd-empty { margin: 0; padding: 24px 0; color: var(--md-muted); }

/* Za darmo */
.tsd-free { display: inline-block; margin: 0 0 2px; font-size: 12px; font-style: normal; font-weight: 700; color: var(--md-green-dark); }
.tsd-ev__tv .tsd-free { display: block; }

/* Linia "teraz" */
.tsd-list .tsd-now { display: flex; align-items: center; gap: 8px; margin: -1px 0 0; padding: 0; list-style: none; color: var(--md-green); font-size: 12px; font-weight: 700; line-height: 1; position: relative; z-index: 1; }
.tsd-list .tsd-now::before { content: ""; flex: none; border-left: 8px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.tsd-list .tsd-now span { flex: none; padding: 4px 0; }
.tsd-list .tsd-now::after { content: ""; flex: 1; height: 2px; background: currentColor; }
.tsd-ev__soon { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--md-green-dark); white-space: nowrap; }
.tsd-local { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--md-muted); white-space: nowrap; }
.md-card__top .tsd-local { display: inline; margin: 0; font-size: 12px; }
.md-motd__top .tsd-local { display: inline; margin: 0; font-size: 13px; font-weight: 600; color: #cfe3d6; }
.tsd-page .entry-content .tsd-tznote { margin: 0 0 14px; padding: 8px 12px; font-size: 14px; color: var(--md-muted); background: var(--md-bg); border-radius: 8px; }

/* Kafelki lig */
.md-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.md-tiles li { margin: 0; }
.md-tile {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 92px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--md-tile, var(--md-pitch)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120' fill='none' stroke='%23ffffff' stroke-opacity='.12' stroke-width='1.5'%3E%3Ccircle cx='170' cy='95' r='40'/%3E%3Cpath d='M170 0v120'/%3E%3C/svg%3E") right bottom / cover no-repeat;
	color: #fff;
	text-decoration: none;
}
.md-tile strong { font-size: 16px; font-weight: 800; line-height: 1.2; }
.md-tile span { font-size: 13px; color: rgba(255, 255, 255, .78); }
.md-tile:hover,
.md-tile:focus { color: #fff; filter: brightness(1.15); }
.md-leagues--all .md-tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.entry-content > .md-leagues { margin-top: 44px; }

/* Formularz kontaktowy: przycisk jak zielone przyciski na stronie (aktywny filtr ligi) */
#cscf_SubmitButton,
input#cscf_SubmitButton[type="submit"] {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	padding: 11px 26px;
	border: 1px solid var(--md-green);
	border-radius: 999px;
	background: var(--md-green);
	color: #fff;
	font-family: var(--md-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: none;
	text-shadow: none;
}
#cscf_SubmitButton:hover,
#cscf_SubmitButton:focus { background: var(--md-green-dark); border-color: var(--md-green-dark); color: #fff; }
#cscf_SubmitButton:focus-visible { outline: 2px solid var(--md-green); outline-offset: 2px; }

/* Podstrony: pełna szerokość treści (listy, tabele, formularz), lead, kroki, tabela nadawców */
.page .entry-content > ul,
.page .entry-content > ol,
.page .entry-content > table,
.page .entry-content > form,
.page .entry-content .cscf { max-width: none; }
.page-id-3983 .entry-content > h2,
.page-id-3984 .entry-content > h2 { margin-top: 44px; }
.page .entry-content > p.md-about-lead { max-width: none; font-size: 19px; line-height: 1.55; color: var(--md-ink); }
.md-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: md-step; }
.md-steps li { margin: 0; padding: 14px 0 0; border-top: 3px solid var(--md-green); counter-increment: md-step; }
.md-steps li::before { content: counter(md-step, decimal-leading-zero); display: block; margin: 0 0 6px; font-size: 28px; font-weight: 800; line-height: 1; color: var(--md-green); }
.md-steps strong { display: block; margin: 0 0 6px; font-size: 17px; }
.md-steps span { display: block; color: #3c4842; }
.page-id-3983 .md-leagues--all { margin: 12px 0 0; }
.page-id-3983 .md-tv { margin: 4px 0 14px; }
@media (max-width: 768px) {
	.page .entry-content > p.md-about-lead { font-size: 17px; }
	.md-steps { grid-template-columns: 1fr; gap: 20px; }
	.page-id-3983 .md-tv td:nth-child(2)::before { content: none; }
	.page-id-3983 .md-tv td:nth-child(3)::before { content: "Za darmo: "; color: var(--md-muted); }
}

/* Brak meczów */
.tsd-none { margin: 0 0 24px; padding: 20px 22px; background: var(--md-bg); border-left: 4px solid var(--md-line); border-radius: 8px; }
.tsd-page .entry-content .tsd-none__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }

/* Pytania i odpowiedzi */
.tsd-qa { margin: 36px 0 8px; }
.tsd-page .entry-content .tsd-qa h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.tsd-page .entry-content .tsd-qa p { margin: 0 0 24px; max-width: 72ch; color: #3c4842; }
.tsd-page .entry-content > h2 { margin: 48px 0 12px; font-size: 24px; line-height: 1.2; }
.tsd-page .entry-content > p { max-width: none; color: #3c4842; }

/* Sekcje tekstowe pod listą (z danych dnia) */
.md-text { margin: 40px 0 0; }
.tsd-page .entry-content .md-text h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.tsd-page .entry-content .md-text p { margin: 0 0 12px; color: #3c4842; }
.md-text__list { margin: 0 0 12px; padding: 0 0 0 18px; color: #3c4842; }
.md-text__list li { margin: 0 0 6px; }
.md-text__list:empty { display: none; }
.md-text a { color: var(--md-green-dark); }

.md-tv { width: 100%; margin: 4px 0 0; border-collapse: collapse; border: 0; font-size: 15px; }
.md-tv th, .md-tv td { padding: 10px 14px 10px 0; border: 0; border-bottom: 1px solid var(--md-line); text-align: left; vertical-align: top; }
.md-tv thead th { font-size: 12px; font-weight: 600; color: var(--md-muted); }
.md-tv tbody th { width: 34%; font-weight: 700; }
.md-tv tbody th a { color: var(--md-ink); text-decoration: none; }
.md-tv tbody th a:hover { color: var(--md-green-dark); text-decoration: underline; }
.md-tv tbody th span { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--md-muted); }
@media (max-width: 768px) {
	.md-text { margin-top: 32px; }
	.tsd-page .entry-content .md-text h2 { font-size: 20px; }
	.md-tv thead { display: none; }
	.md-tv tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--md-line); }
	.md-tv th, .md-tv td { display: block; width: auto; padding: 2px 0; border: 0; }
	.md-tv tbody th { width: auto; }
	.md-tv td:nth-child(2)::before { content: "TV: "; color: var(--md-muted); }
	.md-tv td:nth-child(3)::before { content: "Internet: "; color: var(--md-muted); }
}

/* Pakiety i ceny */
.tsd-watch { margin: 32px 0 8px; }
.tsd-page .entry-content .tsd-watch__title { margin: 0 0 12px; font-size: 22px; line-height: 1.2; }
.tsd-watch__table { width: 100%; margin: 0; border-collapse: collapse; border: 0; font-size: 15px; }
.tsd-watch__table th, .tsd-watch__table td { padding: 11px 12px 11px 0; border: 0; border-bottom: 1px solid var(--md-line); text-align: left; vertical-align: top; }
.tsd-watch__table thead th { font-size: 12px; font-weight: 600; color: var(--md-muted); border-bottom-color: var(--md-ink); }
.tsd-watch__table tbody th { font-weight: 700; white-space: nowrap; }
.tsd-watch__table tbody th span { display: block; font-size: 13px; font-weight: 400; color: var(--md-muted); }
.tsd-watch__table tr.is-free td:last-child { color: var(--md-green-dark); font-weight: 700; }
.tsd-page .entry-content .tsd-watch__note { margin: 10px 0 0; font-size: 14px; color: var(--md-muted); }

/* Archiwum */
.tsd-archive__month { margin: 0 0 32px; }
.tsd-archive__month h2 { margin: 0 0 10px; font-size: 22px; }
.tsd-archive__month ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--md-line); }
.tsd-archive__month li { margin: 0; border-bottom: 1px solid var(--md-line); }
.tsd-archive__month a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 4px; color: var(--md-ink); text-decoration: none; }
.tsd-archive__month a:hover .tsd-archive__day { color: var(--md-green-dark); text-decoration: underline; }
.tsd-archive__day { font-weight: 600; }
.tsd-archive__day::first-letter { text-transform: uppercase; }
.tsd-archive__count { color: var(--md-muted); white-space: nowrap; font-size: 15px; }

/* Mecz dnia przyklejony na dole - tylko telefon */
.tsd-sticky { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; align-items: center; gap: 4px; padding: 9px 6px 9px 14px; background: var(--md-pitch); color: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transform: translateY(160%); transition: transform .25s ease; }
.tsd-sticky.is-visible { transform: none; }
.tsd-sticky__link { display: flex; flex-direction: column; flex: 1; min-width: 0; color: #fff; text-decoration: none; line-height: 1.25; }
.tsd-sticky__link:hover, .tsd-sticky__link:focus { color: #fff; }
.tsd-sticky__label { font-size: 12px; font-weight: 700; color: #8fe0ad; }
.tsd-sticky__name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsd-sticky__meta { font-size: 13px; color: #cfe3d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsd-sticky .tsd-sticky__close,
.tsd-sticky .tsd-sticky__close:hover,
.tsd-sticky .tsd-sticky__close:focus { flex: none; padding: 4px 10px; background: transparent; color: #cfe3d6; font-size: 24px; line-height: 1; border: 0; }
@media (min-width: 769px) { .tsd-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .tsd-sticky { transition: none; } }

/* Zgoda na cookies */
.tsd-consent { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 330px; padding: 14px 16px; background: #fff; color: var(--md-ink); border: 1px solid var(--md-line); border-radius: 10px; box-shadow: 0 6px 24px rgba(18, 26, 21, .16); font-size: 13px; line-height: 1.45; }
.tsd-consent[hidden] { display: none; }
.tsd-consent p { margin: 0 0 10px; }
.tsd-consent__btns { display: flex; gap: 8px; }
.tsd-consent .tsd-consent__yes,
.tsd-consent .tsd-consent__no { padding: 6px 12px; border-radius: 6px; font-family: var(--md-font); font-size: 13px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.tsd-consent .tsd-consent__yes,
.tsd-consent .tsd-consent__yes:hover,
.tsd-consent .tsd-consent__yes:focus { background: var(--md-green); color: #fff; border: 1px solid var(--md-green); }
.tsd-consent .tsd-consent__no,
.tsd-consent .tsd-consent__no:hover,
.tsd-consent .tsd-consent__no:focus { background: #fff; color: var(--md-ink); border: 1px solid var(--md-line); }
.tsd-consent-open .tsd-sticky { display: none; }

/* Stopka */
.site-footer .footer-widgets { display: none; }
.md-footer { margin-top: 24px; padding: 48px 0 36px; background: var(--md-pitch); color: #b9cfc1; font-size: 15px; line-height: 1.55; }
.md-footer__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.md-footer p { margin: 0 0 12px; }
.md-footer__brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; color: #fff; }
.md-footer .tsd-logo__mark { width: 26px; height: 26px; color: var(--md-pitch); }
.md-footer__about p:not(.md-footer__brand) { max-width: 46ch; }
.md-footer__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.md-footer ul { margin: 0; padding: 0; list-style: none; }
.md-footer li { margin: 0 0 7px; }
.md-footer a { color: #b9cfc1; text-decoration: none; }
.md-footer a:hover,
.md-footer a:focus { color: #fff; text-decoration: underline; }
.site-footer .site-info { background: #0a2c1b; color: #8fae9b; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .site-info a { color: #fff; }
.site-footer .inside-site-info { padding: 18px 24px; }
.site-footer .copyright-bar { text-align: left; }
@media (max-width: 1080px) {
	.md-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.md-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
	.md-footer { padding: 36px 0 24px; font-size: 14px; }
	.md-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
	.site-footer .inside-site-info { padding: 16px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
	.md-hero__inner { grid-template-columns: minmax(0, 1fr) 260px; }
	.md-hero__slogan { display: none; }
	.md-table__head,
	.md-row { grid-template-columns: 64px 150px minmax(0, 1fr) 200px; gap: 4px 14px; }
	.md-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.md-motd { grid-template-columns: 1fr; }
}

/* ---------- Telefon ---------- */
@media (max-width: 768px) {
	body { font-size: 15px; }
	.site-header .inside-header { padding: 8px 16px; min-height: 60px; }
	.site-header .main-navigation .menu-toggle { line-height: 44px; padding: 0 8px; }
	.main-title.tsd-logo { font-size: 18px; }
	.tsd-logo__img { height: 21px; }
	.md-hdate { display: none; }
	.menu-bar-items { margin-left: 0; }
	.md-hsearch, .md-hsearch:hover, .md-hsearch:focus { width: 38px; height: 38px; border: 0; }
	.site-header .main-navigation ul ul { border: 0; border-radius: 0; box-shadow: none; background: rgba(0, 0, 0, .18); }
	.site-header .main-navigation .main-nav ul li a { line-height: 48px; }
	.site-header .main-navigation .main-nav ul ul li a { color: #cfe3d6; }
	.site-header .main-navigation .main-nav ul ul li a:hover,
	.site-header .main-navigation .main-nav ul ul li.current-menu-item > a { color: #fff; background: transparent; }

	.tsd-wrap { padding: 0 16px; }
	.md-hero__inner { display: block; padding-top: 22px; padding-bottom: 18px; }
	.md-hero__art { display: none; }
	.md-hero .tsd-hero__title { font-size: 34px; margin-bottom: 10px; }
	.tsd-hero__date { font-size: 16px; }
	.tsd-hero__updated { display: block; margin: 4px 0 0; font-size: 13px; }
	.tsd-hero__lead { font-size: 15px; }
	.md-days { padding-bottom: 14px; }
	.md-days__inner { gap: 6px; }
	.md-days__arrow { width: 32px; height: 32px; }
	.md-days__list { flex: 1 1 auto; min-width: 0; gap: 6px; }
	.md-days__list li { flex: 1 1 0; min-width: 0; }
	.md-days__list a, .md-days__list .is-off { padding: 7px 4px; }
	.md-days__list strong { font-size: 14px; }

	.tsd-page.one-container .site-content,
	.one-container .site-content { padding: 18px 16px 40px; }
	#breadcrumbs { font-size: 13px; }

	.md-filters { display: block; margin-bottom: 22px; }
	.tsd-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.tsd-filter::-webkit-scrollbar { display: none; }
	.md-more { position: static; }
	.md-more__list { left: 16px; right: 16px; top: auto; margin-top: 6px; }
	.md-switch { margin-top: 12px; }

	.md-h2, .tsd-page .entry-content .md-h2 { font-size: 20px; }
	/* na telefonie bez kreski przy nagłówku i bez linku "Wszystkie mecze" (tabela jest tuż pod spodem) */
	.md-h2::after { display: none; }
	.md-section__head { align-items: center; }
	.md-top .md-more-link { display: none; }
	.md-cards { grid-template-columns: 1fr; gap: 10px; }
	.md-motd { margin-bottom: 28px; padding: 18px; gap: 14px; }
	.md-motd__note { padding: 12px 14px; font-size: 14px; }

	.md-table__head { display: none; }
	.md-row,
	.md-table--nocomp .md-row {
		grid-template-columns: 52px minmax(0, 1fr);
		grid-template-areas: "time comp" "time match" "time tv";
		gap: 3px 12px;
		align-items: start;
		padding: 12px 2px;
	}
	.tsd-ev__time { grid-area: time; font-size: 16px; padding-top: 1px; }
	/* mecz dnia w tabeli: odstęp od zielonej kreski po lewej */
	.md-row.is-featured { padding-left: 12px; margin: 0 -2px; background: #f5faf6; }
	.md-row__comp { grid-area: comp; font-size: 12px; }
	.md-row__comp .md-comp__name, .md-row__comp .md-comp__round { display: inline; font-size: 12px; }
	.md-row__comp .md-comp__name + .md-comp__round::before { content: " - "; }
	.md-row__match { grid-area: match; }
	.md-row .md-teams { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 15px; }
	.md-row .md-team--home { justify-content: flex-start; text-align: left; }
	.md-row .md-team--home .md-crest { order: 0; }
	.md-row .md-vs { display: none; }
	.md-row .md-crest { width: 18px; height: 18px; }
	.md-row .tsd-ev__tv { grid-area: tv; }
	.md-row .tsd-ev__tv strong, .md-row .tsd-ev__tv span { display: inline; font-size: 13px; }
	.md-row .tsd-ev__tv strong + span::before { content: " / "; color: #b9c4bd; }

	.md-tiles { display: flex; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.md-tiles li { flex: 0 0 148px; }
	.md-leagues--all .md-tiles { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; }
	.md-tile { min-height: 84px; padding: 12px; }

	.tsd-watch__table thead { display: none; }
	.tsd-watch__table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--md-line); }
	.tsd-watch__table th, .tsd-watch__table td { display: block; padding: 2px 0; border: 0; }
	.tsd-watch__table tbody th { white-space: normal; }
	.tsd-consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); max-width: none; padding: 12px 14px; }
	.tsd-local, .tsd-ev__soon { white-space: normal; }
}
