/*
 * FasoGreen TV — feuille de style du thème.
 * Mobile d'abord ; la barre d'onglets et les gestes « application » sont actifs sous 960 px.
 * Les couleurs --accent, --live et --chrome sont injectées par le thème (réglages).
 */

/* ------------------------------------------------------------------ */
/* Variables                                                           */
/* ------------------------------------------------------------------ */
:root {
	--accent: #22c55e;
	--live: #ef4444;
	--chrome: #06120a;
	--gold: #fcd116;

	--bg: #06120a;
	--bg-2: #0a1a10;
	--surface: #0e1f14;
	--surface-2: #13291a;
	--line: rgba(255, 255, 255, .09);
	--text: #eaf3ec;
	--muted: #9db3a3;
	--on-accent: #052e14;
	--shadow: 0 10px 30px rgba(0, 0, 0, .35);
	--accent-text: var(--accent);

	--r-s: 10px;
	--r-m: 16px;
	--r-l: 22px;
	--header-h: 58px;
	--tab-h: 64px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--safe-t: env(safe-area-inset-top, 0px);
	--f-display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color-scheme: dark;
}

html[data-theme="light"] {
	--bg: #f2f6f2;
	--bg-2: #e9f0e9;
	--surface: #ffffff;
	--surface-2: #eef4ee;
	--line: rgba(6, 40, 16, .12);
	--text: #0c1a11;
	--muted: #53675a;
	--shadow: 0 8px 24px rgba(6, 40, 16, .12);
	--accent-text: #0f7a36;
	color-scheme: light;
}

@media (prefers-color-scheme: light) {
	html[data-theme="auto"] {
		--bg: #f2f6f2;
		--bg-2: #e9f0e9;
		--surface: #ffffff;
		--surface-2: #eef4ee;
		--line: rgba(6, 40, 16, .12);
		--text: #0c1a11;
		--muted: #53675a;
		--shadow: 0 8px 24px rgba(6, 40, 16, .12);
		--accent-text: #0f7a36;
		color-scheme: light;
	}
}

/* Couleurs par rubrique (étiquettes, puces, filets) */
[data-cat="eau"] { --cat: #38bdf8; }
[data-cat="assainissement"] { --cat: #f59e0b; }
[data-cat="agriculture"] { --cat: #a3e635; }
[data-cat="environnement"] { --cat: #22c55e; }
[data-cat="le-journal"] { --cat: #fcd116; }
[data-cat="emission"], [data-cat="parlons-environnement"] { --cat: #a78bfa; }

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 12px);
	overflow-x: clip;
}
body.ftv {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.55 var(--f-text);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	text-rendering: optimizeLegibility;
	padding-bottom: calc(var(--tab-h) + var(--safe-b));
	overflow-x: clip;
}
:where(.ftv) :is(img, svg, video, iframe) { max-width: 100%; }
:where(.ftv) img { height: auto; display: block; }
:where(.ftv) a { color: inherit; text-decoration: none; }
:where(.ftv) :is(h1, h2, h3, h4) { font-family: var(--f-display); color: var(--text); margin: 0; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
:where(.ftv) p { margin: 0; }
:where(.ftv) :is(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.ftv) button { font: inherit; color: inherit; cursor: pointer; }
:where(.ftv) :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ftv-i { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
.ftv-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ftv-skip { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.ftv-skip:focus { top: 12px; }
.ftv-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.ftv-main { display: block; min-height: 60vh; outline: none; }
[hidden] { display: none !important; }

@media (min-width: 700px) { .ftv-wrap { padding-inline: 24px; } }

/* ------------------------------------------------------------------ */
/* Boutons, puces, pastille « Direct »                                  */
/* ------------------------------------------------------------------ */
.ftv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px;
	padding: 12px 20px; font-weight: 700; line-height: 1; min-height: 44px;
	transition: transform .15s, filter .15s, background .2s;
}
.ftv-btn:hover { filter: brightness(1.08); }
.ftv-btn:active { transform: scale(.97); }
.ftv-btn--sm { padding: 9px 14px; min-height: 38px; font-size: .9rem; }
.ftv-btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.ftv-btn--ghost:hover { background: var(--surface-2); filter: none; }

.ftv-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: transparent; border: 0; color: inherit; transition: background .2s, transform .15s;
}
.ftv-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.ftv-iconbtn:active { transform: scale(.92); }

.ftv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ftv-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 2px; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
.ftv-chips--scroll::-webkit-scrollbar { display: none; }
.ftv-chip {
	display: inline-flex; align-items: center; gap: 7px; flex: none; scroll-snap-align: start;
	padding: 9px 15px 9px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
	font-weight: 600; font-size: .92rem; white-space: nowrap; transition: background .2s, border-color .2s, transform .15s;
}
.ftv-chip .ftv-i { color: var(--cat, var(--accent)); width: 1.15em; height: 1.15em; }
.ftv-chip:hover { background: var(--surface-2); border-color: var(--cat, var(--accent)); }
.ftv-chip:active { transform: scale(.96); }

.ftv-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ftv-live {
	display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px 0 11px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .02em;
	text-transform: uppercase; white-space: nowrap;
}
.ftv-live__dot { width: 9px; height: 9px; border-radius: 50%; background: #8aa393; flex: none; }
.ftv-live__when { font-weight: 600; opacity: .8; text-transform: none; }
.ftv-live[data-state="live"] { background: var(--live); }
.ftv-live[data-state="live"] .ftv-live__dot { background: #fff; animation: ftv-pulse 1.4s ease-out infinite; }
.ftv-live--static { background: var(--surface-2); color: var(--text); }
.ftv-live--static[data-state="live"] { color: #fff; }
@keyframes ftv-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
	70%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
}

.ftv-kicker { display: inline-block; font: 700 .74rem/1 var(--f-text); letter-spacing: .09em; text-transform: uppercase; color: var(--cat, var(--accent-text)); }
.ftv-kicker--live { color: var(--live); }
.ftv-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: .88rem; color: var(--accent-text); }
.ftv-link .ftv-i { width: 1.1em; height: 1.1em; }

.ftv-badge {
	position: absolute; z-index: 3; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 12px; border-radius: 999px; font: 800 .74rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase;
	background: rgba(0, 0, 0, .6); color: #fff; backdrop-filter: blur(6px);
}
.ftv-badge--live { background: var(--live); }
.ftv-badge--live .ftv-dot { background: #fff; animation: ftv-pulse 1.4s ease-out infinite; }
.ftv-badge--journal { background: var(--gold); color: #1a1500; }
.ftv-badge--off .ftv-dot { background: #9db3a3; }

/* ------------------------------------------------------------------ */
/* En-tête                                                             */
/* ------------------------------------------------------------------ */
.ftv-header {
	position: sticky; top: 0; z-index: 60; color: #fff;
	padding-top: var(--safe-t);
	background: linear-gradient(180deg, color-mix(in srgb, var(--chrome) 96%, #000), color-mix(in srgb, var(--chrome) 90%, #000));
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: box-shadow .25s;
}
.ftv-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.ftv-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.ftv-brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.ftv-brand__img { height: 28px; width: auto; max-width: 200px; }
.ftv-brand__text { font: 800 1.35rem/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.ftv-brand__text b { color: var(--accent); font-weight: 800; }
.ftv-brand__text i { font-style: normal; background: var(--accent); color: var(--on-accent); padding: 2px 6px; border-radius: 6px; margin-left: 5px; font-size: .8em; }
.ftv-nav { display: none; flex: 1; min-width: 0; }
.ftv-header__tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ftv-header__tools .ftv-iconbtn--theme { display: none; }
.ftv-install { margin-left: 6px; }

html[data-theme="dark"] [data-theme-icon]:not([data-theme-icon="dark"]),
html[data-theme="light"] [data-theme-icon]:not([data-theme-icon="light"]),
html[data-theme="auto"] [data-theme-icon]:not([data-theme-icon="auto"]) { display: none; }

@media (min-width: 960px) {
	:root { --header-h: 68px; }
	.ftv-nav { display: block; margin-left: 18px; }
	.ftv-header__tools .ftv-iconbtn--theme { display: inline-grid; }
	.ftv-brand__img { height: 32px; }
	.ftv-menu { display: flex; gap: 2px; flex-wrap: nowrap; }
	.ftv-menu > li { position: relative; }
	.ftv-menu a { display: block; padding: 10px 13px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .86); transition: background .2s, color .2s; white-space: nowrap; }
	.ftv-menu a:hover, .ftv-menu .current-menu-item > a, .ftv-menu .current-menu-ancestor > a, .ftv-menu .current-menu-parent > a { background: rgba(255, 255, 255, .12); color: #fff; }
	.ftv-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
	.ftv-menu li:hover > .sub-menu, .ftv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.ftv-menu .sub-menu a { color: var(--text); border-radius: 10px; }
	.ftv-menu .sub-menu a:hover { background: var(--surface-2); }
	.ftv-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 2px 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
}

/* ------------------------------------------------------------------ */
/* Recherche                                                           */
/* ------------------------------------------------------------------ */
.ftv-search { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; }
.ftv-search__backdrop { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); animation: ftv-fade .2s; }
.ftv-search__panel { background: var(--surface); padding: calc(var(--safe-t) + 12px) 16px 20px; border-radius: 0 0 var(--r-l) var(--r-l); box-shadow: var(--shadow); animation: ftv-drop .25s cubic-bezier(.2, .8, .2, 1); max-width: 760px; width: 100%; margin-inline: auto; }
.ftv-search__form { display: flex; align-items: center; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 16px; }
.ftv-search__form input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.05rem; outline: none; }
.ftv-search__form .ftv-iconbtn:hover { background: var(--surface-2); }
.ftv-search__form--inline { max-width: 520px; padding-right: 16px; margin: 18px 0; }
.ftv-search__hint { margin: 18px 0 10px; font: 700 .74rem/1 var(--f-text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
@keyframes ftv-fade { from { opacity: 0; } }
@keyframes ftv-drop { from { transform: translateY(-24px); opacity: 0; } }
@keyframes ftv-rise { from { transform: translateY(100%); } }

/* ------------------------------------------------------------------ */
/* Lecteur vidéo (façade)                                              */
/* ------------------------------------------------------------------ */
.ftv-stage { position: relative; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: var(--shadow); isolation: isolate; }
.ftv-stage--img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ftv-stage figcaption { position: absolute; right: 10px; bottom: 10px; font-size: .72rem; background: rgba(0, 0, 0, .55); color: #fff; padding: 3px 8px; border-radius: 6px; }
.ftv-player { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover; overflow: hidden; }
.ftv-player__poster, .ftv-player__poster .ftv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ftv-player__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .55)); pointer-events: none; }
.ftv-player__btn {
	position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
	background: transparent; border: 0; color: #fff; z-index: 2;
}
.ftv-player__btn-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px rgba(0, 0, 0, .45); transition: transform .2s; }
.ftv-player__btn-ico .ftv-i { width: 30px; height: 30px; margin-left: 3px; }
.ftv-player__btn:hover .ftv-player__btn-ico { transform: scale(1.08); }
.ftv-player__btn:active .ftv-player__btn-ico { transform: scale(.94); }
.ftv-player__btn-txt { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-weight: 700; font-size: .9rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.ftv-player.is-playing .ftv-player__poster, .ftv-player.is-playing .ftv-player__btn { display: none; }
.ftv-player iframe, .ftv-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ftv-player__fallback { position: absolute; inset: auto 12px 12px; z-index: 3; color: #fff; text-decoration: underline; }
.ftv-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: linear-gradient(135deg, #0b3d1c, #052e14 60%, #0e5a2a); color: rgba(255, 255, 255, .35); aspect-ratio: 16 / 9; }
.ftv-ph .ftv-i { width: 42px; height: 42px; }
.ftv-ph--live { color: rgba(255, 255, 255, .5); }
.ftv-ph--live .ftv-i { width: 64px; height: 64px; }

.ftv-stage__offair { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; color: #fff; background: rgba(4, 14, 8, .78); backdrop-filter: blur(3px); }
.ftv-stage__offair p { max-width: 460px; font-size: 1.02rem; }
.ftv-stage__offair .ftv-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.ftv-stage.is-offair .ftv-player__btn { z-index: 5; align-items: flex-end; padding-bottom: 12px; }
.ftv-stage.is-offair .ftv-player__btn-ico { display: none; }
.ftv-stage.is-offair .ftv-player__btn-txt { position: static; background: rgba(255, 255, 255, .14); padding: 9px 16px; border-radius: 999px; }
.ftv-stage.is-offair.is-playing .ftv-stage__offair { display: none; }

/* ------------------------------------------------------------------ */
/* Cartes                                                              */
/* ------------------------------------------------------------------ */
.ftv-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ftv-card:hover { border-color: color-mix(in srgb, var(--cat, var(--accent)) 55%, var(--line)); box-shadow: var(--shadow); }
.ftv-card:active { transform: scale(.985); }
.ftv-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.ftv-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.ftv-card__media .ftv-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ftv-card:hover .ftv-card__media .ftv-img { transform: scale(1.05); }
.ftv-card__media .ftv-ph { position: absolute; inset: 0; }
.ftv-card__play { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .62); color: #fff; backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ftv-card__play .ftv-i { width: 17px; height: 17px; margin-left: 2px; }
.ftv-card__date { position: absolute; left: 10px; top: 10px; display: grid; justify-items: center; padding: 6px 9px 5px; border-radius: 10px; background: var(--gold); color: #1a1500; font: 700 .64rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .04em; }
.ftv-card__date b { font: 800 1.15rem/1 var(--f-display); }
.ftv-card__body { display: grid; gap: 7px; padding: 14px 14px 15px; }
.ftv-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.22; }
.ftv-card__excerpt { color: var(--muted); font-size: .93rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ftv-card__meta { font-size: .8rem; color: var(--muted); }
.ftv-card__title a { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.ftv-card--row, .ftv-card--mini { flex-direction: row; align-items: stretch; background: transparent; border-color: transparent; border-radius: var(--r-s); }
.ftv-card--row { border-bottom: 1px solid var(--line); border-radius: 0; }
.ftv-card--row:hover { box-shadow: none; }
.ftv-card--row .ftv-card__media, .ftv-card--mini .ftv-card__media { flex: none; width: 112px; aspect-ratio: 4 / 3; border-radius: var(--r-s); align-self: flex-start; margin: 12px 0; }
.ftv-card--row .ftv-card__body, .ftv-card--mini .ftv-card__body { padding: 12px 0 12px 14px; align-content: start; gap: 5px; }
.ftv-card--row .ftv-card__title { font-size: 1rem; }
.ftv-card--row .ftv-card__play { width: 26px; height: 26px; right: 5px; bottom: 5px; }
.ftv-card--row .ftv-card__play .ftv-i { width: 12px; height: 12px; }
.ftv-card--row .ftv-card__date { display: none; }
.ftv-card--row:last-child { border-bottom: 0; }

.ftv-card--hero { border: 0; border-radius: var(--r-l); min-height: 340px; justify-content: flex-end; background: #000; }
.ftv-card--hero .ftv-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.ftv-card--hero .ftv-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .86)); }
.ftv-card--hero .ftv-card__body { position: relative; z-index: 1; padding: 22px; color: #fff; }
.ftv-card--hero .ftv-card__title { font-size: clamp(1.5rem, 4.4vw, 2.4rem); color: #fff; }
.ftv-card--hero .ftv-card__excerpt, .ftv-card--hero .ftv-card__meta { color: rgba(255, 255, 255, .82); }
.ftv-card--hero .ftv-kicker { color: #fff; background: var(--cat, var(--accent)); padding: 5px 9px; border-radius: 6px; width: fit-content; color: #04140a; }
.ftv-card--hero .ftv-card__title a { -webkit-line-clamp: 5; }

.ftv-card--rail { height: 100%; }

/* ------------------------------------------------------------------ */
/* Sections, rails, grilles                                            */
/* ------------------------------------------------------------------ */
.ftv-sec { padding-block: 26px 6px; }
.ftv-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ftv-sec__title { display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 3.6vw, 1.7rem); font-weight: 800; }
.ftv-sec__title::before { content: ""; width: 5px; height: 1.1em; border-radius: 3px; background: var(--cat, var(--accent)); }
.ftv-sec__head[data-cat] .ftv-sec__title::before { background: var(--cat); }
.ftv-sec__ico { width: 1.15em; height: 1.15em; color: var(--cat, var(--accent)); }
.ftv-sec__more { display: inline-flex; align-items: center; font-weight: 700; font-size: .88rem; color: var(--accent-text); white-space: nowrap; }
.ftv-sec__more .ftv-i { width: 1.1em; height: 1.1em; }

.ftv-rail { position: relative; margin-inline: -16px; }
.ftv-rail__track { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 14px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.ftv-rail__track::-webkit-scrollbar { display: none; }
.ftv-rail__item { flex: none; width: 74vw; max-width: 320px; scroll-snap-align: start; }
.ftv-rail--grid .ftv-rail__item { width: 78vw; max-width: 360px; }
.ftv-rail__arrow { display: none; }
@media (min-width: 700px) { .ftv-rail { margin-inline: -24px; } .ftv-rail__track { padding-inline: 24px; scroll-padding-inline: 24px; } }
@media (min-width: 960px) {
	.ftv-rail { margin-inline: 0; }
	.ftv-rail__track { padding-inline: 0; scroll-snap-type: x proximity; }
	.ftv-rail__item { width: calc((100% - 42px) / 4); max-width: none; }
	.ftv-rail--grid .ftv-rail__item { width: calc((100% - 28px) / 3); max-width: none; }
	.ftv-rail__arrow { position: absolute; top: 36%; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, transform .15s; }
	.ftv-rail:hover .ftv-rail__arrow:not([disabled]) { opacity: 1; }
	.ftv-rail__arrow:active { transform: scale(.92); }
	.ftv-rail__arrow--prev { left: -18px; }
	.ftv-rail__arrow--next { right: -18px; }
	.ftv-rail__arrow--prev .ftv-i { transform: rotate(180deg); }
}

.ftv-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .ftv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ftv-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.ftv-topic__grid { display: grid; gap: 14px; }
.ftv-topic__list { display: grid; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding-inline: 14px; }
@media (min-width: 900px) { .ftv-topic__grid { grid-template-columns: 1.15fr 1fr; gap: 20px; } }

.ftv-stack { display: grid; }
.ftv-more { display: flex; justify-content: center; margin: 26px 0 10px; }
.ftv-pager ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0; }
.ftv-pager a, .ftv-pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.ftv-pager .current { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.ftv-pager[data-js] { display: none; }

/* ------------------------------------------------------------------ */
/* Accueil : à la une                                                  */
/* ------------------------------------------------------------------ */
.ftv-hero { display: grid; gap: 18px; padding-block: 16px 8px; }
.ftv-hero__main { min-width: 0; }
.ftv-hero__meta { display: grid; gap: 8px; padding: 16px 2px 0; }
.ftv-hero__title { font-size: clamp(1.45rem, 4.6vw, 2.3rem); font-weight: 800; }
.ftv-hero__title a:hover { color: var(--accent-text); }
.ftv-hero__text { color: var(--muted); max-width: 70ch; }
.ftv-hero__side { display: grid; gap: 16px; align-content: start; }
.ftv-hero .ftv-stage { margin-inline: -16px; border-radius: 0; }
@media (min-width: 700px) { .ftv-hero .ftv-stage { margin-inline: 0; border-radius: var(--r-l); } }
@media (min-width: 960px) {
	.ftv-hero { grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: 26px; padding-top: 24px; }
}

.ftv-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; }
.ftv-panel--air { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.ftv-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ftv-panel__title { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 800; }
.ftv-panel__title .ftv-i { color: var(--accent-text); }
.ftv-panel__text { color: var(--muted); font-size: .95rem; }
.ftv-panel__note { color: var(--muted); font-size: .78rem; margin-top: 12px; }
.ftv-panel .ftv-stack .ftv-card--row .ftv-card__media { margin: 10px 0; }

.ftv-onair { display: grid; gap: 10px; }
.ftv-onair__row { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; }
.ftv-onair__label { grid-row: span 2; font: 800 .7rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); align-self: start; padding-top: 4px; min-width: 76px; }
.ftv-onair__label--live { color: var(--live); }
.ftv-onair__title { font-family: var(--f-display); font-size: 1.1rem; }
.ftv-onair__when { color: var(--muted); font-size: .88rem; grid-column: 2; }

.ftv-topics { padding-block: 10px 0; }

/* Bandeau d'actualités */
.ftv-ticker { display: flex; align-items: stretch; margin-top: 12px; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); height: 42px; }
.ftv-ticker__label { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--live); color: #fff; font: 800 .72rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; flex: none; }
.ftv-ticker__label .ftv-dot { background: #fff; width: 7px; height: 7px; animation: ftv-pulse 1.4s ease-out infinite; }
.ftv-ticker__viewport { overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ftv-ticker__track { display: flex; gap: 40px; white-space: nowrap; padding-left: 20px; animation: ftv-marquee 60s linear infinite; will-change: transform; }
.ftv-ticker__track a { font-size: .92rem; font-weight: 600; }
.ftv-ticker__track a::before { content: "●"; color: var(--accent); margin-right: 10px; font-size: .6em; vertical-align: middle; }
.ftv-ticker:hover .ftv-ticker__track { animation-play-state: paused; }
@keyframes ftv-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ */
/* Page Direct                                                         */
/* ------------------------------------------------------------------ */
.ftv-direct { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 16px 10px; }
.ftv-direct .ftv-stage { margin-inline: -16px; border-radius: 0; }
@media (min-width: 700px) { .ftv-direct .ftv-stage { margin-inline: 0; border-radius: var(--r-l); } }
.ftv-direct__main { min-width: 0; display: grid; gap: 18px; align-content: start; }
.ftv-direct__info { display: grid; gap: 14px; min-width: 0; }
.ftv-direct__title { font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; }
.ftv-direct__desc { color: var(--muted); max-width: 70ch; }
.ftv-direct .ftv-stage.is-offair { box-shadow: var(--shadow); }
@media (min-width: 960px) { .ftv-direct { grid-template-columns: minmax(0, 1.9fr) minmax(320px, 1fr); gap: 28px; padding-top: 24px; } .ftv-direct__side { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; } }
@media (max-width: 959px) { .ftv-direct .ftv-stage--live { position: sticky; top: calc(var(--header-h) + var(--safe-t)); z-index: 20; } }

.ftv-sched__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.ftv-sched__tabs::-webkit-scrollbar { display: none; }
.ftv-sched__tab { flex: 1; min-width: 44px; padding: 9px 6px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-weight: 700; font-size: .85rem; }
.ftv-sched__tab.is-today { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.ftv-sched__tab.is-active { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.ftv-sched__list { display: grid; }
.ftv-sched__item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ftv-sched__item:last-child { border-bottom: 0; }
.ftv-sched__time { font: 800 1.05rem/1 var(--f-display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.ftv-sched__what { display: grid; gap: 2px; }
.ftv-sched__what span { color: var(--muted); font-size: .86rem; }
.ftv-sched__now { display: none; padding: 5px 9px; border-radius: 999px; background: var(--live); color: #fff; font: 800 .66rem/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; }
.ftv-sched__item.is-now .ftv-sched__now { display: inline-block; }
.ftv-sched__item.is-now { background: linear-gradient(90deg, color-mix(in srgb, var(--live) 12%, transparent), transparent); margin-inline: -8px; padding-inline: 8px; border-radius: 10px; }
.ftv-sched__empty { padding: 14px 0; color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Article                                                             */
/* ------------------------------------------------------------------ */
.ftv-article__top { padding-top: 16px; }
.ftv-article__top .ftv-stage { margin-inline: -16px; border-radius: 0; max-width: none; }
@media (min-width: 700px) { .ftv-article__top .ftv-stage { margin-inline: auto; border-radius: var(--r-l); max-width: 980px; } }
.ftv-article__grid { padding-block: 22px 8px; }
.ftv-article__main { max-width: 760px; margin-inline: auto; display: grid; gap: 18px; }
.ftv-article__head { display: grid; gap: 12px; }
.ftv-article__title { font-size: clamp(1.7rem, 6vw, 2.8rem); font-weight: 800; line-height: 1.1; }
.ftv-article__meta { color: var(--muted); font-size: .9rem; display: flex; gap: 8px; flex-wrap: wrap; }

.ftv-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ftv-share__label { font: 700 .74rem/1 var(--f-text); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.ftv-share__btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .88rem; transition: background .2s, transform .15s; }
.ftv-share__btn:hover { background: var(--surface-2); }
.ftv-share__btn:active { transform: scale(.95); }
.ftv-share__btn--wa { background: #25d366; border-color: transparent; color: #04200f; }
.ftv-share__btn--wa:hover { background: #2fe574; }
.ftv-share__btn .ftv-i { width: 1.1em; height: 1.1em; }
@media (max-width: 520px) { .ftv-share__btn span { display: none; } .ftv-share__btn--wa span, .ftv-share__btn--native span { display: inline; } }

.ftv-prose { font-size: 1.08rem; line-height: 1.75; overflow-wrap: anywhere; }
.ftv-prose > * + * { margin-top: 1.1em; }
.ftv-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.ftv-prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.ftv-prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ftv-prose img, .ftv-prose video { border-radius: var(--r-m); }
.ftv-prose figure { margin: 1.4em 0; }
.ftv-prose figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.ftv-prose blockquote { margin-inline: 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--accent); color: var(--muted); font-style: italic; }
.ftv-prose ul, .ftv-prose ol { padding-left: 1.3em; }
.ftv-prose ul { list-style: disc; }
.ftv-prose ol { list-style: decimal; }
.ftv-prose iframe { width: 100%; border: 0; border-radius: var(--r-m); aspect-ratio: 16 / 9; height: auto; }
.ftv-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.ftv-prose th, .ftv-prose td { border: 1px solid var(--line); padding: 8px 12px; }
.ftv-prose .wp-block-embed__wrapper { position: relative; }
.ftv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ftv-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.ftv-tags a:hover { color: var(--text); border-color: var(--accent); }

.ftv-comments { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.ftv-comments__list { display: grid; gap: 14px; margin: 16px 0; }
.ftv-comments .comment-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px; }
.ftv-comments input[type="text"], .ftv-comments input[type="email"], .ftv-comments input[type="url"], .ftv-comments textarea { width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; }
.ftv-comments .submit { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; }

/* ------------------------------------------------------------------ */
/* Archives, pages, 404                                                */
/* ------------------------------------------------------------------ */
.ftv-archive, .ftv-page, .ftv-404 { padding-block: 26px 20px; }
.ftv-archive__head { display: grid; gap: 10px; margin-bottom: 22px; }
.ftv-archive__title { font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 800; }
.ftv-archive__desc { color: var(--muted); max-width: 70ch; }
.ftv-archive__count { color: var(--muted); font-size: .9rem; }
.ftv-archive[data-cat] .ftv-archive__title { border-left: 6px solid var(--cat); padding-left: 14px; }
.ftv-grid > .ftv-card:first-child { grid-column: 1 / -1; }
.ftv-grid > .ftv-card:first-child .ftv-card__title { font-size: clamp(1.3rem, 3.6vw, 1.9rem); }
@media (min-width: 1000px) { .ftv-grid > .ftv-card:first-child { grid-column: span 2; } }
.ftv-empty { padding: 30px 0; color: var(--muted); }
.ftv-404 { display: grid; gap: 14px; justify-items: start; }
.ftv-page .ftv-prose { max-width: 800px; }

.ftv-widgets { display: block; margin-block: 14px; }
.ftv-widgets .ftv-widget + .ftv-widget { margin-top: 12px; }
.ftv-widget__title { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ftv-widgets img { margin-inline: auto; border-radius: var(--r-s); }
.ftv-partners { padding-block: 10px 24px; }
.ftv-partners .ftv-widget { display: grid; gap: 12px; }
.ftv-partners .gallery { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.ftv-partners .gallery-item { margin: 0; flex: none; width: auto !important; }
.ftv-partners img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.ftv-partners img:hover { filter: none; opacity: 1; }

/* ------------------------------------------------------------------ */
/* Pied de page                                                        */
/* ------------------------------------------------------------------ */
.ftv-footer { margin-top: 44px; background: var(--chrome); color: rgba(255, 255, 255, .86); border-top: 1px solid rgba(255, 255, 255, .08); }
.ftv-footer__grid { display: grid; gap: 28px; padding-block: 36px 24px; }
.ftv-footer__brand p { margin: 12px 0 14px; color: rgba(255, 255, 255, .7); max-width: 40ch; }
.ftv-footer__title { font: 800 .78rem/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.ftv-footer__list { display: grid; gap: 4px; }
.ftv-footer__list a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, .8); }
.ftv-footer__list a:hover { color: #fff; }
.ftv-footer__list .sub-menu { display: none; }
.ftv-footer__apps p { color: rgba(255, 255, 255, .7); margin-bottom: 12px; }
.ftv-apps { display: flex; flex-wrap: wrap; gap: 10px; }
.ftv-footer .ftv-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.ftv-footer .ftv-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.ftv-footer__legal { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 16px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.ftv-footer .ftv-widgets, .ftv-footer .ftv-widget__title { color: rgba(255, 255, 255, .8); }
.ftv-social { display: flex; gap: 8px; flex-wrap: wrap; }
.ftv-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .15s; }
.ftv-social a:hover { background: var(--accent); color: var(--on-accent); }
@media (min-width: 760px) { .ftv-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; } }
@media (max-width: 959px) { .ftv-footer { margin-top: 30px; } .ftv-footer__col:not(.ftv-footer__apps) { display: none; } .ftv-footer__grid { gap: 20px; } }

/* ------------------------------------------------------------------ */
/* Barre d'onglets mobile, feuille, bandeau, toast                     */
/* ------------------------------------------------------------------ */
.ftv-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr);
	height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
	background: color-mix(in srgb, var(--chrome) 94%, transparent); backdrop-filter: saturate(1.5) blur(16px);
	border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .62);
}
.ftv-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: transparent; border: 0; font: 700 .68rem/1 var(--f-text); letter-spacing: .01em; color: inherit; position: relative; min-width: 0; transition: color .2s, transform .15s; }
.ftv-tab .ftv-i { width: 24px; height: 24px; }
.ftv-tab:active { transform: scale(.92); }
.ftv-tab.is-active { color: #fff; }
.ftv-tab.is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent); }
.ftv-tab--live { color: #fff; }
.ftv-tab__orb { display: grid; place-items: center; width: 46px; height: 46px; margin-top: -20px; border-radius: 50%; background: #1b3a26; border: 3px solid var(--chrome); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); transition: background .2s; }
.ftv-tab--live[data-state="live"] .ftv-tab__orb { background: var(--live); animation: ftv-orb 1.8s ease-out infinite; }
.ftv-tab--live .ftv-tab__orb .ftv-i { width: 24px; height: 24px; }
.ftv-tab--live.is-active::before { display: none; }
@keyframes ftv-orb { 0% { box-shadow: 0 6px 18px rgba(0, 0, 0, .45), 0 0 0 0 rgba(239, 68, 68, .6); } 70%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, .45), 0 0 0 14px rgba(239, 68, 68, 0); } }
@media (min-width: 960px) {
	.ftv-tabbar { display: none; }
	body.ftv { padding-bottom: 0; }
}

.ftv-sheet { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-end; }
.ftv-sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(3px); animation: ftv-fade .2s; }
.ftv-sheet__panel { position: relative; width: 100%; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 24px 24px 0 0; padding: 8px 18px calc(24px + var(--safe-b)); animation: ftv-rise .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -10px 40px rgba(0, 0, 0, .4); }
.ftv-sheet__grab { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 6px auto 8px; }
.ftv-sheet__head { display: flex; align-items: center; justify-content: space-between; font: 800 1.2rem/1 var(--f-display); padding: 4px 0 10px; }
.ftv-sheet__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ftv-sheet__list > li > a { display: flex; align-items: center; min-height: 56px; padding: 12px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; }
.ftv-sheet__list > li > a:active { transform: scale(.97); }
.ftv-sheet__list .current-menu-item > a { border-color: var(--accent); }
.ftv-sheet__list .sub-menu { display: none; }
.ftv-sheet__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.ftv-sheet__row--apps .ftv-btn { flex: 1; }
.ftv-sheet__label { font-weight: 700; color: var(--muted); }
.ftv-seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.ftv-seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--muted); }
.ftv-seg button .ftv-i { width: 1.1em; height: 1.1em; }
.ftv-seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.ftv-social--sheet { margin-top: 18px; }
.ftv-social--sheet a { background: var(--bg-2); color: var(--text); border: 1px solid var(--line); }
@media (min-width: 960px) { .ftv-sheet { display: none !important; } }

.ftv-banner { position: fixed; z-index: 85; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 12px); display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); animation: ftv-rise .35s cubic-bezier(.2, .8, .2, 1); max-width: 520px; margin-inline: auto; }
.ftv-banner__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.ftv-banner__text { display: grid; flex: 1; min-width: 0; font-size: .92rem; line-height: 1.3; }
.ftv-banner__text span { color: var(--muted); font-size: .8rem; }
@media (min-width: 960px) { .ftv-banner { bottom: 20px; right: 20px; left: auto; margin: 0; } }

.ftv-toast { position: fixed; z-index: 200; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 18px); transform: translateX(-50%); max-width: min(92vw, 460px); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #101a14; color: #fff; border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); font-size: .92rem; animation: ftv-fade .2s; }
.ftv-toast button { background: transparent; border: 0; color: var(--accent); font-weight: 800; padding: 4px 6px; }
@media (min-width: 960px) { .ftv-toast { bottom: 24px; } }

.ftv-progress { position: fixed; z-index: 70; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .1s linear; pointer-events: none; }

/* ------------------------------------------------------------------ */
/* Mode application (PWA installée / application Android)             */
/* ------------------------------------------------------------------ */
html.is-app [data-ftv-install], html.is-app .ftv-banner { display: none !important; }
html.is-app body.ftv { overscroll-behavior-y: contain; user-select: none; -webkit-user-select: none; }
html.is-app .ftv-prose, html.is-app input, html.is-app textarea { user-select: text; -webkit-user-select: text; }
html.is-app .ftv-footer__apps { display: none; }
@media (max-width: 959px) {
	html.is-app .ftv-footer { margin-top: 20px; }
	html.is-app .ftv-footer__legal { padding-bottom: 8px; }
}

/* Transitions de page fluides (navigateurs compatibles) */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	::view-transition-old(root) { animation: 140ms ease-out both ftv-vt-out; }
	::view-transition-new(root) { animation: 220ms ease-out both ftv-vt-in; }
	.ftv-card, .ftv-chip { animation: ftv-in .45s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes ftv-vt-out { to { opacity: 0; } }
@keyframes ftv-vt-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes ftv-in { from { opacity: 0; transform: translateY(10px); } }

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

@media print {
	.ftv-header, .ftv-tabbar, .ftv-footer, .ftv-share, .ftv-sheet, .ftv-banner, .ftv-toast { display: none !important; }
	body.ftv { background: #fff; color: #000; padding: 0; }
}
