/*
 * Rybárske revíry – portál: outdoorový vzhľad (verzia 1.6).
 *
 * Načíta sa po rybar.css a prekrýva ho: tokeny, hlavička so scénou, sklenené panely, rebríček podmienok, karty, pohyb.
 * Hlavná farba zostáva vodná modrá. Maskáč sa používa len ako akcent (pozadie rebríčka podmienok, miniatúry revírov bez snímky,
 * pás nad pätičkou témy). Všetok pohyb je vypnutý pri prefers-reduced-motion.
 */

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

.ryb {
	--ryb-forest: #1c2618;
	--ryb-forest-2: #2e3b25;
	--ryb-moss: #55663a;
	--ryb-sand: #d6c993;
	--ryb-night: #04182a;
	--ryb-glass: rgba(255, 255, 255, .1);
	--ryb-glass-hi: rgba(255, 255, 255, .22);
	--ryb-glass-line: rgba(255, 255, 255, .28);
	--ryb-glass-fx: blur(16px) saturate(1.5);
	--ryb-out: cubic-bezier(.23, 1, .32, 1);
	--ryb-inout: cubic-bezier(.77, 0, .175, 1);
	--ryb-camo: url('../img/camo-forest.svg');
	--ryb-camo-water: url('../img/camo-water.svg');
	--ryb-condensed: 80%;
}

/* Variabilné písmo má os šírky: úzke ťažké rezy dávajú nadpisom terénny „poľný“ charakter bez ďalšieho písma. */
.ryb .ryb-home__title,
.ryb .ryb-sec__title,
.ryb .ryb-cond__title {
	font-stretch: var(--ryb-condensed);
	font-weight: 780;
	text-wrap: balance;
}
.ryb :is(p, li, dd, .ryb-sec__sub, .ryb-cond__sub) {
	text-wrap: pretty;
}

/* ---------------------------------------------------------------- tlačidlá */

.ryb .ryb-btn {
	transition-property: background-color, border-color, color, box-shadow, transform;
	transition-duration: .16s;
	transition-timing-function: ease;
}
.ryb .ryb-btn:active,
.ryb .ryb-fchip:active,
.ryb .ryb-cond__tab:active {
	transform: scale(.97);
}
.ryb .ryb-btn--primary {
	background-image: linear-gradient(180deg, #ff7a3d, #ff5a1f 55%, #f04a10);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px rgba(240, 74, 16, .7);
}

/* ------------------------------------------------------------------ scéna */

.ryb .ryb-scene {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(22px, 3.4cqi, 40px);
	min-height: clamp(480px, 46cqi, 600px);
	margin: 0 0 clamp(18px, 2.4cqi, 30px);
	padding: clamp(24px, 4cqi, 54px) clamp(18px, 3.4cqi, 48px) clamp(16px, 2.2cqi, 26px);
	border-radius: 24px;
	overflow: hidden;
	background: var(--ryb-night);
	color: #fff;
	box-shadow: 0 34px 60px -34px rgba(4, 24, 42, .8), 0 0 0 1px rgba(4, 24, 42, .4);
}
.ryb .ryb-scene__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}
.ryb .ryb-scene__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(95deg, rgba(4, 24, 42, .62) 0%, rgba(4, 24, 42, .28) 45%, rgba(4, 24, 42, 0) 70%);
	pointer-events: none;
}
.ryb .ryb-scene__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.ryb .ryb-scene__mist {
	position: absolute;
	left: -10%;
	width: 80%;
	height: 110px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(220, 245, 250, .34), rgba(220, 245, 250, 0));
	filter: blur(10px);
	pointer-events: none;
}
.ryb .ryb-scene__mist--a {
	top: 44%;
}
.ryb .ryb-scene__mist--b {
	top: 52%;
	left: 34%;
	width: 70%;
	height: 90px;
	opacity: .75;
}

.ryb .ryb-scene__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: min(640px, 100%);
}
.ryb .ryb-scene .ryb-home__title {
	margin: 0;
	font-size: clamp(2.7rem, 1.6rem + 5.4cqi, 5.6rem);
	line-height: .94;
	letter-spacing: -.012em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(4, 24, 42, .55);
}
.ryb .ryb-scene .ryb-home__sub {
	margin: 0;
	max-width: 46ch;
	font-size: clamp(1rem, .95rem + .3cqi, 1.18rem);
	line-height: 1.45;
	color: rgba(236, 248, 250, .92);
	text-shadow: 0 1px 12px rgba(4, 24, 42, .6);
}
.ryb .ryb-scene .ryb-hsearch {
	width: 100%;
	max-width: 560px;
	margin-top: 6px;
}
.ryb .ryb-scene .ryb-hsearch__field {
	background: rgba(255, 255, 255, .95);
	border-radius: 18px;
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(10, 47, 69, .06);
	transition: box-shadow .2s ease, transform .2s var(--ryb-out);
}
.ryb .ryb-scene .ryb-hsearch__field:focus-within {
	box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .7), 0 0 0 3px #7fe0ef;
}
.ryb .ryb-scene .ryb-home__quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ryb .ryb-scene .ryb-fchip--hero {
	min-height: 42px;
	background: var(--ryb-glass);
	border: 1px solid var(--ryb-glass-line);
	color: #fff;
	-webkit-backdrop-filter: var(--ryb-glass-fx);
	backdrop-filter: var(--ryb-glass-fx);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
	transition-property: background-color, border-color, transform;
	transition-duration: .16s;
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-scene .ryb-fchip--hero:hover {
		background: var(--ryb-glass-hi);
		border-color: rgba(255, 255, 255, .5);
	}
}

/* sklenené štatistiky nad vodou */
.ryb .ryb-scene .ryb-hstats {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}
.ryb .ryb-scene .ryb-hstats > div {
	display: flex;
	flex-direction: column-reverse;
	gap: 2px;
	padding: 14px 18px 12px;
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
	border: 1px solid var(--ryb-glass-line);
	-webkit-backdrop-filter: var(--ryb-glass-fx);
	backdrop-filter: var(--ryb-glass-fx);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 16px 30px -18px rgba(0, 0, 0, .6);
}
.ryb .ryb-scene .ryb-hstats dd {
	margin: 0;
	font-size: clamp(1.7rem, .9rem + 2.6cqi, 2.7rem);
	font-weight: 780;
	font-stretch: var(--ryb-condensed);
	line-height: 1;
	color: #fff;
}
.ryb .ryb-scene .ryb-hstats dt {
	margin: 0;
	font-size: .82rem;
	font-weight: 520;
	line-height: 1.25;
	color: rgba(240, 250, 252, .86);
}

@container ryb (max-width: 760px) {
	/* na mobile je scéna samostatný pás medzi hľadaním a štatistikami, aby ju štatistiky neprekrývali */
	.ryb .ryb-scene {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto 260px auto;
		gap: 0;
		min-height: 0;
		padding-bottom: 14px;
		background: linear-gradient(180deg, var(--ryb-night) 0, var(--ryb-night) calc(100% - 340px), #073047 100%);
	}
	.ryb .ryb-scene__bg {
		grid-row: 2;
		position: relative;
		inset: auto;
		margin-inline: calc(-1 * clamp(18px, 3.4cqi, 48px));
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
		mask-image: linear-gradient(180deg, transparent 0, #000 22%);
	}
	.ryb .ryb-scene__bg::after {
		display: none;
	}
	.ryb .ryb-scene__copy {
		grid-row: 1;
		padding-bottom: 14px;
	}
	.ryb .ryb-scene .ryb-hstats {
		grid-row: 3;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: -52px;
	}
	.ryb .ryb-scene .ryb-hstats > div {
		padding: 10px 14px 9px;
	}
}

/* pohyb scény: hádzanie, splávok, vlny, trstina, hmla */
@media (prefers-reduced-motion: no-preference) {
	.ryb .ryb-scene__copy > * {
		animation: ryb-rise .7s var(--ryb-out) backwards;
	}
	.ryb .ryb-scene__copy > :nth-child(1) { animation-delay: .05s; }
	.ryb .ryb-scene__copy > :nth-child(2) { animation-delay: .14s; }
	.ryb .ryb-scene__copy > :nth-child(3) { animation-delay: .23s; }
	.ryb .ryb-scene__copy > :nth-child(4) { animation-delay: .32s; }
	.ryb .ryb-scene .ryb-hstats > div {
		animation: ryb-rise .7s var(--ryb-out) backwards;
	}
	.ryb .ryb-scene .ryb-hstats > :nth-child(1) { animation-delay: .4s; }
	.ryb .ryb-scene .ryb-hstats > :nth-child(2) { animation-delay: .47s; }
	.ryb .ryb-scene .ryb-hstats > :nth-child(3) { animation-delay: .54s; }
	.ryb .ryb-scene .ryb-hstats > :nth-child(4) { animation-delay: .61s; }

	.ryb .ryb-scene__line {
		stroke-dasharray: 1;
		stroke-dashoffset: 0;
		animation: ryb-cast 1.1s var(--ryb-out) .55s backwards;
	}
	.ryb .ryb-scene__bob {
		animation: ryb-drop .75s var(--ryb-out) 1.4s backwards, ryb-bob 3.8s ease-in-out 2.2s infinite alternate;
	}
	.ryb .ryb-scene__ripple {
		transform-box: fill-box;
		transform-origin: center;
		animation: ryb-ripple 3.8s ease-out 2s infinite backwards;
	}
	.ryb .ryb-scene__ripple--2 {
		animation-delay: 3.9s;
	}
	.ryb .ryb-scene__reed {
		transform-box: fill-box;
		transform-origin: 50% 100%;
		animation: ryb-sway 6.5s ease-in-out var(--d, 0s) infinite alternate;
	}
	.ryb .ryb-scene__wave {
		will-change: transform;
	}
	.ryb .ryb-scene__wave--1 { animation: ryb-drift-a 12s linear infinite; }
	.ryb .ryb-scene__wave--2 { animation: ryb-drift-b 18s linear infinite; }
	.ryb .ryb-scene__wave--3 { animation: ryb-drift-c 26s linear infinite; }
	.ryb .ryb-scene__glint {
		animation: ryb-glint 5s ease-in-out infinite alternate;
	}
	.ryb .ryb-scene__mist--a {
		animation: ryb-mist 46s ease-in-out infinite alternate;
	}
	.ryb .ryb-scene__mist--b {
		animation: ryb-mist 62s ease-in-out -20s infinite alternate-reverse;
	}
	/* mimo obrazovky sa nekonečné slučky zastavia (šetrí batériu) */
	.ryb .ryb-scene.is-off :is(.ryb-scene__bob, .ryb-scene__ripple, .ryb-scene__reed, .ryb-scene__wave, .ryb-scene__glint, .ryb-scene__mist) {
		animation-play-state: paused;
	}
}
/* animácie zapnuté prepínačom aj pri systémovom „znížiť pohyb“ */
html[data-ryb-motion="on"] .ryb .ryb-scene__copy > * { animation: ryb-rise .7s var(--ryb-out) backwards; }
html[data-ryb-motion="on"] .ryb .ryb-scene__copy > :nth-child(1) { animation-delay: .05s; }
html[data-ryb-motion="on"] .ryb .ryb-scene__copy > :nth-child(2) { animation-delay: .14s; }
html[data-ryb-motion="on"] .ryb .ryb-scene__copy > :nth-child(3) { animation-delay: .23s; }
html[data-ryb-motion="on"] .ryb .ryb-scene__copy > :nth-child(4) { animation-delay: .32s; }
html[data-ryb-motion="on"] .ryb .ryb-scene .ryb-hstats > div { animation: ryb-rise .7s var(--ryb-out) backwards; }
html[data-ryb-motion="on"] .ryb .ryb-scene .ryb-hstats > :nth-child(1) { animation-delay: .4s; }
html[data-ryb-motion="on"] .ryb .ryb-scene .ryb-hstats > :nth-child(2) { animation-delay: .47s; }
html[data-ryb-motion="on"] .ryb .ryb-scene .ryb-hstats > :nth-child(3) { animation-delay: .54s; }
html[data-ryb-motion="on"] .ryb .ryb-scene .ryb-hstats > :nth-child(4) { animation-delay: .61s; }
html[data-ryb-motion="on"] .ryb .ryb-scene__line { stroke-dasharray: 1;
		stroke-dashoffset: 0;
		animation: ryb-cast 1.1s var(--ryb-out) .55s backwards; }
html[data-ryb-motion="on"] .ryb .ryb-scene__bob { animation: ryb-drop .75s var(--ryb-out) 1.4s backwards, ryb-bob 3.8s ease-in-out 2.2s infinite alternate; }
html[data-ryb-motion="on"] .ryb .ryb-scene__ripple { transform-box: fill-box;
		transform-origin: center;
		animation: ryb-ripple 3.8s ease-out 2s infinite backwards; }
html[data-ryb-motion="on"] .ryb .ryb-scene__ripple--2 { animation-delay: 3.9s; }
html[data-ryb-motion="on"] .ryb .ryb-scene__reed { transform-box: fill-box;
		transform-origin: 50% 100%;
		animation: ryb-sway 6.5s ease-in-out var(--d, 0s) infinite alternate; }
html[data-ryb-motion="on"] .ryb .ryb-scene__wave { will-change: transform; }
html[data-ryb-motion="on"] .ryb .ryb-scene__wave--1 { animation: ryb-drift-a 12s linear infinite; }
html[data-ryb-motion="on"] .ryb .ryb-scene__wave--2 { animation: ryb-drift-b 18s linear infinite; }
html[data-ryb-motion="on"] .ryb .ryb-scene__wave--3 { animation: ryb-drift-c 26s linear infinite; }
html[data-ryb-motion="on"] .ryb .ryb-scene__glint { animation: ryb-glint 5s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb .ryb-scene__mist--a { animation: ryb-mist 46s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb .ryb-scene__mist--b { animation: ryb-mist 62s ease-in-out -20s infinite alternate-reverse; }
html[data-ryb-motion="on"] .ryb .ryb-scene.is-off :is(.ryb-scene__bob, .ryb-scene__ripple, .ryb-scene__reed, .ryb-scene__wave, .ryb-scene__glint, .ryb-scene__mist) { animation-play-state: paused; }
@keyframes ryb-rise {
	from { opacity: 0; transform: translateY(10px); }
}
@keyframes ryb-cast {
	from { stroke-dashoffset: 1; }
}
@keyframes ryb-drop {
	from { opacity: 0; transform: translateY(-80px); }
	55% { opacity: 1; }
	78% { transform: translateY(4px); }
}
@keyframes ryb-bob {
	to { transform: translateY(3px); }
}
@keyframes ryb-ripple {
	0% { opacity: .9; transform: scale(.4); }
	100% { opacity: 0; transform: scale(4.2); }
}
@keyframes ryb-sway {
	from { transform: rotate(-1.6deg); }
	to { transform: rotate(2deg); }
}
@keyframes ryb-drift-a {
	to { transform: translateX(-240px); }
}
@keyframes ryb-drift-b {
	to { transform: translateX(-330px); }
}
@keyframes ryb-drift-c {
	from { transform: translateX(-420px); }
	to { transform: translateX(0); }
}
@keyframes ryb-glint {
	from { opacity: .45; }
	to { opacity: 1; }
}
@keyframes ryb-mist {
	from { transform: translateX(-7%); }
	to { transform: translateX(9%); }
}

/* ----------------------------------------------------------- nadpisy sekcií */

.ryb .ryb-sec__ico {
	background: linear-gradient(145deg, #1b94a6, #0a5a6a);
	color: #fff;
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -10px rgba(10, 90, 106, .8);
}
.ryb .ryb-sec__title {
	font-size: clamp(1.55rem, 1.15rem + 1.2cqi, 2.2rem);
	line-height: 1.05;
	letter-spacing: -.005em;
}

/* ------------------------------------------------- rebríček podmienok na love */

.ryb .ryb-cond {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0 0 clamp(20px, 3cqi, 36px);
	padding: clamp(20px, 3cqi, 40px);
	border-radius: 24px;
	background: var(--ryb-forest);
	color: #eef7f4;
	box-shadow: 0 30px 56px -34px rgba(8, 20, 12, .8);
}
.ryb .ryb-cond__camo {
	position: absolute;
	inset: 0;
	z-index: -3;
	background: var(--ryb-camo) 0 0 / 340px 340px;
}
.ryb .ryb-cond::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(10, 60, 87, .5), rgba(10, 60, 87, 0) 60%),
		linear-gradient(180deg, rgba(5, 20, 16, .5), rgba(5, 20, 16, .12) 42%, rgba(5, 20, 16, .5));
	pointer-events: none;
}
.ryb .ryb-cond::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 38%, rgba(126, 224, 255, .12) 50%, transparent 62%);
	background-size: 260% 100%;
	background-position: 120% 0;
	pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
	.ryb .ryb-cond::after {
		animation: ryb-sheen 14s ease-in-out infinite;
	}
	.ryb .ryb-cond.is-off::after {
		animation-play-state: paused;
	}
}
/* animácie zapnuté prepínačom aj pri systémovom „znížiť pohyb“ */
html[data-ryb-motion="on"] .ryb .ryb-cond::after { animation: ryb-sheen 14s ease-in-out infinite; }
html[data-ryb-motion="on"] .ryb .ryb-cond.is-off::after { animation-play-state: paused; }
@keyframes ryb-sheen {
	from { background-position: 130% 0; }
	to { background-position: -30% 0; }
}

.ryb .ryb-cond__fx {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}
.ryb .ryb-cond__sil {
	position: absolute;
	height: auto;
	fill: currentColor;
}
.ryb .ryb-cond__sil--angler {
	top: 14px;
	right: clamp(10px, 3cqi, 44px);
	width: clamp(110px, 15cqi, 200px);
	aspect-ratio: 150 / 124;
	color: rgba(255, 255, 255, .17);
}
.ryb .ryb-cond__sil--float {
	top: 20px;
	right: clamp(4px, 1cqi, 14px);
	width: 16px;
	aspect-ratio: 40 / 96;
	color: rgba(255, 255, 255, .3);
	--sil-accent: #ff5a1f;
}
.ryb .ryb-cond__sil--carp {
	bottom: 22px;
	left: 0;
	width: 104px;
	aspect-ratio: 120 / 58;
	color: rgba(150, 230, 255, .16);
}
.ryb .ryb-cond__sil--trout {
	bottom: 70px;
	left: 0;
	width: 84px;
	aspect-ratio: 120 / 48;
	color: rgba(150, 230, 255, .12);
}
@media (prefers-reduced-motion: no-preference) {
	.ryb .ryb-cond__sil--carp {
		animation: ryb-sil-swim-r 52s linear infinite;
	}
	.ryb .ryb-cond__sil--trout {
		animation: ryb-sil-swim-l 38s linear -14s infinite;
	}
	.ryb .ryb-cond__sil--float {
		animation: ryb-bob 3.4s ease-in-out infinite alternate;
	}
	.ryb .ryb-cond.is-off :is(.ryb-cond__sil--carp, .ryb-cond__sil--trout, .ryb-cond__sil--float) {
		animation-play-state: paused;
	}
}
/* animácie zapnuté prepínačom aj pri systémovom „znížiť pohyb“ */
html[data-ryb-motion="on"] .ryb .ryb-cond__sil--carp { animation: ryb-sil-swim-r 52s linear infinite; }
html[data-ryb-motion="on"] .ryb .ryb-cond__sil--trout { animation: ryb-sil-swim-l 38s linear -14s infinite; }
html[data-ryb-motion="on"] .ryb .ryb-cond__sil--float { animation: ryb-bob 3.4s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb .ryb-cond.is-off :is(.ryb-cond__sil--carp, .ryb-cond__sil--trout, .ryb-cond__sil--float) { animation-play-state: paused; }
/* silueta má hlavu vľavo: kapor pláva doprava (zrkadlený), pstruh doľava (nezrkadlený) */
@keyframes ryb-sil-swim-r {
	from { transform: scaleX(-1) translateX(120px); }
	to { transform: scaleX(-1) translateX(calc(-100cqi - 40px)); }
}
@keyframes ryb-sil-swim-l {
	from { transform: translateX(calc(100cqi + 40px)); }
	to { transform: translateX(-120px); }
}

.ryb .ryb-cond__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px 24px;
	margin-bottom: clamp(16px, 2cqi, 24px);
}
.ryb .ryb-cond__title {
	margin: 0;
	font-size: clamp(1.9rem, 1.2rem + 2.6cqi, 3.2rem);
	line-height: 1;
	letter-spacing: -.01em;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}
.ryb .ryb-cond__sub {
	margin: 8px 0 0;
	max-width: 58ch;
	font-size: .98rem;
	color: rgba(236, 247, 244, .86);
}
.ryb .ryb-cond__tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(4, 24, 42, .5);
	border: 1px solid var(--ryb-glass-line);
	-webkit-backdrop-filter: var(--ryb-glass-fx);
	backdrop-filter: var(--ryb-glass-fx);
}
.ryb .ryb-cond__tab {
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(240, 250, 252, .9);
	font: inherit;
	font-weight: 600;
	font-size: .92rem;
	cursor: pointer;
	transition-property: background-color, color, transform;
	transition-duration: .16s;
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-cond__tab:not(.is-on):hover {
		background: rgba(255, 255, 255, .14);
	}
}
.ryb .ryb-cond__tab.is-on {
	background: #fff;
	color: #0a2f45;
}
.ryb .ryb-cond__tab:focus-visible {
	outline: 3px solid #7fe0ef;
	outline-offset: 2px;
}
@container ryb (max-width: 560px) {
	.ryb .ryb-cond__tabs {
		display: flex;
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.ryb .ryb-cond__tabs::-webkit-scrollbar {
		display: none;
	}
	.ryb .ryb-cond__tab {
		flex: 1 0 auto;
		padding: 0 12px;
		font-size: .88rem;
	}
	.ryb .ryb-cond__tab:focus-visible {
		outline-offset: -3px;
	}
}

.ryb .ryb-cond__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr);
}
.ryb .ryb-cond__list[hidden] {
	display: none;
}
/* mobil: karty sa listujú do strany, aby rebríček nezabral päť obrazoviek */
@container ryb (max-width: 559.98px) {
	.ryb .ryb-cond__list {
		display: flex;
		gap: 10px;
		margin-inline: calc(-1 * clamp(20px, 3cqi, 40px));
		padding: 4px clamp(20px, 3cqi, 40px) 14px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: clamp(20px, 3cqi, 40px);
		scrollbar-width: none;
	}
	.ryb .ryb-cond__list::-webkit-scrollbar {
		display: none;
	}
	.ryb .ryb-cond__list[hidden] {
		display: none;
	}
	.ryb .ryb-cond__list > .ryb-cc {
		flex: 0 0 min(84%, 320px);
		scroll-snap-align: start;
	}
}
/* prvá karta zaberá dva stĺpce a 11 kariet vyplní mriežku bez medzier pri 2, 3 aj 4 stĺpcoch */
@container ryb (min-width: 560px) {
	.ryb .ryb-cond__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ryb .ryb-cc--first {
		grid-column: span 2;
	}
}
@container ryb (min-width: 880px) {
	.ryb .ryb-cond__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@container ryb (min-width: 1180px) {
	.ryb .ryb-cond__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ryb .ryb-cc {
	--ring: #8bd2ff;
	margin: 0;
	min-width: 0;
}
.ryb .ryb-cc--top { --ring: #5df2c3; }
.ryb .ryb-cc--high { --ring: #8bd2ff; }
.ryb .ryb-cc--mid { --ring: #ffd36b; }
.ryb .ryb-cc--low { --ring: #ff9d80; }

.ryb .ryb-cc__link {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: 'ring body' 'ring tags' 'spark spark' 'meta meta' 'best best';
	column-gap: 14px;
	row-gap: 4px;
	height: 100%;
	padding: 18px 16px 14px 18px;
	border-radius: 18px;
	background: linear-gradient(160deg, rgba(14, 52, 66, .66), rgba(5, 22, 30, .74));
	border: 1px solid rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: var(--ryb-glass-fx);
	backdrop-filter: var(--ryb-glass-fx);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 20px 34px -22px rgba(0, 0, 0, .75);
	color: #fff;
	text-decoration: none;
	transition-property: transform, border-color, box-shadow;
	transition-duration: .28s, .2s, .28s;
	transition-timing-function: var(--ryb-out), ease, var(--ryb-out);
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-cc__link:hover {
		transform: translateY(-3px);
		border-color: rgba(255, 255, 255, .45);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 26px 40px -20px rgba(0, 0, 0, .8);
	}
}
.ryb .ryb-cc__link:active {
	transform: scale(.985);
}
.ryb .ryb-cc__link:focus-visible {
	outline: 3px solid #7fe0ef;
	outline-offset: 3px;
}
.ryb .ryb-cc__rank {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	color: #0a2f45;
	font-size: .78rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
	pointer-events: none;
}
.ryb .ryb-cc--first .ryb-cc__rank {
	top: 10px;
	left: 10px;
	min-width: 28px;
	height: 28px;
	background: linear-gradient(145deg, #ffe08a, #f2b632);
	font-size: .9rem;
}

.ryb .ryb-ring {
	grid-area: ring;
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	align-self: start;
}
.ryb .ryb-cc--first .ryb-ring {
	width: 84px;
	height: 84px;
}
.ryb .ryb-ring svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	overflow: visible;
}
.ryb .ryb-ring circle {
	fill: none;
	stroke-width: 6;
}
.ryb .ryb-ring__track {
	stroke: rgba(255, 255, 255, .16);
}
.ryb .ryb-ring__arc {
	stroke: var(--ring);
	stroke-linecap: round;
	stroke-dasharray: var(--s) 100;
	filter: drop-shadow(0 0 6px color-mix(in srgb, var(--ring) 55%, transparent));
	transition: stroke-dasharray 1.1s var(--ryb-out) calc(var(--i) * 70ms + 120ms);
}
.ryb .ryb-cond.is-armed:not(.is-in) .ryb-ring__arc {
	stroke-dasharray: 0 100;
}
.ryb .ryb-ring b {
	position: relative;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: #fff;
}
.ryb .ryb-cc--first .ryb-ring b {
	font-size: 1.9rem;
}

.ryb .ryb-cc__body {
	grid-area: body;
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	padding-right: 4px;
}
.ryb .ryb-cc__name {
	font-size: 1.12rem;
	font-weight: 720;
	line-height: 1.15;
	overflow-wrap: anywhere;
}
.ryb .ryb-cc--first .ryb-cc__name {
	font-size: 1.5rem;
	font-stretch: 88%;
}
.ryb .ryb-cc__where {
	font-size: .84rem;
	color: rgba(236, 247, 244, .74);
}
.ryb .ryb-cc__tags {
	grid-area: tags;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-self: end;
	margin-top: 4px;
}
.ryb .ryb-cc__type,
.ryb .ryb-cc__ap {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 24px;
	padding: 0 10px 0 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-size: .76rem;
	font-weight: 600;
}
.ryb .ryb-cc__type .ryb-dot {
	background: var(--t);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .5);
}
.ryb .ryb-cc__ap {
	padding-left: 10px;
	color: rgba(255, 236, 190, .95);
	background: rgba(255, 211, 107, .14);
}

.ryb .ryb-cc__spark {
	grid-area: spark;
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 38px;
	margin-top: 12px;
}
.ryb .ryb-cc__spark i {
	flex: 1;
	height: max(4px, calc(var(--v) * 1%));
	border-radius: 3px 3px 1px 1px;
	background: rgba(255, 255, 255, .26);
	transform-origin: 50% 100%;
	transition: transform .7s var(--ryb-out) calc(var(--k) * 16ms + var(--i) * 70ms + 200ms);
}
.ryb .ryb-cc__spark i.is-best {
	background: var(--ring);
}
.ryb .ryb-cc__spark i:first-child {
	background: #fff;
}
.ryb .ryb-cond.is-armed:not(.is-in) .ryb-cc__spark i {
	transform: scaleY(0);
}
.ryb .ryb-cc__meta {
	grid-area: meta;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	height: 1.35em;
	overflow: hidden; /* položka, ktorá sa nezmestí (tlak), sa celá schová, aby karty mali rovnakú výšku */
	margin-top: 10px;
	font-size: .82rem;
	color: rgba(236, 247, 244, .82);
}
.ryb .ryb-cc__meta > span,
.ryb .ryb-cc__best {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.ryb .ryb-cc__meta .ryb-i,
.ryb .ryb-cc__best .ryb-i {
	width: 15px;
	height: 15px;
	opacity: .85;
}
.ryb .ryb-cc__best {
	grid-area: best;
	justify-self: start;
	margin-top: 10px;
	padding: 5px 11px 5px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--ring) 22%, transparent);
	border: 1px solid color-mix(in srgb, var(--ring) 50%, transparent);
	font-size: .84rem;
	font-weight: 620;
}
.ryb .ryb-cond__note {
	margin: 16px 0 0;
	max-width: 80ch;
	font-size: .8rem;
	line-height: 1.5;
	color: rgba(236, 247, 244, .68);
}
.ryb .ryb-cond--empty {
	padding-block: 24px;
}

/* ------------------------------------------------- zoznam revírov: karty */

/* celá karta je odkaz (názov), ostáva len malé tlačidlo „Na mape“ */
.ryb .ryb-nm__item {
	position: relative;
	border-radius: 18px;
	transition-property: transform, box-shadow, border-color;
	transition-duration: .24s;
	transition-timing-function: var(--ryb-out);
}
.ryb .ryb-nm__item .ryb-nm__name::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.ryb .ryb-nm__item .ryb-nm__act {
	position: relative;
	z-index: 2;
}
@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-nm__item:hover {
		transform: translateY(-2px);
	}
}
.ryb .ryb-nm__item .ryb-nm__name:focus-visible {
	outline: none;
}
.ryb .ryb-nm__item:has(.ryb-nm__name:focus-visible) {
	outline: 3px solid var(--ryb-river);
	outline-offset: 2px;
}
.ryb .ryb-nm__item .ryb-btn--sm {
	min-width: 40px;
	min-height: 40px;
}
.ryb .ryb-nm__thumb--sil {
	display: grid;
	place-items: center;
	background-color: var(--ryb-forest-2);
	background-image: var(--ryb-camo);
	background-size: 150px;
	color: rgba(255, 255, 255, .9);
	overflow: hidden;
}
.ryb .ryb-t-trout .ryb-nm__thumb--sil,
.ryb .ryb-t-grayling .ryb-nm__thumb--sil {
	background-color: #0b3e57;
	background-image: var(--ryb-camo-water);
}
.ryb .ryb-nm__thumb--sil .ryb-sil {
	width: 74%;
	height: auto;
	aspect-ratio: 120 / 52;
	fill: currentColor;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}

/* ------------------------------------------------ drobnosti na celej stránke */

@media (hover: hover) and (pointer: fine) {
	.ryb .ryb-tile,
	.ryb .ryb-type,
	.ryb .ryb-mo,
	.ryb .ryb-gauge {
		transition-property: transform, box-shadow, border-color;
		transition-duration: .24s;
		transition-timing-function: var(--ryb-out);
	}
	.ryb .ryb-tile:hover,
	.ryb .ryb-type:hover,
	.ryb .ryb-mo:hover,
	.ryb .ryb-gauge:hover {
		transform: translateY(-2px);
	}
}
.ryb img {
	outline: 1px solid rgba(10, 47, 69, .08);
	outline-offset: -1px;
}

/* ------------------------------------------------------------- hlavičky detailov */

.ryb .ryb-hero {
	position: relative;
	isolation: isolate;
}
.ryb .ryb-hero__sil {
	position: absolute;
	right: clamp(14px, 3cqi, 44px);
	bottom: clamp(10px, 2cqi, 26px);
	width: clamp(90px, 12cqi, 170px);
	height: auto;
	color: rgba(255, 255, 255, .13);
	fill: currentColor;
	pointer-events: none;
	z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
	.ryb .ryb-hero__sil {
		animation: ryb-bob 5s ease-in-out infinite alternate;
	}
}
/* animácie zapnuté prepínačom aj pri systémovom „znížiť pohyb“ */
html[data-ryb-motion="on"] .ryb .ryb-hero__sil { animation: ryb-bob 5s ease-in-out infinite alternate; }
@container ryb (max-width: 819.98px) {
	.ryb .ryb-hero__sil {
		display: none;
	}
}
/* pri satelitnom snímku vpravo siluetu nedávame, aby sa neprekrývali */
.ryb .ryb-hero.has-media .ryb-hero__sil {
	display: none;
}

/* ------------------------------------------------------------------ úlohy */

@media (prefers-reduced-motion: reduce) {
	html:not([data-ryb-motion="on"]) .ryb .ryb-cond__sil, html:not([data-ryb-motion="on"]) .ryb .ryb-hero__sil { animation: none; }
}

/* =====================================================================
 * Scéna vody v hlavičke revíru a toku (1.12)
 * Pozadie sa prispôsobuje údajom: čírosť, chlorofyl, porast, ľad, hladina, vietor, dážď, denná doba.
 * Atribúty data-ws-* nastavuje server (SHMÚ a družice) a doplní JavaScript (počasie a aktivita).
 * ===================================================================== */

.ryb-hero--scene {
	--ws-wh: clamp(170px, 46%, 300px);
	background: #07202f;
}
.ryb-hero--scene .ryb-hero__bg {
	z-index: -1;
}
.ryb-hero--scene .ryb-hero__title {
	text-shadow: 0 1px 14px rgba(3, 18, 28, .55);
}

.ryb-ws {
	--s1: #14608d;
	--s2: #3f98bd;
	--s3: #8ccad6;
	--w1: #139aa6;
	--w2: #0b6a80;
	--w3: #07405a;
	--wd: 0;
	--ws-adj: 0px;
	--ws-wl: calc(var(--ws-wh) + var(--ws-adj));
	--ws-wave: 26px;
	--ws-sway: 3deg;
	--ws-speed: 1;
	--ws-cloudspeed: 1;
	--ws-fishc: rgba(204, 244, 248, .34);
	position: absolute;
	inset: 0;
	overflow: hidden;
	container-type: inline-size;
	color: #fff;
}
.ryb-ws[data-ws-sky="dusk"] { --s1: #1b2650; --s2: #7a416c; --s3: #e0895e; }
.ryb-ws[data-ws-sky="night"] { --s1: #040b18; --s2: #0a1a30; --s3: #14304e; }

.ryb-ws[data-ws-clear="clear"] { --w1: #1aa9b3; --w2: #0b6f86; --w3: #07455f; }
.ryb-ws[data-ws-clear="ok"] { --w1: #139aa6; --w2: #0b6a80; --w3: #07405a; }
.ryb-ws[data-ws-clear="murky"] { --w1: #4a9482; --w2: #31705f; --w3: #214b44; --ws-fishc: rgba(210, 236, 220, .16); }
.ryb-ws[data-ws-clear="muddy"] { --w1: #8c7d55; --w2: #6a5b3d; --w3: #463a29; --ws-fishc: rgba(236, 224, 190, .09); }

.ryb-ws[data-ws-lvl="low"] { --ws-adj: -34px; }
.ryb-ws[data-ws-lvl="high"] { --ws-adj: 30px; }
.ryb-ws[data-ws-wind="0"] { --ws-wave: 16px; --ws-sway: 1.4deg; --ws-cloudspeed: 2.4; }
.ryb-ws[data-ws-wind="2"] { --ws-wave: 36px; --ws-sway: 5deg; --ws-cloudspeed: .55; }
.ryb-ws[data-ws-wind="3"] { --ws-wave: 50px; --ws-sway: 8deg; --ws-cloudspeed: .32; }
.ryb-ws[data-ws-act="low"] { --ws-speed: 1.7; }
.ryb-ws[data-ws-act="high"] { --ws-speed: .75; }
.ryb-ws[data-ws-act="top"] { --ws-speed: .55; }
.ryb-ws[data-ws-fish="trout"] { --ws-speed: .8; }
.ryb-ws[data-ws-fish="trout"][data-ws-act="low"] { --ws-speed: 1.4; }
.ryb-ws[data-ws-fish="trout"][data-ws-act="high"] { --ws-speed: .6; }
.ryb-ws[data-ws-fish="trout"][data-ws-act="top"] { --ws-speed: .45; }
.ryb-ws[data-ws-sky="night"] { --ws-fishc: rgba(160, 205, 225, .14); }

/* ---------------------------------------------------------------- obloha */
.ryb-ws__sky {
	position: absolute;
	inset: 0 0 calc(var(--ws-wl) - 40px) 0;
	background: linear-gradient(180deg, var(--s1) 0%, var(--s2) 62%, var(--s3) 100%);
}
.ryb-ws__sky::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #5a6b78;
	opacity: 0;
}
.ryb-ws[data-ws-cloud="2"] .ryb-ws__sky::after { opacity: .16; }
.ryb-ws[data-ws-cloud="3"] .ryb-ws__sky::after { opacity: .42; }
.ryb-ws__stars {
	position: absolute;
	inset: 0 0 20% 0;
	opacity: 0;
	background-image:
		radial-gradient(1.2px 1.2px at 8% 14%, #fff 98%, transparent),
		radial-gradient(1px 1px at 17% 38%, #dfeaff 98%, transparent),
		radial-gradient(1.4px 1.4px at 29% 9%, #fff 98%, transparent),
		radial-gradient(1px 1px at 38% 28%, #fff 98%, transparent),
		radial-gradient(1.2px 1.2px at 47% 16%, #dfeaff 98%, transparent),
		radial-gradient(1px 1px at 56% 42%, #fff 98%, transparent),
		radial-gradient(1.4px 1.4px at 66% 11%, #fff 98%, transparent),
		radial-gradient(1px 1px at 74% 31%, #dfeaff 98%, transparent),
		radial-gradient(1.2px 1.2px at 83% 19%, #fff 98%, transparent),
		radial-gradient(1px 1px at 92% 36%, #fff 98%, transparent),
		radial-gradient(1px 1px at 24% 52%, #dfeaff 98%, transparent),
		radial-gradient(1px 1px at 61% 58%, #fff 98%, transparent);
}
.ryb-ws[data-ws-sky="dusk"] .ryb-ws__stars { opacity: .3; }
.ryb-ws[data-ws-sky="night"] .ryb-ws__stars { opacity: 1; }
.ryb-ws[data-ws-cloud="3"] .ryb-ws__stars { display: none; }

.ryb-ws__sun {
	position: absolute;
	left: var(--ws-sx);
	bottom: calc(var(--ws-wl) + 4px + var(--ws-sh) * .42%);
	width: 54px;
	height: 54px;
	margin-left: -27px;
	border-radius: 50%;
	background: radial-gradient(circle, #fffbe0 0 34%, #ffe58f 36%, rgba(255, 214, 120, .5) 52%, rgba(255, 214, 120, 0) 72%);
	box-shadow: 0 0 60px 18px rgba(255, 220, 130, .32);
}
.ryb-ws[data-ws-sky="dusk"] .ryb-ws__sun {
	background: radial-gradient(circle, #fff1d0 0 30%, #ffb268 34%, rgba(255, 150, 90, .5) 54%, rgba(255, 150, 90, 0) 74%);
	box-shadow: 0 0 70px 24px rgba(255, 150, 90, .34);
}
.ryb-ws[data-ws-sky="night"] .ryb-ws__sun {
	width: 34px;
	height: 34px;
	margin-left: -17px;
	background: #eef4fa;
	box-shadow: 0 0 26px 6px rgba(190, 215, 255, .38), inset -9px -3px 0 rgba(150, 172, 198, .6);
}
.ryb-ws[data-ws-cloud="3"] .ryb-ws__sun { opacity: .28; }
.ryb-ws[data-ws-cloud="2"] .ryb-ws__sun { opacity: .72; }

.ryb-ws__cloud {
	position: absolute;
	left: -240px;
	width: 220px;
	height: auto;
	fill: rgba(255, 255, 255, .34);
	opacity: 0;
}
.ryb-ws[data-ws-sky="dusk"] .ryb-ws__cloud { fill: rgba(255, 200, 170, .2); }
.ryb-ws[data-ws-sky="night"] .ryb-ws__cloud { fill: rgba(130, 160, 200, .14); }
.ryb-ws[data-ws-cloud="3"] .ryb-ws__cloud { fill: rgba(205, 218, 228, .42); }
.ryb-ws__cloud--1 { top: 12%; width: 190px; }
.ryb-ws__cloud--2 { top: 28%; width: 250px; }
.ryb-ws__cloud--3 { top: 6%; width: 170px; }
.ryb-ws:not([data-ws-cloud="0"]) .ryb-ws__cloud--1 { opacity: 1; }
.ryb-ws[data-ws-cloud="2"] .ryb-ws__cloud--2,
.ryb-ws[data-ws-cloud="3"] .ryb-ws__cloud--2,
.ryb-ws[data-ws-cloud="3"] .ryb-ws__cloud--3 { opacity: 1; }

.ryb-ws__trees {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(var(--ws-wl) - 41px);
	height: 58px;
	opacity: .62;
	background-repeat: repeat-x;
	background-position: 0 100%, 40px 100%;
	background-size: 210px 58px, 140px 38px;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 58'%3E%3Cpath fill='%23031a26' d='M0 58V44l9-30 9 30h-5l8 14zM30 58l11-44 11 44zM52 58l9-36 9 36zM70 58l12-52 12 52zM94 58l8-30 8 30zM110 58l11-42 11 42zM132 58l9-26 9 26zM150 58l12-48 12 48zM174 58l9-34 9 34zM192 58l9-40 9 40z'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 38'%3E%3Cpath fill='%23072a38' d='M0 38l10-24 10 24zM16 38l9-30 9 30zM38 38l12-34 12 34zM60 38l8-22 8 22zM80 38l11-30 11 30zM104 38l9-26 9 26zM122 38l8-28 8 28z'/%3E%3C/svg%3E");
}
.ryb-ws[data-ws-sky="night"] .ryb-ws__trees { opacity: .9; }

/* ---------------------------------------------------------------- voda */
.ryb-ws__water {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -8px;
	height: calc(var(--ws-wl) + 8px);
	background: linear-gradient(180deg, var(--w1) 0%, var(--w2) 52%, var(--w3) 100%);
	transition: height .8s var(--ryb-ease, ease);
}
.ryb-ws__water::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #02101c;
	opacity: 0;
}
.ryb-ws[data-ws-sky="dusk"] .ryb-ws__water::before { opacity: .28; }
.ryb-ws[data-ws-sky="night"] .ryb-ws__water::before { opacity: .58; }
/* odraz slnka alebo mesiaca */
.ryb-ws__water::after {
	content: "";
	position: absolute;
	left: calc(var(--ws-sx) - 46px);
	top: 0;
	width: 92px;
	height: 62%;
	background: repeating-linear-gradient(180deg, rgba(255, 240, 190, .5) 0 2px, transparent 2px 10px);
	-webkit-mask-image: radial-gradient(ellipse 50% 100% at 50% 0, #000, transparent 72%);
	mask-image: radial-gradient(ellipse 50% 100% at 50% 0, #000, transparent 72%);
	opacity: .5;
}
.ryb-ws[data-ws-sky="dusk"] .ryb-ws__water::after { background: repeating-linear-gradient(180deg, rgba(255, 170, 110, .55) 0 2px, transparent 2px 10px); }
.ryb-ws[data-ws-sky="night"] .ryb-ws__water::after { background: repeating-linear-gradient(180deg, rgba(200, 222, 255, .42) 0 2px, transparent 2px 10px); opacity: .4; }
.ryb-ws[data-ws-cloud="3"] .ryb-ws__water::after { display: none; }

.ryb-ws__wave {
	position: absolute;
	left: 0;
	top: calc(var(--ws-wave) * -.62);
	width: 200%;
	height: var(--ws-wave);
	fill: var(--w1);
}
.ryb-ws__wave--b {
	fill: var(--w1);
	opacity: .55;
	top: calc(var(--ws-wave) * -.86);
}
.ryb-ws[data-ws-ice="1"] .ryb-ws__wave { opacity: 0; }

.ryb-ws__rays {
	position: absolute;
	inset: 0 0 18% 0;
	opacity: .5;
	background: repeating-linear-gradient(102deg, rgba(255, 255, 255, .16) 0 16px, transparent 16px 74px);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 88%);
	mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.ryb-ws[data-ws-clear="ok"] .ryb-ws__rays { opacity: .32; }
.ryb-ws[data-ws-clear="murky"] .ryb-ws__rays { opacity: .12; }
.ryb-ws[data-ws-clear="muddy"] .ryb-ws__rays { opacity: 0; }
.ryb-ws[data-ws-sky="dusk"] .ryb-ws__rays { opacity: .14; }
.ryb-ws[data-ws-sky="night"] .ryb-ws__rays { opacity: 0; }
.ryb-ws[data-ws-cloud="3"] .ryb-ws__rays { opacity: .08; }

.ryb-ws__silt {
	position: absolute;
	inset: 0;
	opacity: .04;
	background-image:
		radial-gradient(circle at 23% 31%, rgba(240, 226, 180, .85) 0 1.6px, transparent 2.4px),
		radial-gradient(circle at 71% 58%, rgba(240, 226, 180, .7) 0 1.2px, transparent 2px),
		radial-gradient(circle at 44% 82%, rgba(240, 226, 180, .8) 0 1.8px, transparent 2.6px),
		radial-gradient(circle at 86% 19%, rgba(240, 226, 180, .65) 0 1px, transparent 1.8px),
		radial-gradient(circle at 12% 66%, rgba(240, 226, 180, .75) 0 1.4px, transparent 2.2px),
		radial-gradient(circle at 58% 12%, rgba(240, 226, 180, .7) 0 1.1px, transparent 1.9px);
	background-size: 173px 173px, 131px 131px, 211px 211px, 97px 97px, 157px 157px, 113px 113px;
}
.ryb-ws[data-ws-clear="ok"] .ryb-ws__silt { opacity: .16; }
.ryb-ws[data-ws-clear="murky"] .ryb-ws__silt { opacity: .5; }
.ryb-ws[data-ws-clear="muddy"] .ryb-ws__silt { opacity: .85; }

.ryb-ws__bloom {
	position: absolute;
	inset: 0;
	opacity: 0;
	background: linear-gradient(180deg, rgba(150, 205, 70, .62), rgba(70, 140, 40, .22));
}
.ryb-ws[data-ws-green="mid"] .ryb-ws__bloom { opacity: .26; }
.ryb-ws[data-ws-green="high"] .ryb-ws__bloom { opacity: .58; }

.ryb-ws__streaks {
	position: absolute;
	inset: 0;
	opacity: 0;
	background-repeat: repeat-x;
	background-size: 260px 2px;
	background-position: 0 22%, 90px 40%, 40px 58%, 150px 74%, 10px 88%;
	background-image:
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .2) 50%, transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .16) 50%, transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 50%, transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .14) 50%, transparent),
		linear-gradient(90deg, transparent, rgba(255, 255, 255, .18) 50%, transparent);
}
.ryb-ws:not([data-ws-flow="still"]) .ryb-ws__streaks { opacity: 1; }
.ryb-ws[data-ws-ice="1"] .ryb-ws__streaks { opacity: .35; }

.ryb-ws__ice {
	position: absolute;
	inset: -6px 0 0 0;
	opacity: 0;
	background:
		repeating-linear-gradient(112deg, transparent 0 118px, rgba(255, 255, 255, .6) 118px 119px),
		repeating-linear-gradient(64deg, transparent 0 173px, rgba(110, 160, 192, .42) 173px 174px),
		linear-gradient(180deg, rgba(238, 248, 253, .94), rgba(170, 210, 230, .64));
	transition: opacity 1s ease;
}
.ryb-ws[data-ws-ice="1"] .ryb-ws__ice { opacity: 1; }

.ryb-ws__steam {
	position: absolute;
	left: 0;
	right: 0;
	top: -40px;
	height: 80px;
	opacity: 0;
	background:
		radial-gradient(ellipse 140px 26px at 12% 68%, rgba(255, 255, 255, .34), transparent),
		radial-gradient(ellipse 190px 30px at 42% 56%, rgba(255, 255, 255, .26), transparent),
		radial-gradient(ellipse 160px 24px at 71% 70%, rgba(255, 255, 255, .32), transparent),
		radial-gradient(ellipse 120px 22px at 94% 58%, rgba(255, 255, 255, .24), transparent);
	transition: opacity 1.2s ease;
}
.ryb-ws[data-ws-steam="1"] .ryb-ws__steam { opacity: 1; }

/* dážď: pruhy v oblohe a kruhy na hladine */
.ryb-ws__rain {
	position: absolute;
	inset: 0 0 calc(var(--ws-wl) - 40px) 0;
	opacity: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg stroke='%23e2f1fb' stroke-width='1.3' stroke-linecap='round' opacity='.8'%3E%3Cpath d='M14 6l-5 16M52 30l-5 16M80 58l-5 16M30 62l-5 16M68 2l-4 13'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 90px 90px;
}
.ryb-ws[data-ws-rain="1"] .ryb-ws__rain { opacity: .65; }
.ryb-ws[data-ws-rain="2"] .ryb-ws__rain { opacity: .95; background-size: 64px 64px; }
.ryb-ws__drops {
	position: absolute;
	inset: 0;
	opacity: 0;
}
.ryb-ws:not([data-ws-rain="0"]) .ryb-ws__drops { opacity: 1; }
.ryb-ws__ring {
	position: absolute;
	width: 34px;
	height: 9px;
	margin: -4px 0 0 -17px;
	border: 1px solid rgba(235, 248, 255, .6);
	border-radius: 50%;
	opacity: 0;
}

/* ---------------------------------------------------------------- ryby a bubliny */
.ryb-ws__fish {
	position: absolute;
	left: -110px;
	width: clamp(46px, 5.6cqi, 78px);
	height: clamp(22px, 2.7cqi, 38px);
	color: var(--ws-fishc);
	opacity: 0;
}
.ryb-ws__fish--1 { top: 34%; }
.ryb-ws__fish--2 { top: 56%; width: clamp(36px, 4.4cqi, 62px); height: clamp(17px, 2.1cqi, 30px); }
.ryb-ws__fish--3 { top: 22%; width: clamp(30px, 3.6cqi, 50px); height: clamp(14px, 1.7cqi, 24px); }
.ryb-ws__fish--4 { top: 70%; width: clamp(54px, 6.4cqi, 90px); height: clamp(26px, 3.1cqi, 43px); }
.ryb-ws__fish--2,
.ryb-ws__fish--4 { left: auto; right: -110px; }
/* silueta ryby v spritu má hlavu vľavo: ryby plávajúce doprava (1, 3) sa zrkadlia, doľava plávajúce (2, 4) nie */
.ryb-ws__fish--1 .ryb-ws__fishsvg,
.ryb-ws__fish--3 .ryb-ws__fishsvg { transform: scaleX(-1); }
.ryb-ws__fishsvg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.ryb-ws__fish--1,
.ryb-ws__fish--2 { opacity: 1; }
.ryb-ws:is([data-ws-act="mid"], [data-ws-act="high"], [data-ws-act="top"]) .ryb-ws__fish--3 { opacity: 1; }
.ryb-ws:is([data-ws-act="high"], [data-ws-act="top"]) .ryb-ws__fish--4 { opacity: 1; }
.ryb-ws[data-ws-act="low"] .ryb-ws__fish--2 { opacity: .55; }
.ryb-ws[data-ws-ice="1"] .ryb-ws__fish { filter: blur(1.5px); }
.ryb-ws[data-ws-ice="1"] .ryb-ws__fish--3,
.ryb-ws[data-ws-ice="1"] .ryb-ws__fish--4 { opacity: 0; }

.ryb-ws__bubble {
	position: absolute;
	bottom: 6%;
	left: var(--x);
	width: var(--s);
	height: var(--s);
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
	opacity: 0;
}
.ryb-ws[data-ws-clear="muddy"] .ryb-ws__bubble { display: none; }

/* ---------------------------------------------------------------- trstina */
.ryb-ws__reeds {
	position: absolute;
	bottom: -6px;
	width: clamp(150px, 22cqi, 300px);
	height: clamp(78px, 26%, 160px);
	color: #062a2e;
	opacity: .9;
	pointer-events: none;
}
.ryb-ws__reeds--l { left: -8px; }
.ryb-ws__reeds--r { right: 0; }
.ryb-ws__reeds path { stroke: currentColor; }
.ryb-ws__reed {
	transform-box: fill-box;
	transform-origin: 50% 100%;
}
.ryb-ws[data-ws-veg="0"] .ryb-ws__reed:nth-child(n+3) { display: none; }
.ryb-ws[data-ws-veg="1"] .ryb-ws__reed:nth-child(n+5) { display: none; }
.ryb-ws[data-ws-veg="2"] .ryb-ws__reed:nth-child(n+7) { display: none; }
.ryb-ws[data-ws-veg="3"] .ryb-ws__reeds { color: #0a3a2c; height: clamp(96px, 34%, 200px); }
.ryb-ws[data-ws-veg="0"] .ryb-ws__reeds { opacity: .55; }
.ryb-ws[data-ws-sky="night"] .ryb-ws__reeds { color: #020d12; }

/* clona nad textom: tmavší závoj, aby nadpis a štítky ostali čitateľné */
.ryb-ws::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(4, 22, 34, .58) 0%, rgba(4, 22, 34, .32) 52%, rgba(4, 22, 34, .04) 100%),
		linear-gradient(180deg, rgba(4, 22, 34, .22) 0%, rgba(4, 22, 34, 0) 45%, rgba(4, 22, 34, .3) 100%);
}
@container ryb (max-width: 819.98px) {
	.ryb-ws::after {
		background: linear-gradient(180deg, rgba(4, 22, 34, .5) 0%, rgba(4, 22, 34, .36) 55%, rgba(4, 22, 34, .4) 100%);
	}
}

/* ---------------------------------------------------------------- pohyb */
@media (prefers-reduced-motion: no-preference) {
	.ryb-ws[data-ws-sky="night"] .ryb-ws__stars { animation: ryb-ws-twinkle 5s ease-in-out infinite alternate; }
	.ryb-ws__cloud { animation: ryb-ws-cloud calc(150s * var(--ws-cloudspeed)) linear infinite; }
	.ryb-ws__cloud--1 { animation-delay: -40s; }
	.ryb-ws__cloud--2 { animation-delay: -110s; animation-duration: calc(210s * var(--ws-cloudspeed)); }
	.ryb-ws__cloud--3 { animation-delay: -90s; animation-duration: calc(180s * var(--ws-cloudspeed)); }
	.ryb-ws__sun { animation: ryb-ws-glow 7s ease-in-out infinite alternate; }
	.ryb-ws__water { animation: ryb-ws-tide 7s ease-in-out infinite alternate; }
	.ryb-ws[data-ws-dir="up"] .ryb-ws__water { animation-duration: 5s; }
	.ryb-ws[data-ws-dir="up2"] .ryb-ws__water { animation-duration: 3.2s; animation-name: ryb-ws-tide2; }
	.ryb-ws__wave { animation: ryb-ws-drift 15s linear infinite; }
	.ryb-ws__wave--b { animation-duration: 25s; animation-direction: reverse; }
	.ryb-ws[data-ws-wind="2"] .ryb-ws__wave { animation-duration: 9s; }
	.ryb-ws[data-ws-wind="3"] .ryb-ws__wave { animation-duration: 6s; }
	.ryb-ws__rays { animation: ryb-ws-rays 16s ease-in-out infinite alternate; }
	.ryb-ws__water::after { animation: ryb-ws-shimmer 3.4s ease-in-out infinite alternate; }
	.ryb-ws__silt { animation: ryb-ws-silt 46s linear infinite; }
	.ryb-ws__streaks { animation: ryb-ws-streak 14s linear infinite; }
	.ryb-ws[data-ws-flow="brisk"] .ryb-ws__streaks { animation-duration: 5s; }
	.ryb-ws[data-ws-flow="fast"] .ryb-ws__streaks { animation-duration: 2.2s; }
	.ryb-ws[data-ws-steam="1"] .ryb-ws__steam { animation: ryb-ws-steam 14s ease-in-out infinite alternate; }
	.ryb-ws__rain { animation: ryb-ws-rain .55s linear infinite; }
	.ryb-ws[data-ws-rain="2"] .ryb-ws__rain { animation-name: ryb-ws-rain2; animation-duration: .38s; }
	.ryb-ws__ring { animation: ryb-ws-ring 2.4s ease-out infinite; animation-delay: var(--wd); }
	.ryb-ws__fish--1 { animation: ryb-ws-swim-r calc(44s * var(--ws-speed)) linear infinite -8s; }
	.ryb-ws__fish--2 { animation: ryb-ws-swim-l calc(58s * var(--ws-speed)) linear infinite -31s; }
	.ryb-ws__fish--3 { animation: ryb-ws-swim-r calc(34s * var(--ws-speed)) linear infinite -22s; }
	.ryb-ws__fish--4 { animation: ryb-ws-swim-l calc(70s * var(--ws-speed)) linear infinite -12s; }
	.ryb-ws__fish--1 .ryb-ws__fishsvg,
	.ryb-ws__fish--3 .ryb-ws__fishsvg { animation: ryb-ws-wag 3.6s ease-in-out infinite alternate; }
	.ryb-ws__bubble { animation: ryb-ws-bubble var(--d) ease-in infinite; animation-delay: var(--w); }
	.ryb-ws__reed { animation: ryb-ws-sway calc(2.6s + var(--i) * .35s) ease-in-out infinite alternate; }
	.ryb-hero.is-off .ryb-ws *,
	.ryb-hero.is-off .ryb-ws *::after {
		animation-play-state: paused;
	}
}
/* animácie zapnuté prepínačom aj pri systémovom „znížiť pohyb“ */
html[data-ryb-motion="on"] .ryb-ws[data-ws-sky="night"] .ryb-ws__stars { animation: ryb-ws-twinkle 5s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws__cloud { animation: ryb-ws-cloud calc(150s * var(--ws-cloudspeed)) linear infinite; }
html[data-ryb-motion="on"] .ryb-ws__cloud--1 { animation-delay: -40s; }
html[data-ryb-motion="on"] .ryb-ws__cloud--2 { animation-delay: -110s; animation-duration: calc(210s * var(--ws-cloudspeed)); }
html[data-ryb-motion="on"] .ryb-ws__cloud--3 { animation-delay: -90s; animation-duration: calc(180s * var(--ws-cloudspeed)); }
html[data-ryb-motion="on"] .ryb-ws__sun { animation: ryb-ws-glow 7s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws__water { animation: ryb-ws-tide 7s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-dir="up"] .ryb-ws__water { animation-duration: 5s; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-dir="up2"] .ryb-ws__water { animation-duration: 3.2s; animation-name: ryb-ws-tide2; }
html[data-ryb-motion="on"] .ryb-ws__wave { animation: ryb-ws-drift 15s linear infinite; }
html[data-ryb-motion="on"] .ryb-ws__wave--b { animation-duration: 25s; animation-direction: reverse; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-wind="2"] .ryb-ws__wave { animation-duration: 9s; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-wind="3"] .ryb-ws__wave { animation-duration: 6s; }
html[data-ryb-motion="on"] .ryb-ws__rays { animation: ryb-ws-rays 16s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws__water::after { animation: ryb-ws-shimmer 3.4s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws__silt { animation: ryb-ws-silt 46s linear infinite; }
html[data-ryb-motion="on"] .ryb-ws__streaks { animation: ryb-ws-streak 14s linear infinite; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-flow="brisk"] .ryb-ws__streaks { animation-duration: 5s; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-flow="fast"] .ryb-ws__streaks { animation-duration: 2.2s; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-steam="1"] .ryb-ws__steam { animation: ryb-ws-steam 14s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws__rain { animation: ryb-ws-rain .55s linear infinite; }
html[data-ryb-motion="on"] .ryb-ws[data-ws-rain="2"] .ryb-ws__rain { animation-name: ryb-ws-rain2; animation-duration: .38s; }
html[data-ryb-motion="on"] .ryb-ws__ring { animation: ryb-ws-ring 2.4s ease-out infinite; animation-delay: var(--wd); }
html[data-ryb-motion="on"] .ryb-ws__fish--1 { animation: ryb-ws-swim-r calc(44s * var(--ws-speed)) linear infinite -8s; }
html[data-ryb-motion="on"] .ryb-ws__fish--2 { animation: ryb-ws-swim-l calc(58s * var(--ws-speed)) linear infinite -31s; }
html[data-ryb-motion="on"] .ryb-ws__fish--3 { animation: ryb-ws-swim-r calc(34s * var(--ws-speed)) linear infinite -22s; }
html[data-ryb-motion="on"] .ryb-ws__fish--4 { animation: ryb-ws-swim-l calc(70s * var(--ws-speed)) linear infinite -12s; }
html[data-ryb-motion="on"] .ryb-ws__fish--1 .ryb-ws__fishsvg, html[data-ryb-motion="on"] .ryb-ws__fish--3 .ryb-ws__fishsvg { animation: ryb-ws-wag 3.6s ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-ws__bubble { animation: ryb-ws-bubble var(--d) ease-in infinite; animation-delay: var(--w); }
html[data-ryb-motion="on"] .ryb-ws__reed { animation: ryb-ws-sway calc(2.6s + var(--i) * .35s) ease-in-out infinite alternate; }
html[data-ryb-motion="on"] .ryb-hero.is-off .ryb-ws *, html[data-ryb-motion="on"] .ryb-hero.is-off .ryb-ws *::after { animation-play-state: paused; }
@keyframes ryb-ws-twinkle { from { opacity: .72; } to { opacity: 1; } }
@keyframes ryb-ws-cloud { to { transform: translate3d(calc(100cqi + 480px), 0, 0); } }
@keyframes ryb-ws-glow { from { filter: brightness(.94); } to { filter: brightness(1.08); } }
@keyframes ryb-ws-tide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -3px, 0); } }
@keyframes ryb-ws-tide2 { from { transform: translate3d(0, 2px, 0); } to { transform: translate3d(0, -7px, 0); } }
@keyframes ryb-ws-drift { to { transform: translate3d(-50%, 0, 0); } }
@keyframes ryb-ws-rays { from { transform: translate3d(-3%, 0, 0); } to { transform: translate3d(3%, 0, 0); } }
@keyframes ryb-ws-shimmer { from { opacity: .26; } to { opacity: .56; } }
@keyframes ryb-ws-silt { to { background-position: -173px 173px, 131px -131px, -211px 0, 0 97px, 157px 157px, -113px -113px; } }
@keyframes ryb-ws-streak { to { background-position: -260px 22%, -170px 40%, -220px 58%, -110px 74%, -250px 88%; } }
@keyframes ryb-ws-steam { from { transform: translate3d(-18px, 0, 0); opacity: .75; } to { transform: translate3d(18px, -6px, 0); opacity: 1; } }
@keyframes ryb-ws-rain { to { background-position: -28px 90px; } }
@keyframes ryb-ws-rain2 { to { background-position: -20px 64px; } }
@keyframes ryb-ws-ring { 0% { opacity: 0; transform: scale(.2); } 14% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ryb-ws-swim-r { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(100cqi + 230px), 0, 0); } }
@keyframes ryb-ws-swim-l { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-100cqi - 230px), 0, 0); } }
/* ryby 1 a 3 plávajú doprava, silueta má hlavu vľavo, preto sa zrkadlí aj počas kmitania */
@keyframes ryb-ws-wag { from { transform: scaleX(-1) translateY(-5px) rotate(-2deg); } to { transform: scaleX(-1) translateY(6px) rotate(2deg); } }
@keyframes ryb-ws-bubble { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 12% { opacity: .85; } 100% { transform: translate3d(5px, -170px, 0); opacity: 0; } }
@keyframes ryb-ws-sway { from { transform: rotate(calc(var(--ws-sway) * -1)); } to { transform: rotate(var(--ws-sway)); } }

/* nízka hlavička v malom okne: hladina o niečo nižšia */
@container ryb (max-width: 560px) {
	.ryb-hero--scene { --ws-wh: clamp(150px, 40%, 230px); }
}

/* ---------------------------------------------------------------- pás „Stav vody“ */
.ryb-hud {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: clamp(10px, 1.4cqi, 18px) 0 0;
	padding: 0;
	list-style: none;
}
.ryb-hud__i {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 8px 14px 8px 9px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 14px;
	background: rgba(6, 28, 42, .46);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	box-shadow: 0 6px 18px rgba(2, 14, 22, .22);
	color: #fff;
}
.ryb-hud__i[hidden] { display: none; }
.ryb-hud__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: rgba(255, 255, 255, .14);
	color: #dff3f6;
}
.ryb-hud__ico .ryb-i { width: 19px; height: 19px; }
.ryb-hud__txt {
	display: grid;
	gap: 0;
	min-width: 0;
	line-height: 1.22;
}
.ryb-hud__txt small {
	font-size: .7rem;
	font-weight: 560;
	letter-spacing: .01em;
	opacity: .78;
}
.ryb-hud__txt strong {
	font-size: 1rem;
	font-weight: 680;
	font-variant-numeric: tabular-nums;
}
.ryb-hud__txt em {
	font-size: .72rem;
	font-style: normal;
	opacity: .82;
}
.ryb-hud__txt em:empty { display: none; }
.ryb-hud__i.is-good .ryb-hud__ico { background: rgba(91, 214, 140, .24); color: #b9f5d0; }
.ryb-hud__i.is-ideal .ryb-hud__ico { background: rgba(91, 214, 140, .24); color: #b9f5d0; }
.ryb-hud__i.is-top .ryb-hud__ico { background: rgba(91, 214, 140, .3); color: #c8f9da; }
.ryb-hud__i.is-high .ryb-hud__ico { background: rgba(91, 214, 140, .24); color: #b9f5d0; }
.ryb-hud__i.is-mid .ryb-hud__ico,
.ryb-hud__i.is-warm .ryb-hud__ico { background: rgba(255, 196, 86, .26); color: #ffe3a4; }
.ryb-hud__i.is-bad .ryb-hud__ico,
.ryb-hud__i.is-hot .ryb-hud__ico,
.ryb-hud__i.is-low .ryb-hud__ico { background: rgba(255, 112, 96, .28); color: #ffc7be; }
.ryb-hud__i.is-cold .ryb-hud__ico,
.ryb-hud__i.is-cool .ryb-hud__ico { background: rgba(120, 190, 255, .26); color: #cde8ff; }
@container ryb (max-width: 560px) {
	.ryb-hud { gap: 6px; }
	.ryb-hud__i { flex: 1 1 calc(50% - 6px); padding: 7px 10px 7px 7px; }
	.ryb-hud__txt strong { font-size: .94rem; }
}

/* =====================================================================
 * 3D widget „Terén v 3D“ (1.12): veľká karta na celú šírku, prezerač sa spustí sám
 * ===================================================================== */
.ryb-box--3d {
	--ryb-box-pad: 16px;
	margin-top: 16px;
	padding-bottom: 0;
	overflow: hidden;
}
.ryb-3dw {
	margin: 0 calc(var(--ryb-box-pad) * -1);
}
.ryb-3dw__stage {
	position: relative;
	aspect-ratio: 16 / 8;
	min-height: 360px;
	max-height: min(78vh, 760px);
	background: linear-gradient(160deg, #0d2230, #0f4a58);
	overflow: hidden;
}
.ryb-3dw__wait {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 20px;
	color: rgba(255, 255, 255, .85);
	font-size: .92rem;
	text-align: center;
}
.ryb-3dw__wait[hidden] { display: none; }
.ryb-3dw__note {
	margin: 0;
	padding: 10px 18px 14px;
	font-size: .82rem;
	line-height: 1.45;
	color: var(--ryb-ink-2);
}
.ryb-3dw__note[hidden] { display: none; }
.ryb-3d__boost {
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .24);
	background: rgba(8, 30, 44, .72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
@container ryb (max-width: 640px) {
	.ryb-3dw__stage {
		aspect-ratio: 4 / 5;
		min-height: 420px;
		max-height: 78vh;
	}
}

/* =====================================================================
 * Dno nádrže (1.75): 3D model dna, rez, hypsografia, zloženie dna a podložia
 * ===================================================================== */
.ryb-box--bath {
	margin-top: 16px;
}
.ryb-box--bath .ryb-panel__head {
	flex-wrap: wrap;
}
.ryb-bath__tier {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 11px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 640;
	line-height: 1;
	background: var(--ryb-canvas);
	color: var(--ryb-ink-2);
	box-shadow: inset 0 0 0 1px var(--ryb-line);
	cursor: help;
}
.ryb-bath__tier--A {
	background: var(--bt-a-bg);
	color: var(--bt-a-ink);
	box-shadow: inset 0 0 0 1px var(--bt-a-line);
}
.ryb-bath__tier--B {
	background: var(--bt-b-bg);
	color: var(--bt-b-ink);
	box-shadow: inset 0 0 0 1px var(--bt-b-line);
}
.ryb-bath__tier--C {
	background: var(--bt-c-bg);
	color: var(--bt-c-ink);
	box-shadow: inset 0 0 0 1px var(--bt-c-line);
}
.ryb-box--bath {
	--bt-a-bg: #e1f2e8; --bt-a-ink: #145a34; --bt-a-line: #b7dcc4;
	--bt-b-bg: #e3eef7; --bt-b-ink: #1b4d75; --bt-b-line: #bad3e6;
	--bt-c-bg: #fbf0d3; --bt-c-ink: #6b4a00; --bt-c-line: #ecd596;
	--bt-live-bg: #e9f4f6; --bt-live-line: #c4dde2; --bt-live-dash: #b3d2d9; --bt-live-ink: #0a2f45;
	--bt-on-bg: #dcebee; --bt-on-ink: #0a2f45; --bt-on-line: #9cc5cd;
	--bt-trk1: #bcd6dc; --bt-trk2: #8fbac4; --bt-thumb: #fff;
	--bt-sky: #f1f7f9; --bt-prof: #3a2c1e; --bt-lvl: #0e7180; --bt-ax: #8aa2ad; --bt-grid: rgba(10, 47, 69, .1);
	--bt-tx: #526a78; --bt-end: #0b5f6b; --bt-vfill: rgba(14, 113, 128, .22); --bt-dotv: #0b5f6b; --bt-kv: rgba(14, 113, 128, .35);
}
.ryb-bath {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
html:is([data-ryb-theme='night'], [data-ryb-theme='ember']) .ryb-box--bath {
	--bt-a-bg: #14301f; --bt-a-ink: #8fdcae; --bt-a-line: #25573a;
	--bt-b-bg: #12283a; --bt-b-ink: #8cc3ee; --bt-b-line: #214a6b;
	--bt-c-bg: #33290e; --bt-c-ink: #efcd75; --bt-c-line: #5c4a14;
	--bt-live-bg: #0f2724; --bt-live-line: #254640; --bt-live-dash: #2a4d46; --bt-live-ink: #dce8e4;
	--bt-on-bg: #1d3b36; --bt-on-ink: #dce8e4; --bt-on-line: #3b665c;
	--bt-trk1: #2a4a44; --bt-trk2: #3b665c; --bt-thumb: #dce8e4;
	--bt-sky: #0c1c1a; --bt-prof: #ecdcc2; --bt-lvl: #5cc7d6; --bt-ax: #5f7f76; --bt-grid: rgba(220, 232, 228, .1);
	--bt-tx: #9db5ac; --bt-end: #76d4df; --bt-vfill: rgba(63, 183, 199, .28); --bt-dotv: #76d4df; --bt-kv: rgba(63, 183, 199, .4);
}
.ryb-bath__u {
	font-size: .72em;
	font-weight: 600;
	color: var(--ryb-mute);
}

/* hlavný riadok: 3D scéna a bočný stĺpec */
.ryb-bath__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
	gap: 16px;
	align-items: stretch;
}
.ryb-bath__view {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: var(--ryb-r-lg);
	overflow: hidden;
	background: var(--ryb-surface);
	box-shadow: 0 0 0 1px var(--ryb-line), 0 12px 30px -18px rgba(10, 47, 69, .35);
}
.ryb-bath__stage {
	position: relative;
	flex: 1 1 auto;
	min-height: 380px;
	aspect-ratio: 4 / 3;
	max-height: min(92vh, 860px);
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(110% 70% at 50% 0%, rgba(120, 190, 205, .34), rgba(120, 190, 205, 0) 62%),
		linear-gradient(180deg, #1a4a5c 0%, #0e3041 52%, #0a2230 100%);
	-webkit-user-select: none;
	user-select: none;
}
/* svetlo slnka na oblohe za modelom (poloha podľa natočenia kamery voči slnku) a jemná vinetácia okrajov */
.ryb-bath__stage::before,
.ryb-bath__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.ryb-bath__stage::before {
	background: radial-gradient(46% 34% at var(--ryb-sun-x, 50%) 0%, rgba(255, 198, 138, var(--ryb-sun-o, 0)), rgba(255, 198, 138, 0) 72%);
}
.ryb-bath__stage::after {
	z-index: 1;
	box-shadow: inset 0 0 140px rgba(2, 12, 18, .38);
}
.ryb-bath__wait {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 20px;
	color: rgba(255, 255, 255, .86);
	font-size: .92rem;
	text-align: center;
}
.ryb-bath__wait[hidden] {
	display: none;
}
.ryb-bath__cv {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	touch-action: none;
	cursor: grab;
	outline-offset: -3px;
}
.ryb-bath__cv:active {
	cursor: grabbing;
}
.ryb-bath__cv:focus-visible {
	outline: 2px solid #fff;
}
.ryb-bath__cv--2d {
	object-fit: contain;
	padding: 28px 22px 64px;
	cursor: default;
	image-rendering: auto;
}

/* sklenené prvky nad scénou */
.ryb-bath__segs,
.ryb-bath__tools,
.ryb-bath__legend,
.ryb-bath__hov,
.ryb-bath__hint {
	position: absolute;
	z-index: 2;
	margin: 0;
	color: #fff;
	background: rgba(7, 27, 40, .62);
	-webkit-backdrop-filter: blur(8px) saturate(1.2);
	backdrop-filter: blur(8px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.ryb-bath__segs {
	top: 12px;
	left: 12px;
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
}
.ryb-bath__seg {
	position: relative;
	min-height: 34px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, .8);
	font-family: inherit;
	font-size: .84rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background-color .18s var(--ryb-ease), color .18s var(--ryb-ease);
}
.ryb-bath__seg::after {
	content: "";
	position: absolute;
	inset: -3px 0;
}
.ryb-bath__seg:hover {
	color: #fff;
}
.ryb-bath__seg[aria-pressed="true"] {
	background: #fff;
	color: #0a2f45;
}
.ryb-bath__tools {
	top: 12px;
	right: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 4px;
	border-radius: 18px;
}
.ryb-bath__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color .18s var(--ryb-ease), transform .18s var(--ryb-ease);
}
.ryb-bath__btn .ryb-i {
	width: 20px;
	height: 20px;
}
.ryb-bath__btn:hover {
	background: rgba(255, 255, 255, .16);
}
.ryb-bath__btn:active {
	transform: scale(.94);
}
.ryb-bath__compass {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
}
.ryb-bath__cring {
	fill: rgba(255, 255, 255, .06);
	stroke: rgba(255, 255, 255, .4);
	stroke-width: 1.2;
}
/* otočenie strelky nesie atribút transform okolo stredu (20 20); CSS stred otáčania by ho posunul druhýkrát a strelka by zmizla */
.ryb-bath__needle {
	transform-origin: 0 0;
}
.ryb-bath__cn {
	fill: #ff5a1f;
}
.ryb-bath__cs {
	fill: rgba(255, 255, 255, .72);
}
.ryb-bath__legend {
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px - 190px);
	padding: 9px 12px;
	border-radius: 14px;
	font-size: .78rem;
	line-height: 1.25;
}
.ryb-bath__legend:empty {
	display: none;
}
.ryb-bath__legend ul {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb-bath__legend li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}
.ryb-bath__legend li i {
	flex: none;
	width: 11px;
	height: 11px;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .5);
}
.ryb-bath__grad {
	width: 170px;
	max-width: 100%;
	height: 9px;
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
}
.ryb-bath__gradl {
	display: flex;
	justify-content: space-between;
	margin-top: 5px;
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, .86);
}
.ryb-bath__legend .ryb-bath__grad + .ryb-bath__gradl {
	width: 170px;
	max-width: 100%;
}
.ryb-bath__gpn {
	max-width: 300px;
	margin: 7px 0 0;
	color: rgba(255, 255, 255, .78);
	font-size: .72rem;
	line-height: 1.38;
	text-wrap: pretty;
}
.ryb-bath__gpn:first-child {
	margin-top: 0;
}
/* živá scéna: vietor teraz (vlnky a tiene oblakov podľa počasia pri revíri) */
.ryb-bath__live {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 7px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: .72rem;
	line-height: 1.3;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__live:first-child {
	margin-top: 0;
}
.ryb-bath__live i {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #5ee6d0;
	animation: ryb-live-pulse 2.4s cubic-bezier(.215, .61, .355, 1) infinite;
}
@keyframes ryb-live-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(94, 230, 208, .55);
	}
	70%,
	100% {
		box-shadow: 0 0 0 7px rgba(94, 230, 208, 0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__live i {
		animation: none;
	}
}
.ryb-bath__hov {
	right: 12px;
	bottom: 12px;
	max-width: 190px;
	padding: 9px 12px;
	border-radius: 14px;
	font-size: .8rem;
	line-height: 1.35;
	pointer-events: none;
}
.ryb-bath__hov[hidden] {
	display: none;
}
.ryb-bath__hov b {
	font-size: .98rem;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__hov span {
	color: rgba(255, 255, 255, .78);
}
.ryb-bath__hint {
	top: 60px;
	left: 12px;
	max-width: min(380px, calc(100% - 76px));
	padding: 9px 13px;
	border-radius: 14px;
	font-size: .78rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, .92);
	pointer-events: none;
	transition: opacity .6s var(--ryb-ease), transform .6s var(--ryb-ease);
}
.ryb-bath__hint.is-off {
	opacity: 0;
	transform: translateY(-4px);
}

/* ovládanie pod scénou */
.ryb-bath__ctl {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px 15px;
	background: var(--ryb-surface);
	border-top: 1px solid var(--ryb-line);
}
.ryb-bath__ctl:empty {
	display: none;
}
.ryb-bath__rng {
	display: grid;
	grid-template-columns: 86px minmax(110px, 1fr) minmax(72px, auto) auto;
	align-items: center;
	gap: 6px 12px;
}
.ryb-bath__lab {
	font-size: .86rem;
	font-weight: 640;
	color: var(--ryb-ink);
}
.ryb-bath__out {
	font-size: .88rem;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-river-2);
	white-space: nowrap;
}
.ryb-bath__quick {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ryb-bath__ctl input[type="range"],
.ryb-bath__secctl input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	accent-color: var(--ryb-river);
}
.ryb-bath__ctl input[type="range"]::-webkit-slider-runnable-track,
.ryb-bath__secctl input[type="range"]::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bt-trk1), var(--bt-trk2));
}
.ryb-bath__ctl input[type="range"]::-moz-range-track,
.ryb-bath__secctl input[type="range"]::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #bcd6dc, #8fbac4);
}
.ryb-bath__ctl input[type="range"]::-webkit-slider-thumb,
.ryb-bath__secctl input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -8px;
	border: 2px solid var(--ryb-river);
	border-radius: 50%;
	background: var(--bt-thumb);
	box-shadow: 0 2px 6px rgba(10, 47, 69, .3);
	transition: transform .15s var(--ryb-ease);
}
.ryb-bath__ctl input[type="range"]::-moz-range-thumb,
.ryb-bath__secctl input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid var(--ryb-river);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 6px rgba(10, 47, 69, .3);
}
.ryb-bath__ctl input[type="range"]:active::-webkit-slider-thumb,
.ryb-bath__secctl input[type="range"]:active::-webkit-slider-thumb {
	transform: scale(1.12);
}
.ryb-bath__ctl input[type="range"]:focus-visible,
.ryb-bath__secctl input[type="range"]:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
	border-radius: 8px;
}
/* ponor pod hladinu: hĺbka, vzdialenosť od dna a viditeľnosť v hornej časti scény */
.ryb-bath__dive {
	position: absolute;
	top: 60px;
	left: 50%;
	z-index: 2;
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(4, 30, 38, .6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: inset 0 0 0 1px rgba(160, 230, 235, .22), 0 6px 18px -8px rgba(0, 0, 0, .5);
	color: rgba(225, 248, 250, .9);
	font-size: .8rem;
	line-height: 1.3;
	white-space: nowrap;
	transform: translateX(-50%);
	pointer-events: none;
}
.ryb-bath__dive span {
	white-space: nowrap;
}
.ryb-bath__dive b {
	display: inline;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #fff;
}
.ryb-bath__dive[hidden] {
	display: none;
}
.ryb-bath__btn[aria-pressed="true"] {
	background: rgba(96, 214, 220, .28);
	box-shadow: inset 0 0 0 1px rgba(150, 236, 240, .55);
}
/* čas dňa: stopa posuvníka má farby oblohy od polnoci po polnoc, jazdec svieti ako Slnko alebo Mesiac */
.ryb-bath__rng--time input[type="range"]::-webkit-slider-runnable-track {
	height: 8px;
	background: var(--ryb-day, linear-gradient(90deg, var(--bt-trk1), var(--bt-trk2)));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.ryb-bath__rng--time input[type="range"]::-moz-range-track {
	height: 8px;
	background: var(--ryb-day, linear-gradient(90deg, #bcd6dc, #8fbac4));
}
.ryb-bath__rng--time input[type="range"]::-webkit-slider-thumb {
	margin-top: -7px;
	border-color: rgba(255, 255, 255, .9);
	box-shadow: 0 0 0 3px rgba(255, 210, 122, .22), 0 2px 8px rgba(10, 47, 69, .35);
}
.ryb-bath__rng--time input[type="range"]::-moz-range-thumb {
	border-color: rgba(255, 255, 255, .9);
	background: var(--bt-thumb, #fff);
}
.ryb-bath__chip {
	position: relative;
	min-height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: var(--ryb-canvas);
	color: var(--ryb-ink-2);
	font-family: inherit;
	font-size: .8rem;
	font-weight: 600;
	line-height: 1;
	box-shadow: inset 0 0 0 1px var(--ryb-line);
	cursor: pointer;
	transition: background-color .18s var(--ryb-ease), color .18s var(--ryb-ease), box-shadow .18s var(--ryb-ease), transform .18s var(--ryb-ease);
}
.ryb-bath__chip::after {
	content: "";
	position: absolute;
	inset: -4px -2px;
}
.ryb-bath__chip:hover {
	background: var(--bt-on-bg);
	color: var(--bt-on-ink);
}
.ryb-bath__chip:active {
	transform: scale(.97);
}
.ryb-bath__chip--t[aria-pressed="true"] {
	background: var(--bt-on-bg);
	color: var(--bt-on-ink);
	box-shadow: inset 0 0 0 1px var(--bt-on-line);
}
.ryb-bath__chip--t[aria-pressed="false"] {
	background: transparent;
	color: var(--ryb-mute);
	text-decoration: line-through;
	text-decoration-color: rgba(82, 106, 120, .5);
}
.ryb-bath__tog {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 10px;
	border-top: 1px dashed var(--ryb-line);
}
.ryb-bath__seg:focus-visible,
.ryb-bath__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}
.ryb-bath__chip:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
}

/* celá obrazovka */
.ryb-bath__view.is-fs {
	border-radius: 0;
	background: #0a2230;
}
.ryb-bath__view.is-fs .ryb-bath__stage {
	max-height: none;
	aspect-ratio: auto;
}
.ryb-bath__view.is-fs .ryb-bath__ctl {
	background: #0f2f40;
	border-top-color: rgba(255, 255, 255, .14);
}
.ryb-bath__view.is-fs .ryb-bath__lab,
.ryb-bath__view.is-fs .ryb-bath__out {
	color: #fff;
}
.ryb-bath__view.is-fs .ryb-bath__chip {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.ryb-bath__view.is-fs .ryb-bath__chip--t[aria-pressed="false"] {
	background: transparent;
	color: rgba(255, 255, 255, .6);
}
.ryb-bath__view.is-fs .ryb-bath__tog {
	border-top-color: rgba(255, 255, 255, .18);
}

/* bočný stĺpec */
.ryb-bath__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}
.ryb-bath__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
.ryb-bath__tile {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding: 11px 13px 12px;
	border-radius: 12px;
	background: var(--ryb-canvas);
	box-shadow: inset 0 0 0 1px var(--ryb-line-2);
}
.ryb-bath__tile--w {
	grid-column: 1 / -1;
}
.ryb-bath__tile--t .ryb-bath__tv {
	font-size: 1.05rem;
	font-weight: 680;
	line-height: 1.25;
}
.ryb-bath__tl {
	font-size: .76rem;
	line-height: 1.25;
	color: var(--ryb-mute);
}
.ryb-bath__tv {
	font-size: 1.32rem;
	font-weight: 720;
	line-height: 1.15;
	letter-spacing: -.012em;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-ink);
	overflow-wrap: anywhere;
}
.ryb-bath__tv .ryb-bath__u {
	font-size: .6em;
	letter-spacing: 0;
}
.ryb-bath__th {
	font-size: .74rem;
	line-height: 1.3;
	color: var(--ryb-mute);
}
.ryb-bath__th:empty:not([data-hk]) {
	display: none;
}
.ryb-bath__th[data-hk] {
	min-height: 1.3em;
}
.ryb-bath.is-lowered .ryb-bath__tile:has(.ryb-bath__tv[data-k]) {
	background: var(--bt-on-bg);
	box-shadow: inset 0 0 0 1px var(--bt-on-line);
}
.ryb-bath.is-lowered .ryb-bath__tv[data-k] {
	color: var(--bt-on-ink);
}
.ryb-bath__lh {
	margin: 0;
	font-size: .9rem;
	font-weight: 680;
	color: var(--ryb-ink);
}
.ryb-bath__conf {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
	padding: 12px 13px 13px;
	border-radius: 12px;
	background: var(--bt-c-bg);
	box-shadow: inset 0 0 0 1px var(--bt-c-line);
}
.ryb-bath__conf--A {
	background: var(--bt-a-bg);
	box-shadow: inset 0 0 0 1px var(--bt-a-line);
}
.ryb-bath__conf--B {
	background: var(--bt-b-bg);
	box-shadow: inset 0 0 0 1px var(--bt-b-line);
}
.ryb-bath__conf .ryb-bath__lh {
	color: inherit;
}
.ryb-bath__conf p {
	margin: 0;
	font-size: .78rem;
	line-height: 1.4;
	color: var(--ryb-ink-2);
}
.ryb-bath__conf--A { color: var(--bt-a-ink); }
.ryb-bath__conf--B { color: var(--bt-b-ink); }
.ryb-bath__conf--C { color: var(--bt-c-ink); }
.ryb-bath__meter {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb-bath__meter li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: .72rem;
	line-height: 1.2;
	opacity: .55;
}
.ryb-bath__meter li.is-on {
	opacity: 1;
	font-weight: 700;
}
.ryb-bath__meter i {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: currentColor;
	opacity: .35;
}
.ryb-bath__meter li.is-on i {
	opacity: 1;
}
.ryb-bath__how {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb-bath__how li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.ryb-bath__hi {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: var(--ryb-shallow);
	color: var(--ryb-river-2);
}
.ryb-bath__hi .ryb-i {
	width: 16px;
	height: 16px;
}
.ryb-bath__how li > div {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.ryb-bath__how strong {
	font-size: .84rem;
	font-weight: 660;
	color: var(--ryb-ink);
}
.ryb-bath__how span {
	font-size: .78rem;
	line-height: 1.38;
	color: var(--ryb-ink-2);
}

/* karty pod scénou */
.ryb-bath__cards {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 14px;
}
.ryb-bath__card--wide {
	grid-column: 1 / -1;
}
.ryb-bath__card--wide .ryb-bath__cb {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 32px;
	align-items: start;
}
.ryb-bath__cgp {
	min-width: 0;
}
.ryb-bath__cgp .ryb-bath__cap {
	margin-top: 0;
}
.ryb-bath__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 14px 14px 13px;
	border-radius: var(--ryb-r-lg);
	background: var(--ryb-surface);
	box-shadow: inset 0 0 0 1px var(--ryb-line);
}
.ryb-bath__ch {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: .94rem;
	font-weight: 680;
	color: var(--ryb-ink);
}
.ryb-bath__ch .ryb-i {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--ryb-river);
}
.ryb-bath__cb {
	flex: 1 1 auto;
	min-width: 0;
}
.ryb-bath__cc {
	margin: 0;
	font-size: .76rem;
	line-height: 1.4;
	color: var(--ryb-mute);
}
.ryb-bath__svgw {
	min-width: 0;
}
.ryb-bath__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	font-family: inherit;
}
.ryb-bath__sky {
	fill: var(--bt-sky);
}
.ryb-bath__prof {
	stroke: var(--bt-prof);
	stroke-width: 1.4;
	stroke-linejoin: round;
}
.ryb-bath__lvl {
	stroke: var(--bt-lvl);
	stroke-width: 1.4;
	stroke-dasharray: 5 4;
}
.ryb-bath__ax {
	stroke: var(--bt-ax);
	stroke-width: 1;
}
.ryb-bath__grid {
	stroke: var(--bt-grid);
	stroke-width: 1;
}
.ryb-bath__tx {
	font-size: 10.5px;
	fill: var(--bt-tx);
	font-variant-numeric: tabular-nums;
}
.ryb-bath__end {
	font-size: 11px;
	font-weight: 700;
	fill: var(--bt-end);
}
.ryb-bath__dot {
	fill: #fff;
	stroke: #ff5a1f;
	stroke-width: 2.4;
}
.ryb-bath__dotv {
	fill: #fff;
	stroke: var(--bt-dotv);
	stroke-width: 2.4;
}
.ryb-bath__dl {
	font-size: 11.5px;
	font-weight: 700;
	fill: #fff;
	paint-order: stroke;
	stroke: rgba(6, 36, 56, .75);
	stroke-width: 3px;
	stroke-linejoin: round;
}
.ryb-bath__guide {
	stroke: #ff5a1f;
	stroke-width: 1.2;
	stroke-dasharray: 3 3;
	pointer-events: none;
}
.ryb-bath__mark {
	fill: #ff5a1f;
	stroke: #fff;
	stroke-width: 2;
	pointer-events: none;
}
.ryb-bath__hit {
	cursor: crosshair;
	touch-action: pan-y;
}
.ryb-bath__vfill {
	fill: var(--bt-vfill);
}
.ryb-bath__acurve {
	stroke: #ff5a1f;
	stroke-width: 2;
	stroke-linejoin: round;
}
.ryb-bath__key {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: .78rem;
	color: var(--ryb-ink-2);
}
.ryb-bath__key li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ryb-bath__ka,
.ryb-bath__kv {
	display: inline-block;
	width: 16px;
	height: 4px;
	border-radius: 999px;
	background: #ff5a1f;
}
.ryb-bath__kv {
	height: 10px;
	border-radius: 3px;
	background: var(--bt-kv);
	box-shadow: inset 0 0 0 1px var(--bt-dotv);
}
.ryb-bath__read {
	margin: 8px 0 0;
	min-height: 2.7em;
	font-size: .8rem;
	line-height: 1.35;
	color: var(--ryb-ink-2);
}
.ryb-bath__read b {
	font-variant-numeric: tabular-nums;
	color: var(--ryb-ink);
}
.ryb-bath__secctl {
	display: grid;
	gap: 2px;
	margin-top: 4px;
}
.ryb-bath__mini {
	display: grid;
	grid-template-columns: 78px minmax(60px, 1fr) auto;
	align-items: center;
	gap: 8px;
	font-size: .78rem;
	color: var(--ryb-ink-2);
}
.ryb-bath__mini output {
	min-width: 5.5em;
	text-align: right;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	color: var(--ryb-ink);
}

/* zloženie dna a podložia */
.ryb-bath__cap {
	margin: 0 0 6px;
	font-size: .8rem;
	font-weight: 650;
	color: var(--ryb-ink);
}
.ryb-bath__bar {
	display: flex;
	gap: 2px;
	height: 18px;
	overflow: hidden;
	border-radius: 9px;
}
.ryb-bath__bar i {
	display: block;
	min-width: 3px;
	box-shadow: inset 0 0 0 1px rgba(10, 47, 69, .12);
}
.ryb-bath__lg {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: .78rem;
	color: var(--ryb-ink-2);
}
.ryb-bath__lg li {
	display: grid;
	grid-template-columns: 12px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
}
.ryb-bath__lg li i {
	width: 12px;
	height: 12px;
	border-radius: 4px;
	box-shadow: inset 0 0 0 1px rgba(10, 47, 69, .2);
}
.ryb-bath__lg b {
	font-variant-numeric: tabular-nums;
	color: var(--ryb-ink);
}
.ryb-bath__mut {
	margin: 8px 0 0;
	font-size: .76rem;
	line-height: 1.4;
	color: var(--ryb-mute);
}

/* poznámky a zdroje */
.ryb-bath__foot {
	display: grid;
	gap: 8px;
	padding-top: 14px;
	border-top: 1px solid var(--ryb-line-2);
	font-size: .82rem;
	line-height: 1.5;
	color: var(--ryb-ink-2);
}
.ryb-bath__note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
}
.ryb-bath__note .ryb-i {
	flex: none;
	width: 17px;
	height: 17px;
	margin-top: 2px;
	color: var(--ryb-river);
}
.ryb-bath__notes {
	display: grid;
	gap: 3px;
	margin: 0;
	padding: 0 0 0 26px;
	color: var(--ryb-mute);
	font-size: .78rem;
}
.ryb-bath__src {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: .76rem;
	color: var(--ryb-mute);
}
.ryb-bath__src ul {
	display: contents;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb-bath__src li {
	display: inline;
}
.ryb-bath__src a {
	color: var(--ryb-river-2);
}

/* odozva podľa šírky karty */
@container ryb-panel (max-width: 880px) {
	.ryb-bath__main {
		grid-template-columns: minmax(0, 1fr);
	}
	.ryb-bath__side {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 14px 18px;
		align-items: start;
	}
	.ryb-bath__facts {
		grid-column: 1 / -1;
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.ryb-bath__facts .ryb-bath__tile,
	.ryb-bath__facts .ryb-bath__tile--w {
		grid-column: span 2;
	}
	.ryb-bath__facts .ryb-bath__tile--t:nth-child(5) {
		grid-column: span 4;
	}
	.ryb-bath__side > .ryb-bath__lh,
	.ryb-bath__side > .ryb-bath__how,
	.ryb-bath__side > .ryb-bath__conf {
		grid-column: 1 / -1;
	}
	.ryb-bath__side > .ryb-bath__how {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 22px;
	}
	.ryb-bath__side > .ryb-bath__conf {
		margin-top: 0;
	}
	.ryb-bath__cards {
		grid-template-columns: minmax(0, 1fr);
	}
}
@container ryb-panel (max-width: 640px) {
	.ryb-bath__stage {
		aspect-ratio: 4 / 5;
		min-height: 400px;
		max-height: 78vh;
	}
	.ryb-bath__side {
		display: flex;
	}
	.ryb-bath__side > .ryb-bath__how {
		display: flex;
	}
	.ryb-bath__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ryb-bath__facts .ryb-bath__tile {
		grid-column: auto;
	}
	.ryb-bath__facts .ryb-bath__tile--w,
	.ryb-bath__facts .ryb-bath__tile--t:nth-child(5) {
		grid-column: 1 / -1;
	}
	.ryb-bath__side > .ryb-bath__conf {
		margin-top: 0;
	}
	.ryb-bath__card--wide .ryb-bath__cb {
		grid-template-columns: minmax(0, 1fr);
	}
	.ryb-bath__rng {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.ryb-bath__rng input[type="range"] {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.ryb-bath__quick {
		grid-column: 1 / -1;
	}
	.ryb-bath__legend {
		max-width: calc(100% - 24px);
		bottom: 62px;
	}
	.ryb-bath__hov {
		bottom: 12px;
		left: 12px;
		right: auto;
		max-width: calc(100% - 24px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__seg,
	.ryb-bath__btn,
	.ryb-bath__chip,
	.ryb-bath__hint,
	.ryb-bath__ctl input[type="range"]::-webkit-slider-thumb {
		transition: none;
	}
}

/* ---------------------------------------------------------------- Dno nádrže: „Pod dnom“ a „Až k jadru Zeme“ */
.ryb-bath__view.is-deep .ryb-bath__stage {
	background:
		radial-gradient(90% 55% at 50% 108%, rgba(255, 112, 40, .26), rgba(255, 112, 40, 0) 70%),
		radial-gradient(110% 60% at 50% 0%, rgba(120, 190, 205, .18), rgba(120, 190, 205, 0) 60%),
		linear-gradient(180deg, #16323d 0%, #1c1714 58%, #120c09 100%);
}
.ryb-bath__view.is-globe .ryb-bath__stage {
	background:
		radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .8), transparent 60%),
		radial-gradient(1px 1px at 78% 12%, rgba(255, 255, 255, .7), transparent 60%),
		radial-gradient(1.5px 1.5px at 64% 72%, rgba(255, 255, 255, .55), transparent 60%),
		radial-gradient(1px 1px at 30% 82%, rgba(255, 255, 255, .6), transparent 60%),
		radial-gradient(1px 1px at 88% 58%, rgba(255, 255, 255, .5), transparent 60%),
		radial-gradient(1.5px 1.5px at 6% 52%, rgba(255, 255, 255, .45), transparent 60%),
		radial-gradient(1px 1px at 46% 8%, rgba(255, 255, 255, .5), transparent 60%),
		radial-gradient(70% 70% at 50% 50%, #0b1a2e 0%, #050b16 62%, #02050b 100%);
}
.ryb-bath__seg--deep[aria-pressed="true"] {
	background: linear-gradient(135deg, #ffd29a, #ff8a3d);
	color: #2a1206;
}
.ryb-bath__seg.is-busy {
	animation: ryb-bath-busy 1s ease-in-out infinite alternate;
}
@keyframes ryb-bath-busy {
	from { opacity: 1; }
	to { opacity: .55; }
}

/* popisy v scéne */
.ryb-bath__dlab {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}
.ryb-bath__dlab[hidden] {
	display: none;
}
.ryb-bath__dl {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	max-width: 230px;
	color: #fff;
	font-size: .74rem;
	line-height: 1.2;
	white-space: nowrap;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .85), 0 0 8px rgba(0, 0, 0, .55);
	will-change: transform;
}
.ryb-bath__dl[hidden] {
	display: none;
}
.ryb-bath__dl b {
	overflow: hidden;
	font-weight: 640;
	text-overflow: ellipsis;
}
.ryb-bath__dl small {
	flex: none;
	color: rgba(255, 255, 255, .72);
	font-size: .68rem;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__dl i {
	flex: none;
	align-self: center;
	width: 9px;
	height: 9px;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
}
.ryb-bath__dl--r {
	translate: calc(-100% - 9px) -50%;
	color: rgba(255, 255, 255, .86);
	font-size: .7rem;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__dl--l,
.ryb-bath__dl--i,
.ryb-bath__dl--b {
	translate: 14px -50%;
}
.ryb-bath__dl--l::before,
.ryb-bath__dl--i::before,
.ryb-bath__dl--b::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -12px;
	width: 9px;
	height: 1px;
	background: rgba(255, 255, 255, .55);
}
.ryb-bath__dl--i b {
	color: #ffc27a;
}
.ryb-bath__dl--b b {
	color: #f2c879;
}
.ryb-bath__dl--w {
	translate: -50% calc(-100% - 12px);
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(6, 22, 32, .72);
	box-shadow: inset 0 0 0 1px rgba(160, 225, 255, .45);
	text-shadow: none;
}
.ryb-bath__dl--w b {
	color: #bfeaff;
}
.ryb-bath__dl--o {
	translate: 16px -50%;
}
.ryb-bath__dl--o b {
	color: #ffb35c;
}
.ryb-bath__dl--pin {
	translate: -50% calc(-100% - 14px);
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(40, 16, 4, .7);
	box-shadow: inset 0 0 0 1px rgba(255, 170, 90, .6);
	text-shadow: none;
}
.ryb-bath__dl--pin b {
	color: #ffd2a1;
}
.ryb-bath__dl--g {
	translate: 10px -50%;
	font-size: .78rem;
}
.ryb-bath__dl--probe {
	translate: 16px -50%;
	color: #fff4dc;
	font-variant-numeric: tabular-nums;
}

/* legenda v režime */
.ryb-bath__lt {
	margin: 0 0 6px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .01em;
}
.ryb-bath__ln {
	max-width: 46ch;
	margin: 7px 0 0;
	color: rgba(255, 255, 255, .78);
	font-size: .72rem;
	line-height: 1.35;
	text-wrap: pretty;
}
.ryb-bath__legend .ryb-bath__lk {
	box-shadow: none;
}
.ryb-bath__lk--iso {
	height: 3px !important;
	border-radius: 2px !important;
	background: linear-gradient(90deg, #ffd166, #ff6b3d);
}
.ryb-bath__lk--base {
	background: repeating-linear-gradient(0deg, #f6dc9a 0 1.5px, #b98a3e 1.5px 4px);
}
.ryb-bath__lk--core {
	border-radius: 50% !important;
	background: radial-gradient(circle, #fff3c4 0 22%, #ffb347 23% 48%, #b5422a 49% 100%);
	box-shadow: 0 0 0 1px rgba(120, 175, 255, .9);
}
.ryb-bath__lk--well {
	width: 5px !important;
	background: linear-gradient(180deg, #d6e6f5 0 55%, #ff8a3d 55% 100%);
}
.ryb-bath__lk--quake,
.ryb-bath__lk--pin {
	border-radius: 50% !important;
	background: radial-gradient(circle, #fff 0 20%, #ff4d6d 45%, rgba(255, 77, 109, 0) 72%);
}
.ryb-bath__lk--pin {
	background: radial-gradient(circle, #fff 0 20%, #ff9a3d 45%, rgba(255, 154, 61, 0) 72%);
}

/* ovládanie v režime Pod dnom */
.ryb-bath__deepctl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	padding-top: 10px;
	border-top: 1px dashed var(--ryb-line);
}
.ryb-bath__core {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 40px;
	padding: 0 16px 0 12px;
	border: 0;
	border-radius: 999px;
	background:
		radial-gradient(120% 140% at 0% 50%, #ffcf7a 0%, rgba(255, 207, 122, 0) 55%),
		linear-gradient(120deg, #ff9b3d 0%, #e2452a 55%, #8f1d2c 100%);
	color: #fff;
	font-family: inherit;
	font-size: .88rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 6px 18px -8px rgba(226, 69, 42, .75), inset 0 0 0 1px rgba(255, 255, 255, .22);
	cursor: pointer;
	transition: transform .18s var(--ryb-ease), box-shadow .18s var(--ryb-ease);
}
.ryb-bath__core .ryb-i {
	width: 20px;
	height: 20px;
}
.ryb-bath__core small {
	padding-left: 9px;
	border-left: 1px solid rgba(255, 255, 255, .35);
	color: rgba(255, 255, 255, .86);
	font-size: .74rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__core:active {
	transform: scale(.97);
}
.ryb-bath__core:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__core:hover {
		box-shadow: 0 10px 24px -8px rgba(226, 69, 42, .85), inset 0 0 0 1px rgba(255, 255, 255, .3);
	}
}
.ryb-bath__dtog {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ryb-bath__deepctl > .ryb-bath__rng {
	flex-basis: 100%;
}

/* Až k jadru: ovládanie sondy, údaje */
.ryb-bath__ctl.is-globe > :not(.ryb-bath__gctl) {
	display: none;
}
.ryb-bath__gctl {
	display: grid;
	grid-template-columns: auto minmax(120px, 1fr) auto;
	align-items: center;
	gap: 10px 14px;
}
.ryb-bath__play {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px 0 12px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(120deg, #ff9b3d, #e2452a);
	color: #fff;
	font-family: inherit;
	font-size: .86rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 6px 16px -8px rgba(226, 69, 42, .8);
	transition: transform .18s var(--ryb-ease);
}
.ryb-bath__play .ryb-i {
	width: 18px;
	height: 18px;
}
.ryb-bath__play:active {
	transform: scale(.97);
}
.ryb-bath__play:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
}
.ryb-bath__gctl input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 28px;
	margin: 0;
	background: transparent;
	cursor: pointer;
}
.ryb-bath__gctl input[type="range"]::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #6f8a6a 0%, #8a5536 8%, #a34129 30%, #df8b2c 60%, #f4d48a 100%);
}
.ryb-bath__gctl input[type="range"]::-moz-range-track {
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, #6f8a6a 0%, #8a5536 8%, #a34129 30%, #df8b2c 60%, #f4d48a 100%);
}
.ryb-bath__gctl input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -7px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #e2452a;
	box-shadow: 0 0 0 4px rgba(226, 69, 42, .25), 0 2px 6px rgba(0, 0, 0, .35);
}
.ryb-bath__gctl input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #e2452a;
}
.ryb-bath__gctl input[type="range"]:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
	border-radius: 8px;
}
.ryb-bath__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ryb-bath__back .ryb-i {
	width: 16px;
	height: 16px;
}
.ryb-bath__ghud {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	width: min(290px, calc(100% - 24px));
	padding: 12px 14px 12px;
	border-radius: 16px;
	color: #fff;
	background: rgba(8, 12, 22, .66);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px -20px rgba(0, 0, 0, .8);
	font-size: .8rem;
	line-height: 1.35;
}
.ryb-bath__ghud[hidden] {
	display: none;
}
.ryb-bath__gk {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0 0 8px;
}
.ryb-bath__gk i {
	width: 12px;
	height: 12px;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 12px currentColor;
}
.ryb-bath__gk b {
	font-size: .95rem;
}
.ryb-bath__gk span {
	color: rgba(255, 255, 255, .7);
	font-size: .74rem;
}
.ryb-bath__gd {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 12px;
	margin: 0;
}
.ryb-bath__gd div {
	min-width: 0;
}
.ryb-bath__gd dt {
	color: rgba(255, 255, 255, .62);
	font-size: .68rem;
}
.ryb-bath__gd dd {
	margin: 1px 0 0;
	font-size: .9rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.ryb-bath__gx {
	margin: 9px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: .74rem;
	text-wrap: pretty;
}
.ryb-bath__gbar {
	height: 4px;
	margin-top: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	overflow: hidden;
}
.ryb-bath__gbar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #8a5536, #e2452a, #ffb347, #fff1c4);
}
.ryb-bath__view.is-globe .ryb-bath__hov,
.ryb-bath__view.is-globe .ryb-bath__hint {
	display: none;
}

/* prechod medzi blokom a Zemou */
.ryb-bath__fade {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: radial-gradient(80% 80% at 50% 50%, #0b1220, #010307);
	opacity: 0;
	pointer-events: none;
	transition-property: opacity;
	transition-timing-function: cubic-bezier(.65, 0, .35, 1);
}
.ryb-bath__fade.is-on {
	opacity: 1;
}
.ryb-bath__view.is-fs.is-deep .ryb-bath__deepctl {
	border-top-color: rgba(255, 255, 255, .14);
}

@container ryb-panel (max-width: 640px) {
	.ryb-bath__ghud {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
	}
	.ryb-bath__view.is-globe .ryb-bath__legend {
		display: none;
	}
	.ryb-bath__gctl {
		grid-template-columns: auto 1fr;
	}
	.ryb-bath__back {
		grid-column: 1 / -1;
		justify-self: start;
	}
	.ryb-bath__dl {
		font-size: .68rem;
	}
	.ryb-bath__dl--l small,
	.ryb-bath__dl--b small {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__fade,
	.ryb-bath__core,
	.ryb-bath__play {
		transition: none;
	}
	.ryb-bath__seg.is-busy {
		animation: none;
	}
}
.ryb-bath__dl--lw {
	translate: -50% -50%;
	color: rgba(255, 255, 255, .95);
	font-size: .76rem;
	letter-spacing: .01em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .7);
}
.ryb-bath__dl--lw b {
	font-weight: 700;
}
.ryb-bath__dl--probe {
	translate: calc(-100% - 16px) -50%;
}
.ryb-bath__view.is-deep .ryb-bath__legend,
.ryb-bath__view.is-globe .ryb-bath__legend {
	top: 58px;
	bottom: auto;
	max-width: min(330px, calc(100% - 90px));
}
.ryb-bath__lt span {
	font-weight: 500;
	color: rgba(255, 255, 255, .75);
}
.ryb-bath__dl--w {
	flex-direction: column;
	align-items: center;
	gap: 1px;
	max-width: 200px;
	white-space: normal;
	text-align: center;
}
.ryb-bath__dl--w b {
	max-width: 100%;
	white-space: nowrap;
}
.ryb-bath__dl--ol {
	translate: calc(-100% - 16px) -50%;
	flex-direction: column;
	align-items: flex-end;
	gap: 1px;
}
.ryb-bath__dl--ol b {
	color: #ffb35c;
}
.ryb-bath__dl--nw,
.ryb-bath__dl--nm,
.ryb-bath__dl--ng {
	translate: 12px -50%;
	font-size: .7rem;
}
.ryb-bath__dl--nw b {
	color: #a8dcff;
}
.ryb-bath__dl--nm b {
	color: #d7cfb3;
}
.ryb-bath__dl--ng b {
	color: #efe2c4;
}
.ryb-bath__chip--k {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.ryb-bath__chip--k .ryb-bath__lk {
	flex: none;
	width: 11px;
	height: 11px;
	border-radius: 3px;
}
.ryb-bath__chip--k[aria-pressed="false"] .ryb-bath__lk {
	opacity: .35;
}
.ryb-bath__dnote {
	flex-basis: 100%;
	margin: 0;
	color: var(--ryb-mute);
	font-size: .76rem;
	line-height: 1.4;
}
.ryb-bath__dnote[hidden] {
	display: none;
}
.ryb-bath__view.is-fs .ryb-bath__dnote {
	color: rgba(255, 255, 255, .7);
}
.ryb-bath__gcap {
	grid-column: 1 / -1;
}
.ryb-bath__view.is-globe .ryb-bath__legend:empty,
.ryb-bath__view.is-deep .ryb-bath__legend:empty {
	display: none;
}
@container ryb-panel (max-width: 640px) {
	.ryb-bath__segs {
		max-width: calc(100% - 84px);
		overflow-x: auto;
		scrollbar-width: none;
	}
	.ryb-bath__segs::-webkit-scrollbar {
		display: none;
	}
	.ryb-bath__seg {
		flex: none;
		padding: 0 11px;
		font-size: .8rem;
	}
	.ryb-bath__ghud {
		padding: 9px 11px;
		font-size: .74rem;
	}
	.ryb-bath__gk {
		margin-bottom: 5px;
	}
	.ryb-bath__gk b {
		font-size: .86rem;
	}
	.ryb-bath__gd {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px 8px;
	}
	.ryb-bath__gd div:nth-child(n+4) {
		display: none;
	}
	.ryb-bath__gd dd {
		font-size: .82rem;
	}
	.ryb-bath__gx {
		display: none;
	}
	.ryb-bath__gbar {
		margin-top: 6px;
	}
}
.ryb-bath__dl--rr {
	translate: 9px -50%;
	color: rgba(255, 255, 255, .86);
	font-size: .7rem;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__dl--gw {
	translate: -50% -50%;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	font-size: .8rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .6);
}
.ryb-bath__dl--gw b {
	font-weight: 700;
}

/* lupa v režime „Pod dnom“: kruh nad rezom, v ňom zväčšený pohľad (kreslí ho WebGL), popisy vrstiev v strede */
.ryb-bath__lupa {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 0 0 6px rgba(8, 18, 24, .38), 0 12px 34px rgba(0, 0, 0, .5);
	cursor: grab;
	touch-action: none;
	will-change: transform;
}
.ryb-bath__lupa[hidden] {
	display: none;
}
.ryb-bath__lupa.is-drag {
	cursor: grabbing;
}
.ryb-bath__lupa:focus-visible {
	outline: 2px solid #9fe3ff;
	outline-offset: 8px;
}
.ryb-bath__lupa::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 42%);
	box-shadow: inset 0 0 22px rgba(0, 0, 0, .38);
	pointer-events: none;
}
.ryb-bath__lupa-in {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 50%;
	pointer-events: none;
}
.ryb-bath__lupa-in::before {
	content: "";
	position: absolute;
	top: 10%;
	bottom: 10%;
	left: calc(50% - .5px);
	width: 1px;
	background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .5) 20%, rgba(255, 255, 255, .5) 80%, rgba(255, 255, 255, 0));
}
.ryb-bath__lupa-l {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: calc(50% - 16px);
	translate: 0 -50%;
	color: #fff;
	font-size: .7rem;
	line-height: 1.15;
	text-wrap: balance;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 8px rgba(0, 0, 0, .6);
}
.ryb-bath__lupa-l[hidden] {
	display: none;
}
.ryb-bath__lupa-l b {
	font-weight: 650;
}
.ryb-bath__lupa-l small {
	color: rgba(255, 255, 255, .8);
	font-size: .66rem;
	font-variant-numeric: tabular-nums;
}
.ryb-bath__lupa-bar {
	position: absolute;
	bottom: -16px;
	left: 50%;
	display: flex;
	align-items: center;
	padding: 2px;
	border-radius: 999px;
	background: rgba(10, 20, 26, .9);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 4px 12px rgba(0, 0, 0, .35);
	translate: -50% 0;
	cursor: default;
}
.ryb-bath__lupa-bar button {
	position: relative;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: .95rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease;
}
.ryb-bath__lupa-bar button::before {
	content: "";
	position: absolute;
	inset: -7px;
}
.ryb-bath__lupa-bar button:focus-visible {
	outline: 2px solid #9fe3ff;
	outline-offset: 1px;
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__lupa-bar button:hover {
		background: rgba(255, 255, 255, .14);
	}
}
.ryb-bath__lupa-bar span {
	min-width: 30px;
	color: rgba(255, 255, 255, .9);
	font-size: .72rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
}
.ryb-bath__lupa-tie,
.ryb-bath__lupa-dot {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
}
.ryb-bath__lupa-tie {
	height: 2px;
	margin-top: -1px;
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 0 0 1px rgba(8, 18, 24, .3);
	transform-origin: 0 50%;
}
.ryb-bath__lupa-dot {
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(8, 18, 24, .35);
}
.ryb-bath__lupa-tie[hidden],
.ryb-bath__lupa-dot[hidden] {
	display: none;
}
.ryb-bath__lk--lupa {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: transparent;
	box-shadow: inset 0 0 0 2px #fff;
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__lupa-bar button {
		transition: none;
	}
}
.ryb-bath__dl--gl {
	translate: calc(-100% - 10px) -50%;
	font-size: .78rem;
}
.ryb-bath__dl--il {
	translate: calc(-100% - 14px) -50%;
}
.ryb-bath__dl--il::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -12px;
	width: 9px;
	height: 1px;
	background: rgba(255, 255, 255, .55);
}
.ryb-bath__dl--il b {
	color: #ffc27a;
}

/* prítoky a odtoky: popisy tokov pri nádrži */
.ryb-bath__flab {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}
.ryb-bath__flab[hidden],
.ryb-bath__fl[hidden] {
	display: none;
}
.ryb-bath__fl {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 6px;
	max-width: 200px;
	padding: 4px 9px 5px 11px;
	border-radius: 9px;
	color: #fff;
	background: rgba(6, 24, 38, .76);
	box-shadow: inset 3px 0 0 #4fb3ff, 0 2px 8px rgba(0, 0, 0, .3);
	font-size: .72rem;
	line-height: 1.25;
	white-space: nowrap;
	translate: -50% calc(-100% - 10px);
	will-change: transform;
}
.ryb-bath__fl::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 8px;
	height: 8px;
	background: rgba(6, 24, 38, .76);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	translate: -50% 0;
}
.ryb-bath__fl b {
	font-weight: 650;
}
.ryb-bath__fl i {
	color: #9fd8ff;
	font-style: normal;
}
.ryb-bath__fl small {
	flex-basis: 100%;
	color: rgba(255, 255, 255, .8);
	font-size: .66rem;
	font-variant-numeric: tabular-nums;
}

/* popis vybraného prvku: v bočnom stĺpci vedľa 3D, na celej obrazovke a na úzkom displeji nad scénou */
.ryb-bath__info {
	position: relative;
	padding: 12px 14px 13px;
	border-radius: 12px;
	background: var(--ryb-canvas);
	box-shadow: inset 0 0 0 1px var(--ryb-line-2);
	font-size: .86rem;
	line-height: 1.45;
	color: var(--ryb-ink);
}
.ryb-bath__info.is-on {
	background: var(--ryb-surface);
	box-shadow: inset 0 0 0 1px var(--ryb-line), 0 10px 24px -16px rgba(10, 47, 69, .45);
}
.ryb-bath__info[hidden] {
	display: none;
}
.ryb-bath__infoe {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0;
	font-size: .8rem;
	color: var(--ryb-mute);
	text-wrap: pretty;
}
.ryb-bath__infoe .ryb-i {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 2px;
}
.ryb-bath__infoh {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.ryb-bath__infok {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .74rem;
	font-weight: 600;
	color: var(--ryb-mute);
}
.ryb-bath__infok i {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
}
.ryb-bath__infox {
	position: relative;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: -6px -8px -6px 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--ryb-mute);
	cursor: pointer;
	transition: background-color .18s var(--ryb-ease), color .18s var(--ryb-ease);
}
.ryb-bath__infox::after {
	content: "";
	position: absolute;
	inset: -6px;
}
.ryb-bath__infox:hover {
	background: var(--ryb-canvas);
	color: var(--ryb-ink);
}
.ryb-bath__infox:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 1px;
}
.ryb-bath__infox .ryb-i {
	width: 16px;
	height: 16px;
}
.ryb-bath__infot {
	margin: 2px 0 0;
	font-size: 1.04rem;
	font-weight: 720;
	line-height: 1.25;
	text-wrap: balance;
}
.ryb-bath__infos {
	margin: 2px 0 0;
	font-size: .8rem;
	color: var(--ryb-mute);
}
.ryb-bath__infof {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4px 12px;
	margin: 10px 0 0;
}
.ryb-bath__infof div {
	display: contents;
}
.ryb-bath__infof dt {
	font-size: .78rem;
	color: var(--ryb-mute);
}
.ryb-bath__infof dd {
	margin: 0;
	font-size: .8rem;
	font-weight: 640;
	text-align: right;
	font-variant-numeric: tabular-nums;
	overflow-wrap: break-word;
}
/* dlhý údaj (názov horniny, viac izoteriem) pod popisom na celú šírku */
.ryb-bath__infof .is-long dt,
.ryb-bath__infof .is-long dd {
	grid-column: 1 / -1;
}
.ryb-bath__infof .is-long dd {
	margin: -2px 0 2px;
	text-align: left;
}
.ryb-bath__infop {
	margin: 10px 0 0;
	font-size: .8rem;
	text-wrap: pretty;
}
.ryb-bath__infosrc {
	margin: 8px 0 0;
	font-size: .72rem;
	color: var(--ryb-mute);
}
.ryb-bath__info.is-float {
	position: absolute;
	z-index: 3;
	top: 58px;
	left: 12px;
	width: min(330px, calc(100% - 76px));
	max-height: calc(100% - 130px);
	overflow: auto;
	color: #fff;
	background: rgba(7, 27, 40, .84);
	-webkit-backdrop-filter: blur(8px) saturate(1.2);
	backdrop-filter: blur(8px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.ryb-bath__info.is-float .ryb-bath__infok,
.ryb-bath__info.is-float .ryb-bath__infos,
.ryb-bath__info.is-float .ryb-bath__infof dt,
.ryb-bath__info.is-float .ryb-bath__infosrc,
.ryb-bath__info.is-float .ryb-bath__infox {
	color: rgba(255, 255, 255, .72);
}
.ryb-bath__info.is-float .ryb-bath__infox:hover {
	background: rgba(255, 255, 255, .14);
	color: #fff;
}
/* značka vybraného miesta v scéne */
.ryb-bath__pin {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border-radius: 50%;
	background: #ff5a1f;
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(7, 27, 40, .45);
	pointer-events: none;
}
.ryb-bath__pin[hidden] {
	display: none;
}
.ryb-bath__btn--r .ryb-i {
	transform: scaleX(-1);
}

/* režim Ryby v 3D modeli: výber druhu vpravo vedľa modelu (karty s fotkou z katalógu), legenda mapy vhodnosti */
.ryb-bath__sel {
	min-width: 0;
	width: 100%;
	height: 38px;
	padding: 0 30px 0 11px;
	border: 1px solid var(--ryb-line);
	border-radius: 11px;
	background: var(--ryb-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%237d8f96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px 12px;
	color: var(--ryb-ink);
	font: inherit;
	font-size: 1rem;
	text-overflow: ellipsis;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color .2s var(--ryb-ease), box-shadow .2s var(--ryb-ease);
}
.ryb-bath__sel:focus-visible {
	outline: none;
	border-color: var(--ryb-river);
	box-shadow: 0 0 0 3px rgba(15, 123, 138, .22);
}
.ryb-bath__fishp {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	border-radius: 14px;
	background: var(--ryb-canvas);
	box-shadow: inset 0 0 0 1px var(--ryb-line-2);
}
.ryb-bath__fishp[hidden] {
	display: none;
}
.ryb-bath__fishph {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.ryb-bath__fishpt {
	margin: 0;
	font-size: .95rem;
	font-weight: 700;
	color: var(--ryb-ink);
}
.ryb-bath__fishph .ryb-bath__sel {
	width: auto;
	max-width: 62%;
}
.ryb-bath__fishw {
	margin: 0;
	font-size: .76rem;
	line-height: 1.35;
	color: var(--ryb-mute);
	font-variant-numeric: tabular-nums;
}
.ryb-bath__fishgh {
	margin: 4px 0 -2px;
	font-size: .72rem;
	font-weight: 640;
	line-height: 1.3;
	color: var(--ryb-mute);
	text-wrap: pretty;
}
.ryb-bath__fishg {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}
.ryb-bath__fishc {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 7px;
	align-items: center;
	min-width: 0;
	min-height: 44px;
	padding: 5px;
	border: 0;
	border-radius: 11px;
	background: var(--ryb-surface);
	color: var(--ryb-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--ryb-line);
	transition-property: box-shadow, background-color, transform;
	transition-duration: .18s;
	transition-timing-function: var(--ryb-ease);
}
.ryb-bath__fishc img,
.ryb-bath__fishi {
	grid-row: 1 / span 2;
	display: block;
	width: 52px;
	height: 30px;
	border-radius: 6px;
	object-fit: cover;
	background: #f2f4f2;
	outline: 1px solid rgba(0, 0, 0, .08);
	outline-offset: -1px;
}
.ryb-bath__fishi {
	display: grid;
	place-items: center;
	color: var(--ryb-mute);
}
.ryb-bath__fishi .ryb-i {
	width: 18px;
	height: 18px;
}
.ryb-bath__fishn {
	align-self: end;
	font-size: .76rem;
	font-weight: 650;
	line-height: 1.15;
	text-wrap: balance;
}
.ryb-bath__fishe {
	align-self: start;
	font-size: .66rem;
	line-height: 1.25;
	color: var(--ryb-mute);
}
.ryb-bath__fishc[aria-pressed="true"] {
	background: rgba(15, 123, 138, .1);
	box-shadow: inset 0 0 0 2px var(--ryb-river);
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__sel:hover {
		border-color: var(--ryb-river);
	}
	.ryb-bath__fishc:hover {
		box-shadow: inset 0 0 0 1px var(--ryb-river);
	}
	.ryb-bath__fishc[aria-pressed="true"]:hover {
		box-shadow: inset 0 0 0 2px var(--ryb-river);
	}
}
.ryb-bath__fishc:active {
	transform: scale(.97);
}
.ryb-bath__fishc:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
}
/* na celej obrazovke pláva výber v scéne vpravo, vedľa nástrojov */
.ryb-bath__fishp.is-float {
	position: absolute;
	z-index: 3;
	top: 60px;
	right: 64px;
	width: 262px;
	max-height: calc(100% - 132px);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: rgba(7, 27, 40, .74);
	-webkit-backdrop-filter: blur(8px) saturate(1.2);
	backdrop-filter: blur(8px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.ryb-bath__fishp.is-float .ryb-bath__fishpt,
.ryb-bath__fishp.is-float .ryb-bath__fishc {
	color: #fff;
}
.ryb-bath__fishp.is-float .ryb-bath__fishw,
.ryb-bath__fishp.is-float .ryb-bath__fishgh,
.ryb-bath__fishp.is-float .ryb-bath__fishe {
	color: rgba(255, 255, 255, .76);
}
.ryb-bath__fishp.is-float .ryb-bath__fishc {
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.ryb-bath__fishp.is-float .ryb-bath__fishc[aria-pressed="true"] {
	background: rgba(94, 199, 214, .18);
	box-shadow: inset 0 0 0 2px #5ec7d6;
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__fishc {
		transition: none;
	}
	.ryb-bath__fishc:active {
		transform: none;
	}
}
@container ryb-panel (max-width: 880px) {
	.ryb-bath__side > .ryb-bath__fishp {
		grid-column: 1 / -1;
	}
	.ryb-bath__fishg {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
}
.ryb-bath__legend .ryb-bath__fishh {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0 0 8px;
}
.ryb-bath__fishh b {
	font-size: .9rem;
}
.ryb-bath__fishh span {
	color: rgba(255, 255, 255, .78);
}
.ryb-bath__fishs {
	max-width: 330px;
	margin: 7px 0 0;
	color: rgba(255, 255, 255, .92);
	font-size: .74rem;
	line-height: 1.38;
	text-wrap: pretty;
}
.ryb-bath__legend .ryb-bath__grad--fish,
.ryb-bath__legend .ryb-bath__grad--fish + .ryb-bath__gradl {
	width: 220px;
}

/* legenda v bočnom stĺpci vpravo nad popisom miesta (mimo celej obrazovky): scénu nič nezakrýva */
.ryb-bath__legend.ryb-bath__legend--side {
	position: static;
	z-index: auto;
	max-width: none;
	padding: 12px 14px 13px;
	border-radius: 12px;
	color: var(--ryb-ink);
	background: var(--ryb-canvas);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: inset 0 0 0 1px var(--ryb-line-2);
	font-size: .8rem;
	line-height: 1.35;
}
.ryb-bath__legt {
	margin: 0 0 8px;
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}
.ryb-bath__legend:not(.ryb-bath__legend--side) .ryb-bath__legt {
	display: none;
}
.ryb-bath__legend--side ul {
	display: grid;
	gap: 6px;
}
.ryb-bath__legend--side li i {
	box-shadow: inset 0 0 0 1px var(--ryb-line);
}
.ryb-bath__legend--side .ryb-bath__grad,
.ryb-bath__legend--side .ryb-bath__grad + .ryb-bath__gradl {
	width: 100%;
}
.ryb-bath__legend--side .ryb-bath__grad {
	height: 10px;
	box-shadow: inset 0 0 0 1px var(--ryb-line);
}
.ryb-bath__legend--side .ryb-bath__gradl,
.ryb-bath__legend--side .ryb-bath__gpn,
.ryb-bath__legend--side .ryb-bath__live,
.ryb-bath__legend--side .ryb-bath__fishh span {
	color: var(--ryb-mute);
}
.ryb-bath__legend--side .ryb-bath__gpn,
.ryb-bath__legend--side .ryb-bath__fishs {
	max-width: none;
}
.ryb-bath__legend--side .ryb-bath__fishs {
	color: var(--ryb-ink);
}
.ryb-bath__legend--side .ryb-bath__live i {
	background: var(--ryb-river);
}
@container ryb-panel (max-width: 880px) {
	.ryb-bath__side:not(:has(> .ryb-bath__info)) > .ryb-bath__legend--side {
		grid-column: 1 / -1;
	}
}

/* ľavý stĺpec: model s ovládaním; keď je bočný stĺpec vyšší, presunie sa pod model priečny rez (prípadne aj hypsografická
   krivka) a výška scény sa dorovná podľa stĺpca (rybar-bathy.js, balance), aby vedľa modelu neostala prázdna diera.
   Kým skript nebeží, model sa natiahne vedľa stĺpca ako predtým. */
.ryb-bath__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}
.ryb-bath__col > .ryb-bath__view {
	flex: 1 1 auto;
}
.ryb-bath__main.is-bal > .ryb-bath__col,
.ryb-bath__main.is-bal > .ryb-bath__side {
	align-self: start;
}
.ryb-bath__main.is-bal > .ryb-bath__col > .ryb-bath__view {
	flex: none;
}
.ryb-bath__main.is-bal .ryb-bath__view:not(.is-fs) .ryb-bath__stage {
	height: var(--ryb-stage-h, auto);
}
.ryb-bath__cards.is-one > .ryb-bath__card {
	grid-column: 1 / -1;
}

/* režim Geofyzika: panel kanálov žiarenia a poľa (vzhľad ako výber rýb), legenda s obrázkami kanálov */
.ryb-bath__gfl {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.ryb-bath__gfc {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 9px;
	align-items: center;
	min-height: 44px;
	padding: 6px 9px 6px 6px;
	border: 0;
	border-radius: 11px;
	background: var(--ryb-surface);
	color: var(--ryb-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--ryb-line);
	transition-property: box-shadow, background-color, opacity, transform;
	transition-duration: .18s;
	transition-timing-function: var(--ryb-ease);
}
.ryb-bath__gfc .ryb-bath__gfg {
	grid-row: 1 / span 2;
	width: 30px;
	height: 30px;
	padding: 4px;
	border-radius: 8px;
	background: #0e1a25;
	box-sizing: border-box;
}
.ryb-bath__gfn {
	align-self: end;
	font-size: .78rem;
	font-weight: 650;
	line-height: 1.2;
}
.ryb-bath__gfv {
	align-self: start;
	font-size: .68rem;
	line-height: 1.3;
	color: var(--ryb-mute);
	font-variant-numeric: tabular-nums;
}
.ryb-bath__gfc[aria-pressed="true"] {
	background: rgba(15, 123, 138, .08);
	box-shadow: inset 0 0 0 1.5px var(--ryb-river);
}
.ryb-bath__gfc[aria-pressed="false"] {
	opacity: .62;
}
.ryb-bath__gfc[aria-pressed="false"] .ryb-bath__gfg {
	filter: grayscale(1);
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__gfc:hover {
		box-shadow: inset 0 0 0 1px var(--ryb-river);
	}
	.ryb-bath__gfc[aria-pressed="true"]:hover {
		box-shadow: inset 0 0 0 1.5px var(--ryb-river);
	}
}
.ryb-bath__gfc:active {
	transform: scale(.98);
}
.ryb-bath__gfc:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
}
.ryb-bath__gfs {
	display: grid;
	gap: 5px;
	margin-top: 2px;
	font-size: .72rem;
	font-weight: 640;
	color: var(--ryb-mute);
}
.ryb-bath__gfp.is-float .ryb-bath__gfc {
	color: #fff;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.ryb-bath__gfp.is-float .ryb-bath__gfc[aria-pressed="true"] {
	background: rgba(94, 199, 214, .16);
	box-shadow: inset 0 0 0 1.5px #5ec7d6;
}
.ryb-bath__gfp.is-float .ryb-bath__gfv,
.ryb-bath__gfp.is-float .ryb-bath__gfs {
	color: rgba(255, 255, 255, .74);
}
.ryb-bath__gfleg {
	display: grid !important;
	gap: 9px !important;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ryb-bath__legend .ryb-bath__gfli {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	font-size: .74rem;
	line-height: 1.4;
	text-wrap: pretty;
}
.ryb-bath__gfli .ryb-bath__gfg {
	width: 22px;
	height: 22px;
	padding: 3px;
	border-radius: 6px;
	background: #0e1a25;
	box-sizing: border-box;
}
.ryb-bath__gfli b {
	font-weight: 700;
}
.ryb-bath__legt--sub {
	margin-top: 12px;
}
.ryb-bath__legend:not(.ryb-bath__legend--side) .ryb-bath__gfleg {
	display: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__gfc {
		transition: none;
	}
	.ryb-bath__gfc:active {
		transform: none;
	}
}

/* ---------------------------------------------------------------- 3D model: režim, podklad, ruka, spodný panel (1.99) */

/* vľavo hore: režim (Nádrž, Ryby, Geofyzika) a tlačidlo Podklad; na úzkej scéne sa zalomia do dvoch riadkov */
.ryb-bath__topl {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 64px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
	pointer-events: none;
}
.ryb-bath__topl > * {
	pointer-events: auto;
}
.ryb-bath__topl > .ryb-bath__segs {
	position: relative;
	top: auto;
	left: auto;
	max-width: 100%;
}
.ryb-bath__base {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 12px 0 11px;
	border: 0;
	border-radius: 999px;
	background: rgba(7, 27, 40, .62);
	-webkit-backdrop-filter: blur(8px) saturate(1.2);
	backdrop-filter: blur(8px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	color: #fff;
	font-family: inherit;
	font-size: .84rem;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition-property: background-color, box-shadow, transform;
	transition-duration: .18s;
	transition-timing-function: var(--ryb-ease);
}
.ryb-bath__base .ryb-i {
	flex: none;
	width: 17px;
	height: 17px;
}
.ryb-bath__base .ryb-i:last-child {
	width: 14px;
	height: 14px;
	opacity: .75;
	transition: transform .2s var(--ryb-ease);
}
.ryb-bath__base[aria-expanded="true"] .ryb-i:last-child {
	transform: rotate(180deg);
}
.ryb-bath__basel {
	font-weight: 600;
	color: rgba(255, 255, 255, .72);
}
.ryb-bath__basen {
	font-weight: 700;
}
.ryb-bath__base:active {
	transform: scale(.97);
}
.ryb-bath__base[aria-expanded="true"] {
	background: rgba(7, 27, 40, .82);
	box-shadow: inset 0 0 0 1.5px #5ec7d6;
}
.ryb-bath__base:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__base:hover {
		background: rgba(7, 27, 40, .78);
	}
}

/* ponuka podkladov: dlaždice s náhľadom farieb, ktoré podklad naozaj použije */
.ryb-bath__pop {
	position: absolute;
	top: 60px;
	left: 12px;
	z-index: 5;
	width: min(300px, calc(100% - 88px));
	max-height: calc(100% - 76px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 12px 10px 10px;
	border-radius: 18px;
	color: #fff;
	background: rgba(7, 27, 40, .9);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 18px 40px -18px rgba(0, 0, 0, .7);
	transform-origin: top left;
	animation: ryb-pop-in .16s cubic-bezier(.215, .61, .355, 1);
}
.ryb-bath__pop[hidden] {
	display: none;
}
@keyframes ryb-pop-in {
	from {
		opacity: 0;
		transform: translateY(-4px) scale(.98);
	}
}
.ryb-bath__poph {
	padding: 0 4px 8px;
}
.ryb-bath__popt {
	margin: 0;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.2;
}
.ryb-bath__popn {
	margin: 3px 0 0;
	font-size: .72rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, .7);
	text-wrap: pretty;
}
.ryb-bath__popg {
	margin: 10px 4px 6px;
	font-size: .7rem;
	font-weight: 640;
	color: rgba(255, 255, 255, .66);
}
.ryb-bath__popl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
}
.ryb-bath__pt {
	display: grid;
	gap: 3px;
	min-width: 0;
	padding: 5px 5px 7px;
	border: 0;
	border-radius: 11px;
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
	color: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition-property: background-color, box-shadow, transform;
	transition-duration: .16s;
	transition-timing-function: var(--ryb-ease);
}
.ryb-bath__ptv {
	display: block;
	height: 26px;
	margin-bottom: 3px;
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.ryb-bath__ptn {
	padding: 0 2px;
	font-size: .8rem;
	font-weight: 650;
	line-height: 1.15;
}
.ryb-bath__pts {
	padding: 0 2px;
	font-size: .66rem;
	line-height: 1.25;
	color: rgba(255, 255, 255, .66);
}
.ryb-bath__pt[aria-pressed="true"] {
	background: rgba(94, 199, 214, .16);
	box-shadow: inset 0 0 0 2px #5ec7d6;
}
.ryb-bath__pt:active {
	transform: scale(.97);
}
.ryb-bath__pt:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}
.ryb-bath__pt.is-busy {
	animation: ryb-bath-busy 1s ease-in-out infinite alternate;
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__pt:hover {
		background: rgba(255, 255, 255, .11);
	}
	.ryb-bath__pt[aria-pressed="true"]:hover {
		background: rgba(94, 199, 214, .2);
	}
}

/* priblíženie a otáčanie tlačidlami len tam, kde nie sú prsty */
@media (hover: none) and (pointer: coarse) {
	.ryb-bath__btn--x {
		display: none;
	}
}

/* ťahanie otáča (kurzor s dvoma šípkami), s rukou posúva (dlaň) */
.ryb-bath__cv:not(.ryb-bath__cv--2d) {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%230a2230' stroke-width='4'%3E%3Cpath d='M20 12a8 8 0 0 1-13.7 5.6'/%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6'/%3E%3Cpath d='M18 3v4h-4'/%3E%3Cpath d='M6 21v-4h4'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='2'%3E%3Cpath d='M20 12a8 8 0 0 1-13.7 5.6'/%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6'/%3E%3Cpath d='M18 3v4h-4'/%3E%3Cpath d='M6 21v-4h4'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2' fill='%23fff' stroke='%230a2230' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, grab;
}
.ryb-bath__cv:not(.ryb-bath__cv--2d):active {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%230a2230' stroke-width='4'%3E%3Cpath d='M20 12a8 8 0 0 1-13.7 5.6'/%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6'/%3E%3Cpath d='M18 3v4h-4'/%3E%3Cpath d='M6 21v-4h4'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='2'%3E%3Cpath d='M20 12a8 8 0 0 1-13.7 5.6'/%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6'/%3E%3Cpath d='M18 3v4h-4'/%3E%3Cpath d='M6 21v-4h4'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2' fill='%23fff' stroke='%230a2230' stroke-width='1.5'/%3E%3C/svg%3E") 12 12, grabbing;
}
.ryb-bath__cv.is-pan {
	cursor: grab;
}
.ryb-bath__cv.is-pan:active {
	cursor: grabbing;
}

/* spodný panel v scéne na úzkom rozložení: zložený riadok (druhy, kanály, legenda), rozbalený aj popis a celá legenda */
.ryb-bath__sheet {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	max-height: calc(100% - 16px);
	border-radius: 18px;
	color: #fff;
	background: rgba(7, 27, 40, .8);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	backdrop-filter: blur(10px) saturate(1.2);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 -10px 30px -18px rgba(0, 0, 0, .55);
}
.ryb-bath__sheet[hidden] {
	display: none;
}
.ryb-bath__sheet.is-open {
	max-height: min(58%, calc(100% - var(--ryb-top, 60px) - 8px));
	background: rgba(7, 27, 40, .88);
}
.ryb-bath__sheet.is-open.is-half {
	max-height: min(47%, calc(100% - var(--ryb-top, 60px) - 8px));
}
.ryb-bath__grip {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 100%;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 18px 18px 0 0;
	background: transparent;
	cursor: pointer;
	touch-action: none;
}
.ryb-bath__grip::before {
	content: "";
	position: absolute;
	inset: -10px 0 -4px;
}
.ryb-bath__grip span {
	width: 38px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .5);
	transition: background-color .18s var(--ryb-ease), width .18s var(--ryb-ease);
}
.ryb-bath__grip:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
	.ryb-bath__grip:hover span {
		width: 46px;
		background: rgba(255, 255, 255, .8);
	}
}
.ryb-bath__peek {
	flex: none;
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 0 8px 8px;
}
.ryb-bath__peek > [hidden] {
	display: none;
}
.ryb-bath__sheetb {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 0;
	padding: 12px 14px 14px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	border-top: 1px solid rgba(255, 255, 255, .12);
	animation: ryb-sheet-in .18s cubic-bezier(.215, .61, .355, 1);
}
.ryb-bath__sheetb[hidden],
.ryb-bath__ss {
	display: none;
}
@keyframes ryb-sheet-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

/* stručná legenda podkladu v zloženom riadku */
.ryb-bath__legpk {
	flex: 1 1 auto;
	min-width: 0;
	padding: 2px 6px 0;
	font-size: .74rem;
	line-height: 1.25;
}
.ryb-bath__legpk ul {
	display: flex;
	gap: 4px 14px;
	margin: 0;
	padding: 2px 0 4px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
}
.ryb-bath__legpk ul::-webkit-scrollbar {
	display: none;
}
.ryb-bath__legpk li {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.ryb-bath__legpk li i {
	flex: none;
	width: 11px;
	height: 11px;
	border-radius: 4px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .5);
}
.ryb-bath__legpk .ryb-bath__grad,
.ryb-bath__legpk .ryb-bath__gradl {
	width: 100%;
}
.ryb-bath__legpk .ryb-bath__gradl {
	margin-top: 4px;
	font-size: .7rem;
}
.ryb-bath__legpk .ryb-bath__gpn,
.ryb-bath__legpk .ryb-bath__live,
.ryb-bath__legpk .ryb-bath__legt {
	display: none;
}
.ryb-bath__pkn {
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, .82);
	font-size: .72rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* pás druhov rýb a kanálov žiarenia: jedno ťuknutie prepne, vodorovne sa posúva */
.ryb-bath__fstrip,
.ryb-bath__gstrip {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 1px 2px 2px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 22px), transparent);
}
.ryb-bath__fstrip::-webkit-scrollbar,
.ryb-bath__gstrip::-webkit-scrollbar {
	display: none;
}
.ryb-bath__fsc,
.ryb-bath__gsc {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 3px 13px 3px 3px;
	border: 0;
	border-radius: 13px;
	background: rgba(255, 255, 255, .07);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
	color: #fff;
	font-family: inherit;
	font-size: .78rem;
	font-weight: 640;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition-property: background-color, box-shadow, opacity, transform;
	transition-duration: .16s;
	transition-timing-function: var(--ryb-ease);
}
.ryb-bath__fsc img,
.ryb-bath__fsc .ryb-bath__fishi {
	flex: none;
	width: 46px;
	height: 34px;
	border-radius: 10px;
	object-fit: cover;
	background: #e9eeec;
	outline: 1px solid rgba(0, 0, 0, .1);
	outline-offset: -1px;
}
.ryb-bath__fsc .ryb-bath__fishi {
	display: grid;
	place-items: center;
	color: #5c6f73;
}
.ryb-bath__gsc .ryb-bath__gfg {
	flex: none;
	width: 34px;
	height: 34px;
	padding: 5px;
	border-radius: 10px;
	background: #0e1a25;
	box-sizing: border-box;
}
.ryb-bath__fsc[aria-pressed="true"],
.ryb-bath__gsc[aria-pressed="true"] {
	background: rgba(94, 199, 214, .2);
	box-shadow: inset 0 0 0 2px #5ec7d6;
}
.ryb-bath__gsc[aria-pressed="false"] {
	opacity: .6;
}
.ryb-bath__gsc[aria-pressed="false"] .ryb-bath__gfg {
	filter: grayscale(1);
}
.ryb-bath__fsc:active,
.ryb-bath__gsc:active {
	transform: scale(.97);
}
.ryb-bath__fsc:focus-visible,
.ryb-bath__gsc:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}
.ryb-bath__fsl {
	flex: none;
	width: 76px;
	margin-left: 4px;
	padding-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, .22);
	color: rgba(255, 255, 255, .64);
	font-size: .66rem;
	line-height: 1.2;
}

/* popis miesta, panel režimu a legenda v rozbalenom spodnom paneli (bez vlastného podkladu, svetlé písmo) */
.ryb-bath__info.is-sheet {
	padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #fff;
}
.ryb-bath__info.is-sheet .ryb-bath__infok,
.ryb-bath__info.is-sheet .ryb-bath__infos,
.ryb-bath__info.is-sheet .ryb-bath__infof dt,
.ryb-bath__info.is-sheet .ryb-bath__infosrc,
.ryb-bath__info.is-sheet .ryb-bath__infox {
	color: rgba(255, 255, 255, .72);
}
.ryb-bath__info.is-sheet .ryb-bath__infox {
	width: 40px;
	height: 40px;
	margin: -10px -10px -10px 0;
}
.ryb-bath__info.is-sheet .ryb-bath__infox:hover {
	background: rgba(255, 255, 255, .14);
	color: #fff;
}
.ryb-bath__fishp.is-sheet {
	gap: 8px;
	padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #fff;
}
.ryb-bath__fishp.is-sheet .ryb-bath__fishpt,
.ryb-bath__fishp.is-sheet .ryb-bath__fishgh,
.ryb-bath__fishp.is-sheet .ryb-bath__fishg,
.ryb-bath__gfp.is-sheet .ryb-bath__gfl {
	display: none;
}
.ryb-bath__fishp.is-sheet .ryb-bath__fishph {
	justify-content: flex-start;
}
.ryb-bath__fishp.is-sheet .ryb-bath__fishph .ryb-bath__sel {
	max-width: 100%;
	color: #fff;
	border-color: rgba(255, 255, 255, .24);
	background-color: rgba(255, 255, 255, .08);
}
.ryb-bath__fishp.is-sheet .ryb-bath__sel option {
	color: #0a2f45;
}
.ryb-bath__fishp.is-sheet .ryb-bath__fishw {
	color: rgba(255, 255, 255, .78);
}
.ryb-bath__gfp.is-sheet .ryb-bath__fishw:empty,
.ryb-bath__gfp.is-sheet:not(:has(.ryb-bath__fishw:not([hidden]))) {
	display: none;
}
.ryb-bath__view .ryb-bath__legend.ryb-bath__legend--sheet {
	position: static;
	z-index: auto;
	max-width: none;
	padding: 0;
	border-radius: 0;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: none;
	font-size: .78rem;
	line-height: 1.35;
}
.ryb-bath__legend.ryb-bath__legend--sheet .ryb-bath__legt {
	display: block;
}
.ryb-bath__legend.ryb-bath__legend--sheet .ryb-bath__gfleg {
	display: grid !important;
}
.ryb-bath__legend--sheet ul {
	display: grid;
	gap: 6px;
}
.ryb-bath__legend--sheet .ryb-bath__grad,
.ryb-bath__legend--sheet .ryb-bath__grad + .ryb-bath__gradl,
.ryb-bath__legend--sheet .ryb-bath__grad--fish,
.ryb-bath__legend--sheet .ryb-bath__grad--fish + .ryb-bath__gradl {
	width: 100%;
}
.ryb-bath__legend--sheet .ryb-bath__gpn,
.ryb-bath__legend--sheet .ryb-bath__fishs {
	max-width: none;
}

/* úzke rozloženie so spodným panelom: nástroje sa zmestia nad panel, nápoveda je nad ním, prvky pod pásom vľavo hore */
.ryb-bath__view.has-sheet .ryb-bath__tools {
	max-height: calc(100% - 104px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: none;
}
.ryb-bath__view.has-sheet .ryb-bath__tools::-webkit-scrollbar {
	display: none;
}
.ryb-bath__view.has-sheet .ryb-bath__hov {
	top: var(--ryb-top, 58px);
	right: auto;
	bottom: auto;
	left: 12px;
}
.ryb-bath__view.has-sheet .ryb-bath__hint {
	top: auto;
	bottom: 98px;
}
.ryb-bath__dive {
	top: var(--ryb-top, 60px);
}
.ryb-bath__view.is-globe .ryb-bath__base,
.ryb-bath__view.is-globe .ryb-bath__pop,
.ryb-bath__view.is-globe .ryb-bath__sheet {
	display: none;
}

/* ďalšie nastavenia pod modelom: na úzkom rozložení zbalené (hladina a prevýšenie ostávajú vždy viditeľné), inak bez zmeny */
.ryb-bath__more,
.ryb-bath__morec {
	display: contents;
}
.ryb-bath__moreb {
	display: none;
}
.ryb-bath__view.has-sheet .ryb-bath__ctl:not(.is-globe) > .ryb-bath__more {
	display: block;
}
.ryb-bath__view.has-sheet .ryb-bath__moreb {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 0 12px 0 14px;
	border: 0;
	border-radius: 12px;
	background: var(--ryb-canvas);
	box-shadow: inset 0 0 0 1px var(--ryb-line);
	color: var(--ryb-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color .18s var(--ryb-ease), transform .18s var(--ryb-ease);
}
.ryb-bath__moreb:active {
	transform: scale(.99);
}
.ryb-bath__moreb:focus-visible {
	outline: 2px solid var(--ryb-river);
	outline-offset: 2px;
}
.ryb-bath__moret {
	flex: none;
	font-size: .86rem;
	font-weight: 640;
}
.ryb-bath__mores {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: var(--ryb-mute);
	font-size: .76rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ryb-bath__moreb .ryb-i {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--ryb-mute);
	transition: transform .2s var(--ryb-ease);
}
.ryb-bath__more.is-open .ryb-bath__moreb .ryb-i {
	transform: rotate(180deg);
}
.ryb-bath__view.has-sheet .ryb-bath__more:not(.is-open) > .ryb-bath__morec {
	display: none;
}
.ryb-bath__view.has-sheet .ryb-bath__more.is-open > .ryb-bath__morec {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 12px;
}
.ryb-bath__view.is-fs .ryb-bath__moreb {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.ryb-bath__view.is-fs .ryb-bath__mores,
.ryb-bath__view.is-fs .ryb-bath__moreb .ryb-i {
	color: rgba(255, 255, 255, .66);
}
@container ryb-panel (max-width: 640px) {
	/* posuvníky na úzkej karte: názov, posuvník a hodnota v jednom riadku, rýchle voľby pod nimi */
	.ryb-bath__view.has-sheet .ryb-bath__rng {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 4px 10px;
	}
	.ryb-bath__view.has-sheet .ryb-bath__rng > .ryb-bath__lab {
		grid-column: 1;
		grid-row: 1;
	}
	.ryb-bath__view.has-sheet .ryb-bath__rng > input[type="range"] {
		grid-column: 2;
		grid-row: 1;
	}
	.ryb-bath__view.has-sheet .ryb-bath__rng > .ryb-bath__out {
		grid-column: 3;
		grid-row: 1;
		min-width: 62px;
	}
	.ryb-bath__view.has-sheet .ryb-bath__rng > .ryb-bath__quick {
		grid-column: 1 / -1;
		grid-row: 2;
	}
	.ryb-bath__view.has-sheet .ryb-bath__chip {
		min-height: 30px;
		padding: 0 11px;
		font-size: .76rem;
	}
	.ryb-bath__main .ryb-bath__view.has-sheet:not(.is-fs) .ryb-bath__stage {
		aspect-ratio: auto;
		height: clamp(420px, 70vh, 640px);
		height: clamp(420px, 70svh, 640px);
		max-height: none;
		min-height: 0;
	}
	.ryb-bath__topl > .ryb-bath__segs .ryb-bath__seg {
		padding: 0 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__pop,
	.ryb-bath__sheetb {
		animation: none;
	}
	.ryb-bath__base,
	.ryb-bath__base .ryb-i,
	.ryb-bath__pt,
	.ryb-bath__grip span,
	.ryb-bath__fsc,
	.ryb-bath__gsc,
	.ryb-bath__moreb,
	.ryb-bath__moreb .ryb-i {
		transition: none;
	}
	.ryb-bath__pt.is-busy {
		animation: none;
	}
}

/* rez modelom v 3D: úchyty na koncoch a v strede čiary rezu (ťahajú sa prstom či myšou), tlačidlo v karte rezu */
.ryb-bath__btn[hidden] {
	display: none;
}
.ryb-bath__cuth {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: -18px 0 0 -18px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ff7a2e;
	color: #fff;
	box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0, 0, 0, .45);
	cursor: grab;
	touch-action: none;
	transition: box-shadow .16s var(--ryb-ease), background-color .16s var(--ryb-ease);
}
.ryb-bath__cuth::after {
	content: "";
	position: absolute;
	inset: -6px;
}
.ryb-bath__cuth--m {
	background: #0f7b8a;
}
.ryb-bath__cuth[hidden] {
	display: none;
}
.ryb-bath__cuth.is-drag {
	cursor: grabbing;
	box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(255, 255, 255, .28), 0 4px 12px rgba(0, 0, 0, .45);
}
.ryb-bath__cuth:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}
.ryb-bath__chip--cut {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	justify-self: start;
}
.ryb-bath__chip--cut .ryb-i {
	width: 15px;
	height: 15px;
}
.ryb-bath__chip--cut[aria-pressed="true"] {
	background: var(--bt-on-bg);
	color: var(--bt-on-ink);
	box-shadow: inset 0 0 0 1px var(--bt-on-line);
}
@container ryb-panel (max-width: 640px) {
	.ryb-bath__view.has-sheet .ryb-bath__tools {
		gap: 2px;
	}
	.ryb-bath__view.has-sheet .ryb-bath__btn {
		width: 36px;
		height: 36px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ryb-bath__cuth {
		transition: none;
	}
}
