/*
 * Fitnest design: homepage blocks (1a) and calendar view (2c).
 *
 * Dark surfaces with a yellow accent, Roboto / Roboto Condensed. Every block sets its
 * own background and text colours, so it looks the same on any theme.
 * Override the variables on .fnb-fx to adjust the palette.
 */

.fnb-fx {
	--fx-bg: #131313;
	--fx-panel: #1a1c19;
	--fx-panel-hover: #20221e;
	--fx-head: #1f211d;
	--fx-line: #2e302c;
	--fx-line-strong: #3a3c38;
	--fx-text: #cfcfcf;
	--fx-strong: #f1f1f1;
	--fx-soft: #e6e6e6;
	--fx-muted: #b5b5b5;
	--fx-dim: #8f8f8f;
	--fx-spots: #9a9a9a;
	--fx-yellow: #fcfb21;
	--fx-yellow-hover: #e3e21a;
	--fx-on-yellow: #131313;
	--fx-max: 1200px;
	--fx-pad: 40px;
	--fx-display: 'Roboto Condensed', 'Arial Narrow', sans-serif;
	--fx-body: 'Roboto', system-ui, sans-serif;

	background: var(--fx-bg);
	color: var(--fx-text);
	font-family: var(--fx-body);
	text-wrap: pretty;
}

.fnb-fx *,
.fnb-fx *::before,
.fnb-fx *::after {
	box-sizing: border-box;
}

.fnb-fx a {
	color: var(--fx-yellow);
}

.fnb-fx a:hover {
	color: var(--fx-yellow-hover);
}

.fnb-fx :focus-visible {
	outline: 2px solid var(--fx-yellow);
	outline-offset: 2px;
}

/* Blocks are full width; their content sits in a centred container. */
.fnb-fx.alignfull,
.fnb-fx.alignwide {
	margin-top: 0;
	margin-bottom: 0;
}

.fnb-fx-container {
	max-width: var(--fx-max);
	margin: 0 auto;
	padding-left: var(--fx-pad);
	padding-right: var(--fx-pad);
}

.fnb-fx-section {
	padding-bottom: 80px;
}

.fnb-fx-eyebrow {
	display: block;
	font-family: var(--fx-display);
	font-size: 14px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fx-yellow);
}

.fnb-fx-heading {
	margin: 10px 0 36px;
	font-family: var(--fx-display);
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1.1;
	color: var(--fx-strong);
}

.fnb-fx-button,
.fnb-fx .fnb-fx-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 28px;
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
}

.fnb-fx-button:hover,
.fnb-fx .fnb-fx-button:hover {
	background: var(--fx-yellow-hover);
	color: var(--fx-on-yellow);
}

.fnb-fx-button--dark,
.fnb-fx .fnb-fx-button--dark {
	background: var(--fx-bg);
	color: var(--fx-yellow);
}

.fnb-fx-button--dark:hover,
.fnb-fx .fnb-fx-button--dark:hover {
	background: #2a2a2a;
	color: var(--fx-yellow);
}

.fnb-fx .fnb-fx-link {
	color: var(--fx-text);
	font-size: 16px;
}

.fnb-fx .fnb-fx-link:hover {
	color: var(--fx-yellow);
}

.fnb-fx .fnb-fx-outline {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid var(--fx-yellow);
	background: transparent;
	color: var(--fx-yellow);
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.fnb-fx .fnb-fx-outline:hover {
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-fx .fnb-fx-outline.is-done {
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-fx .fnb-fx-outline.is-disabled {
	border-color: var(--fx-line-strong);
	color: var(--fx-dim);
	cursor: default;
}

.fnb-fx .fnb-fx-outline.is-disabled:hover {
	background: transparent;
	color: var(--fx-dim);
}

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------- */

.fnb-fx-header {
	background: #000;
}

.fnb-fx .fnb-fx-header__contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 22px;
	background: #3c3c3c;
	color: #d0d0d0;
	font-size: 13px;
	text-decoration: none;
}

.fnb-fx .fnb-fx-header__contact:hover {
	color: var(--fx-yellow);
}

.fnb-fx-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 90px;
	background: var(--fx-panel);
}

.fnb-fx-header__home {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.fnb-fx-header__logo {
	display: block;
	width: auto;
	height: 44px;
	mix-blend-mode: lighten;
}

.fnb-fx-header__name {
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 26px;
	color: var(--fx-strong);
}

.fnb-fx-header__nav {
	display: flex;
	align-self: stretch;
	flex-wrap: wrap;
	gap: 0 48px;
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.fnb-fx .fnb-fx-header__nav a {
	display: flex;
	align-items: center;
	border-top: 4px solid transparent;
	color: #c8c8c8;
	text-decoration: none;
}

.fnb-fx .fnb-fx-header__nav a:hover {
	color: var(--fx-yellow);
}

.fnb-fx .fnb-fx-header__nav a.is-current {
	border-top-color: #b2b2b2;
}

/* ---------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------- */

.fnb-fx-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding-top: 88px;
	padding-bottom: 72px;
}

.fnb-fx-hero.no-image {
	grid-template-columns: minmax(0, 1fr);
	max-width: 900px;
	margin-left: 0;
}

.fnb-fx-hero-block {
	padding-bottom: 8px;
}

.fnb-fx-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fnb-fx-hero__title {
	margin: 0;
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: clamp(38px, 5.2vw, 60px);
	line-height: 1.04;
	color: var(--fx-strong);
}

.fnb-fx-hero__text {
	max-width: 44ch;
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}

.fnb-fx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

.fnb-fx-hero__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.fnb-fx-hero__img,
.fnb-fx-program__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------------------------------------------------------------------
 * Today's classes
 * ------------------------------------------------------------------- */

.fnb-fx-today {
	padding: 28px 32px;
	background: var(--fx-panel);
}

.fnb-fx-today__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 24px;
	margin-bottom: 12px;
}

.fnb-fx-today__title {
	margin: 0;
	font-family: var(--fx-display);
	font-size: 22px;
	color: var(--fx-strong);
}

.fnb-fx .fnb-fx-today__all {
	font-size: 15px;
}

.fnb-fx-today__empty {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--fx-line);
	color: var(--fx-muted);
}

.fnb-fx-today__row {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) 160px 150px;
	gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-top: 1px solid var(--fx-line);
}

.fnb-fx-today__time {
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--fx-strong);
}

.fnb-fx-today__name {
	color: var(--fx-soft);
	font-size: 17px;
	font-weight: 500;
}

.fnb-fx-today__name small {
	display: block;
	color: var(--fx-dim);
	font-size: 13px;
	font-weight: 400;
}

.fnb-fx-today__spots {
	color: var(--fx-spots);
	font-size: 14px;
}

.fnb-fx-today__spots.is-low {
	color: var(--fx-yellow);
}

.fnb-fx-today__action {
	justify-self: end;
}

/* ---------------------------------------------------------------------
 * Programs
 * ------------------------------------------------------------------- */

.fnb-fx-programs-block {
	padding-bottom: 88px;
}

.fnb-fx-programs {
	display: grid;
	grid-template-columns: repeat(var(--fnb-fx-cols, 2), minmax(0, 1fr));
	gap: 32px;
}

.fnb-fx .fnb-fx-program {
	display: flex;
	flex-direction: column;
	background: var(--fx-panel);
	color: var(--fx-text);
	text-decoration: none;
}

.fnb-fx a.fnb-fx-program:hover {
	background: var(--fx-panel-hover);
	color: var(--fx-text);
}

.fnb-fx-program__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.fnb-fx-program__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px;
}

.fnb-fx-program__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	color: var(--fx-muted);
	font-size: 14px;
}

.fnb-fx-intensity {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fnb-fx-bars {
	display: inline-flex;
	gap: 3px;
}

.fnb-fx-bars span {
	width: 18px;
	height: 6px;
	background: var(--fx-line-strong);
}

.fnb-fx-bars span.is-on {
	background: var(--fx-yellow);
}

.fnb-fx-program__name {
	margin: 0;
	font-family: var(--fx-display);
	font-size: clamp(28px, 3vw, 36px);
	color: var(--fx-strong);
}

.fnb-fx-program__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
}

.fnb-fx-program__more {
	margin-top: 8px;
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fx-yellow);
}

/* ---------------------------------------------------------------------
 * Call to action and footer
 * ------------------------------------------------------------------- */

.fnb-fx.fnb-fx-cta-block {
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-fx-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.fnb-fx-cta__title {
	margin: 0;
	font-family: var(--fx-display);
	font-size: clamp(28px, 3.4vw, 38px);
	color: var(--fx-on-yellow);
}

.fnb-fx-cta__text {
	margin: 8px 0 0;
	font-size: 17px;
}

.fnb-fx-cta .fnb-fx-button {
	flex: none;
}

.fnb-fx.fnb-fx-footer {
	background: #000;
	color: #8a8a8a;
	font-size: 13px;
}

.fnb-fx-footer .fnb-fx-container {
	padding-top: 24px;
	padding-bottom: 24px;
}

/* ---------------------------------------------------------------------
 * Calendar (2c)
 * ------------------------------------------------------------------- */

.fnb-cal2 {
	padding: 56px var(--fx-pad) 72px;
}

.fnb-cal2 > * {
	max-width: var(--fx-max);
	margin-left: auto;
	margin-right: auto;
}

.fnb-cal2__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 32px;
}

.fnb-cal2__title {
	margin: 0;
	font-family: var(--fx-display);
	font-size: clamp(38px, 5vw, 56px);
	line-height: 1;
	color: var(--fx-strong);
}

.fnb-cal2__sub {
	margin: 12px 0 0;
	font-size: 16px;
}

.fnb-cal2__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fnb-cal2__filters,
.fnb-cal2__nav {
	display: flex;
	border: 1px solid var(--fx-line-strong);
}

.fnb-cal2__filters button,
.fnb-cal2__nav button {
	padding: 12px 24px;
	border: 0;
	background: transparent;
	color: var(--fx-text);
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.fnb-cal2__nav button {
	padding: 12px 18px;
}

.fnb-cal2__nav button + button {
	border-left: 1px solid var(--fx-line-strong);
}

.fnb-cal2__filters button:hover,
.fnb-cal2__nav button:hover:not(:disabled) {
	color: var(--fx-yellow);
}

.fnb-cal2__filters button[aria-pressed="true"],
.fnb-cal2__filters button[aria-pressed="true"]:hover {
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-cal2__nav button:disabled {
	opacity: 0.35;
	cursor: default;
}

.fnb-cal2__grid {
	display: grid;
	grid-template-columns: repeat(var(--fnb-cols, 6), minmax(0, 1fr));
	gap: 12px;
}

.fnb-cal2__day {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.fnb-cal2__dayhead {
	padding: 12px 14px;
	background: var(--fx-head);
	color: var(--fx-soft);
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.fnb-cal2__dayhead.is-today {
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-cal2__slot {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-left: 4px solid var(--mark, var(--fx-yellow));
	background: var(--fx-panel);
	color: var(--fx-soft);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.fnb-cal2__slot[hidden] {
	display: none;
}

.fnb-cal2__slot:hover {
	background: #23251f;
}

.fnb-cal2__slot.is-full {
	opacity: 0.55;
}

.fnb-cal2__slot.is-booked {
	box-shadow: inset 0 0 0 1px var(--fx-yellow);
}

.fnb-cal2__time {
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--fx-strong);
}

.fnb-cal2__name {
	font-size: 15px;
	color: var(--fx-soft);
}

.fnb-cal2__room {
	font-size: 13px;
	color: var(--fx-dim);
}

.fnb-cal2__spots {
	font-size: 13px;
	color: var(--fx-spots);
}

.fnb-cal2__slot.is-low .fnb-cal2__spots {
	color: var(--fx-yellow);
}

.fnb-cal2__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-top: 28px;
	color: var(--fx-muted);
	font-size: 14px;
}

.fnb-cal2__legend span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fnb-cal2__legend i {
	width: 14px;
	height: 14px;
}

.fnb-cal2 .fnb-empty {
	padding: 24px;
	background: var(--fx-panel);
	color: var(--fx-muted);
	opacity: 1;
}

/* ---------------------------------------------------------------------
 * Booking dialog and notices (calendar and Today block)
 * ------------------------------------------------------------------- */

.fnb-fx .fnb-notice {
	margin: 0 0 16px;
	border-radius: 0;
}

.fnb-fx .fnb-notice--success {
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-fx .fnb-notice--error {
	background: #3a1414;
	color: #ffb3b3;
}

.fnb-cal-dialog.fnb-fx {
	width: min(34rem, calc(100vw - 2rem));
	padding: 0;
	border: 1px solid var(--fx-line-strong);
	border-radius: 0;
	background: var(--fx-panel);
	color: var(--fx-text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fnb-cal-dialog.fnb-fx::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.fnb-cal-dialog .fnb-cal-dialog__inner {
	padding: 28px 32px;
}

.fnb-cal-dialog .fnb-card {
	grid-template-columns: 5.5rem 1fr;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.fnb-cal-dialog .fnb-card__action {
	grid-column: 1 / -1;
}

.fnb-cal-dialog .fnb-card__time strong,
.fnb-cal-dialog .fnb-card__title {
	font-family: var(--fx-display);
	color: var(--fx-strong);
}

.fnb-cal-dialog .fnb-card__title {
	font-size: 28px;
}

.fnb-cal-dialog .fnb-btn {
	padding: 14px 24px;
	border: 1px solid #555;
	border-radius: 0;
	color: var(--fx-soft);
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.fnb-cal-dialog .fnb-btn:hover:not(:disabled) {
	border-color: var(--fx-yellow);
	background: transparent;
	color: var(--fx-yellow);
}

.fnb-cal-dialog .fnb-btn--primary,
.fnb-cal-dialog .fnb-btn--primary:hover:not(:disabled) {
	border-color: var(--fx-yellow);
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
	filter: none;
}

.fnb-cal-dialog .fnb-btn--primary:hover:not(:disabled) {
	background: var(--fx-yellow-hover);
}

.fnb-cal-dialog .fnb-card__action .fnb-btn {
	display: block;
	width: 100%;
	text-align: left;
}

.fnb-cal-dialog .fnb-badge--ok,
.fnb-cal-dialog .fnb-badge--booked,
.fnb-cal-dialog .fnb-badge--checked_in {
	border-radius: 0;
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
	font-family: var(--fx-display);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------
 * Small screens
 * ------------------------------------------------------------------- */

@media (max-width: 900px) {
	.fnb-fx {
		--fx-pad: 20px;
	}

	.fnb-fx-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.fnb-fx-hero__media {
		order: -1;
	}

	.fnb-fx-programs {
		grid-template-columns: minmax(0, 1fr);
	}

	.fnb-fx-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.fnb-fx-header__bar {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 16px;
		gap: 12px;
	}

	.fnb-fx-header__nav {
		gap: 0 24px;
	}

	.fnb-fx .fnb-fx-header__nav a {
		padding: 12px 0;
	}

	.fnb-cal2__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.fnb-fx-today {
		padding: 20px;
	}

	.fnb-fx-today__row {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas:
			"time name action"
			"time spots action";
		gap: 2px 12px;
	}

	.fnb-fx-today__time { grid-area: time; }
	.fnb-fx-today__name { grid-area: name; }
	.fnb-fx-today__spots { grid-area: spots; }
	.fnb-fx-today__action { grid-area: action; }

	.fnb-fx-program__body {
		padding: 24px;
	}

	.fnb-cal2 {
		padding-top: 36px;
	}

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

	.fnb-cal2__filters {
		flex-wrap: wrap;
	}

	.fnb-cal2__filters button {
		padding: 10px 16px;
	}

	.fnb-cal-dialog .fnb-cal-dialog__inner {
		padding: 20px;
	}
}

/* ---------------------------------------------------------------------
 * Cancel confirmation (My bookings). Mobile first: a bottom sheet with
 * full-width, thumb-sized buttons; a centred dialog from 600px up.
 * ------------------------------------------------------------------- */

html.fnb-modal-open {
	overflow: hidden; /* No page scroll behind the sheet. */
}

.fnb-confirm.fnb-fx {
	width: 100%;
	max-width: 100%;
	max-height: calc(100dvh - 24px);
	margin: auto 0 0; /* Pinned to the bottom of the screen. */
	padding: 0;
	overflow: auto;
	border: 0;
	border-top: 4px solid var(--fx-yellow);
	border-radius: 0;
	background: var(--fx-panel);
	color: var(--fx-text);
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
}

.fnb-confirm.fnb-fx::backdrop {
	background: rgba(0, 0, 0, 0.7);
}

.fnb-confirm[open] {
	animation: fnb-sheet-up 0.22s ease-out;
}

.fnb-confirm[open]::backdrop {
	animation: fnb-fade-in 0.22s ease-out;
}

@keyframes fnb-sheet-up {
	from { transform: translateY(100%); }
	to { transform: none; }
}

@keyframes fnb-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.fnb-confirm__inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
}

.fnb-confirm__title {
	margin: 0;
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.15;
	color: var(--fx-strong);
}

.fnb-confirm__class {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 12px 14px;
	border-left: 4px solid var(--fx-yellow);
	background: var(--fx-bg);
}

.fnb-confirm__name {
	color: var(--fx-strong);
	font-size: 17px;
	font-weight: 500;
}

.fnb-confirm__when {
	color: var(--fx-muted);
	font-size: 14px;
}

.fnb-confirm__class:has(.fnb-confirm__name:empty) {
	display: none;
}

.fnb-confirm__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
}

/* Column-reverse: the confirm button sits on top, "Keep booking" below, nearest the thumb. */
.fnb-confirm__actions {
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	margin-top: 6px;
}

.fnb-confirm__actions button {
	min-height: 48px;
	width: 100%;
	padding: 12px 24px;
	font-family: var(--fx-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

.fnb-confirm__keep {
	border: 1px solid #555;
	background: transparent;
	color: var(--fx-soft);
}

.fnb-confirm__keep:hover {
	border-color: var(--fx-yellow);
	color: var(--fx-yellow);
}

.fnb-confirm__yes {
	border: 1px solid var(--fx-yellow);
	background: var(--fx-yellow);
	color: var(--fx-on-yellow);
}

.fnb-confirm__yes:hover {
	background: var(--fx-yellow-hover);
}

.fnb-confirm__actions button:focus-visible {
	outline: 2px solid var(--fx-yellow);
	outline-offset: 3px;
}

@media (min-width: 600px) {
	.fnb-confirm.fnb-fx {
		width: min(30rem, calc(100vw - 2rem));
		margin: auto; /* Centred. */
		border: 1px solid var(--fx-line-strong);
		border-top: 4px solid var(--fx-yellow);
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	}

	.fnb-confirm[open] {
		animation-name: fnb-pop-in;
	}

	@keyframes fnb-pop-in {
		from { opacity: 0; transform: translateY(12px); }
		to { opacity: 1; transform: none; }
	}

	.fnb-confirm__inner {
		padding: 28px 32px;
	}

	.fnb-confirm__actions {
		flex-direction: row;
		justify-content: flex-end;
	}

	.fnb-confirm__actions button {
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fnb-confirm[open],
	.fnb-confirm[open]::backdrop {
		animation: none;
	}
}
