html.fg-mas-otevreno {
	overflow: hidden;
}

.fg-masaz .fg-ik,
.fg-mas-tip .fg-ik,
.fg-mas-404 .fg-ik {
	width: 20px;
	height: 20px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fg-masaz .fg-ik--prehrat,
.fg-mas-tip .fg-ik--prehrat,
.fg-mas-404 .fg-ik--prehrat {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.fg-mas-hlava {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.fg-mas-hlava__plocha {
	fill: var(--fg-mata-svetla);
}

.fg-mas-hlava__kuze {
	fill: #fff;
}

.fg-mas-hlava__vlasy {
	fill: var(--fg-oliva-svetlejsi, #c9d3b4);
	stroke: var(--fg-oliva);
	stroke-width: 2;
	stroke-linejoin: round;
}

.fg-mas-hlava__pramen {
	fill: none;
	stroke: var(--fg-oliva);
	stroke-width: 1.6;
	stroke-linecap: round;
	opacity: .45;
}

.fg-mas-hlava__cara {
	fill: none;
	stroke: var(--fg-oliva);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fg-mas-oblast__zare {
	fill: var(--fg-cta);
	opacity: 0;
}

.fg-mas-oblast__plocha {
	fill: rgba(255, 255, 255, .78);
	stroke: var(--fg-cta);
	stroke-width: 1.4;
	stroke-dasharray: 3 2.6;
	transition: fill .3s;
}

.fg-mas-oblast__cislo {
	fill: var(--fg-oliva);
	font-family: var(--fg-pismo);
	font-size: 9px;
	font-weight: 800;
	text-anchor: middle;
}

.fg-mas-prsty {
	fill: #fff;
	opacity: 0;
}

.fg-mas-oblast.is-hotovo .fg-mas-oblast__plocha {
	fill: var(--fg-salvej);
	stroke: none;
}

.fg-mas-oblast.is-hotovo .fg-mas-oblast__cislo {
	fill: #fff;
}

.fg-mas-oblast.is-aktivni .fg-mas-oblast__plocha {
	fill: var(--fg-cta);
	stroke: none;
}

.fg-mas-oblast.is-aktivni .fg-mas-oblast__cislo {
	opacity: 0;
}

.fg-mas-oblast.is-aktivni .fg-mas-prsty {
	opacity: 1;
	animation: fg-mas-krouzek 1.5s linear infinite;
}

.fg-mas-oblast.is-aktivni .fg-mas-oblast__zare {
	transform-box: fill-box;
	transform-origin: center;
	animation: fg-mas-zare 1.5s ease-in-out infinite;
}

@keyframes fg-mas-krouzek {
	from { transform: rotate(0deg) translateX(2.2px) rotate(0deg); }
	to { transform: rotate(360deg) translateX(2.2px) rotate(-360deg); }
}

@keyframes fg-mas-zare {
	0%, 100% { opacity: .14; transform: scale(.92); }
	50% { opacity: .3; transform: scale(1.06); }
}

@keyframes fg-mas-razitko {
	from { opacity: 0; transform: rotate(-12deg) scale(1.6); }
	to { opacity: 1; transform: rotate(-12deg) scale(1); }
}

.fg-mas-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	font-family: var(--fg-pismo);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s;
	-webkit-tap-highlight-color: transparent;
}

.fg-mas-btn--plne {
	background: var(--fg-cta);
	color: #fff;
	box-shadow: 0 16px 30px -18px rgba(52, 58, 36, .7);
}

.fg-mas-btn--plne:hover,
.fg-mas-btn--plne:focus-visible {
	background: var(--fg-oliva);
	color: #fff;
}

.fg-mas-btn--obrys {
	background: #fff;
	color: var(--fg-ink);
	box-shadow: inset 0 0 0 1.5px var(--fg-bezova);
}

.fg-mas-btn--obrys:hover,
.fg-mas-btn--obrys:focus-visible {
	color: var(--fg-ink);
	box-shadow: inset 0 0 0 1.5px var(--fg-cta);
}

.fg-mas-btn--velke {
	min-height: 58px;
	padding: 14px 30px 14px 26px;
	font-size: 16px;
}

.fg-masaz button:focus-visible,
.fg-masaz a:focus-visible,
.fg-masaz input:focus-visible,
.fg-mas-btn:focus-visible {
	outline: 3px solid var(--fg-oliva-svetla);
	outline-offset: 2px;
}

.fg-masaz {
	box-sizing: border-box;
	width: min(900px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100% - 32px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 28px;
	background: #fff;
	color: var(--fg-text);
	font-family: var(--fg-pismo);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: 0 30px 80px -30px rgba(30, 32, 22, .55);
	overflow: auto;
	overscroll-behavior: contain;
}

.fg-masaz::backdrop {
	background: rgba(30, 32, 22, .62);
}

.fg-masaz [hidden] {
	display: none !important;
}

.fg-masaz *,
.fg-masaz *::before,
.fg-masaz *::after {
	box-sizing: border-box;
}

.fg-masaz p,
.fg-masaz h2,
.fg-masaz h3,
.fg-masaz ol {
	margin: 0;
	text-wrap: pretty;
}

.fg-masaz strong {
	color: inherit;
}

.fg-masaz__hlava {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px 20px 40px;
	border-bottom: 1px solid var(--fg-cara);
	background: #fff;
}

.fg-masaz__titulek {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.fg-masaz__stitek,
.fg-masaz__krok-stitek {
	color: var(--fg-oliva);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.fg-masaz__nadpis {
	color: var(--fg-ink);
	font-family: var(--fg-nadpis);
	font-size: 30px;
	font-weight: 750;
	line-height: 1.08;
	letter-spacing: -.03em;
}

.fg-masaz__zavrit {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--fg-krem);
	color: var(--fg-ink);
	cursor: pointer;
	transition: background-color .2s;
}

.fg-masaz__zavrit:hover {
	background: var(--fg-bezova);
}

.fg-masaz__stav {
	padding: 32px 40px 40px;
}

.fg-masaz__stav--uvod,
.fg-masaz__stav--hotovo,
.fg-masaz__beh {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px 40px;
	align-items: center;
}

.fg-masaz__jeviste {
	position: relative;
	justify-self: center;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1 / 1;
}

.fg-masaz__jeviste > .fg-mas-hlava {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.fg-masaz__jeviste--beh {
	max-width: 330px;
}

.fg-masaz__jeviste--beh > .fg-mas-hlava {
	top: 7%;
	left: 7%;
	width: 86%;
	height: 86%;
}

.fg-masaz.is-pauza .fg-mas-prsty,
.fg-masaz.is-pauza .fg-mas-oblast__zare {
	animation-play-state: paused;
}

.fg-masaz__text,
.fg-masaz__krok {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.fg-masaz__krok {
	gap: 12px;
}

.fg-masaz__uvod {
	color: var(--fg-text);
	font-size: 16px;
	line-height: 1.65;
}

.fg-masaz__seznam {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 16px;
	padding: 0;
	list-style: none;
}

.fg-masaz__seznam li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--fg-silny);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.fg-masaz__seznam li span {
	display: flex;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fg-mata);
	color: var(--fg-oliva);
	font-size: 13px;
	font-weight: 800;
}

.fg-masaz__zvuk {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--fg-text);
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

.fg-masaz__zvuk input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--fg-cta);
}

.fg-masaz__start,
.fg-masaz__tlacitka,
.fg-masaz__ovladani {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.fg-masaz__delka {
	color: var(--fg-popisek);
	font-size: 14px;
	font-weight: 700;
}

.fg-masaz__pozn {
	color: var(--fg-popisek);
	font-size: 13px;
	line-height: 1.55;
}

.fg-masaz__ukoncit {
	min-height: 48px;
	padding: 12px 6px;
	border: 0;
	background: transparent;
	color: var(--fg-popisek);
	font-family: var(--fg-pismo);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.fg-masaz__postup {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 22px;
}

.fg-masaz__useky {
	display: flex;
	flex: 1 1 auto;
	gap: 6px;
	min-width: 0;
	padding: 0;
	list-style: none;
}

.fg-masaz__usek {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

.fg-masaz__usek-pruh {
	display: block;
	height: 6px;
	border-radius: 3px;
	background: var(--fg-bezova);
	transition: background-color .3s;
}

.fg-masaz__usek-nazev {
	overflow: hidden;
	color: var(--fg-popisek);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.fg-masaz__usek.is-hotovo .fg-masaz__usek-pruh {
	background: var(--fg-salvej);
}

.fg-masaz__usek.is-aktivni .fg-masaz__usek-pruh {
	background: var(--fg-cta);
}

.fg-masaz__usek.is-aktivni .fg-masaz__usek-nazev {
	color: var(--fg-ink);
}

.fg-masaz__zbyva {
	flex: none;
	color: var(--fg-ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.fg-masaz__prsten {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none;
}

.fg-masaz__prsten circle {
	fill: none;
	stroke-width: 5;
}

.fg-masaz__prsten-podklad {
	stroke: var(--fg-bezova);
}

.fg-masaz__prsten-cast {
	stroke: var(--fg-cta);
	stroke-linecap: round;
	stroke-dasharray: 731.99;
	stroke-dashoffset: 731.99;
}

.fg-masaz__sekundy {
	position: absolute;
	top: 1%;
	right: 1%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--fg-ink);
	color: #fff;
	font-family: var(--fg-nadpis);
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5);
}

.fg-masaz__krok-nazev,
.fg-masaz__hotovo-nadpis {
	color: var(--fg-ink);
	font-family: var(--fg-nadpis);
	font-size: 30px;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -.03em;
}

.fg-masaz__hotovo-nadpis:focus {
	outline: none;
}

.fg-masaz__pokyn {
	color: var(--fg-text);
	font-size: 16px;
	line-height: 1.6;
}

.fg-masaz__proc {
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--fg-mata-svetla);
	color: var(--fg-oliva);
	font-size: 14px;
	line-height: 1.55;
}

.fg-masaz__proc strong {
	font-weight: 700;
}

.fg-masaz__dalsi {
	color: var(--fg-popisek);
	font-size: 13.5px;
	font-weight: 700;
}

.fg-masaz__hlaseni {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.fg-masaz__ovladani {
	margin-top: 24px;
}

.fg-masaz__razitko {
	position: absolute;
	right: -2%;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 112px;
	height: 112px;
	border: 3px solid var(--fg-cta);
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--fg-cta);
	box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px var(--fg-cta);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-12deg);
}

.fg-masaz__stav--hotovo:not([hidden]) .fg-masaz__razitko {
	animation: fg-mas-razitko .45s cubic-bezier(.3, 1.6, .5, 1) .15s both;
}

.fg-masaz__produkt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 18px;
	background: var(--fg-krem);
	color: var(--fg-ink);
	text-decoration: none;
	transition: background-color .2s;
}

.fg-masaz__produkt:hover {
	background: var(--fg-bezova);
	color: var(--fg-ink);
}

.fg-masaz__produkt-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fg-masaz__produkt-stitek {
	color: var(--fg-oliva);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.fg-masaz__produkt strong {
	font-size: 15.5px;
	font-weight: 700;
}

.fg-masaz__produkt-cta {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	color: var(--fg-cta);
	font-size: 15px;
	font-weight: 700;
}

.fg-mas-tip {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) auto;
	gap: 20px 32px;
	align-items: center;
	padding: 24px 32px 24px 24px;
	border-radius: 24px;
	background: var(--fg-mata-svetla);
}

.fg-mas-tip .fg-mas-hlava__plocha,
.fg-mas-404 .fg-mas-hlava__plocha {
	fill: #fff;
}

.fg-mas-tip__obrazek,
.fg-mas-404__obrazek {
	display: block;
}

.fg-mas-tip__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.fg-mas-tip__stitek {
	margin: 0;
	color: var(--fg-oliva);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.fg-mas-tip__nadpis {
	margin: 0;
	color: var(--fg-ink);
	font-family: var(--fg-nadpis);
	font-size: 28px;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -.03em;
	text-wrap: wrap;
}

.fg-mas-tip__nadpis span {
	color: var(--fg-cta);
	font-weight: 400;
}

.fg-mas-tip__popis {
	max-width: 560px;
	margin: 0;
	color: var(--fg-text);
	font-size: 15px;
	line-height: 1.65;
}

.fg-mas-404 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	margin-top: 36px;
	padding-top: 28px;
	border-top: 1px solid var(--fg-cara);
}

.fg-mas-404__obrazek {
	flex: 0 0 56px;
	width: 56px;
}

.fg-mas-404__text {
	margin: 0;
	color: var(--fg-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 760px) {
	.fg-mas-tip {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 16px 18px;
		padding: 20px;
	}

	.fg-mas-tip__nadpis {
		font-size: 24px;
	}

	.fg-mas-tip .fg-mas-btn {
		grid-column: 1 / -1;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.fg-masaz {
		width: 100%;
		height: 100%;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}

	.fg-masaz__hlava {
		padding: 14px 14px 12px 20px;
	}

	.fg-masaz__nadpis {
		font-size: 24px;
	}

	.fg-masaz__stav {
		padding: 20px 20px 28px;
	}

	.fg-masaz__jeviste {
		max-width: 240px;
	}

	.fg-masaz__seznam {
		grid-template-columns: minmax(0, 1fr);
	}

	.fg-masaz__krok-nazev,
	.fg-masaz__hotovo-nadpis {
		font-size: 26px;
	}

	.fg-masaz__postup {
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 16px;
	}

	.fg-masaz__zbyva {
		order: -1;
		width: 100%;
		text-align: right;
	}

	.fg-masaz__razitko {
		width: 92px;
		height: 92px;
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fg-mas-oblast.is-aktivni .fg-mas-prsty,
	.fg-mas-oblast.is-aktivni .fg-mas-oblast__zare,
	.fg-masaz__stav--hotovo:not([hidden]) .fg-masaz__razitko {
		animation: none;
	}

	.fg-mas-oblast.is-aktivni .fg-mas-oblast__zare {
		opacity: .2;
	}
}
