/* =========================================================
   FlexMovie Single Redesign v3 — light + dark
   Fixes: spacing, contrast, comments, prose, download headers
   ========================================================= */

body.fm-single-redesign {
	--fm-accent: #ff7830;
	--fm-accent-soft: rgba(255, 120, 48, .12);
	--fm-surface: #fff;
	--fm-surface-2: #f3f4f6;
	--fm-page: #f0f2f5;
	--fm-ink: #1a1d26;
	--fm-muted: #5f6775;
	--fm-border: #e5e7eb;
	--fm-radius: 14px;
	--fm-gap: 1.25rem;
	--fm-shadow: 0 2px 12px rgba(26, 29, 38, .06);
}

html[dark="true"] body.fm-single-redesign,
[dark="true"] body.fm-single-redesign {
	--fm-surface: #1c1d24;
	--fm-surface-2: #25262f;
	--fm-page: #12131a;
	--fm-ink: #eef0f4;
	--fm-muted: #9aa1b0;
	--fm-border: #2e303a;
	--fm-shadow: 0 4px 18px rgba(0, 0, 0, .35);
	--fm-accent-soft: rgba(255, 120, 48, .16);
}

/* ---------- Page chrome ---------- */
body.fm-single-redesign .postItems.bg-custom {
	background: transparent !important;
	box-shadow: none !important;
}

body.fm-single-redesign .post-hero-wrapper {
	border-radius: var(--fm-radius) var(--fm-radius) 0 0;
}

body.fm-single-redesign .postsFooter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: var(--fm-gap) !important;
	padding: 1rem 1.15rem;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow);
}

body.fm-single-redesign .flex-bottom-box {
	margin: 0;
	padding: 0;
	gap: .75rem;
}

body.fm-single-redesign .flex-bottom-box .fbb-item {
	color: var(--fm-muted);
}

body.fm-single-redesign .share-modal-btn {
	border-radius: 10px !important;
	border: 1px solid var(--fm-border) !important;
	background: var(--fm-surface-2) !important;
	color: var(--fm-ink) !important;
}

/* ---------- Section stack ---------- */
.fm-single-flow {
	display: flex;
	flex-direction: column;
	gap: var(--fm-gap);
	margin-top: var(--fm-gap);
	clear: both;
}

.fm-sec {
	scroll-margin-top: var(--fm-sticky-stack, 130px);
	margin: 0;
	padding: 0;
	float: none !important;
	width: 100% !important;
}

.fm-sec__card {
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	padding: 1.35rem 1.4rem 1.45rem;
	box-shadow: var(--fm-shadow);
	overflow: hidden;
}

.fm-sec__head {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin: 0 0 1.15rem;
	padding: 0 0 .95rem;
	border-bottom: 1px solid var(--fm-border);
}

.fm-sec__title {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
	padding: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--fm-ink);
}

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

.fm-sec__rule {
	flex: 1;
	height: 1px;
	background: transparent;
}

.fm-sec__toggle {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-align: right;
}

.fm-sec__chevron {
	transition: transform .2s ease;
	color: var(--fm-muted);
}

.fm-sec--tags:not(.is-collapsed) .fm-sec__chevron {
	transform: rotate(180deg);
}

.fm-sec__collapse[hidden] {
	display: none !important;
}

/* ---------- Site header sticky on single ---------- */
body.fm-single-redesign {
	--fm-header-h: 64px;
	--fm-snav-h: 56px;
	--fm-sticky-stack: calc(var(--fm-header-h) + var(--fm-snav-h) + 12px);
}

body.fm-single-redesign #header,
body.fm-single-redesign.fixed-header #header {
	position: sticky !important;
	top: 0;
	left: auto;
	right: auto;
	z-index: 200;
	background: #fff !important;
	background-image: none !important;
	box-shadow: 0 1px 0 var(--fm-border), 0 8px 24px rgba(26, 29, 38, .06) !important;
	transition: box-shadow .2s ease, background .2s ease;
}

html[dark="true"] body.fm-single-redesign #header,
[dark="true"] body.fm-single-redesign #header,
html[dark="true"] body.fm-single-redesign.fixed-header #header,
[dark="true"] body.fm-single-redesign.fixed-header #header {
	background: #1c1d24 !important;
	box-shadow: 0 1px 0 var(--fm-border), 0 8px 24px rgba(0, 0, 0, .35) !important;
}

body.fm-single-redesign.fixed-header #header #mainmenu > li > a,
body.fm-single-redesign.fixed-header .header-action-items .svg-icon svg {
	color: inherit;
}

body.fm-single-redesign.fixed-header #header #mainmenu > li > a {
	color: var(--fm-ink, #1a1d26);
}

html[dark="true"] body.fm-single-redesign.fixed-header #header #mainmenu > li > a,
[dark="true"] body.fm-single-redesign.fixed-header #header #mainmenu > li > a {
	color: var(--fm-ink, #eef0f4);
}

body.fm-single-redesign.fixed-header .header-action-items {
	border-color: var(--fm-border, #e5e7eb);
	background: var(--fm-surface-2, #f3f4f6);
	backdrop-filter: none;
}

html[dark="true"] body.fm-single-redesign.fixed-header .header-action-items,
[dark="true"] body.fm-single-redesign.fixed-header .header-action-items {
	background: var(--fm-surface-2, #25262f);
	border-color: var(--fm-border, #2e303a);
}

body.admin-bar.fm-single-redesign #header,
body.admin-bar.fm-single-redesign.fixed-header #header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar.fm-single-redesign #header,
	body.admin-bar.fm-single-redesign.fixed-header #header {
		top: 46px;
	}
}

/* ---------- Sticky section nav ---------- */
.fm-sticky-nav {
	position: relative;
	z-index: 90;
	margin: 0 0 var(--fm-gap, 1.25rem);
}

.fm-sticky-nav-spacer {
	height: 0;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.fm-sticky-nav.is-pinned {
	position: fixed;
	top: var(--fm-header-h, 64px);
	left: 0;
	right: 0;
	z-index: 190;
	margin: 0;
	padding: .55rem 12px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--fm-border);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

html[dark="true"] .fm-sticky-nav.is-pinned,
[dark="true"] .fm-sticky-nav.is-pinned {
	background: rgba(18, 19, 26, .94);
}

.fm-sticky-nav.is-pinned .fm-sticky-nav__inner {
	max-width: 980px;
	margin: 0 auto;
}

.fm-sticky-nav__inner {
	display: flex;
	gap: .35rem;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	padding: .4rem;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	border-radius: 999px;
	box-shadow: var(--fm-shadow);
}

.fm-sticky-nav__inner::-webkit-scrollbar {
	display: none;
}

.fm-snav-item {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	flex: 0 0 auto;
	padding: .55rem .9rem;
	border-radius: 999px;
	color: var(--fm-muted);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}

.fm-snav-item .svg-icon,
.fm-snav-item svg {
	width: 15px;
	height: 15px;
}

.fm-snav-item:hover {
	color: var(--fm-accent);
	background: var(--fm-accent-soft);
}

.fm-snav-item.is-active {
	color: #fff !important;
	background: var(--fm-accent);
	box-shadow: 0 4px 12px rgba(255, 120, 48, .35);
}

.fm-snav-count {
	min-width: 1.15rem;
	padding: 0 .3rem;
	border-radius: 999px;
	font-size: 11px;
	background: rgba(0, 0, 0, .08);
	text-align: center;
}

html[dark="true"] .fm-snav-count,
[dark="true"] .fm-snav-count {
	background: rgba(255, 255, 255, .12);
}

.fm-snav-item.is-active .fm-snav-count {
	background: rgba(255, 255, 255, .25);
	color: #fff;
}

/* ---------- Meta chips ---------- */
.fm-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
	gap: .85rem;
}

.fm-meta-chip {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	min-height: 72px;
	padding: .9rem 1rem;
	background: var(--fm-surface-2);
	border: 1px solid var(--fm-border);
	border-radius: 12px;
}

.fm-meta-chip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--fm-accent-soft);
	color: var(--fm-accent);
	flex-shrink: 0;
}

.fm-meta-chip__label {
	display: block;
	margin-bottom: .2rem;
	font-size: 11px;
	font-weight: 600;
	color: var(--fm-muted);
}

.fm-meta-chip__value {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--fm-ink);
	word-break: break-word;
}

.fm-meta-chip__value a {
	color: var(--fm-accent) !important;
}

.fm-sec--meta .flex-single-info {
	display: none !important;
}

/* ---------- Prose (content) ---------- */
.fm-sec--content .fm-prose,
.fm-sec--content .wp-content.fm-prose {
	max-width: none;
	color: var(--fm-ink);
	font-size: 15px;
	line-height: 2.05;
}

.fm-prose p {
	margin: 0 0 1.15em;
	color: var(--fm-ink);
	opacity: .92;
	text-align: justify;
}

.fm-prose h2,
.fm-prose h3,
.fm-prose h4 {
	margin: 1.6em 0 .65em;
	padding: 0;
	color: var(--fm-ink);
	font-weight: 800;
	line-height: 1.5;
	border: 0;
	background: none;
}

.fm-prose h2::before,
.fm-prose h3::before,
.fm-prose h4::before {
	display: none !important;
	content: none !important;
}

.fm-prose h3 {
	font-size: 1.12rem;
	padding-bottom: .4rem;
	border-bottom: 2px solid var(--fm-accent);
	display: inline-block;
}

.fm-prose img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 1.35rem auto;
	border-radius: 12px;
}

.fm-prose ul,
.fm-prose ol {
	margin: 0 0 1.2em;
	padding: 0 1.25rem 0 0;
	color: var(--fm-ink);
}

.fm-prose li {
	margin: 0 0 .55em;
	line-height: 1.9;
}

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

.fm-note {
	margin-top: 1.25rem;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	background: var(--fm-surface-2);
	border: 1px solid var(--fm-border);
}

/* ---------- Download box — series redesign (light + dark) ---------- */
.fm-sec--downloads .download_box {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.fm-sec--downloads .fm-dl-series {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}

.fm-sec--downloads .fm-dl-toolbar {
	gap: .75rem;
	margin-bottom: .15rem;
}

.fm-sec--downloads .links-body.fm-dl-group,
.fm-sec--downloads .fm-dl-group {
	float: none !important;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.fm-sec--downloads .dl-season-links,
.fm-sec--downloads .fm-season-card {
	margin: 0;
	border: 1px solid var(--fm-border);
	border-radius: 16px;
	overflow: hidden;
	background: var(--fm-surface);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, var(--fm-shadow);
}

.fm-sec--downloads .fm-season-head,
.fm-sec--downloads .dl-title-open.fm-season-head,
.fm-sec--downloads .fm-dl-series .dl-title-open {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	padding: 1rem 1.1rem !important;
	margin: 0 !important;
	cursor: pointer;
	border: 0 !important;
	border-radius: 0 !important;
	border-bottom: 1px solid var(--fm-border) !important;
	background:
		linear-gradient(135deg, rgba(255, 120, 48, .14) 0%, transparent 42%),
		linear-gradient(180deg, var(--fm-surface-2) 0%, var(--fm-surface) 100%) !important;
	color: var(--fm-ink) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	transition: filter .2s ease;
}

.fm-sec--downloads .fm-dl-series .dl-title-open:hover {
	filter: brightness(1.03);
}

html[dark="true"] .fm-sec--downloads .fm-dl-series .dl-title-open,
[dark="true"] .fm-sec--downloads .fm-dl-series .dl-title-open {
	background:
		linear-gradient(135deg, rgba(255, 120, 48, .18) 0%, transparent 40%),
		linear-gradient(180deg, #2a2c36 0%, #22242d 100%) !important;
}

.fm-sec--downloads .fm-season-card .dl-title-open ul {
	margin: 0;
	padding: 0;
	align-items: center;
	gap: .45rem .7rem;
	flex: 1;
}

.fm-sec--downloads .fm-season-card .dl-title-open ul li {
	margin: 0 !important;
	color: var(--fm-muted) !important;
	font-weight: 500 !important;
	font-size: 12.5px !important;
	line-height: 1.4;
}

.fm-sec--downloads .fm-season-name {
	color: var(--fm-ink) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
}

.fm-sec--downloads .fm-season-name span,
.fm-sec--downloads .fm-season-meta span,
.fm-sec--downloads .fm-season-card .dl-title-open ul li span {
	color: var(--fm-accent) !important;
	font-weight: 800 !important;
}

.fm-sec--downloads .fm-season-ico .svg-icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: var(--fm-accent-soft);
	color: var(--fm-accent) !important;
}

.fm-sec--downloads .dl-btn-type,
.fm-sec--downloads .dl-title-open .dl-btn-type {
	background: linear-gradient(165deg, #34d399, #10b981) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 5px 12px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 12px -4px rgba(16, 185, 129, .55);
}

.fm-sec--downloads .dl-btn-type.-type-hardsub {
	background: linear-gradient(165deg, #fb7185, #e11d48) !important;
	box-shadow: 0 4px 12px -4px rgba(225, 29, 72, .5);
}

.fm-sec--downloads .fm-season-head > .svg-icon,
.fm-sec--downloads .fm-dl-series .dl-title-open > .svg-icon {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: var(--fm-surface) !important;
	border: 1px solid var(--fm-border);
	color: var(--fm-muted) !important;
	transition: transform .2s ease, color .2s ease, border-color .2s ease;
}

.fm-sec--downloads .fm-season-head[aria-expanded="false"] > .svg-icon,
.fm-sec--downloads .fm-season-head.collapsed > .svg-icon {
	transform: rotate(180deg);
}

.fm-sec--downloads .dl-body {
	background: var(--fm-surface) !important;
}

.fm-sec--downloads .dl-body.collapse.show {
	display: block;
}

.fm-sec--downloads .fm-epi-list,
.fm-sec--downloads .fm-dl-series .dl-inner {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: .85rem;
}

.fm-sec--downloads .fm-epi-row,
.fm-sec--downloads .fm-dl-series .dl-items {
	padding: .7rem .9rem;
	margin: 0;
	border: 1px solid var(--fm-border);
	border-radius: 12px;
	background: var(--fm-surface-2);
	gap: .75rem;
	flex-wrap: nowrap;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.fm-sec--downloads .fm-epi-row:hover {
	border-color: rgba(255, 120, 48, .35);
	background: var(--fm-surface);
	box-shadow: 0 6px 18px -10px rgba(255, 120, 48, .28);
}

.fm-sec--downloads .fm-epi-row:last-child {
	border-bottom: 1px solid var(--fm-border);
}

.fm-sec--downloads .fm-epi-info,
.fm-sec--downloads .fm-dl-series .download-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: .15rem;
	min-width: 0;
	flex: 1 1 auto;
}

.fm-sec--downloads .fm-epi-title {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: .2rem 0;
	color: var(--fm-ink) !important;
	font-size: .98rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.fm-sec--downloads .fm-epi-note,
.fm-sec--downloads .fm-epi-size {
	color: var(--fm-muted);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.fm-sec--downloads .download-info,
.fm-sec--downloads .download-info span,
.fm-sec--downloads .download-info li {
	color: var(--fm-ink) !important;
	font-weight: 600;
}

.fm-sec--downloads .fm-epi-actions,
.fm-sec--downloads .download-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
}

.fm-sec--downloads .fm-dl-series .dl-link-item,
.fm-sec--downloads a.dl-link-item {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	border-radius: 10px !important;
	padding: .52rem .9rem !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border: 0 !important;
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.fm-sec--downloads .fm-dl-series .dl-link-item:hover,
.fm-sec--downloads a.dl-link-item:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
}

.fm-sec--downloads .download-link-btn,
.fm-sec--downloads a.dl-link-item.download-link-btn {
	background: linear-gradient(165deg, #ff9348, #e85f18) !important;
	color: #fff !important;
	box-shadow: 0 8px 18px -8px rgba(255, 120, 48, .55);
}

.fm-sec--downloads a.dl-link-item.play-online {
	background: linear-gradient(165deg, #60a5fa, #2563eb) !important;
	color: #fff !important;
	box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .45);
}

.fm-sec--downloads a.dl-link-item.subtitle-link {
	background: var(--fm-surface) !important;
	color: var(--fm-ink) !important;
	border: 1px solid var(--fm-border) !important;
	box-shadow: none;
}

.fm-sec--downloads .dl-legal-links a.dl-link-item {
	background: var(--fm-surface) !important;
	color: var(--fm-ink) !important;
	border: 1px solid var(--fm-border) !important;
}

.fm-sec--downloads .dl-legal-links a.dl-1080,
.fm-sec--downloads .dl-legal-links a.dl-full-hd {
	background: linear-gradient(165deg, #ff9348, #e85f18) !important;
	color: #fff !important;
	border: 0 !important;
}

.fm-sec--downloads .dl-box-alert {
	margin-bottom: .85rem;
	border-radius: 12px;
}

.fm-sec--downloads .dl-box-alert.--notif {
	background: var(--fm-accent-soft);
	border-color: transparent;
	color: var(--fm-ink);
}

/* Movies download box (non-series) keep solid headers */
.fm-sec--downloads .download_box:not(.fm-dl-series) .links-body,
.fm-sec--downloads .download_box:not(.fm-dl-series) .dl-season-links {
	margin: 0 0 .75rem;
	border: 1px solid var(--fm-border);
	border-radius: 14px;
	overflow: hidden;
}

.fm-sec--downloads .download_box:not(.fm-dl-series) .dl-title-open {
	display: block !important;
	padding: 14px 48px 14px 16px !important;
	margin: 0 !important;
	background: linear-gradient(45deg, #485460, #363b41) !important;
	color: #fff !important;
	border: 0 !important;
}

.fm-sec--downloads .download_box:not(.fm-dl-series) .dl-items {
	padding: .85rem 1rem;
	border-bottom: 1px solid var(--fm-border);
}

.fm-sec--downloads .download_box:not(.fm-dl-series) .dl-items:last-child {
	border-bottom: 0;
}

/* ---------- Cast — readable names (works without photos) ---------- */
.fm-sec--cast .cast-wrapper,
.fm-sec--cast .fm-cast-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: .75rem;
	margin: 0;
	float: none !important;
	width: 100% !important;
}

.fm-sec--cast .cast-item,
.fm-sec--cast .fm-cast-card {
	display: flex !important;
	flex-direction: column;
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	border: 1px solid var(--fm-border) !important;
	border-radius: 14px !important;
	background: var(--fm-surface-2) !important;
	color: var(--fm-ink) !important;
	overflow: hidden;
	text-decoration: none !important;
	text-align: center;
	transform: none !important;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fm-sec--cast .fm-cast-card:hover {
	border-color: rgba(255, 120, 48, .4) !important;
	box-shadow: 0 10px 22px -14px rgba(255, 120, 48, .45);
	transform: translateY(-2px) !important;
	color: var(--fm-ink) !important;
}

.fm-sec--cast .fm-cast-card__media,
.fm-sec--cast .cast-item figure {
	position: relative !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 3 / 4;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: linear-gradient(160deg, var(--fm-accent-soft), var(--fm-surface));
}

.fm-sec--cast .fm-cast-card__media img,
.fm-sec--cast .cast-item img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	max-width: 100% !important;
	object-fit: cover;
	object-position: center top;
	border-radius: 0 !important;
	margin: 0 !important;
}

.fm-sec--cast .fm-cast-card__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64%;
	aspect-ratio: 1;
	max-width: 72px;
	border-radius: 50%;
	background: linear-gradient(165deg, #ff9348, #e85f18);
	color: #fff;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -.02em;
	box-shadow: 0 8px 18px -8px rgba(255, 120, 48, .55);
	line-height: 1;
}

.fm-sec--cast .fm-cast-card__meta,
.fm-sec--cast .cast-item span {
	position: static !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: .3rem;
	width: 100%;
	min-height: 3.6rem;
	margin: 0 !important;
	padding: .65rem .45rem .7rem !important;
	background: var(--fm-surface) !important;
	background-image: none !important;
	border-top: 1px solid var(--fm-border);
	color: var(--fm-ink) !important;
	text-align: center;
}

.fm-sec--cast .fm-cast-card__name,
.fm-sec--cast .cast-item .fm-cast-card__name,
.fm-sec--cast .cast-item span {
	display: block;
	width: 100%;
	color: var(--fm-ink) !important;
	font-size: 12.5px !important;
	font-weight: 800 !important;
	line-height: 1.45 !important;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.fm-sec--cast .fm-cast-card__role,
.fm-sec--cast .cast-item small,
.fm-sec--cast .cast-item .fm-cast-card__role {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: .18rem .55rem !important;
	border-radius: 999px;
	font-size: 10.5px !important;
	font-weight: 700 !important;
	line-height: 1.3;
	white-space: nowrap;
}

.fm-sec--cast .is-actor .fm-cast-card__role,
.fm-sec--cast .item-cast-actors .fm-cast-card__role,
.fm-sec--cast .item-cast-actors small {
	background: rgba(16, 185, 129, .14);
	color: #059669 !important;
}

.fm-sec--cast .is-director .fm-cast-card__role,
.fm-sec--cast .item-cast-director .fm-cast-card__role,
.fm-sec--cast .item-cast-director small {
	background: var(--fm-accent-soft);
	color: var(--fm-accent) !important;
}

html[dark="true"] .fm-sec--cast .is-actor .fm-cast-card__role,
[dark="true"] .fm-sec--cast .is-actor .fm-cast-card__role,
html[dark="true"] .fm-sec--cast .item-cast-actors small,
[dark="true"] .fm-sec--cast .item-cast-actors small {
	background: rgba(52, 211, 153, .16);
	color: #34d399 !important;
}

.fm-sec--cast .fm-cast-more,
.fm-sec--cast #show_more_cast {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	min-height: 100%;
	margin: 0 !important;
	padding: 1rem .5rem !important;
	border: 1px dashed var(--fm-border) !important;
	border-radius: 14px !important;
	background: var(--fm-surface-2) !important;
	color: var(--fm-ink) !important;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease;
}

.fm-sec--cast .fm-cast-more:hover,
.fm-sec--cast #show_more_cast:hover {
	border-color: var(--fm-accent) !important;
	color: var(--fm-accent) !important;
}

.fm-sec--cast .fm-cast-more__plus,
.fm-sec--cast #show_more_cast .icon-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--fm-surface);
	border: 1px solid var(--fm-border);
	font-size: 1.35rem;
	font-style: normal;
	line-height: 1;
	font-weight: 700;
}

/* ---------- Similar — 8-card professional grid ---------- */
.fm-sec--similar .fm-similar-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem 1rem;
	margin: 0;
	width: 100%;
}

.fm-sec--similar .fm-sim-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: var(--fm-surface-2);
	border: 1px solid var(--fm-border);
	text-decoration: none !important;
	color: inherit;
	box-shadow: 0 2px 10px rgba(26, 29, 38, .05);
	transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease, border-color .2s ease;
}

.fm-sec--similar .fm-sim-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 120, 48, .4);
	box-shadow: 0 14px 28px -12px rgba(255, 120, 48, .35);
	color: inherit;
}

.fm-sec--similar .fm-sim-card__poster {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--fm-surface);
}

.fm-sec--similar .fm-sim-card__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 0 !important;
	transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.fm-sec--similar .fm-sim-card:hover .fm-sim-card__poster img {
	transform: scale(1.06);
}

.fm-sec--similar .fm-sim-card__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55) 100%);
	opacity: .85;
	pointer-events: none;
}

.fm-sec--similar .fm-sim-card__score {
	position: absolute;
	top: .65rem;
	left: .65rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	height: 2.35rem;
	padding: 0 .35rem;
	border-radius: 999px;
	background: rgba(18, 19, 26, .82);
	border: 1.5px solid #21d07a;
	color: #fff;
	font-size: .8rem;
	font-weight: 800;
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.fm-sec--similar .fm-sim-card__flags {
	position: absolute;
	top: .65rem;
	right: .65rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: .3rem;
}

.fm-sec--similar .fm-sim-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: rgba(18, 19, 26, .75);
	backdrop-filter: blur(6px);
	color: #fff;
}

.fm-sec--similar .fm-sim-flag.is-dub {
	background: rgba(16, 185, 129, .9);
}

.fm-sec--similar .fm-sim-flag.is-sub {
	background: rgba(245, 158, 11, .92);
	color: #1a1d26;
}

.fm-sec--similar .fm-sim-card__body {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: .85rem .8rem .95rem;
	background: var(--fm-surface);
	border-top: 1px solid var(--fm-border);
	min-height: 4.6rem;
}

.fm-sec--similar .fm-sim-card__title {
	margin: 0;
	padding: 0;
	color: var(--fm-ink);
	font-size: .92rem;
	font-weight: 800;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: right;
}

.fm-sec--similar .fm-sim-card:hover .fm-sim-card__title {
	color: var(--fm-accent);
}

.fm-sec--similar .fm-sim-card__meta {
	display: inline-flex;
	align-self: flex-start;
	padding: .15rem .55rem;
	border-radius: 999px;
	background: var(--fm-surface-2);
	border: 1px solid var(--fm-border);
	color: var(--fm-muted);
	font-size: 11.5px;
	font-weight: 700;
}

/* Legacy carousel leftover (if any) */
.fm-sec--similar .related-post,
.fm-sec--similar .relatedSlider {
	display: none !important;
}

@media (max-width: 991px) {
	.fm-sec--similar .fm-similar-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: .85rem;
	}
}

@media (max-width: 767px) {
	.fm-sec--similar .fm-similar-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .75rem;
	}

	.fm-sec--similar .fm-sim-card__title {
		font-size: .86rem;
	}

	.fm-sec--similar .fm-sim-card__body {
		min-height: 4.2rem;
		padding: .7rem .65rem .8rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fm-sec--similar .fm-sim-card,
	.fm-sec--similar .fm-sim-card__poster img {
		transition: none !important;
	}

	.fm-sec--similar .fm-sim-card:hover {
		transform: none;
	}
}

/* ---------- Tags ---------- */
.fm-tags-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	padding-top: 1rem;
}

.fm-tags-wrap a {
	display: inline-flex;
	padding: .4rem .85rem;
	border-radius: 999px;
	background: var(--fm-surface-2);
	border: 1px solid var(--fm-border);
	color: var(--fm-muted);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none !important;
}

.fm-tags-wrap a:hover {
	color: var(--fm-accent);
	border-color: var(--fm-accent);
}

/* ---------- Comments redesign (light + dark) ---------- */
.fm-sec--comments .fm-sec__card {
	padding: 1.35rem 1.4rem 1.55rem;
}

.fm-sec--comments .comments {
	margin: 0;
	padding: 0;
	float: none !important;
	width: 100% !important;
	background: transparent !important;
}

.fm-sec--comments .comments .contentBox {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	float: none !important;
	width: 100% !important;
}

.fm-sec--comments .fm-comments {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* Composer */
.fm-sec--comments .fm-composer,
.fm-sec--comments .flexMovie-comment-form {
	margin: 0;
	padding: 0;
}

.fm-sec--comments .comment-respond,
.fm-sec--comments #respond {
	margin: 0;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
}

.fm-sec--comments .fm-composer-head {
	margin: 0 0 1rem;
}

.fm-sec--comments .comment-title-reply,
.fm-sec--comments #reply-title {
	margin: 0 0 .35rem !important;
	padding: 0 !important;
	font-size: 1.05rem !important;
	font-weight: 800 !important;
	color: var(--fm-ink) !important;
	border: 0 !important;
	background: none !important;
}

.fm-sec--comments .fm-composer-hint {
	margin: 0;
	color: var(--fm-muted);
	font-size: 13px;
	line-height: 1.6;
}

.fm-sec--comments .fm-composer-form,
.fm-sec--comments .comment-respond form {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	width: 100%;
	padding: 1.1rem 1.15rem 1.2rem;
	border: 1px solid var(--fm-border);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(255, 120, 48, .08) 0%, transparent 38%),
		var(--fm-surface-2);
	box-shadow: var(--fm-shadow);
}

.fm-sec--comments .fm-composer-avatar,
.fm-sec--comments .comment-respond form > img,
.fm-sec--comments .fm-composer-form > img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin: .15rem 0 0 !important;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--fm-border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.fm-sec--comments .fm-composer-avatar img,
.fm-sec--comments .comment-respond form img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 !important;
}

.fm-sec--comments .fm-composer-body,
.fm-sec--comments .comment-form-content {
	flex: 1;
	min-width: 0;
	width: 100%;
}

.fm-sec--comments .fm-composer-label {
	display: block;
	margin: 0 0 .45rem;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--fm-ink);
}

.fm-sec--comments .fm-composer-editor,
.fm-sec--comments .comment-form-textarea {
	display: flex;
	flex-direction: column;
	position: relative;
	margin: 0 0 .85rem !important;
	border: 2px solid var(--fm-border) !important;
	border-radius: 14px !important;
	overflow: hidden;
	background: var(--fm-surface) !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
	transition: border-color .18s ease, box-shadow .18s ease;
}

.fm-sec--comments .fm-composer-editor:focus-within,
.fm-sec--comments .comment-form-textarea:focus-within {
	border-color: var(--fm-accent) !important;
	box-shadow:
		0 0 0 4px var(--fm-accent-soft),
		inset 0 1px 2px rgba(0, 0, 0, .03);
}

.fm-sec--comments .comment-form-textarea textarea,
.fm-sec--comments #comment {
	width: 100% !important;
	min-height: 118px !important;
	margin: 0 !important;
	padding: 1rem 1.1rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--fm-ink) !important;
	font-size: 14.5px !important;
	line-height: 1.85 !important;
	resize: vertical;
	box-shadow: none !important;
}

.fm-sec--comments .comment-form-textarea textarea::placeholder {
	color: var(--fm-muted) !important;
	opacity: .85;
	font-size: 14px !important;
}

.fm-sec--comments .comment-form-textarea textarea:focus {
	outline: none !important;
}

.fm-sec--comments .fm-composer-tools,
.fm-sec--comments .comment-form-textarea ul {
	display: flex;
	align-items: center;
	gap: .35rem;
	margin: 0 !important;
	padding: .55rem .75rem !important;
	list-style: none;
	background: var(--fm-surface-2) !important;
	border-top: 1px solid var(--fm-border) !important;
}

.fm-sec--comments .comment-form-textarea ul li {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0 !important;
	border-radius: 8px;
	color: var(--fm-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}

.fm-sec--comments .comment-form-textarea ul li:hover {
	background: var(--fm-accent-soft);
	color: var(--fm-accent);
}

.fm-sec--comments .fm-composer-count,
.fm-sec--comments #textcharcount {
	width: auto !important;
	height: auto !important;
	margin-right: auto !important;
	padding: 0 .35rem;
	color: var(--fm-muted) !important;
	font-size: 12px;
	font-weight: 600;
	cursor: default;
}

.fm-sec--comments .fm-composer-count:hover,
.fm-sec--comments #textcharcount:hover {
	background: transparent !important;
	color: var(--fm-muted) !important;
}

.fm-sec--comments .fm-field-label {
	display: block;
	margin: 0 0 .35rem;
	font-size: 12px;
	font-weight: 700;
	color: var(--fm-muted);
}

.fm-sec--comments .fm-composer-meta,
.fm-sec--comments .comment-ghost-inputs {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: .65rem;
	margin-top: .15rem !important;
}

.fm-sec--comments .comment-form-inputs {
	flex: 1 1 160px;
	min-width: 0;
	margin: 0 !important;
	float: none !important;
	width: auto !important;
}

.fm-sec--comments .comment-respond input[type="text"],
.fm-sec--comments .comment-respond input[type="email"],
.fm-sec--comments .comment-form-inputs input {
	width: 100% !important;
	height: 44px !important;
	padding: 0 1rem !important;
	border: 1.5px solid var(--fm-border) !important;
	border-radius: 12px !important;
	background: var(--fm-surface) !important;
	color: var(--fm-ink) !important;
	font-size: 13.5px !important;
	outline: none !important;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.fm-sec--comments .comment-form-inputs input:focus {
	border-color: var(--fm-accent) !important;
	box-shadow: 0 0 0 3px var(--fm-accent-soft);
}

.fm-sec--comments .comment-form-inputs input::placeholder {
	color: var(--fm-muted) !important;
	opacity: .8;
}

.fm-sec--comments .fm-composer-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .55rem;
	margin-top: .35rem;
}

.fm-sec--comments .fm-composer-submit,
.fm-sec--comments .comment-respond form .comment-form-content button[type="submit"],
.fm-sec--comments #submit {
	min-width: 8.5rem;
	height: 44px;
	margin: 0 !important;
	padding: 0 1.25rem !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: linear-gradient(165deg, #ff9348, #e85f18) !important;
	color: #fff !important;
	font-size: 13.5px !important;
	font-weight: 800 !important;
	box-shadow: 0 8px 18px -8px rgba(255, 120, 48, .55);
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}

.fm-sec--comments .fm-composer-submit:hover,
.fm-sec--comments #submit:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
	opacity: 1 !important;
}

.fm-sec--comments #cancel-comment-reply-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: auto;
	height: 44px;
	margin: 0 !important;
	padding: 0 1rem !important;
	border: 1.5px solid var(--fm-border) !important;
	border-radius: 12px !important;
	background: var(--fm-surface) !important;
	color: var(--fm-ink) !important;
	font-weight: 600 !important;
}

.fm-sec--comments .fm-composer-locked,
.fm-sec--comments .commentClosed {
	padding: 1.5rem 1rem;
	border: 1px dashed var(--fm-border);
	border-radius: 14px;
	background: var(--fm-surface-2);
	color: var(--fm-muted);
	text-align: center;
}

.fm-sec--comments .commentClosed a {
	display: inline-flex;
	margin-top: .75rem;
	padding: .55rem 1.2rem;
	border-radius: 10px;
	background: var(--fm-accent);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

/* Feed */
.fm-sec--comments .fm-comments-feed {
	margin: 0;
	padding-top: .25rem;
	border-top: 1px solid var(--fm-border);
}

.fm-sec--comments .comment_list,
.fm-sec--comments ol.comment-list,
.fm-sec--comments ul.comment_list {
	float: none !important;
	width: 100% !important;
	margin: 1rem 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.fm-sec--comments .comment_list > li,
.fm-sec--comments .comment_list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fm-sec--comments .comment_list .children {
	margin: .65rem 0 0 0;
	padding: 0 1rem 0 0;
	border-right: 2px solid var(--fm-border);
	display: flex;
	flex-direction: column;
	gap: .65rem;
}

.fm-sec--comments .comment_box {
	margin: 0 !important;
	padding: 1rem 1.05rem 0.95rem !important;
	border: 1px solid var(--fm-border) !important;
	border-radius: 14px !important;
	background: var(--fm-surface-2) !important;
	box-shadow: none;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.fm-sec--comments .comment_box:hover {
	border-color: rgba(255, 120, 48, .28) !important;
	box-shadow: 0 8px 20px -14px rgba(255, 120, 48, .35);
}

.fm-sec--comments .comment_list .children .comment_box {
	background: var(--fm-surface) !important;
}

.fm-sec--comments .comment_list .children .comment_box::before {
	display: none !important;
}

.fm-sec--comments .comment_box .header {
	display: flex;
	align-items: center;
	gap: .7rem;
}

.fm-sec--comments .comment_box .avatar {
	width: 42px !important;
	height: 42px !important;
	border-radius: 50% !important;
	border: 2px solid var(--fm-border);
	object-fit: cover;
}

.fm-sec--comments .author-box {
	margin: 0 !important;
}

.fm-sec--comments .author-box .author-name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	color: var(--fm-ink);
	font-weight: 800;
	font-size: 14px;
}

.fm-sec--comments .author-box .author-role {
	margin: 0 !important;
	padding: 2px 9px !important;
	border-radius: 999px !important;
	background: var(--fm-surface) !important;
	border: 1px solid var(--fm-border);
	color: var(--fm-muted) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
}

.fm-sec--comments .comment_box.verified_account .author-role {
	background: var(--fm-accent-soft) !important;
	border-color: transparent;
	color: var(--fm-accent) !important;
}

.fm-sec--comments .author-box .comment-date {
	margin-top: .15rem;
	color: var(--fm-muted) !important;
	font-size: 12px !important;
}

.fm-sec--comments .comment_box .content {
	margin-top: .85rem !important;
	padding: 0 !important;
	color: var(--fm-ink);
	font-size: 14px;
	line-height: 1.9;
}

.fm-sec--comments .comment_box .content p {
	margin: 0 0 .5em;
	color: var(--fm-ink) !important;
}

.fm-sec--comments .comment_box .content blockquote {
	background: var(--fm-surface) !important;
	color: var(--fm-ink) !important;
	border-right: 3px solid var(--fm-accent) !important;
	border-radius: 10px;
	padding: .75rem 1rem !important;
}

.fm-sec--comments .comment_box .footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .65rem;
	margin-top: .85rem;
	padding-top: .75rem;
	border-top: 1px solid var(--fm-border);
}

.fm-sec--comments .comment-reply-link {
	display: inline-flex !important;
	align-items: center;
	gap: .3rem;
	padding: .4rem .9rem !important;
	border: 1.5px solid var(--fm-border) !important;
	border-radius: 999px !important;
	background: var(--fm-surface) !important;
	color: var(--fm-ink) !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: border-color .15s ease, color .15s ease;
}

.fm-sec--comments .comment-reply-link:hover {
	border-color: var(--fm-accent) !important;
	color: var(--fm-accent) !important;
}

.fm-sec--comments .fmc-like-dislike button {
	color: var(--fm-muted) !important;
	background: transparent !important;
	border: 0 !important;
}

.fm-sec--comments .fmc-like-dislike button:hover {
	color: var(--fm-accent) !important;
}

.fm-sec--comments .fm-comments-empty,
.fm-sec--comments .post-no-comment {
	margin: 0;
	padding: 1.25rem 1rem;
	border: 1px dashed var(--fm-border);
	border-radius: 14px;
	background: var(--fm-surface-2);
	color: var(--fm-muted);
	text-align: center;
	font-size: 14px;
}

.fm-sec--comments .comment-body {
	color: var(--fm-ink);
}

html[dark="true"] .fm-sec--comments .fm-composer-form,
[dark="true"] .fm-sec--comments .fm-composer-form {
	background:
		linear-gradient(135deg, rgba(255, 120, 48, .12) 0%, transparent 40%),
		var(--fm-surface-2);
}

html[dark="true"] #commentSpoiler label,
[dark="true"] #commentSpoiler label {
	color: var(--fm-muted);
}

/* Hide legacy tabs */
body.fm-single-redesign .single-tabs-pill {
	display: none !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	body.fm-single-redesign {
		--fm-gap: 1rem;
	}

	.fm-sec__card {
		padding: 1.1rem 1rem 1.2rem;
	}

	.fm-meta-grid {
		grid-template-columns: 1fr 1fr;
		gap: .65rem;
	}

	.fm-sec {
		scroll-margin-top: var(--fm-sticky-stack, 120px);
	}

	.fm-snav-item {
		font-size: 12px;
		padding: .48rem .72rem;
	}

	.fm-prose {
		font-size: 14.5px;
		line-height: 1.95;
	}

	.fm-sec--comments .fm-composer-form,
	.fm-sec--comments .comment-respond form {
		flex-direction: column;
		padding: 1rem;
	}

	.fm-sec--comments .fm-composer-avatar {
		display: none;
	}

	.fm-sec--comments .fm-composer-meta,
	.fm-sec--comments .comment-ghost-inputs {
		flex-direction: column;
		align-items: stretch;
	}

	.fm-sec--comments .fm-composer-submit,
	.fm-sec--comments #submit {
		width: 100%;
	}

	.fm-sec--comments .comment_list .children {
		padding-right: .65rem;
	}

	/* ---- Download box mobile: compact horizontal rows ---- */
	body.fm-single-redesign .fm-sec--downloads .fm-sec__card {
		padding: 1rem .85rem 1.1rem;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-epi-list,
	body.fm-single-redesign .fm-sec--downloads .fm-dl-series .dl-inner,
	body.fm-single-redesign .fm-sec--downloads .dl-inner {
		padding: .55rem !important;
		gap: .4rem !important;
		display: flex !important;
		flex-direction: column !important;
		grid-template-columns: none !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-epi-row,
	body.fm-single-redesign .fm-sec--downloads .fm-dl-series .dl-items,
	body.fm-single-redesign .fm-sec--downloads .dl-items {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: .5rem !important;
		padding: .55rem .6rem !important;
		margin: 0 !important;
		border-radius: 12px !important;
		box-shadow: none !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-epi-info,
	body.fm-single-redesign .fm-sec--downloads .download-info,
	body.fm-single-redesign .fm-sec--downloads .fm-dl-series .download-info {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		justify-content: center !important;
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	body.fm-single-redesign .fm-sec--downloads .download-info ul {
		display: flex !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		gap: .25rem .4rem !important;
		margin: 0 !important;
		padding: 0 !important;
		width: 100% !important;
	}

	body.fm-single-redesign .fm-sec--downloads .download-info ul li {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 12.5px !important;
		font-weight: 700 !important;
		line-height: 1.35 !important;
		color: var(--fm-ink) !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-epi-title {
		font-size: .88rem !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		max-width: 100%;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-epi-note,
	body.fm-single-redesign .fm-sec--downloads .fm-epi-size {
		display: none !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-epi-actions,
	body.fm-single-redesign .fm-sec--downloads .download-links {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: .35rem !important;
		width: auto !important;
		margin: 0 !important;
		flex: 0 0 auto !important;
	}

	body.fm-single-redesign .fm-sec--downloads .dl-link-item,
	body.fm-single-redesign .fm-sec--downloads a.dl-link-item,
	body.fm-single-redesign .fm-sec--downloads .download-links a {
		margin: 0 !important;
		padding: .42rem .65rem !important;
		font-size: 11.5px !important;
		border-radius: 9px !important;
		white-space: nowrap !important;
		justify-content: center !important;
		min-height: 34px;
		box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .25) !important;
	}

	/* Icon-only play on very tight rows if needed — keep text but compact */
	body.fm-single-redesign .fm-sec--downloads a.dl-link-item.play-online {
		padding: .42rem .55rem !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-season-head,
	body.fm-single-redesign .fm-sec--downloads .fm-dl-series .dl-title-open,
	body.fm-single-redesign .fm-sec--downloads .download_box:not(.fm-dl-series) .dl-title-open {
		padding: .75rem .7rem .75rem 2.6rem !important;
		min-height: auto !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-season-card .dl-title-open ul,
	body.fm-single-redesign .fm-sec--downloads .dl-title-open ul {
		gap: .25rem .4rem !important;
		line-height: 1.45 !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-season-card .dl-title-open ul li,
	body.fm-single-redesign .fm-sec--downloads .dl-title-open ul li {
		font-size: 11.5px !important;
		line-height: 1.4 !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-season-name {
		font-size: 12.5px !important;
		width: 100%;
	}

	body.fm-single-redesign .fm-sec--downloads .dl-btn-type {
		padding: 3px 8px !important;
		font-size: 10px !important;
	}

	body.fm-single-redesign .fm-sec--downloads .fm-dl-group {
		gap: .55rem !important;
	}

	body.fm-single-redesign .fm-sec--downloads .download_box:not(.fm-dl-series) .dl-items {
		border-bottom: 0 !important;
	}
}

@media (max-width: 420px) {
	/* Ultra-narrow: shorten button labels visually via smaller padding */
	body.fm-single-redesign .fm-sec--downloads a.dl-link-item.play-online {
		font-size: 11px !important;
		padding: .4rem .5rem !important;
	}

	body.fm-single-redesign .fm-sec--downloads a.dl-link-item.download-link-btn {
		font-size: 11px !important;
		padding: .4rem .55rem !important;
	}
}
