/*
 * Rybárske revíry – portál 1.16: nové rozloženie stránky revíru.
 *
 * Rozcestník s kotvami, pás „Teraz pri vode“ (jediné miesto s aktuálnymi hodnotami), ukazovateľ skóre, obloha so slnkom,
 * mesiacom a solunárnymi oknami, podmienky, počasie a stupnice. Farby berú tokeny z rybar.css, takže všetko funguje
 * vo dennom, nočnom aj červenom režime (rybar-night.css). Pohyb sa vypína pri prefers-reduced-motion.
 */

/* ------------------------------------------------------------------ tokeny */

.ryb {
	--v-good: #1f8f55;
	--v-good-2: #5e9d18;
	--v-mid: #b9820a;
	--v-bad: #cf4416;
	--v-cool: #1f86b8;
	--v-gold: #d9981a;
	--v-moon: #5f78c8;
	--v-ease: cubic-bezier(.23, 1, .32, 1);
	--v-gap: clamp(10px, 1.4cqi, 16px);
	--v-pad: clamp(10px, 2vw, 26px);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb {
	--v-good: #6fe09a;
	--v-good-2: #b5e05a;
	--v-mid: #f2b632;
	--v-bad: #ff7d52;
	--v-cool: #6cc7e0;
	--v-gold: #f2b632;
	--v-moon: #b7c8ff;
}

/* ----------------------------------------------------------- rozcestník */

.ryb .ryb-jump {
	position: sticky;
	top: var(--ryb-hdr, 0px);
	z-index: 40;
	margin: 14px 0 0;
	padding: 6px 0;
	--prog: 0%;
}
.ryb .ryb-jump::before {
	content: '';
	position: absolute;
	inset: 6px 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ryb-surface) 84%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(1.5);
	backdrop-filter: blur(14px) saturate(1.5);
	border: 1px solid var(--ryb-line);
	box-shadow: 0 10px 26px -16px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ryb .ryb-jump::after {
	content: '';
	position: absolute;
	left: 18px;
	bottom: 6px;
	height: 2px;
	width: calc((100% - 36px) * var(--prog, 0) / 100%);
	border-radius: 2px;
	background: linear-gradient(90deg, var(--ryb-river), var(--ryb-float));
	opacity: .9;
	pointer-events: none;
}
.ryb .ryb-jump__list {
	position: relative;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 6px 8px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
	scroll-snap-type: x proximity;
}
.ryb .ryb-jump__list::-webkit-scrollbar {
	display: none;
}
.ryb .ryb-jump__list li {
	flex: none;
	scroll-snap-align: center;
}
.ryb .ryb-jump__list a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 14px 0 11px;
	border-radius: 999px;
	color: var(--ryb-ink-2);
	font-size: .9rem;
	font-weight: 640;
	text-decoration: none;
	white-space: nowrap;
	transition-property: background-color, color, box-shadow, transform;
	transition-duration: .18s;
	transition-timing-function: ease;
}
.ryb .ryb-jump__list a .ryb-i {
	width: 18px;
	height: 18px;
	color: var(--ryb-mute);
	transition: color .18s ease, transform .3s var(--v-ease);
}
.ryb .ryb-jump__list a:active {
	transform: scale(.97);
}
.ryb .ryb-jump__list a.is-on {
	background: color-mix(in srgb, var(--ryb-river) 20%, transparent);
	color: var(--ryb-head);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ryb-river) 55%, transparent);
}
.ryb .ryb-jump__list a.is-on .ryb-i {
	color: var(--ryb-river);
	transform: scale(1.12);
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-jump__list a:hover {
		background: color-mix(in srgb, var(--ryb-river) 12%, transparent);
		color: var(--ryb-head);
	}
}
.ryb .ryb-jump__list a:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: -2px;
}
[data-blk],
.ryb .ryb-now {
	scroll-margin-top: calc(var(--ryb-hdr, 0px) + var(--ryb-jump-h, 56px) + 10px);
}

/* ------------------------------------------------------ rozloženie sekcií */

.ryb .ryb-body--v2 {
	gap: clamp(26px, 4cqi, 46px);
	margin-top: clamp(10px, 1.6cqi, 18px);
}
.ryb .ryb-blk {
	position: relative;
	min-width: 0;
}
.ryb .ryb-blk > .ryb-sec__head {
	margin-bottom: 14px;
}
.ryb .ryb-blk__body {
	display: grid;
	gap: var(--v-gap);
	min-width: 0;
}
.ryb .ryb-blk__body + .ryb-blk__body {
	margin-top: var(--v-gap);
}
.ryb .ryb-blk__body--one {
	grid-template-columns: minmax(0, 1fr);
}
.ryb .ryb-blk__body--auto {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	align-items: start;
}
.ryb .ryb-blk__body--map {
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}
@container ryb (min-width: 900px) {
	.ryb .ryb-blk__body--map {
		grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
	}
}
.ryb .ryb-blk__main,
.ryb .ryb-blk__side {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.ryb .ryb-blk__main > .ryb-box--map {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}
.ryb .ryb-blk__main .ryb-mapbox {
	height: clamp(340px, 46cqi, 600px);
}
.ryb .ryb-blk__side > .ryb-panel {
	flex: 1 1 auto;
}
.ryb .ryb-blk .ryb-panel {
	width: 100%;
	margin: 0;
	padding: clamp(14px, 1.6cqi, 20px);
	gap: 12px;
}
.ryb .ryb-blk .ryb-panel--podmienky.is-loading {
	min-height: 520px;
}
.ryb .ryb-blk .ryb-panel--pocasie.is-loading {
	min-height: 440px;
}
.ryb .ryb-blk .ryb-panel--prietok.is-loading {
	min-height: 320px;
}
/* panely s grafom v pásme Voda: široký výškový profil cez celý riadok */
.ryb .ryb-blk--voda .ryb-panel--profil {
	grid-column: 1 / -1;
}
.ryb .ryb-blk--ext {
	display: flex;
	flex-direction: column;
	gap: var(--v-gap);
}
.ryb .ryb-blk--ext > .ryb-sec,
.ryb .ryb-blk--ext > .ryb-panel {
	margin: 0;
}

/* sekcie sa jemne objavia pri posune (len tie pod okrajom obrazovky, rieši rybar-v2.js) */
@media (prefers-reduced-motion: no-preference) {
	.ryb-js .ryb-rv {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity .6s var(--v-ease), transform .7s var(--v-ease);
	}
	.ryb-js .ryb-rv.is-in {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------- prehľad „Teraz pri vode“ */

.ryb .ryb-now {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(14px, 2.2cqi, 24px);
	border-radius: var(--ryb-r-xl);
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ryb-river) 14%, transparent), transparent 55%),
		radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--ryb-float) 9%, transparent), transparent 60%),
		var(--ryb-surface);
	border: 1px solid var(--ryb-line);
	box-shadow: var(--ryb-shadow);
}
.ryb .ryb-now::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ryb-camo) center / 520px;
	opacity: .045;
	mix-blend-mode: luminosity;
	pointer-events: none;
}
.ryb .ryb-now__h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--ryb-font-display);
	font-size: clamp(1.15rem, 2.4cqi, 1.5rem);
	font-weight: 780;
	font-stretch: 80%;
	color: var(--ryb-head);
	line-height: 1.1;
}
.ryb .ryb-now__pulse {
	position: relative;
	flex: none;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--v-good);
	box-shadow: 0 0 10px var(--v-good);
}
.ryb .ryb-now__pulse::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	border: 2px solid var(--v-good);
	opacity: 0;
	animation: ryb-v-ping 2.4s ease-out infinite;
}
@keyframes ryb-v-ping {
	0% {
		transform: scale(.4);
		opacity: .85;
	}
	80%,
	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}
.ryb .ryb-now__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin-top: 14px;
}
.ryb .ryb-now__score,
.ryb .ryb-now__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.ryb .ryb-now__score {
	display: grid;
}
/* ostatné dlaždice sa lámu do riadkov a posledná sa roztiahne, takže nikdy nezostane prázdne miesto */
.ryb .ryb-now__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ryb .ryb-now__grid > .ryb-nw {
	flex: 1 1 clamp(190px, 21cqi, 250px);
}
@container ryb (min-width: 760px) {
	.ryb .ryb-now__body.has-score {
		grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
	}
}
.ryb .ryb-nw {
	--st: var(--ryb-river);
	position: relative;
	min-width: 0;
	border-radius: var(--ryb-r-lg);
	background: color-mix(in srgb, var(--ryb-canvas) 70%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
	box-shadow: inset 3px 0 0 var(--st);
	overflow: hidden;
	transition: transform .25s var(--v-ease), border-color .2s ease, box-shadow .25s ease, background-color .25s ease;
}
.ryb .ryb-nw[hidden] {
	display: none;
}
.ryb .ryb-nw.is-good {
	--st: var(--v-good);
}
.ryb .ryb-nw.is-mid,
.ryb .ryb-nw.is-warm {
	--st: var(--v-mid);
}
.ryb .ryb-nw.is-bad,
.ryb .ryb-nw.is-hot,
.ryb .ryb-nw.is-low {
	--st: var(--v-bad);
}
.ryb .ryb-nw.is-cool,
.ryb .ryb-nw.is-cold {
	--st: var(--v-cool);
}
.ryb .ryb-nw.is-ideal {
	--st: var(--v-good);
}
.ryb .ryb-nw::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 100% at 0% 50%, color-mix(in srgb, var(--st) 14%, transparent), transparent 60%);
	pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-nw:hover {
		transform: translateY(-2px);
		border-color: color-mix(in srgb, var(--st) 55%, var(--ryb-line));
		box-shadow: inset 3px 0 0 var(--st), 0 14px 26px -16px rgba(0, 0, 0, .6);
	}
}
.ryb .ryb-nw__a {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 84px;
	padding: 12px 14px 12px 16px;
	color: inherit;
	text-decoration: none;
}
.ryb .ryb-nw__a:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: -3px;
	border-radius: var(--ryb-r-lg);
}
.ryb .ryb-nw__vis {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
}
.ryb .ryb-nw__ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 15px;
	color: var(--st);
	background: color-mix(in srgb, var(--st) 15%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st) 28%, transparent);
}
.ryb .ryb-nw__ico > .ryb-i,
.ryb .ryb-nw__ico svg.ryb-i {
	width: 26px;
	height: 26px;
}
.ryb .ryb-nw__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.ryb .ryb-nw__txt small {
	font-size: .78rem;
	font-weight: 640;
	color: var(--ryb-mute);
	letter-spacing: .01em;
}
.ryb .ryb-nw__txt strong {
	font-family: var(--ryb-font-display);
	font-size: clamp(1.3rem, 2.6cqi, 1.7rem);
	font-weight: 780;
	font-stretch: 82%;
	line-height: 1.05;
	color: var(--ryb-head);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.ryb .ryb-nw__txt em {
	font-style: normal;
	font-size: .8rem;
	line-height: 1.3;
	color: var(--ryb-ink-2);
	text-wrap: pretty;
}
.ryb .ryb-nw__txt em:empty {
	display: none;
}

/* skóre: veľká dlaždica s ukazovateľom */
.ryb .ryb-nw--score {
	--st: var(--ryb-river);
	display: grid;
}
.ryb .ryb-nw--score .ryb-nw__a {
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 16px 16px 18px;
	text-align: center;
}
.ryb .ryb-nw--score .ryb-nw__txt {
	align-items: center;
	gap: 3px;
}
.ryb .ryb-nw--score .ryb-nw__txt small {
	font-size: .86rem;
}

/* teplomer, hladina, vietor, tlak, obloha: malé živé ikony */
.ryb .ryb-thermo {
	width: 30px;
	height: 50px;
	overflow: visible;
}
.ryb .ryb-thermo__tube {
	fill: color-mix(in srgb, var(--ryb-ink) 10%, transparent);
	stroke: color-mix(in srgb, var(--st) 55%, var(--ryb-line));
	stroke-width: 1.4;
}
.ryb .ryb-thermo__bulb {
	fill: var(--st);
	filter: drop-shadow(0 0 5px color-mix(in srgb, var(--st) 60%, transparent));
}
.ryb .ryb-thermo__fill {
	fill: var(--st);
	clip-path: inset(calc(100% - var(--f, 50%)) 0 0 0);
	transition: clip-path 1.2s var(--v-ease);
}
.ryb .ryb-nw--wt .ryb-nw__vis {
	width: 40px;
}
.ryb .ryb-nw__ico--level .ryb-nw__arrow {
	position: absolute;
	right: -7px;
	bottom: -7px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--ryb-surface);
	border: 1.5px solid var(--st);
	color: var(--st);
}
.ryb .ryb-nw__ico--level .ryb-nw__arrow .ryb-i {
	width: 13px;
	height: 13px;
}
.ryb .ryb-nw__wd {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	transform: rotate(var(--r, 0deg));
	transition: transform 1.2s var(--v-ease);
}
.ryb .ryb-nw__ico--air[data-wx] > .ryb-i {
	transform-origin: 50% 50%;
}
.ryb .ryb-nw--press[data-trend] .ryb-nw__ico::after {
	content: '';
	position: absolute;
	right: -5px;
	top: -5px;
	width: 0;
	height: 0;
	border: 7px solid transparent;
	filter: drop-shadow(0 0 3px rgba(0, 0, 0, .35));
}
.ryb .ryb-nw--press[data-trend='up'] .ryb-nw__ico::after {
	border-bottom: 11px solid var(--v-good);
	border-top-width: 0;
}
.ryb .ryb-nw--press[data-trend='down'] .ryb-nw__ico::after {
	border-top: 11px solid var(--v-bad);
	border-bottom-width: 0;
}
.ryb .ryb-nw--press[data-trend='flat'] .ryb-nw__ico::after {
	display: none;
}
.ryb .ryb-nw__ico--sky {
	background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--v-moon) 26%, transparent), transparent 72%);
	box-shadow: none;
	width: 52px;
	height: 52px;
}
.ryb .ryb-nw__ico--sky .ryb-moon {
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 0 8px color-mix(in srgb, var(--v-moon) 55%, transparent));
}
.ryb .ryb-nw--sky {
	--st: var(--v-moon);
}
.ryb .ryb-nw--press {
	--st: var(--v-cool);
}
.ryb .ryb-nw--press.is-good {
	--st: var(--v-good);
}
.ryb .ryb-nw--press.is-mid {
	--st: var(--v-mid);
}
.ryb .ryb-nw--press.is-bad {
	--st: var(--v-bad);
}
.ryb .ryb-nw--air {
	--st: var(--v-gold);
}
.ryb .ryb-nw--wind {
	--st: var(--v-cool);
}
.ryb .ryb-nw--wind.is-good {
	--st: var(--v-good);
}
.ryb .ryb-nw--wind.is-mid {
	--st: var(--v-mid);
}
.ryb .ryb-nw--wind.is-bad {
	--st: var(--v-bad);
}

/* ---------------------------------------------------- ukazovateľ skóre */

.ryb .ryb-gauge2 {
	--gs: 188px;
	--gc: var(--ryb-mute);
	position: relative;
	display: grid;
	justify-items: center;
	width: min(100%, var(--gs));
	margin-inline: auto;
}
.ryb .ryb-gauge2.is-top {
	--gc: var(--v-good);
}
.ryb .ryb-gauge2.is-high {
	--gc: var(--v-good-2);
}
.ryb .ryb-gauge2.is-mid {
	--gc: var(--v-mid);
}
.ryb .ryb-gauge2.is-low {
	--gc: var(--v-bad);
}
.ryb .ryb-gauge2 svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ryb .ryb-gauge2__track {
	fill: none;
	stroke: color-mix(in srgb, var(--ryb-ink) 12%, transparent);
	stroke-width: 11;
	stroke-linecap: round;
}
.ryb .ryb-gauge2__zones path {
	stroke-width: 11;
	stroke-linecap: butt;
	opacity: .28;
}
.ryb .ryb-gauge2__zones .z-low {
	stroke: var(--v-bad);
}
.ryb .ryb-gauge2__zones .z-mid {
	stroke: var(--v-mid);
}
.ryb .ryb-gauge2__zones .z-high {
	stroke: var(--v-good-2);
}
.ryb .ryb-gauge2__zones .z-top {
	stroke: var(--v-good);
}
.ryb .ryb-gauge2__val {
	fill: none;
	stroke: var(--gc);
	stroke-width: 11;
	stroke-linecap: round;
	stroke-dasharray: var(--v, 0) 100;
	transition: stroke-dasharray 1.5s var(--v-ease), stroke .6s ease;
	filter: drop-shadow(0 0 7px color-mix(in srgb, var(--gc) 60%, transparent));
}
.ryb .ryb-gauge2__ticks circle {
	fill: color-mix(in srgb, var(--ryb-ink) 38%, transparent);
}
.ryb .ryb-gauge2__rot {
	transform-origin: 60px 60px;
	transform: rotate(calc(var(--v, 0) * 2.4deg));
	transition: transform 1.5s var(--v-ease);
}
.ryb .ryb-gauge2__dot {
	fill: var(--ryb-surface);
	stroke: var(--gc);
	stroke-width: 3;
	filter: drop-shadow(0 0 5px var(--gc));
	transition: stroke .6s ease;
}
.ryb .ryb-gauge2__n {
	fill: var(--ryb-head);
	font-size: 34px;
	font-weight: 800;
	font-stretch: 80%;
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-gauge2__u {
	fill: var(--ryb-mute);
	font-size: 8.5px;
	font-weight: 600;
}
.ryb .ryb-gauge2__l {
	margin-top: -14px;
	font-family: var(--ryb-font-display);
	font-size: 1rem;
	font-weight: 760;
	font-stretch: 85%;
	color: var(--gc);
	text-align: center;
	line-height: 1.15;
}
.ryb .ryb-gauge2__l:empty {
	display: none;
}
/* bez JavaScriptu je oblúk hneď vyplnený; s ním sa naplní po zobrazení */
.ryb-js .ryb-gauge2:not(.is-in) .ryb-gauge2__val {
	stroke-dasharray: 0 100;
	transition: none;
}
.ryb-js .ryb-gauge2:not(.is-in) .ryb-gauge2__rot {
	transform: rotate(0deg);
	transition: none;
}
.ryb .ryb-nw--score .ryb-gauge2 {
	--gs: 200px;
}
@container ryb (max-width: 520px) {
	.ryb .ryb-nw--score .ryb-gauge2 {
		--gs: 170px;
	}
}

/* --------------------------------------------- živé ikony v dlaždiciach */

@media (prefers-reduced-motion: no-preference) {
	.ryb .ryb-nw__ico--air[data-wx='clear'] > .ryb-i {
		animation: ryb-v-spin 28s linear infinite;
	}
	.ryb .ryb-nw__ico--air[data-wx='part'] > .ryb-i,
	.ryb .ryb-nw__ico--air[data-wx='cloud'] > .ryb-i {
		animation: ryb-v-drift 6s ease-in-out infinite;
	}
	.ryb .ryb-nw__ico--air[data-wx='rain'] > .ryb-i,
	.ryb .ryb-nw__ico--air[data-wx='snow'] > .ryb-i {
		animation: ryb-v-fall 1.8s ease-in-out infinite;
	}
	.ryb .ryb-nw__ico--air[data-wx='storm'] > .ryb-i {
		animation: ryb-v-flash 2.6s steps(1) infinite;
	}
	.ryb .ryb-nw__ico--air[data-wx='fog'] > .ryb-i {
		animation: ryb-v-fog 4s ease-in-out infinite;
	}
	.ryb .ryb-nw__ico--wind > .ryb-nw__wd > .ryb-i {
		transform-origin: 50% 50%;
	}
	.ryb .ryb-nw__ico--wind[data-w='1'] .ryb-nw__wd > .ryb-i {
		animation: ryb-v-sway 6s ease-in-out infinite;
		--a: 4deg;
	}
	.ryb .ryb-nw__ico--wind[data-w='2'] .ryb-nw__wd > .ryb-i {
		animation: ryb-v-sway 3s ease-in-out infinite;
		--a: 7deg;
	}
	.ryb .ryb-nw__ico--wind[data-w='3'] .ryb-nw__wd > .ryb-i {
		animation: ryb-v-sway 1.4s ease-in-out infinite;
		--a: 11deg;
	}
	.ryb .ryb-nw__ico--level[data-dir='up'] .ryb-nw__arrow .ryb-i {
		animation: ryb-v-rise 1.8s ease-in-out infinite;
	}
	.ryb .ryb-nw__ico--level[data-dir='down'] .ryb-nw__arrow .ryb-i {
		animation: ryb-v-sink 1.8s ease-in-out infinite;
	}
	.ryb .ryb-nw__ico--level > .ryb-i {
		animation: ryb-v-bob 4s ease-in-out infinite;
	}
	.ryb .ryb-nw__ico--sky .ryb-moon {
		animation: ryb-v-float 7s ease-in-out infinite;
	}
	.ryb .ryb-nw--press .ryb-nw__ico > .ryb-i {
		animation: ryb-v-needle 5s ease-in-out infinite;
		transform-origin: 50% 70%;
	}
	.ryb .ryb-nw--clear .ryb-nw__ico > .ryb-i,
	.ryb .ryb-nw--veg .ryb-nw__ico > .ryb-i,
	.ryb .ryb-nw--ice .ryb-nw__ico > .ryb-i {
		animation: ryb-v-pulse 3.6s ease-in-out infinite;
	}
	/* jednorazový nástup dlaždíc */
	.ryb-js .ryb-nw {
		animation: ryb-v-pop .6s var(--v-ease) both;
	}
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(1) { animation-delay: .05s; }
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(2) { animation-delay: .1s; }
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(3) { animation-delay: .15s; }
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(4) { animation-delay: .2s; }
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(5) { animation-delay: .25s; }
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(6) { animation-delay: .3s; }
	.ryb-js .ryb-now__grid > .ryb-nw:nth-child(n + 7) { animation-delay: .35s; }
}
@keyframes ryb-v-pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes ryb-v-spin {
	to {
		transform: rotate(360deg);
	}
}
@keyframes ryb-v-drift {
	0%, 100% {
		transform: translateX(-2px);
	}
	50% {
		transform: translateX(3px);
	}
}
@keyframes ryb-v-fall {
	0%, 100% {
		transform: translateY(-1.5px);
	}
	50% {
		transform: translateY(2.5px);
	}
}
@keyframes ryb-v-flash {
	0%, 60%, 100% {
		opacity: 1;
	}
	62%, 68% {
		opacity: .3;
	}
	65% {
		opacity: 1;
	}
}
@keyframes ryb-v-fog {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: .45;
	}
}
@keyframes ryb-v-sway {
	0%, 100% {
		transform: rotate(calc(var(--a, 4deg) * -1));
	}
	50% {
		transform: rotate(var(--a, 4deg));
	}
}
@keyframes ryb-v-rise {
	0%, 100% {
		transform: translateY(1.5px);
	}
	50% {
		transform: translateY(-1.5px);
	}
}
@keyframes ryb-v-sink {
	0%, 100% {
		transform: translateY(-1.5px);
	}
	50% {
		transform: translateY(1.5px);
	}
}
@keyframes ryb-v-bob {
	0%, 100% {
		transform: translateY(1px);
	}
	50% {
		transform: translateY(-2px);
	}
}
@keyframes ryb-v-float {
	0%, 100% {
		transform: translateY(1px) rotate(-3deg);
	}
	50% {
		transform: translateY(-2px) rotate(3deg);
	}
}
@keyframes ryb-v-needle {
	0%, 100% {
		transform: rotate(-9deg);
	}
	50% {
		transform: rotate(9deg);
	}
}
@keyframes ryb-v-pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* ---------------------------------------------------------------- obloha */

.ryb .ryb-sky {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--v-gap);
	min-width: 0;
}
@container ryb-panel (min-width: 760px) {
	.ryb .ryb-sky {
		grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
		align-items: start;
	}
}
.ryb .ryb-sky__main,
.ryb .ryb-sky__side {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}
.ryb .ryb-sky__stage {
	position: relative;
	aspect-ratio: 360 / 196;
	min-height: 220px;
	overflow: hidden;
	border-radius: var(--ryb-r-lg);
	background: #06110e;
	border: 1px solid var(--ryb-line);
	box-shadow: var(--ryb-shadow);
	isolation: isolate;
}
.ryb .ryb-sky__pano {
	position: absolute;
	inset: 0;
}
.ryb .ryb-sky__pano svg {
	display: block;
	width: 100%;
	height: 100%;
}
.ryb .ryb-sky__stars {
	transition: opacity .8s ease;
}
@media (prefers-reduced-motion: no-preference) {
	.ryb .ryb-sky__stars circle {
		animation: ryb-v-twinkle 4.5s ease-in-out infinite;
	}
	.ryb .ryb-sky__stars circle:nth-child(3n) {
		animation-delay: -1.4s;
		animation-duration: 3.2s;
	}
	.ryb .ryb-sky__stars circle:nth-child(3n + 1) {
		animation-delay: -2.7s;
		animation-duration: 5.4s;
	}
}
@keyframes ryb-v-twinkle {
	0%, 100% {
		opacity: .35;
	}
	50% {
		opacity: 1;
	}
}
.ryb .ryb-sky__read {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	max-width: min(78%, 330px);
	padding: 9px 12px;
	border-radius: 13px;
	color: #f2f8f6;
	font-size: .8rem;
	line-height: 1.35;
	background: rgba(3, 10, 9, .58);
	-webkit-backdrop-filter: blur(10px) saturate(1.3);
	backdrop-filter: blur(10px) saturate(1.3);
	border: 1px solid rgba(255, 255, 255, .14);
}
.ryb .ryb-sky__read:empty {
	display: none;
}
.ryb .ryb-sky__tag {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 750;
	color: #10201c;
	background: #fff;
}
.ryb .ryb-sky__tag--gold {
	background: #ffc94d;
}
.ryb .ryb-sky__tag--dusk {
	background: #ff9a62;
}
.ryb .ryb-sky__tag--blue {
	background: #8fb4ff;
}
.ryb .ryb-sky__tag--night {
	background: #c7d4f5;
}
.ryb .ryb-sky__tag--day {
	background: #bfe8ff;
}
.ryb .ryb-sky__v {
	display: flex;
	align-items: center;
	gap: 6px;
}
.ryb .ryb-sky__dot {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
}
.ryb .ryb-sky__dot--sun {
	background: #ffc94d;
	box-shadow: 0 0 8px #ffc94d;
}
.ryb .ryb-sky__dot--moon {
	background: #c8d8ff;
	box-shadow: 0 0 8px #9db8ff;
}
.ryb .ryb-sky__next {
	color: #bfeaf0;
	font-weight: 600;
}
.ryb .ryb-sky__tl {
	padding: 10px 12px 12px;
	border-radius: var(--ryb-r-lg);
	background: color-mix(in srgb, var(--ryb-canvas) 70%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
}
.ryb .ryb-sky__time svg {
	display: block;
	width: 100%;
	height: auto;
	touch-action: pan-y;
	cursor: ew-resize;
	user-select: none;
	-webkit-user-select: none;
}
.ryb .ryb-sky__time text {
	font-family: var(--ryb-font-display);
}
.ryb .ryb-sky__tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 6px;
}
.ryb .ryb-sky__hint {
	margin: 0;
	font-size: .78rem;
	color: var(--ryb-mute);
}
.ryb .ryb-sky__reset {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--ryb-line);
	background: var(--ryb-surface);
	color: var(--ryb-ink);
	font: inherit;
	font-size: .8rem;
	font-weight: 650;
	cursor: pointer;
	transition: transform .12s ease, border-color .15s ease;
}
.ryb .ryb-sky__reset[hidden] {
	display: none;
}
.ryb .ryb-sky__reset .ryb-i {
	width: 15px;
	height: 15px;
}
.ryb .ryb-sky__reset:active {
	transform: scale(.97);
}
.ryb .ryb-sky__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: .76rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-sky__legend li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ryb .ryb-sky__sw {
	display: inline-block;
	width: 16px;
	height: 8px;
	border-radius: 3px;
}
.ryb .ryb-sky__sw--sun {
	height: 3px;
	background: #ffc94d;
}
.ryb .ryb-sky__sw--moon {
	height: 3px;
	background: #c8d8ff;
	box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25);
}
.ryb .ryb-sky__sw--gold {
	background: color-mix(in srgb, #ffb84a 70%, transparent);
}
.ryb .ryb-sky__sw--major {
	background: #74d6e2;
}
.ryb .ryb-sky__sw--minor {
	border: 1.5px dashed #9db8ff;
	background: transparent;
}
.ryb .ryb-sky__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 12px;
}
.ryb .ryb-sky__card,
.ryb .ryb-sky__wins {
	min-width: 0;
	padding: 14px 16px;
	border-radius: var(--ryb-r-lg);
	background: color-mix(in srgb, var(--ryb-canvas) 70%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
}
.ryb .ryb-sky__card h4,
.ryb .ryb-sky__wins h4 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-family: var(--ryb-font-display);
	font-size: .98rem;
	font-weight: 760;
	color: var(--ryb-head);
}
.ryb .ryb-sky__card h4 > .ryb-i,
.ryb .ryb-sky__wins h4 > .ryb-i {
	width: 20px;
	height: 20px;
	color: var(--v-gold);
}
.ryb .ryb-sky__card--moon h4 > .ryb-i {
	color: var(--v-moon);
}
.ryb .ryb-sky__times {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb .ryb-sky__times li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	border-top: 1px dashed var(--ryb-line);
	font-size: .88rem;
}
.ryb .ryb-sky__times li:first-child {
	border-top: 0;
}
.ryb .ryb-sky__times .ryb-i {
	width: 17px;
	height: 17px;
	color: var(--ryb-mute);
}
.ryb .ryb-sky__times span {
	flex: 1;
	color: var(--ryb-ink-2);
}
.ryb .ryb-sky__times b {
	font-variant-numeric: tabular-nums;
	color: var(--ryb-head);
	font-weight: 740;
}
.ryb .ryb-sky__len {
	margin: 8px 0 0;
	font-size: .8rem;
	color: var(--ryb-mute);
}
.ryb .ryb-sky__phase {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 4px;
}
.ryb .ryb-sky__phase .ryb-moon {
	flex: none;
	width: 58px;
	height: 58px;
	filter: drop-shadow(0 0 10px color-mix(in srgb, var(--v-moon) 55%, transparent));
}
.ryb .ryb-sky__phase strong {
	display: block;
	font-size: .95rem;
	color: var(--ryb-head);
}
.ryb .ryb-sky__phase span {
	font-size: .8rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-sky__wins ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb .ryb-sky__win {
	--wc: var(--v-gold);
	position: relative;
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr) auto;
	grid-template-areas: 'i n t' 'i e e';
	align-items: center;
	column-gap: 10px;
	row-gap: 0;
	padding: 8px 10px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--wc) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--wc) 22%, var(--ryb-line));
	font-size: .86rem;
	transition: opacity .3s ease, background-color .3s ease;
}
.ryb .ryb-sky__win--major {
	--wc: #3fb7c7;
}
.ryb .ryb-sky__win--minor {
	--wc: #8aa4f0;
}
.ryb .ryb-sky__win i {
	grid-area: i;
	align-self: stretch;
	width: 6px;
	border-radius: 4px;
	background: var(--wc);
}
.ryb .ryb-sky__win--minor i {
	background: repeating-linear-gradient(180deg, var(--wc) 0 4px, transparent 4px 7px);
}
.ryb .ryb-sky__win span {
	grid-area: n;
	color: var(--ryb-ink);
	font-weight: 600;
}
.ryb .ryb-sky__win b {
	grid-area: t;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-head);
	font-weight: 740;
}
.ryb .ryb-sky__win em {
	grid-area: e;
	font-style: normal;
	font-size: .76rem;
	color: var(--ryb-mute);
}
.ryb .ryb-sky__win em:empty {
	display: none;
}
.ryb .ryb-sky__win.is-past {
	opacity: .5;
}
.ryb .ryb-sky__win.is-live {
	background: color-mix(in srgb, var(--wc) 20%, transparent);
	border-color: var(--wc);
	box-shadow: 0 0 0 1px var(--wc), 0 0 18px -4px var(--wc);
}
.ryb .ryb-sky__win.is-live em {
	color: var(--ryb-head);
	font-weight: 700;
}

/* ------------------------------------------------------ podmienky na love */

.ryb .ryb-act2 {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.ryb .ryb-act2__best {
	--bc: var(--v-good);
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: var(--ryb-r-lg);
	background: linear-gradient(100deg, color-mix(in srgb, var(--bc) 17%, transparent), transparent 75%), color-mix(in srgb, var(--ryb-canvas) 70%, var(--ryb-surface));
	border: 1px solid color-mix(in srgb, var(--bc) 42%, var(--ryb-line));
}
.ryb .ryb-act2__best.is-high {
	--bc: var(--v-good-2);
}
.ryb .ryb-act2__best.is-mid {
	--bc: var(--v-mid);
}
.ryb .ryb-act2__best.is-low {
	--bc: var(--v-bad);
}
.ryb .ryb-act2__best.is-live {
	box-shadow: 0 0 0 1px var(--bc), 0 0 24px -6px var(--bc);
}
.ryb .ryb-act2__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 15px;
	color: var(--bc);
	background: color-mix(in srgb, var(--bc) 16%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 30%, transparent);
}
.ryb .ryb-act2__ico .ryb-i {
	width: 25px;
	height: 25px;
}
.ryb .ryb-act2__best > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}
.ryb .ryb-act2__best small {
	font-size: .8rem;
	font-weight: 620;
	color: var(--ryb-mute);
}
.ryb .ryb-act2__best strong {
	font-family: var(--ryb-font-display);
	font-size: clamp(1.3rem, 2.8cqi, 1.75rem);
	font-weight: 780;
	font-stretch: 82%;
	color: var(--ryb-head);
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}
.ryb .ryb-act2__best strong em {
	margin-left: 6px;
	font-style: normal;
	font-size: .8rem;
	font-weight: 650;
	color: var(--bc);
}
.ryb .ryb-act2__best [data-win-state] {
	font-size: .84rem;
	font-weight: 640;
	color: var(--ryb-ink-2);
}
.ryb .ryb-act2__avg {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	min-height: 40px;
	padding: 0 14px 0 11px;
	border-radius: 999px;
	color: var(--bc);
	background: color-mix(in srgb, var(--bc) 14%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bc) 34%, transparent);
}
.ryb .ryb-act2__avg .ryb-i {
	width: 18px;
	height: 18px;
}
.ryb .ryb-act2__avg b {
	font-family: var(--ryb-font-display);
	font-size: 1.25rem;
	font-weight: 800;
	font-stretch: 80%;
	font-variant-numeric: tabular-nums;
}

/* stupnica skóre */
.ryb .ryb-lad {
	position: relative;
	padding: 34px 0 6px;
	min-width: 0;
}
.ryb .ryb-lad__bar {
	position: relative;
	display: flex;
	height: 14px;
	border-radius: 999px;
	overflow: visible;
}
.ryb .ryb-lad__z {
	display: block;
	height: 100%;
	opacity: .85;
}
.ryb .ryb-lad__z:first-child {
	border-radius: 999px 0 0 999px;
}
.ryb .ryb-lad__z:nth-child(4) {
	border-radius: 0 999px 999px 0;
}
.ryb .ryb-lad__z--low {
	background: linear-gradient(90deg, color-mix(in srgb, var(--v-bad) 55%, transparent), var(--v-bad));
}
.ryb .ryb-lad__z--mid {
	background: linear-gradient(90deg, var(--v-bad), var(--v-mid));
}
.ryb .ryb-lad__z--high {
	background: linear-gradient(90deg, var(--v-mid), var(--v-good-2));
}
.ryb .ryb-lad__z--top {
	background: linear-gradient(90deg, var(--v-good-2), var(--v-good));
}
.ryb .ryb-lad__pin {
	position: absolute;
	top: 50%;
	left: var(--p, 0%);
	z-index: 2;
	transform: translate(-50%, -50%);
	transition: left 1.2s var(--v-ease);
}
.ryb .ryb-lad__pin i {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ryb-surface);
	border: 2px solid var(--ryb-head);
	color: var(--ryb-head);
	box-shadow: 0 3px 10px -2px rgba(0, 0, 0, .55);
}
.ryb .ryb-lad__pin i .ryb-i {
	width: 14px;
	height: 14px;
}
.ryb .ryb-lad__pin b {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: .72rem;
	font-weight: 700;
	color: var(--ryb-ink-2);
}
.ryb .ryb-lad__pin--now i {
	width: 32px;
	height: 32px;
	border-color: var(--v-gold);
	color: var(--v-gold);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--v-gold) 24%, transparent), 0 4px 12px -2px rgba(0, 0, 0, .6);
}
.ryb .ryb-lad__pin--now i .ryb-i {
	width: 17px;
	height: 17px;
}
.ryb .ryb-lad__pin--now b {
	bottom: calc(100% + 6px);
	color: var(--ryb-head);
}
.ryb .ryb-lad__pin--best i {
	border-color: var(--v-good);
	color: var(--v-good);
}
.ryb .ryb-lad__pin--best b {
	display: none;
}
.ryb .ryb-lad__pin--base {
	z-index: 1;
}
.ryb .ryb-lad__pin--base i {
	width: 20px;
	height: 20px;
	border-width: 1.5px;
	border-color: var(--ryb-mute);
	color: var(--ryb-mute);
}
.ryb .ryb-lad__pin--base i .ryb-i {
	width: 12px;
	height: 12px;
}
.ryb .ryb-lad__pin--base b {
	display: none;
}
.ryb .ryb-lad__ticks {
	position: relative;
	height: 18px;
	margin-top: 14px;
	font-size: .72rem;
	color: var(--ryb-mute);
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-lad__ticks span {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
}
.ryb .ryb-lad__ticks span:first-child {
	transform: none;
}
.ryb .ryb-lad__ticks span:last-child {
	transform: translateX(-100%);
}
.ryb .ryb-lad__lg {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: .76rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-lad__lg li::before {
	content: '';
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 6px;
	border-radius: 3px;
	background: var(--v-bad);
}
.ryb .ryb-lad__lg .is-mid::before {
	background: var(--v-mid);
}
.ryb .ryb-lad__lg .is-high::before {
	background: var(--v-good-2);
}
.ryb .ryb-lad__lg .is-top::before {
	background: var(--v-good);
}
.ryb .ryb-lad__keys {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	font-size: .76rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-lad__keys li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.ryb .ryb-lad__keys .ryb-i {
	width: 14px;
	height: 14px;
}
.ryb .ryb-lad__keys .is-now .ryb-i {
	color: var(--v-gold);
}
.ryb .ryb-lad__keys .is-best .ryb-i {
	color: var(--v-good);
}
@container ryb-panel (max-width: 520px) {
	.ryb .ryb-lad__pin b {
		display: none;
	}
	.ryb .ryb-lad {
		padding-top: 14px;
	}
	.ryb .ryb-lad__ticks {
		margin-top: 12px;
	}
}

/* z čoho sa skóre skladá */
.ryb .ryb-fx {
	display: grid;
	gap: 10px;
	min-width: 0;
}
.ryb .ryb-fx__h {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	font-family: var(--ryb-font-display);
	font-size: 1rem;
	font-weight: 760;
	color: var(--ryb-head);
}
.ryb .ryb-fx__h .ryb-i {
	width: 19px;
	height: 19px;
	color: var(--ryb-river);
}
.ryb .ryb-fx__base {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 10px 14px;
	border-radius: var(--ryb-r);
	background: color-mix(in srgb, var(--ryb-canvas) 70%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
	font-size: .88rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-fx__basel {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.ryb .ryb-fx__base b {
	flex: none;
	font-family: var(--ryb-font-display);
	font-size: 1.4rem;
	font-weight: 800;
	font-stretch: 80%;
	color: var(--ryb-head);
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-fx__sum {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb .ryb-ev-sum {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 600;
	border: 1px solid transparent;
}
.ryb .ryb-ev-sum b {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
}
.ryb .ryb-ev-sum--A { background: #dff1e6; border-color: #a9d3b9; color: #155a38; }
.ryb .ryb-ev-sum--B { background: #e2eef7; border-color: #adc9e0; color: #1c4f78; }
.ryb .ryb-ev-sum--P { background: #f6eedb; border-color: #e0cf9f; color: #6a5311; }
.ryb .ryb-ev-sum--H { background: #efe6f4; border-color: #cdb7d9; color: #5a2f73; }
.ryb .ryb-ev-sum--S { background: #fbe4e0; border-color: #eab3a9; color: #8a2a1b; }
.ryb .ryb-fx__list {
	display: grid;
	gap: 6px;
}
.ryb .ryb-fxr {
	border-radius: var(--ryb-r);
	background: color-mix(in srgb, var(--ryb-canvas) 60%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
	transition: border-color .2s ease, background-color .2s ease;
}
.ryb .ryb-fxr[open] {
	border-color: color-mix(in srgb, var(--ryb-river) 45%, var(--ryb-line));
	background: color-mix(in srgb, var(--ryb-river) 6%, var(--ryb-surface));
}
.ryb .ryb-fxr summary {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(70px, 1fr) 2.6rem 18px;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 6px 12px;
	cursor: pointer;
	list-style: none;
}
.ryb .ryb-fxr summary::-webkit-details-marker {
	display: none;
}
.ryb .ryb-fxr summary:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: -2px;
	border-radius: var(--ryb-r);
}
.ryb .ryb-fxr__n {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: .88rem;
	font-weight: 600;
	color: var(--ryb-ink);
}
.ryb .ryb-fxr__n > span {
	min-width: 0;
	overflow-wrap: anywhere;
}
.ryb .ryb-fxr__bar {
	position: relative;
	height: 8px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--ryb-ink) 9%, transparent);
}
.ryb .ryb-fxr__bar::before {
	content: '';
	position: absolute;
	left: 50%;
	top: -2px;
	bottom: -2px;
	width: 1px;
	background: color-mix(in srgb, var(--ryb-ink) 30%, transparent);
}
.ryb .ryb-fxr__bar i {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: calc(var(--w, 0%) / 2);
	border-radius: 0 4px 4px 0;
	background: var(--v-good);
	transform-origin: 0 50%;
}
.ryb .ryb-fxr.is-down .ryb-fxr__bar i {
	left: auto;
	right: 50%;
	border-radius: 4px 0 0 4px;
	background: var(--v-bad);
	transform-origin: 100% 50%;
}
.ryb .ryb-fxr.is-zero .ryb-fxr__bar i {
	display: none;
}
@media (prefers-reduced-motion: no-preference) {
	.ryb-js .ryb-rv:not(.is-in) .ryb-fxr__bar i {
		transform: scaleX(0);
	}
	.ryb .ryb-fxr__bar i {
		transition: transform .9s var(--v-ease) .15s;
	}
}
.ryb .ryb-fxr__d {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-size: .95rem;
	font-weight: 800;
	color: var(--ryb-ink-2);
}
.ryb .ryb-fxr.is-up .ryb-fxr__d {
	color: var(--v-good);
}
.ryb .ryb-fxr.is-down .ryb-fxr__d {
	color: var(--v-bad);
}
.ryb .ryb-fxr__car {
	width: 16px;
	height: 16px;
	color: var(--ryb-mute);
	transition: transform .25s var(--v-ease);
}
.ryb .ryb-fxr[open] .ryb-fxr__car {
	transform: rotate(180deg);
}
.ryb .ryb-fxr > p {
	margin: 0;
	padding: 2px 14px 12px 14px;
	font-size: .86rem;
	line-height: 1.5;
	color: var(--ryb-ink-2);
}
.ryb .ryb-why__src {
	display: block;
	margin-top: 6px;
	font-size: .75rem;
	color: var(--ryb-mute);
}
@container ryb-panel (max-width: 480px) {
	.ryb .ryb-fxr summary {
		grid-template-columns: minmax(0, 1fr) 2.4rem 16px;
		grid-template-areas: 'n d c' 'b b b';
		row-gap: 6px;
	}
	.ryb .ryb-fxr__n { grid-area: n; }
	.ryb .ryb-fxr__bar { grid-area: b; }
	.ryb .ryb-fxr__d { grid-area: d; }
	.ryb .ryb-fxr__car { grid-area: c; }
}

/* zákal a sezóna */
.ryb .ryb-notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb .ryb-notes__i {
	--nc: var(--ryb-river);
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--ryb-r-lg);
	background: color-mix(in srgb, var(--ryb-canvas) 70%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
	box-shadow: inset 3px 0 0 var(--nc);
}
.ryb .ryb-notes__i--ideal {
	--nc: var(--v-good);
}
.ryb .ryb-notes__i--warm {
	--nc: var(--v-mid);
}
.ryb .ryb-notes__i--hot {
	--nc: var(--v-bad);
}
.ryb .ryb-notes__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	color: var(--nc);
	background: color-mix(in srgb, var(--nc) 15%, transparent);
}
.ryb .ryb-notes__ico .ryb-i {
	width: 21px;
	height: 21px;
}
.ryb .ryb-notes__i > div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	font-size: .86rem;
	line-height: 1.45;
	color: var(--ryb-ink-2);
}
.ryb .ryb-notes__i strong {
	color: var(--ryb-head);
	font-size: .92rem;
}

/* ---------------------------------------------------------------- počasie */

.ryb .ryb-wx2 {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.ryb .ryb-wx2__hr {
	display: grid;
	gap: 8px;
	min-width: 0;
}
.ryb .ryb-hourly {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(66px, 1fr);
	gap: 6px;
	margin: 0;
	padding: 2px 2px 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}
.ryb .ryb-hourly > li {
	display: grid;
	grid-template-rows: auto 30px 82px 54px auto;
	justify-items: center;
	gap: 4px;
	padding: 9px 4px 8px;
	border-radius: var(--ryb-r);
	background: color-mix(in srgb, var(--ryb-canvas) 65%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
	scroll-snap-align: start;
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-hourly > li.is-now {
	background: color-mix(in srgb, var(--ryb-river) 14%, var(--ryb-surface));
	border-color: color-mix(in srgb, var(--ryb-river) 60%, var(--ryb-line));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ryb-river) 40%, transparent);
}
.ryb .ryb-hourly__t {
	font-size: .76rem;
	font-weight: 700;
	color: var(--ryb-ink-2);
}
.ryb .ryb-hourly > li.is-now .ryb-hourly__t {
	color: var(--ryb-river);
}
.ryb .ryb-hourly__i {
	display: grid;
	place-items: center;
	color: var(--v-gold);
}
.ryb .ryb-hourly__i .ryb-i {
	width: 26px;
	height: 26px;
}
.ryb .ryb-hourly__tp {
	position: relative;
	width: 100%;
	height: 100%;
}
.ryb .ryb-hourly__tp::before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 3px;
	height: calc(8px + var(--tp, 50%) * .78);
	transform: translateX(-50%);
	border-radius: 2px;
	background: linear-gradient(0deg, color-mix(in srgb, var(--v-cool) 40%, transparent), var(--v-gold));
	opacity: .75;
}
.ryb .ryb-hourly__tp b {
	position: absolute;
	left: 50%;
	bottom: calc(8px + var(--tp, 50%) * .78);
	transform: translate(-50%, 6px);
	padding: 1px 7px;
	border-radius: 999px;
	font-size: .82rem;
	font-weight: 780;
	color: var(--ryb-head);
	background: var(--ryb-surface);
	border: 1px solid color-mix(in srgb, var(--v-gold) 55%, var(--ryb-line));
	white-space: nowrap;
}
.ryb .ryb-hourly__rain {
	position: relative;
	display: grid;
	grid-template-rows: 1fr auto;
	justify-items: center;
	width: 100%;
	height: 100%;
}
.ryb .ryb-hourly__rain i {
	position: relative;
	align-self: end;
	width: 14px;
	height: 100%;
	border-radius: 7px;
	background: color-mix(in srgb, var(--ryb-ink) 9%, transparent);
	overflow: hidden;
}
.ryb .ryb-hourly__rain i::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: max(var(--r, 0%), 0%);
	min-height: 0;
	border-radius: 7px;
	background: linear-gradient(0deg, var(--v-cool), color-mix(in srgb, var(--v-cool) 60%, #fff));
	transition: height .9s var(--v-ease);
}
.ryb .ryb-hourly__rain small {
	font-size: .7rem;
	color: var(--ryb-mute);
}
.ryb .ryb-hourly__w {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	color: var(--ryb-ink-2);
}
.ryb .ryb-hourly__w small {
	font-size: .72rem;
	font-weight: 650;
}
.ryb .ryb-wx__arrow {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	color: var(--v-cool);
	transform: rotate(var(--r, 0deg));
}
.ryb .ryb-wx__arrow .ryb-i {
	width: 16px;
	height: 16px;
}
.ryb .ryb-wx2__lg {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
	font-size: .76rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-wx2__lg span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ryb .ryb-lg {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 3px;
}
.ryb .ryb-lg--t { background: var(--v-gold); }
.ryb .ryb-lg--r { background: var(--v-cool); }
.ryb .ryb-lg--w { background: color-mix(in srgb, var(--v-cool) 35%, var(--ryb-mute)); }

.ryb .ryb-wx__grid--more {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	gap: 10px;
	margin: 0;
}
.ryb .ryb-wx__grid--more .ryb-wx__cell {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 11px 13px 14px;
	border-radius: var(--ryb-r);
	background: color-mix(in srgb, var(--ryb-canvas) 65%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
	overflow: hidden;
}
.ryb .ryb-wx__grid--more dt {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: .78rem;
	font-weight: 650;
	color: var(--ryb-mute);
}
.ryb .ryb-wx__grid--more dt .ryb-i {
	width: 17px;
	height: 17px;
	color: var(--v-cool);
}
.ryb .ryb-wx__grid--more dd {
	margin: 0;
	font-family: var(--ryb-font-display);
	font-size: 1.45rem;
	font-weight: 780;
	font-stretch: 82%;
	color: var(--ryb-head);
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-wx__grid--more dd small {
	font-size: .8rem;
	font-weight: 600;
	color: var(--ryb-mute);
}
.ryb .ryb-wx__fill {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 4px;
	width: var(--b, 0%);
	background: linear-gradient(90deg, color-mix(in srgb, var(--v-cool) 40%, transparent), var(--v-cool));
	border-radius: 0 3px 3px 0;
	transition: width 1s var(--v-ease);
}
.ryb-js .ryb-rv:not(.is-in) .ryb-wx__fill {
	width: 0;
}
.ryb .ryb-wx__press {
	min-width: 0;
}
.ryb .ryb-wx__days {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb .ryb-wx__days > li {
	display: grid;
	grid-template-columns: 3rem 28px minmax(0, 1fr) 4.6rem;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 4px 12px;
	border-radius: var(--ryb-r);
	background: color-mix(in srgb, var(--ryb-canvas) 55%, var(--ryb-surface));
	border: 1px solid var(--ryb-line);
}
.ryb .ryb-wx__days > li:first-child {
	border-color: color-mix(in srgb, var(--ryb-river) 45%, var(--ryb-line));
}
.ryb .ryb-wx__d {
	font-weight: 750;
	font-size: .9rem;
	color: var(--ryb-head);
}
.ryb .ryb-wx__days > li > .ryb-i {
	width: 26px;
	height: 26px;
	color: var(--v-gold);
}
.ryb .ryb-wx__rng {
	display: grid;
	grid-template-columns: 2.2rem minmax(60px, 1fr) 2.2rem;
	align-items: center;
	gap: 8px;
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-wx__rng small {
	text-align: right;
	font-size: .82rem;
	color: var(--ryb-mute);
}
.ryb .ryb-wx__rng b {
	font-size: .9rem;
	color: var(--ryb-head);
}
.ryb .ryb-wx__rng i {
	position: relative;
	display: block;
	height: 7px;
	border-radius: 4px;
	background: color-mix(in srgb, var(--ryb-ink) 10%, transparent);
}
.ryb .ryb-wx__rng i::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--lo, 0%);
	right: calc(100% - var(--hi, 100%));
	min-width: 8px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--v-cool), var(--v-gold));
}
.ryb .ryb-wx__rain {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	font-size: .82rem;
	font-weight: 650;
	color: var(--ryb-ink-2);
}
.ryb .ryb-wx__rain .ryb-i {
	width: 15px;
	height: 15px;
	color: var(--v-cool);
}
@container ryb-panel (max-width: 460px) {
	.ryb .ryb-wx__days > li {
		grid-template-columns: 2.6rem 24px minmax(0, 1fr);
		gap: 8px;
	}
	.ryb .ryb-wx__rain {
		display: none;
	}
}
@container ryb-panel (min-width: 820px) {
	.ryb .ryb-wx2 {
		grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
		align-items: start;
	}
	.ryb .ryb-wx2__hr {
		grid-column: 1 / -1;
	}
	.ryb .ryb-wx__grid--more {
		grid-column: 1 / 2;
	}
	.ryb .ryb-wx__press {
		grid-column: 1 / 2;
	}
	.ryb .ryb-wx__days {
		grid-column: 2 / 3;
		grid-row: 2 / span 2;
	}
}

/* --------------------------------------------- teplota vody a hladina */

.ryb .ryb-bs {
	position: relative;
	padding: 28px 2px 0;
	--p: 50%;
}
.ryb .ryb-bs__bar {
	position: relative;
	display: flex;
	height: 14px;
	border-radius: 999px;
	overflow: visible;
}
.ryb .ryb-bs__seg {
	display: block;
	height: 100%;
	opacity: .5;
	transition: opacity .3s ease, filter .3s ease;
}
.ryb .ryb-bs__seg:first-of-type {
	border-radius: 999px 0 0 999px;
}
.ryb .ryb-bs__seg:last-of-type {
	border-radius: 0 999px 999px 0;
}
.ryb .ryb-bs__seg.is-on {
	opacity: 1;
	filter: saturate(1.2) drop-shadow(0 0 6px currentColor);
}
.ryb .ryb-bs__seg--cold { background: #4f7fd8; color: #4f7fd8; }
.ryb .ryb-bs__seg--cool { background: #3fb0c9; color: #3fb0c9; }
.ryb .ryb-bs__seg--ideal { background: var(--v-good); color: var(--v-good); }
.ryb .ryb-bs__seg--warm { background: var(--v-mid); color: var(--v-mid); }
.ryb .ryb-bs__seg--hot { background: var(--v-bad); color: var(--v-bad); }
.ryb .ryb-bs__pin {
	position: absolute;
	left: var(--p);
	top: -22px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	transform: translateX(-50%);
	color: var(--ryb-head);
	transition: left 1.2s var(--v-ease);
}
.ryb .ryb-bs__pin .ryb-i {
	width: 22px;
	height: 22px;
	fill: var(--ryb-surface);
	stroke-width: 2.2;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
}
.ryb .ryb-bs__pin::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 26px;
	width: 2px;
	height: 12px;
	transform: translateX(-50%);
	background: var(--ryb-head);
	border-radius: 1px;
}
.ryb .ryb-bs__ticks {
	position: relative;
	height: 18px;
	margin-top: 6px;
	font-size: .72rem;
	color: var(--ryb-mute);
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-bs__ticks span {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
}
.ryb .ryb-bs__ticks span:first-child {
	transform: none;
}
.ryb .ryb-bs__ticks em {
	position: absolute;
	right: 0;
	top: 0;
	font-style: normal;
}
.ryb .ryb-bs__ticks span:nth-last-child(2) {
	transform: translateX(-100%);
	right: auto;
}
@media (prefers-reduced-motion: no-preference) {
	.ryb-js .ryb-rv:not(.is-in) .ryb-bs__pin {
		left: 0;
	}
	.ryb .ryb-bs__pin .ryb-i {
		animation: ryb-v-bob 3.6s ease-in-out infinite;
	}
}
.ryb .ryb-temp__txt {
	margin: 0;
	font-size: .92rem;
	line-height: 1.5;
	color: var(--ryb-ink-2);
}
.ryb .ryb-temp__txt strong {
	color: var(--ryb-head);
}
.ryb .ryb-legend--bands {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 6px;
}
.ryb .ryb-legend--bands .ryb-legend__i {
	padding: 6px 10px;
	border-radius: 9px;
	border: 1px solid transparent;
	font-size: .78rem;
	transition: background-color .2s ease, border-color .2s ease;
}
.ryb .ryb-legend--bands .ryb-legend__i.is-on {
	background: color-mix(in srgb, var(--ryb-river) 12%, transparent);
	border-color: color-mix(in srgb, var(--ryb-river) 45%, transparent);
	color: var(--ryb-head);
	font-weight: 650;
}

/* ------------------------------------------------ úzke obrazovky: pás hodnôt */

@container ryb (max-width: 560px) {
	.ryb .ryb-now__grid > .ryb-nw {
		flex-basis: calc(50% - 5px);
		min-width: 0;
	}
	.ryb .ryb-nw__a {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		min-height: 0;
		padding: 12px 12px 12px 14px;
	}
	.ryb .ryb-nw--score .ryb-nw__a {
		align-items: center;
	}
	.ryb .ryb-nw__vis {
		width: auto;
		height: auto;
	}
	.ryb .ryb-nw__ico {
		width: 42px;
		height: 42px;
		border-radius: 13px;
	}
	.ryb .ryb-nw__ico > .ryb-i {
		width: 23px;
		height: 23px;
	}
	.ryb .ryb-nw__txt strong {
		font-size: 1.3rem;
	}
}
@container ryb (max-width: 380px) {
	.ryb .ryb-now__grid > .ryb-nw {
		flex-basis: 100%;
	}
	.ryb .ryb-nw__a {
		flex-direction: row;
		align-items: center;
	}
}

/* -------------------------------------------------- nočný a červený režim */

html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-now {
	background:
		radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ryb-river) 12%, transparent), transparent 55%),
		radial-gradient(90% 120% at 100% 100%, color-mix(in srgb, var(--ryb-float) 7%, transparent), transparent 60%),
		linear-gradient(180deg, #0d1b18, #0a1513);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-nw {
	background: rgba(255, 255, 255, .03);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-sky__stage {
	border-color: var(--n-line);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-sky__tl,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-sky__card,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-sky__wins,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-fx__base,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-fxr,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-notes__i,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-hourly > li,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-wx__days > li,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-wx__grid--more .ryb-wx__cell {
	background: rgba(255, 255, 255, .03);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-fxr[open] {
	background: color-mix(in srgb, var(--ryb-river) 9%, transparent);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-hourly > li.is-now {
	background: color-mix(in srgb, var(--ryb-river) 16%, transparent);
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-ev-sum--A { background: #12301f; border-color: #25583a; color: #9ee0b8; }
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-ev-sum--B { background: #112a3d; border-color: #24506f; color: #9cc8ec; }
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-ev-sum--P { background: #33290f; border-color: #5e4c1b; color: #e8cf86; }
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-ev-sum--H { background: #2a1d38; border-color: #50366a; color: #d0b4e8; }
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-ev-sum--S { background: #3a1a15; border-color: #6a3027; color: #f0aa9c; }
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-lad__pin i,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-hourly__tp b {
	background: #0d1b18;
}

/* červený režim: žiadne modré a zelené odlesky v animáciách a farbách stavov */
html[data-ryb-theme='ember'] .ryb {
	--v-good: #ff9a62;
	--v-good-2: #ff8a52;
	--v-mid: #ffb15e;
	--v-bad: #ff4d2e;
	--v-cool: #ff8a60;
	--v-gold: #ffb15e;
	--v-moon: #ffc9a0;
}

/* ----------------------------------------------------------- bez pohybu */

@media (prefers-reduced-motion: reduce) {
	.ryb .ryb-now__pulse::after,
	.ryb .ryb-gauge2__val,
	.ryb .ryb-gauge2__rot,
	.ryb .ryb-lad__pin,
	.ryb .ryb-bs__pin,
	.ryb .ryb-thermo__fill,
	.ryb .ryb-wx__fill,
	.ryb .ryb-hourly__rain i::after,
	.ryb .ryb-fxr__bar i,
	.ryb .ryb-nw,
	.ryb .ryb-jump__list a,
	.ryb .ryb-jump__list a .ryb-i {
		animation: none;
		transition: none;
	}
}

/* ------------------------------------------- panely s jedinou kartou v sekcii */

/* nadpis karty by len zopakoval nadpis sekcie, vysvetlenie pojmu je pri nadpise sekcie */
.ryb .ryb-blk__body--one > .ryb-panel > .ryb-panel__head {
	display: none;
}
.ryb .ryb-sec__title .ryb-info {
	margin-left: 8px;
	vertical-align: middle;
}

/* podmienky: ľavý stĺpec okno + stupnica + graf, pravý stĺpec rozbor skóre */
@container ryb-panel (min-width: 900px) {
	.ryb .ryb-act2 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
		column-gap: clamp(18px, 2.4cqi, 30px);
		align-items: start;
	}
	.ryb .ryb-act2 > * {
		grid-column: 1;
	}
	.ryb .ryb-act2 > .ryb-fx {
		grid-column: 2;
		grid-row: 1 / span 4;
	}
}

/* graf skóre po hodinách: farby podľa pásma skóre, pásma dňa viditeľné aj v noci */
.ryb .ryb-chart__bar {
	opacity: .92;
}
.ryb .ryb-chart__bar.is-low { fill: var(--v-bad); }
.ryb .ryb-chart__bar.is-mid { fill: var(--v-mid); }
.ryb .ryb-chart__bar.is-high { fill: var(--v-good-2); }
.ryb .ryb-chart__bar.is-top { fill: var(--v-good); }
.ryb .ryb-chart__mk--gold { fill: #ffb84a; opacity: .3; }
.ryb .ryb-chart__mk--major { fill: #3fb7c7; opacity: .3; }
.ryb .ryb-chart__mk--minor { fill: #8aa4f0; opacity: .14; stroke: #8aa4f0; stroke-width: 1; stroke-dasharray: 3 3; }
.ryb .ryb-legend__sw--gold { background: #ffb84a; opacity: .7; }
.ryb .ryb-legend__sw--major { background: #3fb7c7; opacity: .7; }
.ryb .ryb-legend__sw--minor { background: transparent; border: 1.5px dashed #8aa4f0; opacity: 1; }

/* dlaždica skóre preberá farbu ukazovateľa */
.ryb .ryb-nw--score:has(.ryb-gauge2.is-top) { --st: var(--v-good); }
.ryb .ryb-nw--score:has(.ryb-gauge2.is-high) { --st: var(--v-good-2); }
.ryb .ryb-nw--score:has(.ryb-gauge2.is-mid) { --st: var(--v-mid); }
.ryb .ryb-nw--score:has(.ryb-gauge2.is-low) { --st: var(--v-bad); }

/* ----------------------------------------------------- hladina: vodočet */

.ryb .ryb-level {
	grid-template-columns: minmax(0, 1fr);
}
@container ryb-panel (min-width: 400px) {
	.ryb .ryb-level {
		grid-template-columns: 150px minmax(0, 1fr);
		align-items: start;
		gap: 18px;
	}
	.ryb .ryb-level__main {
		padding-top: 4px;
	}
}
@container ryb-panel (min-width: 640px) {
	.ryb .ryb-level {
		grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	}
}
.ryb .ryb-level__gauge .ryb-gauge-wrap {
	justify-content: center;
}
.ryb .ryb-level__gauge .ryb-gauge {
	width: 150px;
	max-width: 150px;
}
.ryb .ryb-level__st {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	font-size: .86rem;
	font-weight: 650;
	color: var(--ryb-head);
}
.ryb .ryb-level__st .ryb-i {
	width: 17px;
	height: 17px;
	color: var(--ryb-river);
}
.ryb .ryb-level__txt strong {
	color: var(--ryb-head);
}
.ryb .ryb-legend--bands .ryb-legend__i {
	display: flex;
	align-items: center;
	gap: 8px;
}
@container ryb-panel (min-width: 900px) {
	.ryb .ryb-act2 {
		grid-template-rows: repeat(4, auto) 1fr;
	}
	.ryb .ryb-act2 > .ryb-fx {
		grid-row: 1 / -1;
	}
}

/* vodočet v tmavom režime: latka je tmavá, pásma a čísla svetlé */
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-gauge__staff {
	fill: #14282a;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-gauge__band {
	fill: #cfe3dc;
	opacity: .85;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-gauge__frame,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-gauge__tick {
	stroke: #9fb8b0;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-gauge__num {
	fill: #b9cec7;
	stroke: #0d1b18;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-gauge__water {
	fill: rgba(63, 183, 199, .6);
}

.ryb .ryb-level__chart,
.ryb .ryb-level > .ryb-panel__note {
	grid-column: 1 / -1;
	min-width: 0;
}
.ryb .ryb-level__chart .ryb-chart {
	max-width: none;
}

/* obloha: obraz a časová os vľavo, slnko a mesiac vpravo, okná dňa cez celú šírku */
@container ryb-panel (min-width: 760px) {
	.ryb .ryb-sky {
		grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
		grid-template-areas: 'main cols' 'wins wins';
		align-items: stretch;
	}
	.ryb .ryb-sky__main {
		grid-area: main;
	}
	.ryb .ryb-sky__side {
		display: contents;
	}
	.ryb .ryb-sky__cols {
		grid-area: cols;
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: 1fr;
	}
	.ryb .ryb-sky__wins {
		grid-area: wins;
	}
	.ryb .ryb-sky__wins ul {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	}
}

/* päťdňová predpoveď: riadky s rozsahom teplôt */
.ryb .ryb-wx__days {
	grid-template-columns: minmax(0, 1fr);
	grid-auto-flow: row;
}
.ryb .ryb-wx__days li {
	justify-items: stretch;
	text-align: left;
}
.ryb .ryb-wx__grid--more {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

/* charakteristika: dlaždice sa radia podľa šírky, nie na celý riadok */
.ryb .ryb-blk .ryb-traits {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.ryb .ryb-blk .ryb-trait--other,
.ryb .ryb-blk .ryb-trait--veg,
.ryb .ryb-blk .ryb-trait--struct {
	grid-column: auto;
}

/* ===========================================================================
   Živé kresby k údajom (1.16): ciferníky, kompas, horninové rezy, zlom, pramene, radar, polárna žiara,
   družicové ukazovatele. Kresbu vytvára Rybar_Viz / Rybar_Cop_View, tu je len vzhľad a pohyb.
   Základný stav je vždy konečný (bez JavaScriptu sa nič neskrýva); `.ryb-js` a `[data-viz]:not(.is-in)` len pripravia „štart“,
   ktorý rybar-v2.js spustí pri zobrazení. Pri „znížiť pohyb“ sa nič nehýbe.
   =========================================================================== */

.ryb {
	--vz-s1: #e4d6b2;
	--vz-s2: #d0a255;
	--vz-s3: #a8651f;
	--vz-water: #2a9bb0;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb {
	--vz-s1: #5d5538;
	--vz-s2: #a98338;
	--vz-s3: #f2b632;
	--vz-water: #4cc3d6;
}

.ryb .ryb-vz {
	display: block;
	width: 100%;
	line-height: 0;
}
.ryb .ryb-vz svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.ryb .ryb-vz__t {
	fill: var(--ryb-mute);
	font: 600 7px/1 var(--ryb-font-body, system-ui, sans-serif);
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-vz__t.is-n {
	fill: var(--v-bad);
}

/* ------------------------------------------------------------ dlaždica údaja */

.ryb .ryb-gts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 10px;
	margin: 0;
}
.ryb .ryb-gt {
	--st: var(--ryb-line);
	position: relative;
	display: grid;
	grid-template-columns: minmax(92px, 132px) minmax(0, 1fr);
	gap: 10px 16px;
	align-items: center;
	min-width: 0;
	padding: 12px 14px 12px 16px;
	border-radius: var(--ryb-r);
	border: 1px solid var(--ryb-line-2);
	background: var(--ryb-canvas);
	overflow: hidden;
}
.ryb .ryb-gt::before {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--st);
}
.ryb .ryb-gt.is-good { --st: var(--v-good); }
.ryb .ryb-gt.is-mid { --st: var(--v-mid); }
.ryb .ryb-gt.is-bad { --st: var(--v-bad); }
.ryb .ryb-gt.is-n { --st: var(--v-cool); }
.ryb .ryb-gt--wide {
	grid-column: 1 / -1;
}
.ryb .ryb-gt--bare {
	padding: 4px 0 4px 14px;
	border: 0;
	background: none;
	border-radius: 0;
}
.ryb .ryb-gt--bare::before {
	inset: 6px auto 6px 0;
	width: 3px;
	border-radius: 3px;
}
.ryb .ryb-gt__txt {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}
.ryb .ryb-gt__lab {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ryb-mute);
}
.ryb .ryb-gt__lab .ryb-i {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--st, var(--ryb-river-2));
}
.ryb .ryb-gt.is-n .ryb-gt__lab .ryb-i { color: var(--v-cool); }
.ryb .ryb-gt__val {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 6px;
	margin: 0;
}
.ryb .ryb-gt__val strong {
	font-family: var(--ryb-font-display);
	font-size: clamp(1.35rem, 3.4cqi, 1.8rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-head, var(--ryb-ink));
}
.ryb .ryb-gt__val small {
	font-size: .78rem;
	color: var(--ryb-mute);
}
.ryb .ryb-gt__tag,
.ryb .ryb-gt__sub,
.ryb .ryb-gt__cap {
	margin: 0;
}
.ryb .ryb-gt__sub {
	font-size: .78rem;
	line-height: 1.4;
	color: var(--ryb-mute);
}
.ryb .ryb-gt__cap {
	font-size: .78rem;
	color: var(--ryb-ink-2);
}
.ryb .ryb-gt__viz {
	min-width: 0;
}
.ryb .ryb-gt--wide .ryb-gt__viz {
	max-width: 150px;
}
@media (max-width: 420px) {
	.ryb .ryb-gt {
		grid-template-columns: 82px minmax(0, 1fr);
		gap: 8px 10px;
		padding-inline: 12px;
	}
}

/* ------------------------------------------------------------ stupnica a dvojsmerný pruh */

.ryb .ryb-vscale {
	margin-top: 4px;
}
.ryb .ryb-vscale__track {
	position: relative;
	display: flex;
	gap: 2px;
	height: 8px;
}
.ryb .ryb-vscale__track > i {
	display: block;
	height: 100%;
	border-radius: 3px;
	background: var(--vz-water);
	opacity: .9;
}
.ryb .ryb-vscale__track > i:first-of-type { border-radius: 99px 3px 3px 99px; }
.ryb .ryb-vscale__track > i:last-of-type { border-radius: 3px 99px 99px 3px; }
.ryb .ryb-vscale__track > i.is-good { background: var(--v-good); }
.ryb .ryb-vscale__track > i.is-mid { background: var(--v-mid); }
.ryb .ryb-vscale__track > i.is-bad { background: var(--v-bad); }
.ryb .ryb-vscale__track > i.is-n { background: var(--v-cool); }
.ryb .ryb-vscale__track > i.is-s1 { background: var(--vz-s1); }
.ryb .ryb-vscale__track > i.is-s2 { background: var(--vz-s2); }
.ryb .ryb-vscale__track > i.is-s3 { background: var(--vz-s3); }
.ryb .ryb-vscale__pin {
	position: absolute;
	top: 50%;
	left: var(--p);
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border-radius: 50%;
	border: 3px solid var(--ryb-ink);
	background: var(--ryb-surface);
	box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
	transition: left 1.3s var(--v-ease);
}
.ryb .ryb-vscale__ref {
	position: absolute;
	top: -4px;
	bottom: -4px;
	left: var(--p);
	width: 2px;
	margin-left: -1px;
	border-radius: 1px;
	background: var(--ryb-ink);
	opacity: .55;
}
.ryb .ryb-vscale__lab {
	display: flex;
	gap: 2px;
	margin: 5px 0 0;
	padding: 0;
	list-style: none;
}
.ryb .ryb-vscale__lab li {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: center;
	font-size: .66rem;
	line-height: 1.2;
	color: var(--ryb-mute);
}
.ryb-js .ryb-vscale:not(.is-in) .ryb-vscale__pin {
	left: 0;
}

.ryb .ryb-dbar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 4px;
}
.ryb .ryb-dbar__track {
	position: relative;
	grid-column: 1 / -1;
	height: 8px;
	margin-bottom: 5px;
	border-radius: 99px;
	background: var(--ryb-line-2);
}
.ryb .ryb-dbar__track u {
	position: absolute;
	inset: -3px auto -3px 50%;
	width: 2px;
	margin-left: -1px;
	border-radius: 1px;
	background: var(--ryb-ink);
	opacity: .5;
}
.ryb .ryb-dbar__f {
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--v-gold);
	transition: transform 1.2s var(--v-ease);
}
.ryb .ryb-dbar__f.is-pos { border-radius: 0 99px 99px 0; transform-origin: 0 50%; }
.ryb .ryb-dbar__f.is-neg { border-radius: 99px 0 0 99px; transform-origin: 100% 50%; background: var(--v-cool); }
.ryb-js .ryb-dbar:not(.is-in) .ryb-dbar__f { transform: scaleX(0); }
.ryb .ryb-dbar > span {
	font-size: .66rem;
	color: var(--ryb-mute);
}
.ryb .ryb-dbar > span:last-child { text-align: right; }

/* ------------------------------------------------------------ ciferník */

.ryb .ryb-dial__z {
	fill: none;
	stroke: var(--vz-water);
	stroke-width: 9;
	opacity: .34;
	transition: opacity .7s ease .3s;
}
.ryb .ryb-dial__z.is-on { opacity: 1; }
.ryb .ryb-dial__z.is-good { stroke: var(--v-good); }
.ryb .ryb-dial__z.is-mid { stroke: var(--v-mid); }
.ryb .ryb-dial__z.is-bad { stroke: var(--v-bad); }
.ryb .ryb-dial__z.is-n { stroke: var(--v-cool); }
.ryb .ryb-dial__z.is-s1 { stroke: var(--vz-s1); }
.ryb .ryb-dial__z.is-s2 { stroke: var(--vz-s2); }
.ryb .ryb-dial__z.is-s3 { stroke: var(--vz-s3); }
.ryb-js .ryb-vz--dial:not(.is-in) .ryb-dial__z.is-on { opacity: .34; }
.ryb .ryb-dial__tk path {
	stroke: var(--ryb-mute);
	stroke-width: 1;
	opacity: .55;
}
.ryb .ryb-dial__ref {
	stroke: var(--ryb-ink);
	stroke-width: 2;
	stroke-linecap: round;
	opacity: .75;
}
.ryb .ryb-dial__ghost {
	fill: var(--ryb-surface);
	stroke: var(--ryb-ink);
	stroke-width: 2;
}
.ryb .ryb-dial__needle {
	transform-origin: 60px 62px;
	transform: rotate(var(--a));
	transition: transform 1.6s cubic-bezier(.3, 1.25, .5, 1);
}
.ryb .ryb-dial__needle path {
	fill: var(--ryb-ink);
	transform-origin: 60px 62px;
	animation: ryb-vz-tremor 3.8s ease-in-out infinite alternate;
}
.ryb .ryb-dial__hub {
	fill: var(--ryb-ink);
	stroke: var(--ryb-surface);
	stroke-width: 2;
}
.ryb-js .ryb-vz--dial:not(.is-in) .ryb-dial__needle {
	transform: rotate(-90deg);
}
@keyframes ryb-vz-tremor {
	from { transform: rotate(-1.4deg); }
	to { transform: rotate(1.4deg); }
}

/* ------------------------------------------------------------ kompas */

.ryb .ryb-cmp__ring {
	fill: color-mix(in srgb, var(--ryb-surface) 70%, transparent);
	stroke: var(--ryb-line);
	stroke-width: 2;
}
.ryb .ryb-cmp__tk path {
	stroke: var(--ryb-mute);
	stroke-width: 1;
	opacity: .6;
}
.ryb .ryb-cmp__sec {
	fill: none;
	stroke-width: 5;
	stroke-linecap: round;
	opacity: .6;
}
.ryb .ryb-cmp__sec.is-pos { stroke: var(--v-gold); }
.ryb .ryb-cmp__sec.is-neg { stroke: var(--v-cool); }
.ryb .ryb-cmp__dev {
	transform-origin: 60px 60px;
	transform: rotate(var(--a));
	transition: transform 1.8s cubic-bezier(.3, 1.2, .5, 1);
}
.ryb-js .ryb-vz--compass:not(.is-in) .ryb-cmp__dev { transform: rotate(-140deg); }
.ryb .ryb-cmp__wob {
	transform-origin: 60px 60px;
	animation: ryb-vz-wob 3.4s ease-in-out infinite alternate;
}
.ryb .ryb-cmp__n { fill: var(--v-bad); }
.ryb .ryb-cmp__s { fill: var(--ryb-mute); }
@keyframes ryb-vz-wob {
	from { transform: rotate(calc(var(--w) * -1)); }
	to { transform: rotate(var(--w)); }
}

/* ------------------------------------------------------------ horniny a radón */

.ryb .ryb-rk__grass { fill: #5da24a; }
.ryb .ryb-rk__edge {
	fill: none;
	stroke: rgba(10, 20, 18, .35);
	stroke-width: 1.6;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-vz--rock svg,
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb .ryb-vz--radon svg {
	filter: brightness(.8) saturate(.92);
}
.ryb .ryb-vz-bub {
	fill: rgba(255, 255, 255, .35);
	stroke: rgba(255, 255, 255, .85);
	stroke-width: .7;
	animation: ryb-vz-rise var(--d, 6s) linear var(--w, 0s) infinite;
}
.ryb .ryb-vz-gas {
	fill: rgba(190, 150, 255, .4);
	stroke: #b98cff;
	stroke-width: .8;
	animation: ryb-vz-rise-gas var(--d, 6s) ease-in var(--w, 0s) infinite;
}
.ryb .ryb-vz-drip {
	fill: #56b9ea;
	opacity: 0;
	animation: ryb-vz-drip var(--d, 4s) ease-in var(--w, 0s) infinite;
}
.ryb .ryb-vz-glow {
	animation: ryb-vz-glow 4.5s ease-in-out infinite alternate;
}
.ryb .ryb-vz--rn2 .ryb-rk__grass { fill: #8da24a; }
@keyframes ryb-vz-rise {
	0% { transform: translateY(0); opacity: 0; }
	12% { opacity: 1; }
	100% { transform: translateY(-74px); opacity: 0; }
}
@keyframes ryb-vz-rise-gas {
	0% { transform: translate(0, 0) scale(.6); opacity: 0; }
	15% { opacity: 1; }
	100% { transform: translate(var(--dx, 0), -86px) scale(1.5); opacity: 0; }
}
@keyframes ryb-vz-drip {
	0% { transform: translateY(0); opacity: 0; }
	15% { opacity: .95; }
	100% { transform: translateY(72px); opacity: 0; }
}
@keyframes ryb-vz-glow {
	from { opacity: .55; }
	to { opacity: 1; }
}

/* ------------------------------------------------------------ zlom a pramene */

.ryb .ryb-ft__bg {
	fill: color-mix(in srgb, var(--v-good) 9%, var(--ryb-canvas));
	stroke: var(--ryb-line);
	stroke-width: 1.5;
}
.ryb .ryb-ft__lab {
	font-size: 8px;
	fill: var(--ryb-ink-2);
	paint-order: stroke;
	stroke: var(--ryb-canvas);
	stroke-width: 3px;
	stroke-linejoin: round;
}
.ryb .ryb-ft__ring {
	fill: none;
	stroke: var(--ryb-mute);
	stroke-width: 1;
	stroke-dasharray: 2 3;
	opacity: .55;
}
.ryb .ryb-ft__line {
	fill: none;
	stroke: var(--v-bad);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 7 3.5;
	animation: ryb-vz-dash 2.6s linear infinite;
}
.ryb .ryb-ft__line.ryb-ft__glow {
	stroke-width: 8;
	opacity: .2;
	stroke-dasharray: none;
	animation: none;
}
.ryb-js .ryb-vz--fault:not(.is-in) .ryb-ft__line { opacity: 0; }
.ryb .ryb-ft__line { transition: opacity .9s ease .4s; }
.ryb .ryb-ft__rip {
	fill: none;
	stroke: var(--vz-water);
	stroke-width: 1.4;
	transform-box: fill-box;
	transform-origin: center;
	animation: ryb-vz-ripple 3.2s ease-out infinite;
}
.ryb .ryb-ft__rip.is-2 { animation-delay: -1.6s; }
.ryb .ryb-ft__pt {
	fill: var(--vz-water);
	stroke: var(--ryb-surface);
	stroke-width: 1.6;
}
.ryb .ryb-sp__area {
	fill: color-mix(in srgb, var(--vz-water) 9%, var(--ryb-canvas));
	stroke: var(--ryb-line);
	stroke-width: 1.5;
}
.ryb .ryb-vz--springs.is-none .ryb-sp__area { stroke-dasharray: 3 4; }
.ryb .ryb-sp__ring {
	stroke: var(--ryb-mute);
	stroke-width: 1.4;
	opacity: .5;
}
.ryb .ryb-sp__dot {
	fill: var(--vz-water);
	stroke: var(--ryb-surface);
	stroke-width: 1.2;
}
.ryb .ryb-sp__rip {
	fill: none;
	stroke: var(--vz-water);
	stroke-width: 1;
	transform-box: fill-box;
	transform-origin: center;
	animation: ryb-vz-ripple 3.2s ease-out infinite;
}
.ryb .ryb-sp__w {
	fill: var(--ryb-ink);
	stroke: var(--ryb-surface);
	stroke-width: 1.5;
}
@keyframes ryb-vz-dash {
	to { stroke-dashoffset: -21; }
}
@keyframes ryb-vz-ripple {
	0% { transform: scale(.7); opacity: .85; }
	100% { transform: scale(4.4); opacity: 0; }
}

/* ------------------------------------------------------------ radar zemetrasení */

.ryb .ryb-vz--radar { color: var(--v-good); }
.ryb .ryb-qr__bg {
	fill: color-mix(in srgb, var(--vz-water) 7%, var(--ryb-canvas));
	stroke: var(--ryb-line);
	stroke-width: 1.5;
}
.ryb .ryb-qr__ring {
	fill: none;
	stroke: var(--ryb-mute);
	stroke-width: 1;
	stroke-dasharray: 2 3;
	opacity: .55;
}
.ryb .ryb-qr__ax {
	stroke: var(--ryb-line);
	stroke-width: 1;
}
.ryb .ryb-qr__sweep {
	transform-origin: 60px 60px;
	animation: ryb-vz-spin 7s linear infinite;
}
.ryb .ryb-qr__ev {
	stroke: var(--ryb-surface);
	stroke-width: 1;
	transition: opacity .6s ease;
}
.ryb .ryb-qr__ev.is-deep { fill: var(--v-mid); }
.ryb .ryb-qr__ev.is-deep.is-big { fill: var(--v-bad); }
.ryb .ryb-qr__ev.is-mine { fill: var(--ryb-mute); opacity: .75; }
.ryb .ryb-qr__halo {
	fill: none;
	stroke: var(--v-bad);
	stroke-width: 1.3;
	transform-box: fill-box;
	transform-origin: center;
	animation: ryb-vz-ripple 2.8s ease-out infinite;
}
.ryb-js .ryb-vz--radar:not(.is-in) .ryb-qr__ev { opacity: 0; }
.ryb .ryb-qleg {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: .72rem;
	color: var(--ryb-mute);
}
.ryb .ryb-qleg li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.ryb .ryb-qleg i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ryb-mute);
}
.ryb .ryb-qleg i.is-deep { background: var(--v-mid); }
.ryb .ryb-qleg i.is-new { background: none; border: 2px solid var(--v-bad); }
@keyframes ryb-vz-spin {
	to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------ polárna žiara */

.ryb .ryb-vz--aurora {
	margin: 0 0 10px;
	border-radius: var(--ryb-r);
	overflow: hidden;
	border: 1px solid var(--ryb-line-2);
}
.ryb .ryb-vz--aurora svg {
	height: 84px;
}
.ryb .ryb-au__star {
	fill: #fff;
	animation: ryb-vz-twinkle 4.5s ease-in-out infinite;
}
.ryb .ryb-au__rib {
	opacity: var(--o, .5);
	transform-origin: 180px 72px;
	animation: ryb-vz-aurora var(--d, 8s) ease-in-out var(--w, 0s) infinite alternate;
}
@keyframes ryb-vz-twinkle {
	0%, 100% { opacity: .25; }
	50% { opacity: 1; }
}
@keyframes ryb-vz-aurora {
	from { transform: translateX(-26px) scaleY(.82); }
	to { transform: translateX(26px) scaleY(1.18); }
}

/* ------------------------------------------------------------ družicové ukazovatele (Copernicus) */

.ryb .ryb-cop-top {
	display: grid;
	grid-template-columns: minmax(92px, 124px) minmax(0, 1fr);
	gap: 8px 18px;
	align-items: center;
	margin: 0 0 6px;
}
.ryb .ryb-cop-top__txt {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
.ryb .ryb-cop-top .ryb-cop-big {
	margin: 0;
}
.ryb .ryb-vz--cop svg { max-height: 120px; }
.ryb .ryb-viz-glass {
	fill: rgba(255, 255, 255, .07);
	stroke: var(--ryb-ink-2);
	stroke-width: 2.2;
}
.ryb .ryb-viz-shine {
	fill: none;
	stroke: rgba(255, 255, 255, .7);
	stroke-width: 2.4;
	stroke-linecap: round;
}
.ryb .ryb-viz-fill {
	transition: transform 1.8s var(--v-ease);
}
.ryb-js .ryb-vz--cop:not(.is-in) .ryb-viz-fill { transform: translateY(72px); }
.ryb .ryb-viz-wave {
	animation: ryb-vz-wave 4.5s linear infinite;
}
.ryb .ryb-viz-p {
	fill: var(--pc);
	opacity: .9;
	animation: ryb-vz-float var(--d, 6s) ease-in-out var(--w, 0s) infinite alternate;
}
.ryb .ryb-viz-blob {
	fill: var(--pc);
	opacity: .92;
	animation: ryb-vz-drift var(--d, 7s) ease-in-out var(--w, 0s) infinite alternate;
}
.ryb .ryb-viz-veg {
	fill: #55a132;
	stroke: #2f6f1b;
	stroke-width: .9;
	opacity: .92;
	transform-box: fill-box;
	transform-origin: center;
	animation: ryb-vz-sway var(--d, 5s) ease-in-out var(--w, 0s) infinite alternate;
	transition: opacity .9s ease;
}
.ryb-js .ryb-vz--cop:not(.is-in) .ryb-viz-veg { opacity: 0; }
.ryb .ryb-viz-shore {
	fill: none;
	stroke: #0e566b;
	stroke-width: 2.6;
	stroke-linejoin: round;
}
.ryb .ryb-viz-ice {
	transform-origin: 0 22px;
	transition: transform 1.6s var(--v-ease);
}
.ryb-js .ryb-vz--cop:not(.is-in) .ryb-viz-ice { transform: scaleY(0); }
.ryb .ryb-viz-flake {
	transform-box: fill-box;
	transform-origin: center;
	animation: ryb-vz-spin 20s linear infinite;
}
.ryb .ryb-viz-merc {
	fill: var(--mc);
}
.ryb .ryb-viz-merc rect {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	transition: transform 1.7s var(--v-ease);
}
.ryb-js .ryb-vz--cop:not(.is-in) .ryb-viz-merc rect { transform: scaleY(.04); }
.ryb .ryb-viz-mark {
	stroke: var(--ryb-mute);
	stroke-width: 1.2;
	stroke-dasharray: 3 2;
	fill: none;
}
.ryb .ryb-viz-txt {
	fill: var(--ryb-mute);
	font: 600 7px/1 var(--ryb-font-body, system-ui, sans-serif);
}
@keyframes ryb-vz-wave {
	to { transform: translateX(-60px); }
}
@keyframes ryb-vz-float {
	from { transform: translate(0, 0); }
	to { transform: translate(var(--dx, 6px), -7px); }
}
@keyframes ryb-vz-drift {
	from { transform: translate(0, 0); }
	to { transform: translate(var(--dx, 6px), var(--dy, 6px)); }
}
@keyframes ryb-vz-sway {
	from { transform: scale(.88); }
	to { transform: scale(1.1); }
}

/* mimo zorného poľa sa nič nehýbe (šetrí batériu pri vode) */
.ryb-js .ryb-vz:not(.is-in) *,
.ryb-js .ryb-vz:not(.is-in) *::before {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.ryb .ryb-vz *,
	.ryb .ryb-vscale__pin,
	.ryb .ryb-dbar__f {
		animation: none !important;
		transition: none !important;
	}
	.ryb .ryb-vz-drip { opacity: 0; }
}

/* ===========================================================================
   Štúdio filtrov nad mapou (1.16): hľadanie a typ vody hore, pod nimi kategórie podrobných filtrov.
   Pri každej možnosti je živý počet revírov, ktoré by zostali, riadok zapnutých filtrov a pruh s počtom výsledkov.
   =========================================================================== */

.ryb .ryb-fs {
	--fs-acc: var(--ryb-river);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	padding: 12px;
	border-radius: 18px;
	background: var(--ryb-surface);
	border: 1px solid var(--ryb-line);
	box-shadow: var(--ryb-shadow);
}
.ryb .ryb-fs > * { min-width: 0; }
.ryb .ryb-fs__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
}
.ryb .ryb-fs__find { display: flex; align-items: center; gap: 8px; flex: 1 1 300px; min-width: 0; }
.ryb .ryb-fs__find .ryb-search { flex: 1 1 0; min-width: 0; }
.ryb .ryb-fs__find .ryb-search input { height: 44px; }
.ryb .ryb-fs__find .ryb-nm__geo { flex: none; min-height: 44px; }

/* kategórie */
.ryb .ryb-fs__cats { display: grid; gap: 8px; }
.ryb .ryb-fs__lead {
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-width: 0;
	margin: 0;
	font-size: .9rem;
	font-weight: 680;
	color: var(--ryb-head);
}
.ryb .ryb-fs__lead small {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: .8rem;
	font-weight: 480;
	color: var(--ryb-mute);
}
.ryb .ryb-fs__tabs {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(max-content, 1fr);
	gap: 6px;
	overflow-x: auto;
	padding: 9px 6px 2px;
	margin: -9px -6px -2px;
	scrollbar-width: none;
}
.ryb .ryb-fs__tabs::-webkit-scrollbar { display: none; }
.ryb .ryb-fs__tab {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: 'i t n' 'i c n';
	column-gap: 8px;
	align-items: center;
	min-height: 54px;
	padding: 8px 10px 8px 10px;
	border-radius: 14px;
	border: 1.5px solid var(--ryb-line);
	background: color-mix(in srgb, var(--ryb-surface) 60%, var(--ryb-canvas, var(--ryb-surface)));
	color: var(--ryb-ink-2);
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, background-color .2s, transform .2s var(--ryb-ease);
}
.ryb .ryb-fs__tab[hidden] { display: none; }
.ryb .ryb-fs__tab .ryb-i { grid-area: i; width: 20px; height: 20px; color: var(--fs-acc); transition: transform .3s var(--ryb-ease); }
.ryb .ryb-fs__tl { grid-area: t; font-weight: 650; font-size: .875rem; line-height: 1.15; color: var(--ryb-head); white-space: nowrap; }
.ryb .ryb-fs__tc { grid-area: c; font-size: .72rem; line-height: 1.2; color: var(--ryb-mute); white-space: nowrap; }
.ryb .ryb-fs__tn {
	position: absolute;
	top: -7px;
	right: -4px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 99px;
	background: var(--ryb-blaze, #e8421c);
	color: #fff;
	font-size: .74rem;
	font-weight: 760;
	font-variant-numeric: tabular-nums;
}
.ryb .ryb-fs__tn[hidden] { display: none; }
.ryb .ryb-fs__tab.has-on { border-color: color-mix(in srgb, var(--fs-acc) 55%, var(--ryb-line)); }
.ryb .ryb-fs__tab[aria-expanded='true'] {
	border-color: var(--fs-acc);
	background: color-mix(in srgb, var(--fs-acc) 15%, var(--ryb-surface));
}
.ryb .ryb-fs__tab[aria-expanded='true'] .ryb-i { transform: scale(1.12); }
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-fs__tab:hover { border-color: var(--fs-acc); transform: translateY(-1px); }
}
.ryb .ryb-fs__tab:active { transform: scale(.98); }

/* panel kategórie: výška sa plynulo rozbalí */
.ryb .ryb-fs__panels {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .3s var(--ryb-ease);
}
.ryb .ryb-fs__panels.is-open { grid-template-rows: 1fr; }
.ryb .ryb-fs__pin { min-height: 0; overflow: hidden; }
.ryb .ryb-fs__panels.is-open > .ryb-fs__pin { animation: ryb-fs-vis 0s .3s both; }
@keyframes ryb-fs-vis { from { overflow: hidden; } to { overflow: visible; } }
.ryb .ryb-fs__panel { padding-top: 12px; border-top: 1px dashed var(--ryb-line); }
.ryb .ryb-fs__panel[hidden] { display: none; }
.ryb .ryb-fs__groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
	gap: 16px 22px;
	padding: 2px 2px 4px;
}
.ryb .ryb-fs__g { min-width: 0; margin: 0; padding: 0; border: 0; }
.ryb .ryb-fs__g > legend {
	display: flex;
	align-items: center;
	gap: 7px;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	font-size: .84rem;
	font-weight: 680;
	color: var(--ryb-head);
}
.ryb .ryb-fs__g > legend .ryb-i { width: 17px; height: 17px; flex: none; color: var(--fs-acc); }
.ryb .ryb-fs__multi { font-style: normal; font-size: .7rem; font-weight: 500; color: var(--ryb-mute); }
.ryb .ryb-fs__gx {
	margin-left: auto;
	padding: 2px 6px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--ryb-float-ink, var(--ryb-blaze));
	font-size: .74rem;
	font-weight: 640;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.ryb .ryb-fs__gx[hidden] { display: none; }
.ryb .ryb-fs__opts { display: flex; flex-wrap: wrap; gap: 7px; }
/* dlhé skupiny: najčastejšie možnosti hneď, zvyšok po rozbalení (zapnutá možnosť zostáva vždy viditeľná) */
/* skupiny sa skladajú do stĺpcov podľa výšky (ako murivo), takže dlhý zoznam nenatiahne celý riadok a nevznikajú diery */
.ryb .ryb-fs__groups { display: block; column-width: 270px; column-gap: 22px; }
.ryb .ryb-fs__g { display: block; break-inside: avoid; page-break-inside: avoid; margin: 0 0 16px; }
.ryb .ryb-fs__g.is-long { column-span: all; margin-top: 8px; }
.ryb .ryb-fs__g.is-long:not(.is-all) .ryb-fo--more:not([aria-pressed='true']) { display: none; }
.ryb .ryb-fs__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 9px;
	padding: 6px 12px 6px 9px;
	border: 1px dashed color-mix(in srgb, var(--fs-acc, var(--ryb-river)) 55%, var(--ryb-line));
	border-radius: 999px;
	background: none;
	color: var(--ryb-head);
	font: inherit;
	font-size: .8125rem;
	font-weight: 620;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.ryb .ryb-fs__more:hover { background: color-mix(in srgb, var(--fs-acc, var(--ryb-river)) 14%, transparent); border-style: solid; }
.ryb .ryb-fs__more .ryb-i { width: 15px; height: 15px; color: var(--fs-acc, var(--ryb-river)); transition: transform .25s var(--ryb-ease); }
.ryb .ryb-fs__g.is-all .ryb-fs__more .ryb-i { transform: rotate(180deg); }
.ryb .ryb-fs__sels { display: grid; gap: 8px; }
.ryb .ryb-fs__sels .ryb-select { flex: none; }

/* možnosť: pozadie ukazuje podiel revírov, počet sa prepočítava podľa ostatných filtrov */
.ryb .ryb-fo {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 0 11px 0 12px;
	border-radius: 11px;
	border: 1.5px solid var(--ryb-line);
	background: var(--ryb-surface);
	color: var(--ryb-ink-2);
	font-size: .875rem;
	font-weight: 560;
	line-height: 1.15;
	text-align: left;
	cursor: pointer;
	transition: border-color .2s, background-color .2s, color .2s, opacity .2s;
}
.ryb .ryb-fo::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--fs-acc) 20%, transparent);
	transform-origin: left center;
	transform: scaleX(var(--p, 0));
	transition: transform .5s var(--ryb-ease);
}
.ryb .ryb-fo__l { min-width: 0; }
.ryb .ryb-fo small {
	margin-left: auto;
	font-size: .72rem;
	font-weight: 720;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-mute);
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-fo:hover:not(:disabled) { border-color: var(--fs-acc); }
}
.ryb .ryb-fo[aria-pressed='true'] {
	border-color: var(--fs-acc);
	background: color-mix(in srgb, var(--fs-acc) 24%, var(--ryb-surface));
	color: var(--ryb-head);
	font-weight: 650;
}
.ryb .ryb-fo[aria-pressed='true'] small { color: var(--ryb-head); }
.ryb .ryb-fo[aria-pressed='true']::after {
	content: '';
	order: -1;
	flex: none;
	width: 7px;
	height: 7px;
	margin-right: -2px;
	border-radius: 50%;
	background: var(--fs-acc);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fs-acc) 30%, transparent);
}
.ryb .ryb-fo.is-zero:not([aria-pressed='true']) { opacity: .4; cursor: default; }
.ryb .ryb-fo:active:not(:disabled) { transform: scale(.97); }

.ryb .ryb-fo--typ { --fs-acc: var(--t, var(--ryb-river)); min-height: 42px; padding-left: 11px; }
.ryb .ryb-fo--typ .ryb-dot { flex: none; transition: transform .25s var(--ryb-ease), box-shadow .25s; }
.ryb .ryb-fo--typ[aria-pressed='true']::after { display: none; }
.ryb .ryb-fo--typ[aria-pressed='true'] .ryb-dot { transform: scale(1.35); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fs-acc) 35%, transparent); }

/* pruh s výsledkami a zapnuté filtre */
.ryb .ryb-fs__sum {
	position: sticky;
	bottom: 0;
	z-index: 6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 -12px -12px;
	padding: 10px 12px 12px;
	border-top: 1px solid var(--ryb-line);
	border-radius: 0 0 17px 17px;
	background: var(--ryb-surface);
}
.ryb .ryb-fs.has-open .ryb-fs__sum { box-shadow: 0 -10px 22px -14px rgba(0, 0, 0, .45); }
.ryb .ryb-fs__done { display: none; flex: none; min-height: 40px; margin-left: auto; }
.ryb .ryb-fs.has-open .ryb-fs__done { display: inline-flex; }
.ryb .ryb-fs__done:disabled { opacity: .5; }
.ryb .ryb-fs__meter { display: flex; align-items: baseline; gap: 7px; flex: none; }
.ryb .ryb-fs__meter b {
	min-width: 2.2ch;
	font-size: 1.6rem;
	font-weight: 780;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-head);
}
.ryb .ryb-fs__meter span { font-size: .9rem; color: var(--ryb-mute); }
.ryb .ryb-fs__bar {
	align-self: center;
	position: relative;
	display: block;
	width: 92px;
	height: 6px;
	overflow: hidden;
	border-radius: 99px;
	background: color-mix(in srgb, var(--ryb-line) 85%, transparent);
}
.ryb .ryb-fs__bar > i {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--fs-acc), var(--v-good, #4fe0a0));
	transform-origin: left center;
	transform: scaleX(var(--p, 1));
	transition: transform .45s var(--ryb-ease);
}
.ryb .ryb-fs.is-empty .ryb-fs__bar > i { background: var(--ryb-blaze, #e8421c); }
.ryb .ryb-fs.is-empty .ryb-fs__meter b { color: var(--ryb-float-ink, var(--ryb-blaze)); }
.ryb .ryb-fs__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 1 1 240px; min-width: 0; }
.ryb .ryb-fs__hint { font-size: .8rem; color: var(--ryb-mute); }
.ryb .ryb-fs__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 8px 0 11px;
	border-radius: 99px;
	border: 1px solid color-mix(in srgb, var(--fs-acc) 50%, var(--ryb-line));
	background: color-mix(in srgb, var(--fs-acc) 13%, var(--ryb-surface));
	color: var(--ryb-ink-2);
	font-size: .8rem;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.ryb .ryb-fs__tag span { color: var(--ryb-mute); }
.ryb .ryb-fs__tag b { font-weight: 650; color: var(--ryb-head); }
.ryb .ryb-fs__tag .ryb-i { width: 14px; height: 14px; color: var(--ryb-mute); }
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-fs__tag:hover { border-color: var(--ryb-blaze, #e8421c); }
	.ryb .ryb-fs__tag:hover .ryb-i { color: var(--ryb-blaze, #e8421c); }
}
.ryb .ryb-fs__clear {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 10px;
	border: 0;
	border-radius: 99px;
	background: none;
	color: var(--ryb-float-ink, var(--ryb-blaze));
	font-size: .8rem;
	font-weight: 650;
	cursor: pointer;
}
.ryb .ryb-fs__clear[hidden] { display: none; }
.ryb .ryb-fs__clear .ryb-i { width: 15px; height: 15px; }

/* výsledky pod mapou: počet a zoradenie v jednom rade */
.ryb .ryb-nm__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ryb .ryb-nm__head .ryb-select--sort { flex: 0 1 320px; margin-left: 0; }

@container ryb (max-width: 639px) {
	.ryb .ryb-fs { padding: 10px; gap: 10px; border-radius: 16px; }
	.ryb .ryb-fs__find { flex: 1 1 100%; }
	.ryb .ryb-fs__find .ryb-nm__geo { width: 44px; padding: 0; justify-content: center; }
	.ryb .ryb-fs__find .ryb-nm__geo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.ryb .ryb-fs__tab { min-height: 50px; padding: 7px 10px; column-gap: 8px; }
	.ryb .ryb-fs__groups { grid-template-columns: minmax(0, 1fr); }
	.ryb .ryb-fs__sum { gap: 6px 12px; margin: 0 -10px -10px; padding: 9px 10px 10px; border-radius: 0 0 15px 15px; }
	.ryb .ryb-fs__done { flex: 1 1 100%; margin-left: 0; justify-content: center; }
	.ryb .ryb-fs__meter { flex: 1 1 100%; }
	.ryb .ryb-fs__bar { flex: 1; width: auto; }
	.ryb .ryb-fs__tags { flex-basis: 100%; }
	.ryb .ryb-nm__head .ryb-select--sort { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ryb .ryb-fs__panels, .ryb .ryb-fo::before, .ryb .ryb-fs__bar > i, .ryb .ryb-fs__tab, .ryb .ryb-fs__tab .ryb-i { transition: none; }
	.ryb .ryb-fs__panels.is-open > .ryb-fs__pin { animation: none; overflow: visible; }
}

/* ============================================================ Výsledky: karty revírov
   Obrázok revíru (letecká snímka, inak ilustrácia podľa typu vody), kruh so skóre, poradie a krátke dôvody.
   Zoznam je jediná odpoveď na „kam dnes“: pod filtrami a mapou, štandardne od najlepších podmienok. */
.ryb .ryb-nm__list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.ryb .ryb-nm__item.ryb-rc {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border-radius: 20px;
	background: var(--ryb-surface);
	box-shadow: 0 1px 0 color-mix(in srgb, #fff 6%, transparent) inset;
}
.ryb .ryb-nm__list li.is-hot .ryb-rc,
.ryb .ryb-nm__list li .ryb-rc:hover { border-color: color-mix(in srgb, var(--t) 70%, var(--ryb-line)); background: var(--ryb-surface); }
.ryb .ryb-nm__list li.is-sel .ryb-rc { border-color: var(--t); box-shadow: 0 0 0 2px var(--t), 0 10px 28px -14px var(--t); background: var(--ryb-surface); }
.ryb .ryb-rc__pic { position: relative; flex: none; }
.ryb .ryb-rc__img {
	position: relative;
	isolation: isolate;
	display: block;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background: linear-gradient(135deg, #cfe3e8 0%, #e6f0f2 100%);
}
.ryb .ryb-rc__img.ryb-nm__thumb--sil { display: grid; }
.ryb .ryb-rc__img .ryb-sil { width: 44%; }
.ryb .ryb-rc__img > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ryb-ease, ease); }
.ryb .ryb-rc__img > .ryb-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ryb-mute); }
.ryb .ryb-rc__img::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 60%;
	background: linear-gradient(to top, rgba(4, 14, 18, .55), transparent);
	pointer-events: none;
}
@media (hover: hover) and (pointer: fine) { .ryb .ryb-rc:hover .ryb-rc__img > img { transform: scale(1.05); } }

/* poradie (len pri zoradení podľa skóre) */
.ryb .ryb-rc__rank {
	position: absolute;
	z-index: 2;
	left: 10px;
	top: 10px;
	display: inline-flex;
	align-items: baseline;
	gap: 1px;
	min-width: 32px;
	height: 28px;
	padding: 0 10px;
	justify-content: center;
	align-items: center;
	border-radius: 99px;
	background: rgba(6, 18, 22, .66);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: #fff;
	font-size: .86rem;
	font-weight: 740;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
}
.ryb .ryb-rc__rank small { font-size: .7rem; font-weight: 600; opacity: .7; }
.ryb .ryb-nm__list > li:first-child .ryb-rc__rank { background: linear-gradient(135deg, #f6cf62, #e49a2c); color: #2b1b00; }
.ryb .ryb-nm__list > li:first-child .ryb-rc__rank small { opacity: .6; }

/* kruh so skóre: oblúk sa pri vykreslení doplní na hodnotu */
.ryb .ryb-rc__sc {
	--sc: var(--v-mid);
	position: absolute;
	z-index: 3;
	right: 12px;
	bottom: -28px;
	display: grid;
	place-content: center;
	justify-items: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: var(--ryb-surface);
	box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .35), 0 0 0 3px var(--ryb-surface);
	line-height: 1;
	pointer-events: none;
}
.ryb .ryb-rc__sc.ryb-sc-top { --sc: var(--v-good); }
.ryb .ryb-rc__sc.ryb-sc-high { --sc: var(--v-cool); }
.ryb .ryb-rc__sc.ryb-sc-mid { --sc: var(--v-mid); }
.ryb .ryb-rc__sc.ryb-sc-low { --sc: var(--v-bad); }
.ryb .ryb-rc__sc svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ryb .ryb-rc__sc circle { fill: none; stroke-width: 3.6; }
.ryb .ryb-rc__t { stroke: color-mix(in srgb, var(--ryb-ink) 13%, transparent); }
.ryb .ryb-rc__a { stroke: var(--sc); stroke-linecap: round; stroke-dasharray: var(--v) 100; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--sc) 55%, transparent)); animation: ryb-rc-fill 1.1s var(--ryb-ease, cubic-bezier(.2, .8, .2, 1)) both; }
@keyframes ryb-rc-fill { from { stroke-dasharray: 0 100; } }
.ryb .ryb-rc__sc b { position: relative; font-size: 1.32rem; font-weight: 780; letter-spacing: -.02em; color: var(--ryb-head); font-variant-numeric: tabular-nums; }
.ryb .ryb-rc__sc small { position: relative; margin-top: 2px; font-size: .62rem; font-weight: 600; color: var(--ryb-mute); }

.ryb .ryb-rc__b { flex: 1 1 auto; min-width: 0; padding: 14px 16px 4px; }
.ryb .ryb-rc .ryb-nm__t { grid-area: auto; padding-right: 74px; font-size: 1.02rem; }
.ryb .ryb-rc .ryb-nm__t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; margin-top: 3px; }
.ryb .ryb-rc__why { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ryb .ryb-rc__why li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	padding: 4px 10px 4px 8px;
	border-radius: 99px;
	border: 1px solid var(--ryb-line);
	background: color-mix(in srgb, var(--ryb-ink) 5%, transparent);
	font-size: .76rem;
	line-height: 1.25;
	color: var(--ryb-ink-2);
}
.ryb .ryb-rc__why .ryb-i { flex: none; width: 14px; height: 14px; color: var(--ryb-river-2); }
.ryb .ryb-rc .ryb-nm__act { grid-area: auto; flex: none; padding: 12px 14px 14px; gap: 8px; }
.ryb .ryb-rc .ryb-nm__act .ryb-btn--primary { flex: 1 1 auto; }

.ryb .ryb-nm__note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 2px 0; font-size: .82rem; line-height: 1.45; color: var(--ryb-mute); }
.ryb .ryb-nm__note[hidden] { display: none; }
.ryb .ryb-nm__note .ryb-i { flex: none; width: 16px; height: 16px; margin-top: 2px; }
#ryb-vysledky { scroll-margin-top: calc(var(--ryb-hdr, 0px) + var(--ryb-jump-h, 56px) + 12px); }

@container ryb (max-width: 560px) {
	.ryb .ryb-nm__list { grid-template-columns: minmax(0, 1fr); }
	.ryb .ryb-rc__img { aspect-ratio: 16 / 7; }
}
@media (prefers-reduced-motion: reduce) {
	.ryb .ryb-rc__a { animation: none; }
	.ryb .ryb-rc__img > img { transition: none; }
}

/* ikonky povodí: skutočná sieť tokov Slovenska, dané povodie svieti a po toku sa pomaly pohybuje svetlo */
.ryb-pvdefs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ryb-pvdefs path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ryb-pvg { display: block; width: 100%; height: auto; pointer-events: none; }
.ryb-pvg use { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ryb-pvg__bg { stroke: currentColor; stroke-width: .7px; opacity: .24; }
.ryb-pvg__on { stroke: var(--sc, var(--ryb-river)); stroke-width: 1.4px; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--sc, var(--ryb-river)) 55%, transparent)); }
.ryb-pvg__flow { stroke: #fff; stroke-width: 1.4px; opacity: .8; stroke-dasharray: 1.5 30; animation: ryb-pv-flow 5s linear infinite; }
@keyframes ryb-pv-flow { to { stroke-dashoffset: -63; } }
html:not([data-ryb-theme='night']):not([data-ryb-theme='ember']) .ryb-pvg__on { stroke-width: 1.7px; filter: brightness(.74) saturate(1.35); }
html:not([data-ryb-theme='night']):not([data-ryb-theme='ember']) .ryb-pvg__bg { opacity: .34; }
html:not([data-ryb-theme='night']):not([data-ryb-theme='ember']) .ryb-pvg__flow { stroke: var(--sc, var(--ryb-river)); filter: brightness(1.5); opacity: .9; }
.ryb .ryb-pv__sc { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; background: color-mix(in srgb, var(--sc) 16%, var(--ryb-surface)); color: var(--sc); font-size: .75rem; line-height: 1.2; }
.ryb .ryb-pv__sc .ryb-i { width: 13px; height: 13px; }
.ryb .ryb-pv__sc b { font-variant-numeric: tabular-nums; font-weight: 700; }
.ryb .ryb-pv__sc small { color: var(--ryb-mute); font-size: .6875rem; }

.ryb .ryb-pv.ryb-sc-top, .ryb .ryb-pvfig.ryb-sc-top { --sc: #4fe0a0; }
.ryb .ryb-pv.ryb-sc-high, .ryb .ryb-pvfig.ryb-sc-high { --sc: #6fd0d8; }
.ryb .ryb-pv.ryb-sc-mid, .ryb .ryb-pvfig.ryb-sc-mid { --sc: #e8b23a; }
.ryb .ryb-pv.ryb-sc-low, .ryb .ryb-pvfig.ryb-sc-low { --sc: #e07a52; }

/* ikonka povodia v hlavičke stránky povodia */
.ryb .ryb-pvfig { display: grid; gap: 10px; margin: 0; padding: 14px 16px 12px; border-radius: 20px; background: rgba(6, 26, 38, .66); border: 1px solid rgba(255, 255, 255, .14); color: #e8f4f6; backdrop-filter: blur(6px); }
.ryb .ryb-pvfig .ryb-pvg__bg { opacity: .3; }
.ryb .ryb-pvfig .ryb-pvg__flow { stroke: #fff; filter: none; }
.ryb .ryb-pvfig figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: .8125rem; line-height: 1.35; color: rgba(232, 244, 246, .8); }
.ryb .ryb-pvfig .ryb-pv__sc { position: static; background: color-mix(in srgb, var(--sc, #6fd0d8) 22%, transparent); }
.ryb .ryb-pvfig .ryb-pv__sc small { color: rgba(232, 244, 246, .82); }
html:not([data-ryb-theme='night']):not([data-ryb-theme='ember']) .ryb .ryb-pv .ryb-pv__sc { color: color-mix(in srgb, var(--sc) 52%, #1d1400); }
html:not([data-ryb-theme='night']):not([data-ryb-theme='ember']) .ryb .ryb-pvfig .ryb-pvg__on { stroke-width: 1.5px; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--sc, #6fd0d8) 55%, transparent)); }
html:not([data-ryb-theme='night']):not([data-ryb-theme='ember']) .ryb .ryb-pvfig .ryb-pvg__flow { stroke: #fff; filter: none; opacity: .8; }
@media (prefers-reduced-motion: reduce) {
	.ryb-pvg__flow { animation: none; opacity: 0; }
}
