/* Tageskurz Dienste — style usług.
   Kolory i czcionki bierzemy z motywu Tageskurz; poniżej wartości zapasowe. */

.tk-n-page,
.tk-n-embed,
.tk-n-inline,
.tk-n-home {
	--n-ink: var(--tk-ink, #131a29);
	--n-muted: var(--tk-muted, #566073);
	--n-line: var(--tk-line, #dfe4ec);
	--n-bg: var(--tk-bg, #f3f5f9);
	--n-s: var(--tk-s, #f0a202);
	--n-s-ink: var(--tk-s-ink, #8f5a00);
	--n-display: var(--tk-display, Arial, sans-serif);
	--n-radius: var(--tk-radius, 10px);
}

.tk-n-bars {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	width: 20px;
	height: 20px;
	flex: none;
}

.tk-n-bars i {
	display: block;
	height: 4px;
	border-radius: 2px;
	background: var(--n-s);
}

.tk-n-bars i:nth-child(1) { width: 20px; }
.tk-n-bars i:nth-child(2) { width: 13px; }
.tk-n-bars i:nth-child(3) { width: 8px; }

/* ---------- Strona usługi ---------- */

.tk-n-page {
	max-width: 920px;
	margin-inline: auto;
	color: var(--n-ink);
}

.tk-n-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 18px;
	font-size: 0.875rem;
	line-height: 1.3;
	color: var(--n-muted);
}

.tk-n-crumbs a {
	color: var(--n-muted);
	text-decoration: none;
}

.tk-n-crumbs a:hover,
.tk-n-crumbs a:focus-visible {
	color: var(--n-ink);
	text-decoration: underline;
}

.tk-n-crumbs [aria-current] {
	font-weight: 700;
	color: var(--n-s-ink);
}

.tk-n-header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	column-gap: 14px;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 2px solid var(--n-ink);
}

.tk-n-header > .tk-n-bars {
	transform: scale(1.5);
	transform-origin: left center;
	margin-right: 6px;
}

.tk-n-title {
	margin: 0;
	font-family: var(--n-display);
	font-stretch: 84%;
	font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.875rem);
	font-weight: 800;
	line-height: 1.04;
	text-wrap: balance;
}

.tk-n-lead {
	grid-column: 1 / -1;
	max-width: 68ch;
	margin: 14px 0 0;
	font-size: 1.0625rem;
	color: #333c4d;
}

.tk-n-body > * + * {
	margin-top: 1.1em;
	margin-bottom: 0;
}

.tk-n-body h2 {
	margin-top: 1.9em;
	font-size: 1.5rem;
	font-weight: 800;
}

.tk-n-body a {
	color: var(--tk-navy, #0e2a33);
	text-decoration: underline;
	text-decoration-color: var(--n-s);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.18em;
}

.tk-n-note {
	padding-top: 16px;
	border-top: 1px solid var(--n-line);
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--n-muted);
}

.tk-n-empty {
	padding: 36px 20px;
	border-radius: var(--n-radius);
	background: var(--n-bg);
	text-align: center;
}

.tk-n-empty p {
	margin: 0;
	color: var(--n-muted);
}

.tk-n-empty .tk-n-empty__title {
	margin: 12px 0 4px;
	font-family: var(--n-display);
	font-stretch: 88%;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--n-ink);
}

/* Tabele */
.tk-n-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tk-n-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.tk-n-table th,
.tk-n-table td {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--n-line);
	text-align: left;
	vertical-align: top;
	font-weight: 400;
}

.tk-n-table thead th {
	border-bottom: 2px solid var(--n-ink);
	font-family: var(--n-display);
	font-stretch: 92%;
	font-weight: 700;
	white-space: nowrap;
}

.tk-n-table tbody th {
	font-weight: 600;
}

.tk-n-table .tk-n-num {
	text-align: right;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.tk-n-table tr.is-past {
	color: var(--n-muted);
}

.tk-n-table tr.is-past a {
	color: inherit;
}

.tk-n-table tr.is-next {
	background: color-mix(in srgb, var(--n-s) 10%, #fff);
}

.tk-n-table tr.is-next th,
.tk-n-table tr.is-next td {
	font-weight: 700;
}

/* Poprzedni / następny */
.tk-n-prevnext {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.tk-n-prevnext:empty {
	display: none;
}

.tk-n-body .tk-n-prevnext a {
	display: block;
	padding: 12px 16px;
	border: 1px solid var(--n-line);
	border-radius: var(--n-radius);
	font-family: var(--n-display);
	font-stretch: 92%;
	font-weight: 700;
	line-height: 1.25;
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-prevnext a span {
	display: block;
	margin-bottom: 3px;
	font-family: var(--tk-text, inherit);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--n-muted);
}

.tk-n-prevnext a:hover,
.tk-n-prevnext a:focus-visible {
	border-color: var(--n-s);
}

.tk-n-prevnext__next {
	grid-column: 2;
	text-align: right;
}

/* Kafelki usług */
.tk-n-more {
	margin-top: 56px;
}

.tk-n-more__title {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--n-ink);
	font-size: 1.375rem;
	font-weight: 800;
}

.tk-n-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-tile {
	--n-s: var(--tk-s, #f0a202);
	--n-s-ink: var(--tk-s-ink, #8f5a00);
}

.tk-n-tile a {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 4px 12px;
	height: 100%;
	padding: 16px 18px;
	border-radius: var(--n-radius, 10px);
	background: color-mix(in srgb, var(--n-s) 9%, #fff);
	color: var(--n-ink, #131a29);
	text-decoration: none;
}

.tk-n-tile a:hover,
.tk-n-tile a:focus-visible {
	background: color-mix(in srgb, var(--n-s) 17%, #fff);
	color: var(--n-ink, #131a29);
}

.tk-n-tile .tk-n-bars {
	grid-row: span 2;
}

.tk-n-tile__name {
	font-family: var(--tk-display, Arial, sans-serif);
	font-stretch: 88%;
	font-size: 1.1875rem;
	font-weight: 800;
	line-height: 1.15;
}

.tk-n-tile__text {
	grid-column: 2;
	font-size: 0.875rem;
	line-height: 1.35;
	color: var(--n-muted, #566073);
}

/* ---------- Lotto ---------- */

.tk-n-balls {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	vertical-align: middle;
}

.tk-n-ball {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--n-s) 22%, #fff);
	box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--n-s) 55%, #fff);
	font-family: var(--n-display);
	font-stretch: 88%;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--n-ink);
}

.tk-n-balls--extra .tk-n-ball {
	background: var(--tk-navy, #0e2a33);
	box-shadow: none;
	color: #fff;
}

.tk-n-ball--mark {
	background: var(--n-s);
	box-shadow: none;
}

.tk-n-result {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px 22px;
}

.tk-n-result__set {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tk-n-result__label {
	font-size: 0.8125rem;
	line-height: 1.2;
	color: var(--n-muted);
}

.tk-n-result__note {
	flex-basis: 100%;
	margin: 0;
	font-size: 0.9375rem;
}

.tk-n-games {
	display: grid;
	gap: 0;
}

.tk-n-game {
	padding-block: 24px;
	border-bottom: 1px solid var(--n-line);
}

.tk-n-game:first-child {
	padding-top: 0;
}

.tk-n-body .tk-n-game__name {
	margin: 0 0 4px;
	font-size: 1.5rem;
}

.tk-n-body .tk-n-game__name a {
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-body .tk-n-game__name a:hover,
.tk-n-body .tk-n-game__name a:focus-visible {
	text-decoration: underline;
	text-decoration-color: var(--n-s);
}

.tk-n-game__date {
	margin: 0 0 12px;
	font-size: 0.9375rem;
	color: var(--n-muted);
}

.tk-n-game__next,
.tk-n-next {
	margin: 12px 0 0;
	font-size: 0.9375rem;
}

.tk-n-next {
	margin: 0;
	padding: 12px 16px;
	border-radius: var(--n-radius);
	background: var(--n-bg);
}

.tk-n-draws {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-draws li {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	align-items: center;
	gap: 12px 20px;
	padding-block: 14px;
	border-top: 1px solid var(--n-line);
}

.tk-n-body .tk-n-draws__date {
	font-weight: 700;
	text-decoration: none;
}

.tk-n-draws__date span {
	display: block;
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--n-muted);
}

.tk-n-draws .tk-n-ball {
	width: 2.125rem;
	height: 2.125rem;
	font-size: 0.9375rem;
}

.tk-n-facts {
	margin-left: 1.2em;
}

/* ---------- TV ---------- */

.tk-n-tv {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-tv__item {
	display: grid;
	grid-template-columns: 4.25rem minmax(0, 1fr);
	gap: 14px;
	padding-block: 13px;
	border-top: 1px solid var(--n-line);
}

.tk-n-tv__item:first-child {
	border-top: 0;
	padding-top: 0;
}

.tk-n-tv__time {
	font-family: var(--n-display);
	font-stretch: 84%;
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	color: var(--n-s-ink);
}

.tk-n-tv__main {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.tk-n-tv__title {
	font-family: var(--n-display);
	font-stretch: 90%;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.25;
}

.tk-n-tv__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 0.875rem;
	color: var(--n-muted);
}

.tk-n-tv__kind {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--n-bg);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--n-ink);
}

.tk-n-tv__kind--sport { background: #dcf3ea; }
.tk-n-tv__kind--film { background: #fde6ee; }
.tk-n-tv__kind--serial { background: #e6eefc; }

/* ---------- Kursy ---------- */

.tk-n-rates {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-body .tk-n-rates a,
.tk-n-embed .tk-n-rates a {
	display: grid;
	gap: 2px;
	height: 100%;
	padding: 14px 16px;
	border: 1px solid var(--n-line);
	border-radius: var(--n-radius);
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-rates a:hover,
.tk-n-rates a:focus-visible {
	border-color: var(--n-s);
}

.tk-n-rates__code {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--n-s-ink);
}

.tk-n-rates__mid {
	font-family: var(--n-display);
	font-stretch: 84%;
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.tk-n-rates__mid small,
.tk-n-big__value small {
	font-size: 0.55em;
	font-weight: 600;
	color: var(--n-muted);
}

.tk-n-rates__name {
	font-size: 0.8125rem;
	color: var(--n-muted);
}

.tk-n-conv {
	margin-top: 32px;
	padding: 22px 24px 24px;
	border-radius: var(--n-radius);
	background: var(--n-bg);
}

.tk-n-body .tk-n-conv__title {
	margin: 0 0 16px;
	font-size: 1.375rem;
}

.tk-n-conv__row {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto minmax(0, 1.2fr);
	align-items: end;
	gap: 12px;
}

.tk-n-conv__field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	font-size: 0.875rem;
	font-weight: 600;
}

.tk-n-conv__field input,
.tk-n-conv__field select {
	width: 100%;
	height: 48px;
	padding: 0 12px;
	border: 1px solid #c3ccd9;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 400;
	color: var(--n-ink);
}

.tk-n-conv__field input {
	font-variant-numeric: tabular-nums;
}

.tk-n-conv__swap {
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid #c3ccd9;
	border-radius: 8px;
	background: #fff;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--n-ink);
	cursor: pointer;
}

.tk-n-conv__swap:hover,
.tk-n-conv__swap:focus {
	border-color: var(--n-ink);
	background: #fff;
	color: var(--n-ink);
}

.tk-n-conv__out {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	margin: 18px 0 0;
}

.tk-n-conv__result {
	font-family: var(--n-display);
	font-stretch: 84%;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.tk-n-conv__rate {
	font-size: 0.9375rem;
	color: var(--n-muted);
}

.tk-n-conv__err {
	margin: 10px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #b3261e;
}

.tk-n-conv__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 16px 0 0;
}

.tk-n-conv__copy {
	padding: 10px 16px;
	border: 0;
	border-radius: 8px;
	background: var(--tk-navy, #0e2a33);
	font-size: 0.9375rem;
	line-height: 1.2;
	color: #fff;
	cursor: pointer;
}

.tk-n-conv__copied {
	font-size: 0.875rem;
	color: var(--n-muted);
}

.tk-n-big__value {
	margin: 0;
	font-family: var(--n-display);
	font-stretch: 80%;
	font-size: clamp(2.75rem, 1.8rem + 4vw, 4.25rem);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.tk-n-big__change {
	margin: 8px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
}

.tk-n-big__change--up { color: #0a7a4b; }
.tk-n-big__change--down { color: #b3261e; }
.tk-n-big__change--flat { color: var(--n-muted); }

.tk-n-chart {
	margin: 0;
}

.tk-n-chart svg {
	display: block;
	width: 100%;
	height: 240px;
}

.tk-n-chart__area {
	fill: color-mix(in srgb, var(--n-s) 12%, #fff);
}

.tk-n-chart__line {
	stroke: var(--n-s-ink);
	stroke-width: 2.5;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.tk-n-chart figcaption {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	font-size: 0.8125rem;
	color: var(--n-muted);
}

.tk-n-chart__desc {
	margin: 8px 0 0;
	font-size: 0.9375rem;
	color: #333c4d;
}

/* ---------- Kalendarz ---------- */

.tk-n-today {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-today li {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 16px 18px;
	border-radius: var(--n-radius);
	background: var(--n-bg);
}

.tk-n-today__label {
	font-size: 0.8125rem;
	color: var(--n-muted);
}

.tk-n-body .tk-n-today__value,
.tk-n-today__value {
	font-family: var(--n-display);
	font-stretch: 86%;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-body a.tk-n-today__value:hover,
.tk-n-body a.tk-n-today__value:focus-visible {
	text-decoration: underline;
	text-decoration-color: var(--n-s);
}

.tk-n-today__note {
	font-size: 0.875rem;
	color: #333c4d;
}

.tk-n-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-top: 32px;
}

.tk-n-cal {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 3px;
	table-layout: fixed;
}

.tk-n-cal caption {
	padding-bottom: 8px;
	font-family: var(--n-display);
	font-stretch: 88%;
	font-size: 1.1875rem;
	font-weight: 800;
	text-align: left;
	text-transform: capitalize;
	color: var(--n-ink);
}

.tk-n-cal th {
	padding: 4px 0;
	border: 0;
	font-size: 0.75rem;
	font-weight: 600;
	text-align: center;
	color: var(--n-muted);
}

.tk-n-cal td {
	padding: 0;
	border: 0;
	text-align: center;
}

.tk-n-body .tk-n-cal td > span {
	display: block;
	padding: 9px 0;
	border-radius: 8px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	line-height: 1.2;
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-cal td > span:hover,
.tk-n-cal td > span:focus-visible {
	background: var(--n-bg);
}

.tk-n-cal td.is-sunday > span { color: #b3261e; }

.tk-n-cal td.is-holiday > span,
.tk-n-legend__i.is-holiday {
	background: #fde4e1;
	color: #a1211a;
}

.tk-n-cal td.is-trading > span,
.tk-n-legend__i.is-trading {
	background: #dcf3ea;
	color: #0a6a43;
}

.tk-n-body .tk-n-cal td.is-today > span {
	box-shadow: inset 0 0 0 2px var(--n-ink);
}

.tk-n-legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 10px 0 0;
	font-size: 0.8125rem;
	color: var(--n-muted);
}

.tk-n-legend__i {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 4px;
}

.tk-n-legend__i.is-trading {
	margin-left: 10px;
}

.tk-n-links,
.tk-n-months {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-months {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.tk-n-body .tk-n-links a,
.tk-n-body .tk-n-months a {
	display: block;
	padding: 14px 16px;
	border: 1px solid var(--n-line);
	border-radius: var(--n-radius);
	font-family: var(--n-display);
	font-stretch: 90%;
	font-weight: 700;
	line-height: 1.25;
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-months a {
	text-transform: capitalize;
}

.tk-n-links a:hover,
.tk-n-links a:focus-visible,
.tk-n-months a:hover,
.tk-n-months a:focus-visible,
.tk-n-body .tk-n-months a.is-now {
	border-color: var(--n-s);
}

.tk-n-names {
	margin: 0;
	font-family: var(--n-display);
	font-stretch: 84%;
	font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
}

/* ---------- Bloki poza stronami usług ---------- */

.tk-n-embed,
.tk-n-inline {
	margin-block: 0 36px;
	padding: 20px 22px;
	border-radius: var(--n-radius);
	background: var(--n-bg);
	color: var(--n-ink);
}

.entry-content .tk-n-embed {
	margin-block: 1.6em;
}

.tk-n-inline {
	margin-top: 28px;
	margin-bottom: 0;
}

.tk-n-embed__item + .tk-n-embed__item {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--n-line);
}

.tk-n-embed__head,
.tk-n-inline__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 12px;
	margin: 0 0 12px;
	font-family: var(--n-display);
	font-stretch: 88%;
	font-size: 1.1875rem;
	font-weight: 800;
	line-height: 1.2;
}

.tk-n-embed__head a,
.tk-n-inline__title a,
.entry-content .tk-n-embed__head a {
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-embed__head a:hover,
.tk-n-inline__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--n-s);
}

.tk-n-embed__head span {
	font-family: var(--tk-text, inherit);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--n-muted);
}

.tk-n-embed__more {
	margin: 16px 0 0;
	font-size: 0.9375rem;
	font-weight: 600;
}

.tk-n-embed__more a {
	color: var(--n-s-ink);
}

.tk-n-embed .tk-n-rates a {
	background: #fff;
}

.tk-n-embed .tk-n-tv__item,
.tk-n-inline .tk-n-tv__item {
	border-color: #d3dae5;
}

.tk-n-inline .tk-n-tv {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 36px;
}

.tk-n-inline .tk-n-tv__item:nth-child(2) {
	border-top: 0;
	padding-top: 0;
}

.tk-n-topnames {
	color: inherit;
	text-decoration: none;
}

.tk-n-topnames:hover,
.tk-n-topnames:focus-visible {
	text-decoration: underline;
}

/* ---------- Mniejsze ekrany ---------- */

@media (max-width: 768px) {
	.tk-n-conv { padding: 18px 16px 20px; }

	.tk-n-conv__row { grid-template-columns: minmax(0, 1fr) auto; }

	.tk-n-conv__field:first-child { grid-column: 1 / -1; }

	.tk-n-conv__field:nth-of-type(2) { grid-column: 1; }

	.tk-n-conv__field:nth-of-type(3) { grid-column: 1 / -1; }

	.tk-n-conv__swap { grid-column: 2; grid-row: 2; }

	.tk-n-today,
	.tk-n-cols { grid-template-columns: minmax(0, 1fr); }

	.tk-n-draws li { grid-template-columns: minmax(0, 1fr); gap: 8px; }

	.tk-n-ball { width: 2.25rem; height: 2.25rem; font-size: 1rem; }

	.tk-n-inline .tk-n-tv { grid-template-columns: minmax(0, 1fr); }

	.tk-n-inline .tk-n-tv__item:nth-child(2) { border-top: 1px solid #d3dae5; padding-top: 13px; }

	.tk-n-topnames { display: none; }

	.tk-n-prevnext { grid-template-columns: minmax(0, 1fr); }

	.tk-n-prevnext__next { grid-column: auto; text-align: left; }

	.tk-n-table th,
	.tk-n-table td { padding: 9px 10px; }
}

/* Linki w tabelach: cieńsze podkreślenie, żeby tabela pozostała czytelna */
.tk-n-body .tk-n-table a {
	text-decoration-thickness: 1px;
}

.tk-n-body h2 + .tk-n-links,
.tk-n-body h2 + .tk-n-rates {
	margin-top: 14px;
}

/* ---------- TV: kanały ---------- */

.tk-n-tv__kind--dok { background: #f3ecd9; }

.tk-n-tv__kind--teraz {
	background: var(--n-s);
	color: #fff;
}

.tk-n-tv--kanal .tk-n-tv__item {
	padding-block: 10px;
}

.tk-n-tv--kanal .tk-n-tv__time {
	font-size: 1.1875rem;
}

.tk-n-tv--kanal .tk-n-tv__item.is-now {
	margin-inline: -12px;
	padding-inline: 12px;
	border-top-color: transparent;
	border-radius: var(--n-radius);
	background: var(--n-bg);
	background: color-mix(in srgb, var(--n-s) 9%, #fff);
}

.tk-n-tv--kanal .tk-n-tv__item.is-now + .tk-n-tv__item {
	border-top-color: transparent;
}

.tk-n-teraz {
	padding: 18px 20px;
	border-left: 5px solid var(--n-s);
	border-radius: 0 var(--n-radius) var(--n-radius) 0;
	background: var(--tk-navy, #0e2a33);
	color: #fff;
}

.tk-n-teraz p {
	margin: 0;
}

.tk-n-teraz__label {
	font-size: 0.875rem;
	color: #c9d3e6;
}

.tk-n-teraz__title {
	margin-top: 4px !important;
	font-family: var(--n-display);
	font-stretch: 90%;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
}

.tk-n-teraz__title time {
	margin-right: 6px;
	font-variant-numeric: tabular-nums;
	color: #ffb4a8;
}

.tk-n-teraz__next {
	margin-top: 8px !important;
	font-size: 0.9375rem;
	color: #dfe6f3;
}

.tk-n-dni ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tk-n-dni a,
.tk-n-dni span {
	display: block;
	padding: 7px 14px;
	border: 1px solid var(--n-line);
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.tk-n-body .tk-n-dni a {
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-dni a:hover,
.tk-n-dni a:focus-visible {
	border-color: var(--n-s);
}

.tk-n-dni span {
	border-color: var(--tk-navy, #0e2a33);
	background: var(--tk-navy, #0e2a33);
	color: #fff;
}

.tk-n-body .tk-n-kanaly__group {
	margin-top: 1.5em;
	font-size: 1rem;
	font-weight: 700;
	color: var(--n-muted);
}

.tk-n-kanaly {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.tk-n-kanaly--short {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.tk-n-body .tk-n-kanal a {
	display: flex;
	flex-direction: column;
	gap: 3px;
	height: 100%;
	padding: 11px 14px;
	border: 1px solid var(--n-line);
	border-radius: var(--n-radius);
	color: var(--n-ink);
	text-decoration: none;
}

.tk-n-kanal a:hover,
.tk-n-kanal a:focus-visible {
	border-color: var(--n-s);
}

.tk-n-kanal__name {
	font-family: var(--n-display);
	font-stretch: 90%;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.2;
}

.tk-n-kanal__now {
	overflow: hidden;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--n-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tk-n-table__muted {
	color: var(--n-muted);
}

.tk-n-table--tv tbody th {
	white-space: nowrap;
}

@media (max-width: 600px) {
	.tk-n-kanaly { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tk-n-teraz__title { font-size: 1.25rem; }
	.tk-n-dni ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
}

/* ---------- Lotto: Ziffernfolgen (Spiel 77, Super 6, plus 5) ---------- */

.tk-n-digits {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.tk-n-digit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 2.25rem;
	border: 1px solid var(--n-line);
	border-radius: 6px;
	background: #fff;
	font-family: var(--n-display);
	font-size: 1.125rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: var(--n-ink);
}

/* ---------- Kalender: Spalte mit der Kalenderwoche ---------- */

.tk-n-cal th.tk-n-cal__kw {
	width: 2.4rem;
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--n-muted);
	vertical-align: middle;
}

.tk-n-tv--kanal .tk-n-tv__item.is-now {
	margin-inline: 0;
	padding-inline: 10px;
}

@media (max-width: 600px) {
	.tk-n-cal { border-spacing: 2px; }
	.tk-n-cal th.tk-n-cal__kw { width: 1.5rem; }
	.tk-n-body .tk-n-cal td > span { padding: 8px 0; font-size: 0.875rem; }
	.tk-n-digit { width: 1.6rem; height: 2rem; font-size: 1rem; }
}
