/* =====================================================================
   Fuluxy Music – main.css
   Tokens → base → layout → components → player → utilities
   ===================================================================== */

:root {
	--fm-bg: #FAFAF8;
	--fm-surface: #FFFFFF;
	--fm-surface-2: #F3F3F7;
	--fm-text: #2B2C42;
	--fm-muted: #6E6F85;
	--fm-border: #E6E6EE;
	--fm-accent: #F28C5A;
	--fm-accent-strong: #E67A45;
	--fm-accent-soft: #FFF1E8;
	--fm-blue: #5BB3FF;
	--fm-purple: #A78BFA;
	--fm-pink: #FF8A80;
	--fm-yellow: #FFC65C;
	--fm-gradient: linear-gradient(135deg, #FFC65C 0%, #FF8A80 35%, #A78BFA 70%, #5BB3FF 100%);
	--fm-focus: #5BB3FF;
	--fm-shadow-sm: 0 1px 2px rgba(43, 44, 66, 0.06), 0 1px 6px rgba(43, 44, 66, 0.04);
	--fm-shadow: 0 4px 16px rgba(43, 44, 66, 0.08);
	--fm-shadow-lg: 0 12px 40px rgba(43, 44, 66, 0.14);
	--fm-radius: 14px;
	--fm-radius-sm: 10px;
	--fm-radius-pill: 999px;
	--fm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", Meiryo, Roboto, Helvetica, Arial, sans-serif;
	--fm-container: 1120px;
	--fm-gutter: 20px;
	--fm-player-h: 88px;
	--fm-tap: 44px;
}

/* ---------------------------------------------------------------------
   Base
   ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--fm-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--fm-text);
	background: var(--fm-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.fm-has-player {
	padding-bottom: calc(var(--fm-player-h) + env(safe-area-inset-bottom, 0px) + 12px);
}

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--fm-accent-strong);
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

input,
select,
textarea {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0.01em;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 3px solid var(--fm-focus);
	outline-offset: 2px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.fm-skip {
	position: absolute;
	top: -100px;
	left: 12px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--fm-text);
	color: #fff;
	border-radius: var(--fm-radius-sm);
}

.fm-skip:focus {
	top: 12px;
}

.fm-container {
	width: 100%;
	max-width: var(--fm-container);
	margin: 0 auto;
	padding-left: var(--fm-gutter);
	padding-right: var(--fm-gutter);
}

.fm-icon {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: none;
}

.fm-muted {
	color: var(--fm-muted);
}

.fm-eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fm-accent-strong);
}

.fm-textlink {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-right: 18px;
	font-weight: 600;
	color: var(--fm-accent-strong);
}

.fm-textlink .fm-icon {
	width: 18px;
	height: 18px;
}

.fm-empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--fm-muted);
	background: var(--fm-surface);
	border: 1px dashed var(--fm-border);
	border-radius: var(--fm-radius);
}

.fm-empty a {
	color: var(--fm-accent-strong);
	font-weight: 600;
}

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

.fm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(250, 250, 248, 0.88);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--fm-border);
}

.fm-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 64px;
	padding-top: 8px;
	padding-bottom: 8px;
	flex-wrap: wrap;
}

.fm-header__logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.01em;
	color: var(--fm-text);
}

.fm-header__logo:hover {
	color: var(--fm-text);
}

.fm-header__logo__img,
.fm-header__logo .fm-header__logo__img {
	height: 40px;
	width: auto;
}

.fm-header__logo__text small {
	display: block;
	margin-top: -6px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--fm-muted);
}

.fm-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.fm-nav__list {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.fm-nav__list::-webkit-scrollbar {
	display: none;
}

.fm-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: var(--fm-radius-pill);
	font-weight: 600;
	white-space: nowrap;
	color: var(--fm-muted);
}

.fm-nav__list a:hover,
.fm-nav__list .current-menu-item > a {
	color: var(--fm-text);
	background: var(--fm-surface-2);
}

.fm-search {
	display: flex;
	align-items: center;
	flex: 0 1 260px;
	min-width: 0;
	height: 42px;
	padding-left: 14px;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-pill);
	transition: box-shadow 0.15s, border-color 0.15s;
}

.fm-search:focus-within {
	border-color: var(--fm-focus);
	box-shadow: 0 0 0 3px rgba(91, 179, 255, 0.25);
}

.fm-search__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	font-size: 15px;
}

.fm-search__input:focus {
	outline: none;
}

.fm-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
}

.fm-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 40px;
	color: var(--fm-muted);
	border-radius: var(--fm-radius-pill);
}

.fm-search__btn:hover {
	color: var(--fm-accent-strong);
}

@media (max-width: 720px) {
	.fm-header__inner {
		gap: 10px 12px;
	}

	.fm-header__logo {
		font-size: 19px;
	}

	.fm-header__logo__img,
	.fm-header__logo .fm-header__logo__img {
		height: 34px;
	}

	.fm-search {
		flex: 1 1 140px;
		height: 40px;
	}

	.fm-nav {
		order: 3;
		flex-basis: 100%;
		margin: 0 calc(-1 * var(--fm-gutter));
		padding: 0 var(--fm-gutter);
	}

	.fm-nav__list a {
		min-height: 36px;
		padding: 0 12px;
		font-size: 14px;
	}
}

/* ---------------------------------------------------------------------
   Buttons / chips
   ------------------------------------------------------------------ */

.fm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--fm-tap);
	padding: 0 20px;
	border-radius: var(--fm-radius-pill);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
	border: 2px solid transparent;
	transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s;
	user-select: none;
}

.fm-btn:active {
	transform: translateY(1px) scale(0.99);
}

.fm-btn .fm-icon {
	width: 20px;
	height: 20px;
}

.fm-btn--primary {
	color: #fff;
	background: var(--fm-accent);
	box-shadow: 0 6px 18px rgba(242, 140, 90, 0.35);
}

.fm-btn--primary:hover {
	color: #fff;
	background: var(--fm-accent-strong);
	box-shadow: 0 8px 22px rgba(242, 140, 90, 0.42);
}

.fm-btn--secondary {
	color: var(--fm-text);
	background: var(--fm-surface);
	border-color: var(--fm-border);
	box-shadow: var(--fm-shadow-sm);
}

.fm-btn--secondary:hover {
	color: var(--fm-text);
	border-color: #d4d4de;
	background: #fff;
}

.fm-btn--outline {
	color: var(--fm-text);
	border-color: var(--fm-text);
	background: transparent;
}

.fm-btn--outline:hover {
	color: #fff;
	background: var(--fm-text);
}

.fm-btn--ghost {
	color: var(--fm-muted);
	background: transparent;
}

.fm-btn--ghost:hover {
	color: #c0392b;
	background: #fff2f0;
}

.fm-btn--sm {
	min-height: 38px;
	padding: 0 14px;
	font-size: 14px;
}

.fm-btn--lg {
	min-height: 52px;
	padding: 0 26px;
	font-size: 16px;
}

.fm-btn--xl {
	min-height: 62px;
	padding: 0 34px;
	font-size: 18px;
}

.fm-btn--xl .fm-icon {
	width: 24px;
	height: 24px;
}

.fm-btn.is-busy {
	opacity: 0.7;
	cursor: progress;
}

.fm-btn[aria-pressed="true"] .fm-icon--off,
.fm-btn:not([aria-pressed="true"]) .fm-icon--on {
	display: none;
}

.fm-btn[aria-pressed="true"] {
	border-color: var(--fm-accent);
	color: var(--fm-accent-strong);
}

.fm-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--fm-tap);
	height: var(--fm-tap);
	border-radius: 50%;
	color: var(--fm-muted);
	transition: background-color 0.15s, color 0.15s, transform 0.12s;
}

.fm-iconbtn:hover {
	color: var(--fm-text);
	background: var(--fm-surface-2);
}

.fm-iconbtn:active {
	transform: scale(0.94);
}

.fm-iconbtn[aria-pressed="true"] {
	color: var(--fm-accent-strong);
}

.fm-iconbtn[aria-pressed="true"] .fm-icon--off,
.fm-iconbtn:not([aria-pressed="true"]) .fm-icon--on {
	display: none;
}

.fm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fm-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 14px;
	border-radius: var(--fm-radius-pill);
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	font-size: 14px;
	font-weight: 600;
	color: var(--fm-text);
	white-space: nowrap;
	transition: border-color 0.15s, background-color 0.15s;
}

.fm-chip small {
	font-size: 12px;
	color: var(--fm-muted);
}

.fm-chip:hover {
	border-color: var(--fm-accent);
	color: var(--fm-accent-strong);
}

.fm-chip.is-active {
	background: var(--fm-text);
	border-color: var(--fm-text);
	color: #fff;
}

.fm-chip--sm {
	min-height: 24px;
	padding: 0 9px;
	font-size: 12px;
	background: var(--fm-accent-soft);
	border-color: transparent;
	color: var(--fm-accent-strong);
}

.fm-chip--sm.fm-chip--muted {
	background: var(--fm-surface-2);
	color: var(--fm-muted);
}

/* ---------------------------------------------------------------------
   Sections / page
   ------------------------------------------------------------------ */

.fm-section {
	padding: 40px 0;
}

.fm-section--tint {
	background: var(--fm-surface);
	border-top: 1px solid var(--fm-border);
	border-bottom: 1px solid var(--fm-border);
}

.fm-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.fm-section__title {
	font-size: 24px;
}

.fm-section__subtitle {
	margin-bottom: 10px;
	font-size: 15px;
	color: var(--fm-muted);
}

.fm-section__lead {
	margin: -8px 0 18px;
	color: var(--fm-muted);
}

.fm-section__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	font-size: 14px;
	color: var(--fm-accent-strong);
	white-space: nowrap;
}

.fm-section__more .fm-icon {
	width: 18px;
	height: 18px;
}

.fm-page {
	padding-top: 20px;
	padding-bottom: 56px;
}

.fm-page--narrow {
	max-width: 800px;
}

.fm-page__head {
	margin: 8px 0 24px;
}

.fm-page__title {
	font-size: 32px;
	letter-spacing: -0.01em;
}

.fm-page__lead {
	margin: 10px 0 0;
	max-width: 720px;
	color: var(--fm-muted);
}

.fm-page__head .fm-playbar {
	margin-top: 20px;
}

.fm-breadcrumbs {
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.fm-breadcrumbs li + li::before {
	content: "/";
	margin: 0 6px 0 2px;
	color: var(--fm-border);
}

.fm-breadcrumbs a:hover {
	color: var(--fm-accent-strong);
}

/* ---------------------------------------------------------------------
   Hero (front page)
   ------------------------------------------------------------------ */

.fm-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 48px;
	text-align: center;
}

.fm-hero::before {
	content: "";
	position: absolute;
	inset: -40% -20% auto;
	height: 120%;
	background:
		radial-gradient(60% 55% at 20% 40%, rgba(255, 198, 92, 0.28), transparent 70%),
		radial-gradient(50% 50% at 80% 30%, rgba(91, 179, 255, 0.22), transparent 70%),
		radial-gradient(45% 45% at 55% 80%, rgba(167, 139, 250, 0.2), transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.fm-hero__inner {
	position: relative;
	z-index: 1;
}

.fm-hero__logo {
	width: 200px;
	height: auto;
	margin-bottom: 18px;
}

.fm-hero__title {
	font-size: clamp(26px, 4.4vw, 40px);
	letter-spacing: -0.01em;
}

.fm-hero__lead {
	max-width: 640px;
	margin: 14px auto 0;
	font-size: 16px;
	color: var(--fm-muted);
}

.fm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.fm-hero__note {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--fm-muted);
}

@media (max-width: 600px) {
	.fm-hero {
		padding: 36px 0 32px;
	}

	.fm-hero__logo {
		width: 150px;
	}

	.fm-hero__actions .fm-btn {
		flex: 1 1 100%;
	}
}

/* Random section */

.fm-random {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.fm-random__text {
	max-width: 600px;
}

.fm-random__text p {
	margin: 10px 0 0;
	color: var(--fm-muted);
}

.fm-random__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 0 0 auto;
}

@media (max-width: 760px) {
	.fm-random {
		flex-direction: column;
		align-items: stretch;
	}

	.fm-random__actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.fm-random__actions .fm-btn {
		flex: 1 1 200px;
	}
}

/* Scene tiles */

.fm-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
}

.fm-tile {
	position: relative;
	border-radius: var(--fm-radius);
	color: #fff;
	box-shadow: var(--fm-shadow-sm);
	overflow: hidden;
	transition: transform 0.15s, box-shadow 0.15s;
}

.fm-tile:hover {
	transform: translateY(-2px);
	box-shadow: var(--fm-shadow);
}

.fm-tile--c0 { background: linear-gradient(135deg, #F7A76C, #F06A7B); }
.fm-tile--c1 { background: linear-gradient(135deg, #5BB3FF, #7C7FF0); }
.fm-tile--c2 { background: linear-gradient(135deg, #A78BFA, #E084B8); }
.fm-tile--c3 { background: linear-gradient(135deg, #FFC65C, #F28C5A); }
.fm-tile--c4 { background: linear-gradient(135deg, #4FC3A1, #5BB3FF); }
.fm-tile--c5 { background: linear-gradient(135deg, #FF8A80, #A78BFA); }

.fm-tile__link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 112px;
	padding: 16px 60px 14px 16px;
	color: #fff;
}

.fm-tile__link:hover {
	color: #fff;
}

.fm-tile__name {
	font-size: 18px;
	font-weight: 800;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.fm-tile__count {
	font-size: 12px;
	opacity: 0.9;
}

.fm-tile__play,
.fm-genre__play {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--fm-text);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	transition: transform 0.12s, background-color 0.15s;
}

.fm-tile__play:hover,
.fm-genre__play:hover {
	background: #fff;
	transform: scale(1.06);
}

.fm-tile__play .fm-icon,
.fm-genre__play .fm-icon {
	width: 22px;
	height: 22px;
	margin-left: 2px;
}

/* Genres */

.fm-genres {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
}

.fm-genre {
	position: relative;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.fm-genre:hover {
	border-color: #d4d4de;
	box-shadow: var(--fm-shadow-sm);
}

.fm-genre__link {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 68px;
	padding: 12px 64px 12px 14px;
	font-weight: 700;
}

.fm-genre__link .fm-icon {
	color: var(--fm-accent);
}

.fm-genre__link small {
	margin-left: auto;
	font-weight: 500;
	white-space: nowrap;
	color: var(--fm-muted);
}

.fm-genre__play {
	background: var(--fm-accent-soft);
	color: var(--fm-accent-strong);
	box-shadow: none;
}

.fm-genre__play:hover {
	background: var(--fm-accent);
	color: #fff;
}

/* About */

.fm-about {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
}

.fm-about__col p {
	color: var(--fm-muted);
}

.fm-about .fm-section__title {
	margin-bottom: 12px;
}

.fm-guide-list li {
	display: flex;
	flex-direction: column;
	padding: 10px 0;
	border-bottom: 1px solid var(--fm-border);
}

.fm-guide-list a {
	font-weight: 600;
}

.fm-guide-list time {
	font-size: 12px;
	color: var(--fm-muted);
}

@media (max-width: 760px) {
	.fm-about {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

/* ---------------------------------------------------------------------
   Track lists & cards
   ------------------------------------------------------------------ */

.fm-listbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 14px;
}

.fm-listbar__count {
	margin: 0;
	color: var(--fm-muted);
}

.fm-listbar__count strong {
	font-size: 20px;
	color: var(--fm-text);
}

.fm-playbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fm-list {
	display: grid;
	gap: 10px;
}

.fm-list--row {
	grid-template-columns: 1fr;
}

.fm-list--grid {
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 18px;
}

.fm-list.is-loading {
	min-height: 120px;
	opacity: 0.5;
}

.fm-card {
	position: relative;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	transition: box-shadow 0.15s, border-color 0.15s, opacity 0.18s, transform 0.18s;
}

.fm-card:hover {
	border-color: #d4d4de;
	box-shadow: var(--fm-shadow-sm);
}

.fm-card.is-current {
	border-color: var(--fm-accent);
	background: #fffaf6;
}

.fm-card.is-removing {
	opacity: 0;
	transform: translateX(12px);
}

.fm-card__cover {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	border-radius: var(--fm-radius-sm);
	background: var(--fm-surface-2);
}

.fm-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

.fm-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(43, 44, 66, 0);
	transition: background-color 0.15s;
}

.fm-card__play .fm-icon {
	width: 40px;
	height: 40px;
	padding: 8px;
	border-radius: 50%;
	background: rgba(43, 44, 66, 0.55);
	backdrop-filter: blur(2px);
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.15s, transform 0.15s;
}

.fm-card__play:hover,
.fm-card__play:focus-visible {
	background: rgba(43, 44, 66, 0.18);
	outline-offset: -3px;
}

.fm-card:hover .fm-card__play .fm-icon,
.fm-card__play:focus-visible .fm-icon,
.fm-card.is-current .fm-card__play .fm-icon {
	opacity: 1;
	transform: scale(1);
}

.fm-card__play .fm-icon--pause,
.fm-card.is-playing .fm-card__play .fm-icon--play {
	display: none;
}

.fm-card.is-playing .fm-card__play .fm-icon--pause {
	display: block;
}

.fm-card__eq {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: none;
	align-items: flex-end;
	gap: 2px;
	height: 14px;
	pointer-events: none;
}

.fm-card__eq i {
	width: 3px;
	height: 100%;
	background: #fff;
	border-radius: 2px;
	transform-origin: bottom;
	animation: fm-eq 0.9s ease-in-out infinite;
}

.fm-card__eq i:nth-child(2) {
	animation-delay: 0.2s;
}

.fm-card__eq i:nth-child(3) {
	animation-delay: 0.45s;
}

.fm-card.is-playing .fm-card__eq {
	display: flex;
}

@keyframes fm-eq {
	0%, 100% { transform: scaleY(0.3); }
	50% { transform: scaleY(1); }
}

.fm-card__body {
	min-width: 0;
	flex: 1 1 auto;
}

.fm-card__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fm-card__title a:hover {
	color: var(--fm-accent-strong);
}

.fm-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-card__duration {
	font-variant-numeric: tabular-nums;
	color: var(--fm-muted);
}

.fm-card__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 2px;
}

/* Row variant */

.fm-card--row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 10px 8px 8px;
}

.fm-card--row .fm-card__cover {
	width: 64px;
	height: 64px;
}

.fm-card--row .fm-card__play .fm-icon {
	width: 34px;
	height: 34px;
	padding: 6px;
}

.fm-card--row .fm-card__duration {
	margin-left: auto;
}

@media (min-width: 640px) {
	.fm-card--row .fm-card__meta {
		flex-wrap: nowrap;
	}

	.fm-card--row .fm-card__duration {
		margin-left: 8px;
	}
}

/* Grid variant */

.fm-card--grid {
	display: flex;
	flex-direction: column;
	padding: 10px;
}

.fm-card--grid .fm-card__cover {
	width: 100%;
	margin-bottom: 10px;
}

.fm-card--grid .fm-card__play .fm-icon {
	width: 52px;
	height: 52px;
	padding: 12px;
}

.fm-card--grid .fm-card__title {
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 2.8em;
}

.fm-card--grid .fm-card__actions {
	margin-top: 6px;
	margin-left: -8px;
}

.fm-card--grid .fm-card__duration {
	margin-left: auto;
}

@media (hover: none) {
	.fm-card__play .fm-icon {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 480px) {
	.fm-card--row {
		gap: 10px;
	}

	.fm-card--row .fm-card__cover {
		width: 56px;
		height: 56px;
	}

	.fm-card__actions .fm-iconbtn {
		width: 40px;
		height: 40px;
	}

	/* Keep rows to one meta line on small screens. */
	.fm-card--row .fm-chip--muted {
		display: none;
	}

	.fm-list--grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

/* ---------------------------------------------------------------------
   Filter form
   ------------------------------------------------------------------ */

.fm-filter {
	padding: 16px;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
}

.fm-filter__fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px 14px;
}

.fm-filter__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fm-filter__field--search {
	grid-column: 1 / -1;
}

.fm-filter__label {
	font-size: 12px;
	font-weight: 700;
	color: var(--fm-muted);
}

.fm-select {
	position: relative;
	display: block;
}

.fm-select select {
	width: 100%;
	min-height: var(--fm-tap);
	padding: 0 40px 0 14px;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg);
	appearance: none;
	-webkit-appearance: none;
	font-weight: 600;
}

.fm-select .fm-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--fm-muted);
}

.fm-filter__searchwrap {
	display: flex;
	gap: 8px;
}

.fm-filter__searchwrap input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: var(--fm-tap);
	padding: 0 14px;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius-sm);
	background: var(--fm-bg);
}

.fm-filter__searchwrap input:focus {
	border-color: var(--fm-focus);
	box-shadow: 0 0 0 3px rgba(91, 179, 255, 0.25);
}

.fm-filter__reset {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--fm-accent-strong);
}

/* ---------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------ */

.pagination {
	margin-top: 28px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--fm-tap);
	min-height: var(--fm-tap);
	padding: 0 12px;
	border-radius: var(--fm-radius-pill);
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	font-weight: 600;
}

.pagination .page-numbers.current {
	background: var(--fm-text);
	border-color: var(--fm-text);
	color: #fff;
}

.pagination .page-numbers.dots {
	border: 0;
	background: none;
}

/* ---------------------------------------------------------------------
   Single track
   ------------------------------------------------------------------ */

.fm-track__hero {
	display: grid;
	grid-template-columns: minmax(200px, 320px) 1fr;
	gap: 32px;
	align-items: start;
	margin-bottom: 36px;
}

.fm-track__cover {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--fm-shadow-lg);
	background: var(--fm-surface-2);
}

.fm-track__cover img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.fm-track__cover .fm-card__eq {
	left: 14px;
	bottom: 14px;
	height: 22px;
}

.fm-track__cover .fm-card__eq i {
	width: 4px;
}

.fm-track.is-playing .fm-card__eq {
	display: flex;
}

.fm-track__title {
	font-size: clamp(28px, 4vw, 40px);
	letter-spacing: -0.01em;
}

.fm-track__duration {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--fm-muted);
}

.fm-track__duration .fm-icon {
	width: 18px;
	height: 18px;
}

.fm-track__excerpt {
	margin: 14px 0 0;
	font-size: 17px;
}

.fm-track__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.fm-track__play .fm-icon--pause,
.fm-track.is-playing .fm-track__play .fm-icon--play {
	display: none;
}

.fm-track.is-playing .fm-track__play .fm-icon--pause {
	display: block;
}

.fm-download {
	margin-top: 22px;
	padding: 16px;
	border: 1px dashed var(--fm-border);
	border-radius: var(--fm-radius);
	background: var(--fm-surface);
}

.fm-download__note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-download__note a {
	color: var(--fm-accent-strong);
	font-weight: 600;
}

.fm-track__columns {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
}

.fm-track__section + .fm-track__section {
	margin-top: 28px;
}

.fm-track__section .fm-section__title {
	margin-bottom: 12px;
	font-size: 20px;
}

.fm-license {
	padding: 18px 20px;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-left: 4px solid var(--fm-accent);
	border-radius: var(--fm-radius);
}

.fm-license p {
	margin-bottom: 8px;
}

@media (max-width: 760px) {
	.fm-track__hero {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.fm-track__cover {
		max-width: 260px;
		margin: 0 auto;
	}

	.fm-track__head {
		text-align: center;
	}

	.fm-track__duration,
	.fm-track__actions {
		justify-content: center;
	}

	.fm-track__actions .fm-track__play {
		flex: 1 1 100%;
	}

	.fm-track__columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ---------------------------------------------------------------------
   Articles / prose / pages
   ------------------------------------------------------------------ */

.fm-article__head {
	margin-bottom: 20px;
}

.fm-article__title {
	font-size: clamp(26px, 3.6vw, 34px);
}

.fm-article__meta {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-article__meta a {
	color: var(--fm-accent-strong);
}

.fm-article__thumb {
	margin: 0 0 24px;
	border-radius: var(--fm-radius);
	overflow: hidden;
}

.fm-article__thumb img {
	display: block;
	width: 100%;
}

.fm-article__tags {
	margin-top: 24px;
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-prose {
	font-size: 16px;
	line-height: 1.9;
}

.fm-prose > * {
	max-width: 100%;
}

.fm-prose h2 {
	margin: 2em 0 0.8em;
	padding-bottom: 0.3em;
	font-size: 24px;
	border-bottom: 2px solid var(--fm-border);
}

.fm-prose h3 {
	margin: 1.6em 0 0.6em;
	font-size: 20px;
}

.fm-prose p,
.fm-prose ul,
.fm-prose ol {
	margin: 0 0 1.2em;
}

.fm-prose ul,
.fm-prose ol {
	padding-left: 1.5em;
}

.fm-prose ul {
	list-style: disc;
}

.fm-prose ol {
	list-style: decimal;
}

.fm-prose li {
	margin-bottom: 0.3em;
}

.fm-prose a {
	color: var(--fm-accent-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fm-prose img {
	border-radius: var(--fm-radius-sm);
}

.fm-prose blockquote {
	margin: 1.5em 0;
	padding: 12px 20px;
	border-left: 4px solid var(--fm-accent);
	background: var(--fm-surface);
	border-radius: 0 var(--fm-radius-sm) var(--fm-radius-sm) 0;
}

.fm-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.fm-prose th,
.fm-prose td {
	padding: 8px 12px;
	border: 1px solid var(--fm-border);
	text-align: left;
}

.fm-prose th {
	background: var(--fm-surface-2);
}

.fm-prose figure {
	margin: 1.5em 0;
}

.fm-prose figcaption {
	font-size: 13px;
	color: var(--fm-muted);
}

.fm-prose .wp-block-table {
	overflow-x: auto;
}

.fm-prose audio {
	width: 100%;
}

.fm-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.fm-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	transition: box-shadow 0.15s, border-color 0.15s;
}

.fm-post:hover {
	box-shadow: var(--fm-shadow-sm);
	border-color: #d4d4de;
}

.fm-post__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--fm-surface-2);
}

.fm-post__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fm-post__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	background: var(--fm-gradient);
	color: #fff;
}

.fm-post__placeholder .fm-icon {
	width: 40px;
	height: 40px;
}

.fm-post__body {
	padding: 14px 16px 16px;
}

.fm-post__title {
	font-size: 17px;
	line-height: 1.45;
}

.fm-post__excerpt {
	margin: 8px 0;
	font-size: 14px;
	color: var(--fm-muted);
}

.fm-post__date {
	font-size: 12px;
	color: var(--fm-muted);
}

.fm-postnav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 40px;
}

.fm-postnav a {
	display: block;
	padding: 14px 16px;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	font-weight: 600;
}

.fm-postnav a small {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--fm-muted);
}

.fm-postnav__next {
	text-align: right;
}

.fm-404 {
	padding: 40px 0;
	text-align: center;
}

.fm-404 .fm-page__lead {
	margin-left: auto;
	margin-right: auto;
}

/* Ad / product placeholders (empty in MVP; never near the player) */

.fm-ad-slot {
	display: none;
	min-height: 90px;
	margin: 24px 0;
	border: 1px dashed var(--fm-border);
	border-radius: var(--fm-radius);
}

.fm-ad-slot:not(:empty) {
	display: block;
}

.fm-product {
	display: flex;
	gap: 16px;
	margin: 1.5em 0;
	padding: 16px;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
}

.fm-product__img {
	flex: 0 0 120px;
}

.fm-product__title {
	font-weight: 700;
}

.fm-product__cta {
	margin-top: 8px;
}

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.fm-footer {
	margin-top: 40px;
	padding: 40px 0 36px;
	background: var(--fm-surface);
	border-top: 1px solid var(--fm-border);
	color: var(--fm-muted);
	font-size: 14px;
}

.fm-footer__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px 40px;
	align-items: center;
}

.fm-footer__logo__img {
	width: 120px;
	height: auto;
}

.fm-footer__tagline {
	margin: 8px 0 0;
}

.fm-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	justify-content: flex-end;
}

.fm-footer__links a {
	font-weight: 600;
}

.fm-footer__copy {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 12px;
}

@media (max-width: 640px) {
	.fm-footer__inner {
		grid-template-columns: 1fr;
	}

	.fm-footer__links {
		justify-content: flex-start;
	}
}

/* ---------------------------------------------------------------------
   Player (fixed bottom)
   ------------------------------------------------------------------ */

.fm-player {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-top: 1px solid var(--fm-border);
	box-shadow: 0 -8px 30px rgba(43, 44, 66, 0.08);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.fm-player[hidden] {
	display: none;
}

.fm-player__seekwrap {
	position: relative;
	height: 14px;
	margin-top: -7px;
}

.fm-player__seek {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 14px;
	margin: 0;
	background: transparent;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.fm-player__seek::-webkit-slider-runnable-track {
	height: 4px;
	margin-top: 5px;
	background: var(--fm-border);
	border-radius: 2px;
}

.fm-player__seek::-moz-range-track {
	height: 4px;
	background: var(--fm-border);
	border-radius: 2px;
}

.fm-player__seek::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -6px;
	border-radius: 50%;
	background: var(--fm-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.fm-player__seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--fm-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.fm-player__seek::-moz-range-progress {
	height: 4px;
	background: var(--fm-accent);
	border-radius: 2px;
}

.fm-player__seek:focus-visible {
	outline: none;
}

.fm-player__seek:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 4px rgba(91, 179, 255, 0.4);
}

.fm-player__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	max-width: var(--fm-container);
	min-height: calc(var(--fm-player-h) - 14px);
	margin: 0 auto;
	padding: 6px var(--fm-gutter) 8px;
}

.fm-player__track {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.fm-player__cover {
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	border-radius: 10px;
	object-fit: cover;
	background: var(--fm-surface-2);
	box-shadow: var(--fm-shadow-sm);
}

.fm-player__info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.fm-player__title {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fm-player__sub {
	font-size: 12px;
	color: var(--fm-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fm-player__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.fm-player__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 6px;
	border-radius: 50%;
	background: var(--fm-accent);
	color: #fff;
	box-shadow: 0 6px 16px rgba(242, 140, 90, 0.4);
	transition: transform 0.12s, background-color 0.15s;
}

.fm-player__play:hover {
	background: var(--fm-accent-strong);
}

.fm-player__play:active {
	transform: scale(0.95);
}

.fm-player__play .fm-icon {
	width: 30px;
	height: 30px;
}

.fm-player__play .fm-icon--play {
	margin-left: 3px;
}

.fm-player__play .fm-icon--pause,
.fm-player.is-playing .fm-player__play .fm-icon--play {
	display: none;
}

.fm-player.is-playing .fm-player__play .fm-icon--pause {
	display: block;
}

.fm-player__prev .fm-icon,
.fm-player__next .fm-icon {
	width: 26px;
	height: 26px;
	color: var(--fm-text);
}

.fm-player__shuffle[aria-pressed="true"],
.fm-player__repeat[data-mode="one"] {
	color: var(--fm-accent-strong);
	background: var(--fm-accent-soft);
}

.fm-player__repeat .fm-icon--one,
.fm-player__repeat[data-mode="one"] .fm-icon--all {
	display: none;
}

.fm-player__repeat[data-mode="one"] .fm-icon--one {
	display: block;
}

.fm-player__side {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
}

.fm-player__time {
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	color: var(--fm-muted);
	white-space: nowrap;
}

.fm-player__time-sep {
	margin: 0 4px;
	opacity: 0.6;
}

.fm-player__queue {
	font-size: 12px;
	color: var(--fm-muted);
	white-space: nowrap;
}

.fm-player__queue:empty {
	display: none;
}

.fm-player__volume {
	display: flex;
	align-items: center;
	gap: 2px;
}

.fm-player__volume-range {
	width: 90px;
	height: 24px;
	margin: 0;
	accent-color: var(--fm-accent);
	cursor: pointer;
}

.fm-player.is-muted .fm-icon--on,
.fm-player:not(.is-muted) .fm-icon--off {
	display: none;
}

.fm-player__fav[aria-pressed="true"] .fm-icon--off,
.fm-player__fav:not([aria-pressed="true"]) .fm-icon--on {
	display: none;
}

.fm-player__hint {
	margin: 0;
	padding: 4px var(--fm-gutter) 8px;
	text-align: center;
	font-size: 13px;
	color: var(--fm-accent-strong);
}

.fm-player audio {
	display: none;
}

@media (max-width: 860px) {
	.fm-player__queue,
	.fm-player__volume,
	.fm-player__close {
		display: none;
	}

	.fm-player__inner {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.fm-player__side {
		display: none;
	}

	.fm-player__controls {
		gap: 0;
	}

	.fm-player__shuffle,
	.fm-player__repeat {
		display: none;
	}
}

@media (max-width: 480px) {
	:root {
		--fm-player-h: 80px;
	}

	.fm-player__cover {
		width: 48px;
		height: 48px;
	}

	.fm-player__play {
		width: 50px;
		height: 50px;
		margin: 0 2px;
	}

	.fm-player__title {
		font-size: 15px;
	}

	.fm-player__fav {
		display: none;
	}
}

/* ---------------------------------------------------------------------
   Toast
   ------------------------------------------------------------------ */

.fm-toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--fm-player-h) + 20px);
	z-index: 200;
	max-width: calc(100% - 40px);
	padding: 10px 18px;
	border-radius: var(--fm-radius-pill);
	background: var(--fm-text);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--fm-shadow);
	transform: translate(-50%, 12px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s, transform 0.18s;
}

body:not(.fm-has-player) .fm-toast {
	bottom: 24px;
}

.fm-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------------------------------------------------------------------
   Motion / print
   ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.fm-header,
	.fm-player,
	.fm-toast,
	.fm-card__actions,
	.fm-playbar,
	.fm-filter {
		display: none !important;
	}
}

/* ---- SEO text / FAQ (front page) ---- */
.fm-seo__inner { max-width: 820px; }
.fm-seo__text { color: var(--fm-text); }
.fm-seo__text a { color: var(--fm-accent); text-decoration: underline; text-underline-offset: 2px; }
.fm-seo__faq-title { margin-top: 2.5rem; }
.fm-faq { display: grid; gap: .5rem; }
.fm-faq__item { background: var(--fm-surface); border: 1px solid var(--fm-border); border-radius: 12px; }
.fm-faq__q { cursor: pointer; padding: .9rem 2.5rem .9rem 1rem; font-weight: 600; list-style: none; position: relative; min-height: 44px; }
.fm-faq__q::-webkit-details-marker { display: none; }
.fm-faq__q::after { content: ""; position: absolute; right: 1rem; top: 50%; width: .6rem; height: .6rem; border-right: 2px solid var(--fm-muted); border-bottom: 2px solid var(--fm-muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.fm-faq__item[open] .fm-faq__q::after { transform: translateY(-30%) rotate(225deg); }
.fm-faq__q:focus-visible { outline: 2px solid var(--fm-focus); outline-offset: 2px; border-radius: 12px; }
.fm-faq__a { padding: 0 1rem 1rem; color: var(--fm-muted); line-height: 1.7; }
.fm-faq__a p { margin: 0; }
.fm-faq__a a { color: var(--fm-accent); text-decoration: underline; }

/* ---- footer term links ---- */
.fm-footer__terms { grid-column: 1 / -1; }
.fm-footer__terms-label { margin: 0 0 .35rem; font-size: .8rem; font-weight: 600; color: var(--fm-muted); }
.fm-footer__terms ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.fm-footer__terms a { font-size: .85rem; color: var(--fm-muted); text-decoration: none; }
.fm-footer__terms a:hover { color: var(--fm-text); text-decoration: underline; }
