.flr {
	--flr-accent: #E8321E;
	--flr-text: #1E1412;
	--flr-context: #B7A5A5;
	--flr-muted: #8C7878;
	--flr-chip: #FDF1F0;
	--flr-hover: #FFF8F8;
	--flr-border: #F0E0DF;
	--flr-star: #FBBC04;
	--flr-star-empty: #EEDBDA;
	--flr-fade: 120px;
	--flr-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	font-family: var(--flr-font);
	color: var(--flr-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	width: 100%;
	-webkit-font-smoothing: antialiased;
}
.flr *, .flr *::before, .flr *::after { box-sizing: border-box; }

/* Eyebrow */
.flr-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px 8px 14px;
	border-radius: 999px;
	background: var(--flr-chip);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}
.flr-gword { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }

/* Restaurant strip */
.flr-strip {
	position: relative;
	width: 100%;
	max-width: 1200px;
	overflow: hidden;
	padding: 12px 0 20px;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--flr-fade), #000 calc(100% - var(--flr-fade)), transparent 100%);
	        mask-image: linear-gradient(to right, transparent 0, #000 var(--flr-fade), #000 calc(100% - var(--flr-fade)), transparent 100%);
}
.flr-track {
	display: flex;
	gap: 12px;
	width: max-content;
	will-change: transform;
}
.flr.is-static .flr-strip { -webkit-mask-image: none; mask-image: none; }
.flr.is-static .flr-track { width: auto; flex-wrap: wrap; justify-content: center; }

.flr .flr-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	margin: 0;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--flr-chip);
	color: #5C4848;
	font-family: var(--flr-font);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.flr .flr-chip:hover { background: #FAE6E4; color: var(--flr-text); }
.flr .flr-chip.is-active {
	background: #fff;
	border-color: var(--flr-accent);
	color: var(--flr-text);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--flr-accent) 18%, transparent);
}
.flr .flr-chip img { display: block; max-height: var(--flr-logo-h, 30px); max-width: 160px; width: auto; height: auto; }
.flr .flr-chip:focus-visible,
.flr .flr-arrow:focus-visible,
.flr .flr-dot:focus-visible,
.flr .flr-link:focus-visible { outline: 2px solid var(--flr-accent); outline-offset: 3px; }

/* Stage */
.flr-stage {
	display: grid;
	grid-template-columns: 48px minmax(0, 860px) 48px;
	grid-template-areas: "prev reviews next" ". dots .";
	column-gap: 32px;
	row-gap: 24px;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1060px;
	padding: 36px 40px 28px;
	border-radius: 28px;
	transition: background-color .3s;
}
.flr-stage:hover { background: var(--flr-hover); }

.flr .flr-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--flr-border);
	border-radius: 50%;
	background: #fff;
	color: var(--flr-text);
	box-shadow: 0 4px 12px rgba(30, 20, 18, .08);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s, transform .25s, border-color .25s;
}
.flr .flr-arrow svg { width: 20px; height: 20px; }
.flr .flr-arrow:hover { border-color: var(--flr-accent); transform: scale(1.05); }
.flr-prev { grid-area: prev; }
.flr-next { grid-area: next; }
.flr-stage.has-multiple:hover .flr-arrow,
.flr-stage.has-multiple:focus-within .flr-arrow { opacity: 1; pointer-events: auto; }

/* Reviews: все отзывы лежат в одной ячейке, высота = самый длинный, блок не прыгает */
.flr-reviews { grid-area: reviews; display: grid; }
.flr-review {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.flr-review.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .45s ease, transform .45s ease, visibility 0s;
}
.flr-review[data-link] { cursor: pointer; }

.flr-stars { display: flex; gap: 4px; flex: 0 0 auto; }
/* Текст + автор центрируются по вертикали в оставшемся месте, звёзды стоят на месте */
.flr-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
}
.flr-stars svg { width: 22px; height: 22px; display: block; }

.flr .flr-text {
	margin: 0;
	max-width: 860px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--flr-context);
}
.flr .flr-text.no-hl { color: var(--flr-text); }
.flr .flr-text mark { background: none; color: var(--flr-text); padding: 0; }

.flr-author {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 18px;
	text-align: left;
}
.flr-person { display: flex; align-items: center; gap: 14px; }
.flr-avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 48px;
}
.flr-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #F9BC99, #D85948);
	color: #fff;
	font-size: 19px;
	font-weight: 600;
}
.flr-meta { display: flex; flex-direction: column; gap: 3px; }
.flr-name { font-size: 16px; font-weight: 600; color: var(--flr-text); }
.flr-sub { font-size: 13px; color: var(--flr-muted); }
.flr-divider { width: 1px; height: 36px; background: var(--flr-border); }
.flr-source { display: flex; align-items: center; gap: 8px; }
.flr-g { width: 20px; height: 20px; flex: 0 0 20px; }
.flr-source-text { display: flex; flex-direction: column; gap: 1px; font-size: 13px; font-weight: 500; color: var(--flr-text); }
.flr .flr-link {
	font-variant-emoji: text;
	color: var(--flr-accent);
	font-weight: 600;
	text-decoration: none;
	text-underline-offset: 3px;
}
.flr .flr-link:hover,
.flr-review[data-link]:hover .flr-link { text-decoration: underline; }

/* Dots + autoplay progress */
.flr-dots { grid-area: dots; display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 6px; }
.flr-dots:empty { visibility: hidden; }
.flr .flr-dot {
	position: relative;
	width: 6px;
	height: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 3px;
	background: var(--flr-star-empty);
	overflow: hidden;
	cursor: pointer;
	transition: width .3s;
}
.flr .flr-dot.is-active { width: 28px; }
.flr-dot-fill {
	position: absolute;
	inset: 0;
	background: var(--flr-accent);
	transform-origin: left center;
	animation: flr-fill linear forwards;
}
.flr.is-paused .flr-dot-fill { animation-play-state: paused; }
.flr-dot.is-static .flr-dot-fill { animation: none; }
.flr.is-editor .flr-review { transition: none; transform: none; }
@keyframes flr-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Editor-only note */
.flr-editor-note {
	margin: 0 auto 12px;
	max-width: 900px;
	padding: 10px 14px;
	border-radius: 8px;
	background: #FFF4D6;
	color: #6B4E00;
	font: 13px/1.4 system-ui, sans-serif;
}

/* Tablet */
@media (max-width: 1024px) {
	.flr-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 16px; padding: 28px 20px 24px; }
	.flr .flr-text { font-size: 21px; }
}

/* Mobile: стрелки скрыты, переключение свайпом и точками */
@media (max-width: 767px) {
	.flr { gap: 24px; --flr-fade: 48px; }
	.flr-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "reviews" "dots"; padding: 20px 16px; }
	.flr-stage:hover { background: none; }
	.flr .flr-arrow { display: none; }
	.flr .flr-chip { height: 44px; padding: 0 18px; font-size: 15px; }
	.flr .flr-text { font-size: 18px; line-height: 1.55; }
	.flr-author { flex-direction: column; text-align: center; }
	.flr-person { flex-direction: column; gap: 8px; }
	.flr-meta { align-items: center; }
	.flr-divider { display: none; }
	.flr-source-text { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.flr-review, .flr-review.is-active { transition: none; transform: none; }
}
