.flm-lineup-maker {
	--flm-bg: #0d1625;
	--flm-panel: var(--flm-panel-bg, #07111f);
	--flm-panel-soft: var(--flm-input-bg, #142033);
	--flm-panel-line: rgba(255, 255, 255, 0.13);
	--flm-input-border: var(--flm-label-color, var(--flm-panel-line));
	--flm-button-border: var(--flm-button-bg, var(--flm-accent-color, var(--flm-panel-line)));
	--flm-text: var(--flm-panel-text, #f8fafc);
	--flm-panel-heading: var(--flm-accent-color, #f4f1e8);
	--flm-label-text: var(--flm-label-color, #f3f4f6);
	--flm-muted: #b8c3d4;
	--flm-placeholder: #9fb0c8;
	--flm-gold: var(--flm-accent-color, #f2c94c);
	--flm-gold-strong: var(--flm-accent-color, #f59e0b);
	--flm-pitch: var(--flm-pitch-color, #14743c);
	--flm-pitch-deep: #0d5f31;
	--flm-white: var(--flm-line-color, rgba(255, 255, 255, 0.82));
	--flm-team-a: #38bdf8;
	--flm-team-b: #fb7185;
	box-sizing: border-box;
	clear: both;
	color: var(--flm-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 24px 0;
	max-width: var(--flm-max-width, 100%);
	width: 100%;
}

.flm-lineup-maker *,
.flm-lineup-maker *::before,
.flm-lineup-maker *::after {
	box-sizing: border-box;
}

.flm-theme-light {
	--flm-bg: #f3f4f6;
	--flm-panel: var(--flm-panel-bg, #ffffff);
	--flm-panel-soft: var(--flm-input-bg, #eef2f7);
	--flm-panel-line: rgba(15, 23, 42, 0.16);
	--flm-input-border: var(--flm-label-color, var(--flm-panel-line));
	--flm-button-border: var(--flm-button-bg, var(--flm-accent-color, var(--flm-panel-line)));
	--flm-text: var(--flm-panel-text, #111827);
	--flm-panel-heading: var(--flm-accent-color, #111827);
	--flm-label-text: var(--flm-label-color, #334155);
	--flm-muted: #64748b;
	--flm-placeholder: #64748b;
}

.flm-theme-classic {
	--flm-bg: #1f2933;
	--flm-panel: var(--flm-panel-bg, #102019);
	--flm-panel-soft: var(--flm-input-bg, #20352b);
	--flm-panel-heading: var(--flm-accent-color, #fff7d6);
	--flm-label-text: var(--flm-label-color, #f2ead0);
	--flm-gold: var(--flm-accent-color, #d6a84f);
}

.flm-shell {
	background: var(--flm-bg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	display: grid;
	grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
	overflow: hidden;
}

.flm-panel-right .flm-shell {
	grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
}

.flm-panel-right .flm-panel {
	border-left: 1px solid var(--flm-panel-line);
	border-right: 0;
	order: 2;
}

.flm-panel-right .flm-stage {
	order: 1;
}

.flm-panel-top .flm-shell {
	grid-template-columns: 1fr;
}

.flm-panel-top .flm-panel {
	border-bottom: 1px solid var(--flm-panel-line);
	border-right: 0;
	max-height: none;
}

.flm-panel {
	background: linear-gradient(180deg, var(--flm-panel), var(--flm-panel));
	border-right: 1px solid var(--flm-panel-line);
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 980px;
	overflow: auto;
	padding: 18px;
}

.flm-heading {
	border-bottom: 1px solid var(--flm-panel-line);
	padding-bottom: 12px;
}

.flm-title {
	color: var(--flm-panel-heading);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0;
}

.flm-control-group {
	background: rgba(255, 255, 255, 0.045);
	background: color-mix(in srgb, var(--flm-panel) 84%, white 16%);
	border: 1px solid var(--flm-panel-line);
	border-radius: 8px;
	display: grid;
	gap: 11px;
	padding: 13px;
}

.flm-group-title {
	color: var(--flm-accent-color, #ffe08a);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.flm-field,
.flm-bench-wrap {
	display: grid;
	gap: 7px;
}

.flm-label,
.flm-section-title {
	color: var(--flm-label-color, var(--flm-label-text));
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.flm-input,
.flm-select,
.flm-color-input {
	appearance: none;
	background: var(--flm-panel-soft);
	border: 1px solid var(--flm-input-border);
	border-radius: 8px;
	color: var(--flm-input-text, #ffffff);
	color-scheme: dark;
	font: inherit;
	min-height: 40px;
	outline: none;
	padding: 9px 11px;
	width: 100%;
}

.flm-input::placeholder {
	color: var(--flm-placeholder);
	opacity: 1;
}

.flm-select option {
	background: var(--flm-panel-soft);
	color: var(--flm-input-text, #ffffff);
}

.flm-color-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.flm-color-input {
	cursor: pointer;
	min-height: 40px;
	padding: 4px;
}

.flm-select {
	background-image: linear-gradient(45deg, transparent 50%, var(--flm-muted) 50%), linear-gradient(135deg, var(--flm-muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) 17px, calc(100% - 12px) 17px;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	padding-right: 34px;
}

.flm-input:focus,
.flm-select:focus {
	border-color: var(--flm-gold);
	box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.16);
}

.flm-button {
	align-items: center;
	background: var(--flm-button-bg, var(--flm-accent-color, rgba(255, 255, 255, 0.08)));
	border: 1px solid var(--flm-button-border);
	border-radius: 8px;
	color: var(--flm-button-text, var(--flm-text));
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 850;
	justify-content: center;
	line-height: 1.1;
	min-height: 40px;
	padding: 9px 12px;
	text-align: center;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.flm-button:hover,
.flm-button:focus {
	background: var(--flm-button-bg, var(--flm-accent-color, rgba(255, 255, 255, 0.14)));
	border-color: var(--flm-button-border, var(--flm-button-bg, var(--flm-accent-color)));
	color: var(--flm-button-text, var(--flm-text));
	transform: translateY(-1px);
}

.flm-button:disabled {
	cursor: wait;
	opacity: 0.7;
	transform: none;
}

.flm-button-primary,
.flm-button-accent {
	background: var(--flm-button-bg, var(--flm-accent-color, var(--flm-gold)));
	border-color: var(--flm-button-border, var(--flm-button-bg, var(--flm-accent-color, var(--flm-gold))));
	color: var(--flm-button-text, #111827);
}

.flm-button-primary:hover,
.flm-button-primary:focus,
.flm-button-accent:hover,
.flm-button-accent:focus {
	background: var(--flm-button-bg, var(--flm-accent-color, var(--flm-gold-strong)));
	border-color: var(--flm-button-border, var(--flm-button-bg, var(--flm-accent-color, var(--flm-gold-strong))));
	color: var(--flm-button-text, #111827);
}

.flm-actions {
	display: grid;
	gap: 9px;
	grid-template-columns: 1fr 1fr;
}

.flm-actions .flm-button-accent {
	grid-column: 1 / -1;
}

.flm-load-lineup,
.flm-delete-saved {
	display: none;
}

.flm-save-status {
	color: var(--flm-panel-text, #d7dde8);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.35;
	min-height: 17px;
}

.flm-saved-gallery-wrap {
	display: grid;
	gap: 8px;
}

.flm-section-saved-gallery > .flm-section-title {
	color: var(--flm-accent-color, #ffe08a);
}

.flm-saved-gallery {
	display: grid;
	gap: 9px;
}

.flm-saved-empty {
	color: var(--flm-label-color, #9fb0c8);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.flm-saved-card {
	background: rgba(255, 255, 255, 0.055);
	background: color-mix(in srgb, var(--flm-panel) 86%, white 14%);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	display: grid;
	gap: 7px;
	padding: 8px;
	position: relative;
}

.flm-saved-card:hover {
	border-color: rgba(242, 201, 76, 0.45);
}

.flm-saved-load {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: grid;
	gap: 7px;
	padding: 0;
	text-align: left;
	width: 100%;
}

.flm-saved-thumb {
	aspect-ratio: 16 / 10;
	background: rgba(0, 0, 0, 0.22);
	border-radius: 6px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.flm-saved-title {
	color: var(--flm-panel-text, #ffffff);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.flm-saved-meta,
.flm-saved-date {
	color: var(--flm-label-color, #b8c3d4);
	font-size: 11px;
	font-weight: 750;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.flm-saved-formation {
	color: var(--flm-gold);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.flm-saved-delete {
	align-items: center;
	background: rgba(225, 29, 72, 0.95);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	height: 22px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 22px;
}

.flm-bench-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}

.flm-bench {
	align-content: start;
	background: rgba(255, 255, 255, 0.05);
	border: 1px dashed rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 74px;
	padding: 9px;
}

.flm-hide-extra-player .flm-section-extra-player,
.flm-hide-bench .flm-section-bench,
.flm-hide-save-gallery .flm-save-lineup,
.flm-hide-save-gallery .flm-load-lineup,
.flm-hide-save-gallery .flm-delete-saved,
.flm-hide-save-gallery .flm-save-status,
.flm-hide-save-gallery .flm-section-saved-gallery,
.flm-hide-download .flm-download-jpeg,
.flm-hide-reset-clear .flm-reset-lineup,
.flm-hide-reset-clear .flm-clear-all,
.flm-hide-footer .flm-export-footer {
	display: none;
}

.flm-mode-single .flm-two-only,
.flm-mode-two .flm-single-only {
	display: none;
}

.flm-stage {
	align-items: center;
	background:
		radial-gradient(circle at 20% 10%, rgba(242, 201, 76, 0.13), transparent 28%),
		linear-gradient(135deg, #182337, #09111f 70%);
	display: flex;
	justify-content: center;
	min-width: 0;
	padding: 24px;
}

.flm-pitch-export {
	background: var(--flm-footer-bg, var(--flm-panel));
	border-radius: 8px;
	overflow: hidden;
	width: min(100%, 900px);
}

.flm-pitch {
	aspect-ratio: 7 / 10;
	background:
		linear-gradient(90deg, var(--flm-pitch-stripe-color, rgba(255, 255, 255, 0.055)) 0 10%, transparent 10% 20%, var(--flm-pitch-stripe-color, rgba(255, 255, 255, 0.055)) 20% 30%, transparent 30% 40%, var(--flm-pitch-stripe-color, rgba(255, 255, 255, 0.055)) 40% 50%, transparent 50% 60%, var(--flm-pitch-stripe-color, rgba(255, 255, 255, 0.055)) 60% 70%, transparent 70% 80%, var(--flm-pitch-stripe-color, rgba(255, 255, 255, 0.055)) 80% 90%, transparent 90%),
		linear-gradient(180deg, var(--flm-pitch-stripe-color, #188144), var(--flm-pitch), var(--flm-pitch));
	border: 4px solid var(--flm-pitch-border-color, var(--flm-white));
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
	min-height: 680px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.flm-pitch-header {
	display: none;
}

.flm-pitch-title {
	background: rgba(6, 13, 18, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 950;
	line-height: 1.15;
	max-width: 100%;
	overflow: hidden;
	padding: 7px 13px;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.flm-pitch-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	max-width: 100%;
}

.flm-pitch-teams,
.flm-pitch-badge,
.flm-pitch-team-name {
	background: rgba(6, 13, 18, 0.68);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	overflow: hidden;
	padding: 6px 9px;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.flm-pitch-badge {
	color: var(--flm-gold);
}

.flm-team-label {
	left: 18px;
	max-width: calc(100% - 36px);
	position: absolute;
	z-index: 5;
}

.flm-team-label-single {
	bottom: 18px;
}

.flm-team-label-a {
	top: 18px;
}

.flm-team-label-b {
	bottom: 18px;
}

.flm-mode-single .flm-team-label-a,
.flm-mode-single .flm-team-label-b,
.flm-mode-single .flm-slots-a,
.flm-mode-single .flm-slots-b {
	display: none;
}

.flm-mode-two .flm-team-label-single,
.flm-mode-two .flm-slots-single {
	display: none;
}

.flm-pitch-markings,
.flm-slots {
	inset: 0;
	position: absolute;
}

.flm-pitch-markings {
	pointer-events: none;
	z-index: 1;
}

.flm-halfway {
	background: var(--flm-white);
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
	top: 50%;
}

.flm-center-circle {
	border: 2px solid var(--flm-white);
	border-radius: 50%;
	height: 17%;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
}

.flm-box {
	border: 2px solid var(--flm-white);
	height: 17%;
	left: 21%;
	position: absolute;
	width: 58%;
}

.flm-box-top {
	border-top: 0;
	top: 0;
}

.flm-box-bottom {
	border-bottom: 0;
	bottom: 0;
}

.flm-goal-box {
	border: 2px solid var(--flm-white);
	height: 7%;
	left: 34%;
	position: absolute;
	width: 32%;
}

.flm-goal-box-top {
	border-top: 0;
	top: 0;
}

.flm-goal-box-bottom {
	border-bottom: 0;
	bottom: 0;
}

.flm-goal {
	border: 2px solid var(--flm-white);
	height: 4%;
	left: 40%;
	position: absolute;
	width: 20%;
}

.flm-goal-top {
	border-top: 0;
	top: 0;
}

.flm-goal-bottom {
	border-bottom: 0;
	bottom: 0;
}

.flm-slots {
	z-index: 4;
	overflow: visible;
}

.flm-slot {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 8px;
	display: flex;
	min-height: 70px;
	justify-content: center;
	padding: 0;
	position: absolute;
	transform: translate(-50%, -50%);
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
	width: calc(90px * var(--flm-marker-scale, 1));
	z-index: 15;
}

.flm-slot-label {
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	pointer-events: none;
	position: absolute;
	text-transform: uppercase;
}

.flm-slot-filled .flm-slot-label {
	display: none;
}

.flm-drag-over {
	background: rgba(242, 201, 76, 0.25);
	border-color: var(--flm-gold);
	box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.16);
}

.flm-player-card {
	align-items: center;
	-webkit-appearance: none;
	appearance: none;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	color: #ffffff;
	cursor: grab;
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-height: calc(44px * var(--flm-marker-scale, 1));
	min-width: calc(58px * var(--flm-marker-scale, 1));
	outline: 0;
	padding: 0;
	position: relative;
	text-align: center;
	touch-action: manipulation;
	opacity: 1;
	visibility: visible;
	width: auto;
	z-index: 20;
}

.flm-player-card:hover,
.flm-player-card:focus,
.flm-player-card:active {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0;
}

.flm-player-card::before,
.flm-player-card::after {
	display: none !important;
}

.flm-bench .flm-player-card {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: 100%;
	width: auto;
}

.flm-slot .flm-player-card {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	justify-items: center;
	min-height: 76px;
	min-width: 0;
	padding: 0;
	text-align: center;
}

.flm-player-card:active {
	cursor: grabbing;
}

.flm-player-card.flm-dragging {
	opacity: 0.55;
}

.flm-player-jersey-wrap {
	--flm-jersey-color: var(--flm-gold);
	--flm-jersey-stroke: #7c4a03;
	--flm-jersey-text: #111827;
	display: block;
	height: calc(50px * var(--flm-marker-scale, 1));
	position: relative;
	width: calc(56px * var(--flm-marker-scale, 1));
}

.flm-player-jersey-svg {
	display: block;
	filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.3));
	height: 100%;
	overflow: visible;
	width: 100%;
}

.flm-jersey-fill {
	fill: var(--flm-jersey-color);
	stroke: rgba(255, 255, 255, 0.88);
	stroke-linejoin: round;
	stroke-width: 3;
}

.flm-jersey-shadow {
	fill: rgba(0, 0, 0, 0.18);
	transform: translateY(2px);
}

.flm-jersey-collar {
	fill: rgba(255, 255, 255, 0.82);
	stroke: var(--flm-jersey-stroke);
	stroke-linejoin: round;
	stroke-width: 2;
}

.flm-jersey-trim {
	fill: none;
	opacity: 0.6;
	stroke: var(--flm-jersey-stroke);
	stroke-linecap: round;
	stroke-width: 2;
}

.flm-player-number {
	color: var(--flm-jersey-text);
	font-size: 15px;
	font-weight: 950;
	left: 50%;
	line-height: 1;
	position: absolute;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
	top: 45%;
	transform: translate(-50%, -50%);
}

.flm-player-position-code {
	color: var(--flm-jersey-text);
	font-size: 6px;
	font-weight: 950;
	left: 50%;
	letter-spacing: 0.04em;
	line-height: 1.05;
	position: absolute;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
	top: 69%;
	transform: translate(-50%, -50%);
}

.flm-player-info {
	display: grid;
	gap: 0;
	min-width: 0;
	max-width: 78px;
	place-items: center;
}

.flm-player-text {
	display: block;
	color: var(--flm-player-name-color, #ffffff);
	font-size: 10px;
	font-weight: 900;
	line-height: 1.1;
	max-width: 78px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.flm-slot .flm-player-text {
	font-size: 10px;
	max-width: 76px;
}

.flm-player-remove {
	align-items: center;
	background: #e11d48;
	border-radius: 50%;
	color: #ffffff;
	display: inline-flex;
	font-size: 8px;
	font-weight: 900;
	height: 13px;
	justify-content: center;
	line-height: 1;
	opacity: 0.78;
	width: 13px;
}

.flm-slot .flm-player-remove {
	position: absolute;
	right: 1px;
	top: 1px;
}

.flm-exporting .flm-player-remove {
	display: none !important;
}

.flm-export-footer {
	background:
		linear-gradient(180deg, var(--flm-footer-bg, rgba(7, 17, 31, 0.96)), var(--flm-footer-bg, rgba(5, 10, 18, 0.98)));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-top: 0;
	color: var(--flm-footer-text, #ffffff);
	display: grid;
	gap: 4px;
	justify-items: center;
	padding: 15px 18px 17px;
	text-align: center;
}

.flm-footer-title {
	color: var(--flm-footer-text, #f4f1e8);
	font-size: 20px;
	font-weight: 950;
	line-height: 1.15;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.flm-footer-subtitle {
	color: var(--flm-footer-text, #e5e7eb);
	font-size: 13px;
	font-weight: 850;
	line-height: 1.2;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.flm-footer-meta {
	color: var(--flm-footer-accent, var(--flm-gold));
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
}

.flm-modal[hidden] {
	display: none;
}

.flm-modal {
	inset: 0;
	position: fixed;
	z-index: 99999;
}

.flm-modal-backdrop {
	background: rgba(3, 7, 18, 0.72);
	inset: 0;
	position: absolute;
}

.flm-modal-dialog {
	background: var(--flm-panel);
	border: 1px solid var(--flm-panel-line);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
	display: grid;
	gap: 13px;
	left: 50%;
	max-width: min(92vw, 420px);
	padding: 18px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

.flm-modal-title {
	color: var(--flm-accent-color, var(--flm-gold));
	font-size: 18px;
	font-weight: 900;
}

.elementor-editor-active .flm-lineup-maker .flm-slot {
	display: flex;
	opacity: 1;
	overflow: visible;
	visibility: visible;
	z-index: 15;
}

.elementor-editor-active .flm-lineup-maker .flm-player-card,
.elementor-editor-active .flm-lineup-maker .flm-player-marker {
	display: flex;
	opacity: 1;
	position: relative;
	visibility: visible;
	z-index: 20;
}

.flm-modal-actions {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 980px) {
	.flm-shell {
		grid-template-columns: 1fr;
	}

	.flm-panel {
		border-bottom: 1px solid var(--flm-panel-line);
		border-right: 0;
		max-height: none;
	}

	.flm-stage {
		padding: 16px;
	}
}

@media (max-width: 640px) {
	.flm-lineup-maker {
		margin: 16px 0;
	}

	.flm-panel {
		padding: 14px;
	}

	.flm-title {
		font-size: 20px;
	}

	.flm-actions {
		grid-template-columns: 1fr;
	}

	.flm-pitch {
		aspect-ratio: 6 / 10;
		min-height: 620px;
	}

	.flm-pitch-title {
		font-size: 16px;
		white-space: normal;
	}

	.flm-export-footer {
		padding: 13px 12px 15px;
	}

	.flm-footer-title {
		font-size: 17px;
	}

	.flm-footer-subtitle,
	.flm-footer-meta {
		font-size: 11px;
	}

	.flm-pitch-teams,
	.flm-pitch-badge,
	.flm-pitch-team-name {
		font-size: 11px;
	}

	.flm-team-label {
		left: 10px;
	}

	.flm-team-label-a {
		top: 14px;
	}

	.flm-slot {
		height: 62px;
		padding: 5px;
		width: clamp(76px, 25vw, 104px);
	}

	.flm-slot .flm-player-card {
		min-height: 58px;
		padding: 0 !important;
	}

	.flm-player-jersey-wrap {
		height: 44px;
		width: 50px;
	}

	.flm-slot .flm-player-text {
		font-size: 10px;
		max-width: 74px;
	}

	.flm-bench .flm-player-card {
		width: 100%;
	}
}
