/* ═══════════════════════════════════════════════════════
   FLAMES Calculator — Design v3 (no gradients, FA icons, split result card)
   ═══════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.flames-page .main-content { max-width: 820px; margin: 0 auto; padding: 0 16px 64px; }

/* ── Hero ── */
.flames-hero { position: relative; overflow: hidden; text-align: center; padding: 36px 16px 24px; }

/* Floating decorations */
.fl-decos { position: absolute; inset: 0; pointer-events: none; }
.fl-deco {
    position: absolute;
    opacity: 0;
    animation: flDecoFloat linear infinite;
}
@keyframes flDecoFloat {
    0%   { opacity: 0;   transform: translateY(0)     scale(.85) rotate(-8deg); }
    12%  { opacity: .8; }
    88%  { opacity: .55; }
    100% { opacity: 0;   transform: translateY(-90px) scale(1.15) rotate(12deg); }
}
@media (prefers-reduced-motion: reduce) { .fl-deco { animation: none; opacity: 0; } }

.fl-deco--1  { left:  6%; bottom: 18%; font-size: 16px; color: #e11d48; animation-duration: 4.2s; animation-delay:  0.0s; }
.fl-deco--2  { left: 16%; bottom: 28%; font-size: 10px; color: #d97706; animation-duration: 5.8s; animation-delay:  1.4s; }
.fl-deco--3  { left: 27%; bottom: 12%; font-size: 13px; color: #7c3aed; animation-duration: 3.9s; animation-delay:  2.2s; }
.fl-deco--4  { left: 43%; bottom:  8%; font-size: 18px; color: #e11d48; animation-duration: 4.7s; animation-delay:  3.0s; }
.fl-deco--5  { left: 58%; bottom: 22%; font-size:  9px; color: #2563eb; animation-duration: 6.1s; animation-delay:  0.5s; }
.fl-deco--6  { left: 70%; bottom: 16%; font-size: 14px; color: #e11d48; animation-duration: 5.0s; animation-delay:  1.8s; }
.fl-deco--7  { left: 80%; bottom: 30%; font-size: 11px; color: #d97706; animation-duration: 4.4s; animation-delay:  0.9s; }
.fl-deco--8  { left: 91%; bottom: 14%; font-size: 10px; color: #f43f5e; animation-duration: 5.5s; animation-delay:  2.6s; }
.fl-deco--9  { left: 34%; bottom: 32%; font-size:  8px; color: #f43f5e; animation-duration: 3.6s; animation-delay:  3.5s; }
.fl-deco--10 { left: 88%; bottom: 40%; font-size: 12px; color: #7c3aed; animation-duration: 6.3s; animation-delay:  0.3s; }
.flames-hero__icon { display: flex; justify-content: center; margin-bottom: 16px; }
.flames-hero__icon i {
	font-size: 54px;
	color: #dc2626;
	filter: drop-shadow(0 4px 16px rgba(220,38,38,.35));
}
.flames-hero__title {
	font-size: clamp(1.85rem, 5vw, 2.6rem);
	font-weight: 900;
	color: var(--color-text, #111827);
	line-height: 1.1;
	margin: 0 0 10px;
	letter-spacing: -.025em;
}
.flames-hero__sub { font-size: 1rem; color: var(--color-text-muted, #6b7280); margin: 0 0 10px; }
.flames-hero__seo {
	font-size: .84rem;
	color: var(--color-text-muted, #9ca3af);
	max-width: 540px;
	margin: 0 auto 22px;
	line-height: 1.6;
}

/* FLAMES colored letter tiles */
.fl-hero-flames { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fl-hl {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 14px;
	font-size: 1.6rem;
	font-weight: 900;
	color: #fff;
	line-height: 1;
	gap: 2px;
	box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.fl-hl small { font-size: .42rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.fl-hl--f { background: #2563eb; }
.fl-hl--l { background: #e11d48; }
.fl-hl--a { background: #d97706; }
.fl-hl--m { background: #7c3aed; }
.fl-hl--e { background: #374151; }
.fl-hl--s { background: #059669; }

/* ── Icon utility ── */
.fl-icon { width: 16px; height: 16px; flex-shrink: 0; vertical-align: middle; }

/* ── Calculator card ── */
.fl-card {
	background: var(--color-bg-card, #fff);
	border: 1px solid var(--color-border, #e5e7eb);
	border-top: 4px solid #dc2626;
	border-radius: 18px;
	box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.05);
	overflow: hidden;
	margin-bottom: 24px;
}
.fl-card__body { padding: 28px 24px 24px; }

/* ── Inputs row ── */
.fl-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; margin-bottom: 16px; }
.fl-field { display: flex; flex-direction: column; gap: 7px; }
.fl-field label {
	font-size: .75rem;
	font-weight: 700;
	color: var(--color-text-muted, #6b7280);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.fl-field input {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--color-border, #e5e7eb);
	border-radius: 12px;
	font-size: 1rem;
	font-family: inherit;
	font-weight: 500;
	color: var(--color-text, #111827);
	background: var(--color-bg-alt, #f9fafb);
	transition: border-color .18s, box-shadow .18s, background .18s;
	outline: none;
	box-sizing: border-box;
}
.fl-field input::placeholder { color: #bdc1c9; font-weight: 400; }
.fl-field input:focus {
	border-color: #dc2626;
	box-shadow: 0 0 0 4px rgba(220,38,38,.1);
	background: var(--color-bg-card, #fff);
}

/* Divider */
.fl-divider { display: flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.fl-divider__text {
	width: 32px; height: 32px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--color-bg-alt, #f3f4f6);
	border: 1.5px solid var(--color-border, #e5e7eb);
	font-size: 1rem; font-weight: 700;
	color: var(--color-text-muted, #9ca3af);
}

/* ── Error ── */
.fl-error { color: #dc2626; font-size: .85rem; font-weight: 500; margin: 0 0 12px; }

/* ── Submit button (flat, no gradient) ── */
.fl-btn {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 100%; padding: 13px 24px;
	border: none; border-radius: 10px;
	background: #dc2626;
	color: #fff;
	font-size: 1rem; font-weight: 700; font-family: inherit; letter-spacing: .01em;
	cursor: pointer;
	transition: background .15s, opacity .15s;
	box-shadow: 0 4px 12px rgba(220,38,38,.28);
}
.fl-btn i { font-size: 1rem; }
.fl-btn:hover { background: #b91c1c; }
.fl-btn:active { opacity: .88; }
.fl-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Result section ── */
.fl-result-section { display: flex; flex-direction: column; gap: 20px; }
.fl-result-section--hidden { display: none !important; }

/* ── Step panels ── */
.fl-step-panel {
	background: var(--color-bg-card, #fff);
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: 14px; overflow: hidden;
}
.fl-step-panel__title {
	display: flex; align-items: center; gap: 8px;
	padding: 11px 18px;
	font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: var(--color-text-muted, #6b7280);
	border-bottom: 1px solid var(--color-border, #e5e7eb);
	background: var(--color-bg-alt, #f9fafb);
}
.fl-step-panel__title i { font-size: .82rem; }
.fl-step-panel > div:last-child { padding: 18px; }

/* ── Letter grid (Step 1) ── */
.fl-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fl-name-row:last-child { margin-bottom: 0; }
.fl-name-label {
	font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	color: var(--color-text-muted, #9ca3af); min-width: 28px; flex-shrink: 0;
}
.fl-boxes { display: flex; flex-wrap: wrap; gap: 5px; }

.fl-box {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 8px;
	border: 1.5px solid var(--color-border, #d1d5db);
	background: var(--color-bg-alt, #f9fafb);
	font-size: .88rem; font-weight: 700; color: var(--color-text, #374151);
	transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
	opacity: 0; position: relative;
}
@keyframes flBoxIn {
	from { opacity: 0; transform: translateY(6px) scale(.82); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fl-box--in { animation: flBoxIn .26s ease both; }

@keyframes flBoxPulse {
	0%   { background: var(--color-bg-alt,#f9fafb); border-color: var(--color-border,#d1d5db); transform: scale(1); box-shadow: none; }
	45%  { background: #fef08a; border-color: #ca8a04; transform: scale(1.14); box-shadow: 0 0 0 4px rgba(202,138,4,.2); }
	100% { background: #fef08a; border-color: #ca8a04; transform: scale(1.14); box-shadow: 0 0 0 4px rgba(202,138,4,.2); }
}
.fl-box--pulse { animation: flBoxPulse .25s ease both; z-index: 2; }

.fl-box--cancelled {
	opacity: 1 !important; background: #fee2e2 !important;
	border-color: #fca5a5 !important; color: #b91c1c !important;
	transform: scale(1) !important; box-shadow: none !important;
}
.fl-box--cancelled::after {
	content: '';
	position: absolute;
	left: 8%; right: 8%;
	top: 50%;
	transform: translateY(-50%);
	height: 2px;
	background: #ef4444;
	border-radius: 1px;
}
.fl-no-common { font-size: .85rem; color: var(--color-text-muted, #6b7280); margin: 8px 0 0; font-style: italic; }

/* ── FLAMES row (Step 2) ── */
.fl-elim-badge {
	display: inline-flex; align-items: center;
	min-height: 26px; padding: 0 12px; border-radius: 99px;
	font-size: .73rem; font-weight: 600; letter-spacing: .04em;
	color: transparent; background: transparent;
	transition: background .22s, color .22s; margin-bottom: 14px;
}
.fl-elim-badge--active { background: #fef3c7; color: #92400e; }
.fl-elim-badge--win   { background: #d1fae5; color: #065f46; }

.fl-flames-row { display: flex; flex-wrap: wrap; gap: 10px; }

@keyframes flFboxIn {
	from { opacity: 0; transform: translateY(10px) scale(.78); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fl-fbox {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 10px 14px 8px; border-radius: 10px;
	border: 1.5px solid var(--color-border, #e5e7eb);
	background: var(--color-bg-alt, #f9fafb);
	min-width: 52px; position: relative;
	transition: background .25s, border-color .25s, box-shadow .25s, opacity .3s, transform .3s;
}
.fl-fbox--in { animation: flFboxIn .28s cubic-bezier(.34,1.56,.64,1) both; opacity: 1; }
.fl-fbox__letter { font-size: 1.3rem; font-weight: 800; color: var(--color-text, #1f2937); line-height: 1; }
.fl-fbox__word { font-size: .6rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-text-muted, #9ca3af); }

@keyframes flLanding {
	0%   { background: var(--color-bg-alt,#f9fafb); border-color: #d1d5db; transform: scale(1); }
	35%  { background: #fef08a; border-color: #ca8a04; transform: scale(1.12); box-shadow: 0 0 0 5px rgba(202,138,4,.22); }
	100% { background: #fde68a; border-color: #b45309; transform: scale(1.1); box-shadow: 0 0 0 4px rgba(180,83,9,.18); }
}
.fl-fbox--landing { animation: flLanding .22s ease both; z-index: 2; }

@keyframes flExiting {
	0%   { opacity: 1; transform: scale(1.1) rotate(0deg); }
	60%  { opacity: .5; transform: scale(.7) rotate(-8deg); }
	100% { opacity: 0; transform: scale(.5) rotate(-16deg); }
}
.fl-fbox--exiting { animation: flExiting .26s ease forwards; pointer-events: none; }

.fl-fbox--eliminated {
	background: transparent !important; border-color: #e5e7eb !important;
	border-style: dashed !important; opacity: .28; transform: scale(.8) !important;
	box-shadow: none !important; transition: opacity .3s, transform .3s !important;
}
.fl-fbox--eliminated .fl-fbox__letter { text-decoration: line-through; text-decoration-color: #9ca3af; color: #9ca3af; }
.fl-fbox--eliminated .fl-fbox__word   { color: #d1d5db; }

@keyframes flWinnerPulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(220,38,38,.25), 0 4px 16px rgba(220,38,38,.2); }
	50%       { box-shadow: 0 0 0 8px rgba(220,38,38,.12), 0 8px 24px rgba(220,38,38,.28); }
}
.fl-fbox--winner {
	background: #dc2626 !important;
	border-color: #b91c1c !important;
	transform: scale(1.18) !important;
	animation: flWinnerPulse 1.4s ease infinite;
}
.fl-fbox--winner .fl-fbox__letter { color: #fff; }
.fl-fbox--winner .fl-fbox__word   { color: rgba(255,255,255,.75); }

/* ═══════════════════════════════════════════════════════
   Result card — Split design v3 (no gradients)
   ═══════════════════════════════════════════════════════ */
@keyframes flRcIn {
	from { opacity: 0; transform: translateY(28px) scale(.93); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fl-rc {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(0,0,0,.13);
	border: 1px solid rgba(0,0,0,.08);
}
.fl-rc--in { animation: flRcIn .5s cubic-bezier(.22,.61,.36,1) both; }

/* Hero top — solid flat color per result type */
.fl-rc-hero {
	padding: 36px 28px 30px;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.fl-rc--f .fl-rc-hero { background: #2563eb; }
.fl-rc--l .fl-rc-hero { background: #e11d48; }
.fl-rc--a .fl-rc-hero { background: #d97706; }
.fl-rc--m .fl-rc-hero { background: #7c3aed; }
.fl-rc--e .fl-rc-hero { background: #374151; }
.fl-rc--s .fl-rc-hero { background: #059669; }

.fl-rc-hero-icon {
	font-size: 3.6rem;
	display: block;
	margin-bottom: 14px;
	opacity: .95;
}
.fl-rc-type {
	font-size: clamp(2rem, 9vw, 3.2rem);
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1;
	margin-bottom: 12px;
}
.fl-rc-tagline {
	font-size: .96rem;
	font-weight: 500;
	opacity: .9;
	max-width: 340px;
	margin: 0 auto;
	line-height: 1.5;
}

/* Body bottom — white */
.fl-rc-body {
	background: var(--color-bg-card, #fff);
	padding: 28px 24px 24px;
	text-align: center;
}

/* Names */
.fl-rc-names { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.fl-rc-nm {
	font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	padding: 5px 14px; border-radius: 99px;
	max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fl-rc--f .fl-rc-nm { background: #dbeafe; color: #1d4ed8; }
.fl-rc--l .fl-rc-nm { background: #ffe4e6; color: #be123c; }
.fl-rc--a .fl-rc-nm { background: #fef3c7; color: #b45309; }
.fl-rc--m .fl-rc-nm { background: #ede9fe; color: #6d28d9; }
.fl-rc--e .fl-rc-nm { background: #f3f4f6; color: #374151; }
.fl-rc--s .fl-rc-nm { background: #d1fae5; color: #065f46; }

.fl-rc-sep { font-size: 1rem; flex-shrink: 0; opacity: .7; }
.fl-rc--f .fl-rc-sep { color: #2563eb; }
.fl-rc--l .fl-rc-sep { color: #e11d48; }
.fl-rc--a .fl-rc-sep { color: #d97706; }
.fl-rc--m .fl-rc-sep { color: #7c3aed; }
.fl-rc--e .fl-rc-sep { color: #374151; }
.fl-rc--s .fl-rc-sep { color: #059669; }

/* Description */
.fl-rc-desc { font-size: .91rem; color: #4b5563; max-width: 360px; margin: 0 auto 24px; line-height: 1.7; }

/* Compatibility */
.fl-rc-compat { margin-bottom: 24px; }
.fl-rc-pct-row { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 10px; }
.fl-rc-pct-num { font-size: 2.6rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.fl-rc--f .fl-rc-pct-num { color: #2563eb; }
.fl-rc--l .fl-rc-pct-num { color: #e11d48; }
.fl-rc--a .fl-rc-pct-num { color: #d97706; }
.fl-rc--m .fl-rc-pct-num { color: #7c3aed; }
.fl-rc--e .fl-rc-pct-num { color: #374151; }
.fl-rc--s .fl-rc-pct-num { color: #059669; }

.fl-rc-compat-lbl { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9ca3af; }

.fl-rc-bar { width: 100%; max-width: 280px; height: 8px; background: #f3f4f6; border-radius: 99px; margin: 0 auto; overflow: hidden; }
.fl-rc-bar-fill { height: 100%; border-radius: 99px; width: 0%; transition: width 1.2s cubic-bezier(.22,.61,.36,1); }
.fl-rc--f .fl-rc-bar-fill { background: #2563eb; }
.fl-rc--l .fl-rc-bar-fill { background: #e11d48; }
.fl-rc--a .fl-rc-bar-fill { background: #d97706; }
.fl-rc--m .fl-rc-bar-fill { background: #7c3aed; }
.fl-rc--e .fl-rc-bar-fill { background: #374151; }
.fl-rc--s .fl-rc-bar-fill { background: #059669; }

/* Actions */
.fl-rc-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.fl-rc-btn {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 10px 22px; border-radius: 10px;
	font-size: .88rem; font-weight: 600; font-family: inherit;
	cursor: pointer; transition: background .15s, opacity .15s; border: none;
}
.fl-rc-btn i { font-size: .82rem; }
.fl-rc-btn:active { opacity: .82; }
.fl-rc-btn--ghost {
	background: #f3f4f6;
	border: 1.5px solid #e5e7eb !important;
	color: #374151;
}
.fl-rc-btn--ghost:hover { background: #e5e7eb; }
.fl-rc-btn--solid { color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.fl-rc-btn--solid:hover { opacity: .88; }
.fl-rc--f .fl-rc-btn--solid { background: #2563eb; }
.fl-rc--l .fl-rc-btn--solid { background: #e11d48; }
.fl-rc--a .fl-rc-btn--solid { background: #d97706; }
.fl-rc--m .fl-rc-btn--solid { background: #7c3aed; }
.fl-rc--e .fl-rc-btn--solid { background: #374151; }
.fl-rc--s .fl-rc-btn--solid { background: #059669; }

/* ═══════════════════════════════════════════════════════
   Informational sections
   ═══════════════════════════════════════════════════════ */
.fl-section {
	background: var(--color-bg-card, #fff);
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: 14px;
	padding: 28px 24px;
	margin-top: 20px;
}
.fl-section__title { font-size: 1.2rem; font-weight: 800; color: var(--color-text, #111827); margin: 0 0 20px; letter-spacing: -.01em; }

.fl-meaning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fl-meaning-cell {
	display: flex; align-items: center; gap: 10px; padding: 12px 14px;
	border-radius: 10px; background: var(--color-bg-alt, #f9fafb);
	border: 1px solid var(--color-border, #e5e7eb);
	font-size: .88rem; font-weight: 500; color: var(--color-text, #374151);
}
.fl-meaning-letter {
	display: flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 8px;
	background: #fee2e2; color: #dc2626;
	font-size: 1rem; font-weight: 800; flex-shrink: 0;
}

.fl-steps { padding: 0 0 0 20px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fl-steps li { color: var(--color-text, #374151); font-size: .93rem; line-height: 1.6; padding-left: 4px; }

.fl-faq { display: flex; flex-direction: column; gap: 6px; }
.fl-faq details {
	border: 1px solid var(--color-border, #e5e7eb);
	border-radius: 10px; overflow: hidden;
	background: var(--color-bg-alt, #f9fafb);
}
.fl-faq summary {
	padding: 14px 18px; font-weight: 600; font-size: .9rem; cursor: pointer;
	color: var(--color-text, #1f2937); list-style: none;
	display: flex; justify-content: space-between; align-items: center;
	user-select: none; transition: background .15s;
}
.fl-faq summary::-webkit-details-marker { display: none; }
.fl-faq summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--color-text-muted, #9ca3af); flex-shrink: 0; transition: transform .2s; }
.fl-faq details[open] summary::after { transform: rotate(45deg); }
.fl-faq details[open] summary { background: var(--color-bg-card, #fff); }
.fl-faq details p {
	padding: 0 18px 16px; margin: 0; font-size: .88rem; line-height: 1.65;
	color: var(--color-text-muted, #4b5563); background: var(--color-bg-card, #fff);
}

/* ═══════════════════════════════════════════════════════
   Mobile
   ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
	/* Card padding tighter */
	.fl-card__body { padding: 20px 16px 18px; }
	.fl-step-panel > div:last-child { padding: 14px; }

	/* Hero */
	.flames-hero { padding: 24px 12px 18px; }
	.flames-hero__icon i { font-size: 42px; }

	/* FLAMES tiles: smaller on mid-mobile */
	.fl-hl { width: 48px; height: 48px; font-size: 1.35rem; border-radius: 12px; }

	/* Info sections */
	.fl-section { padding: 20px 16px; }
	.fl-meaning-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
	/* Form stacks vertically */
	.fl-inputs { grid-template-columns: 1fr; gap: 10px; }
	.fl-divider { justify-content: flex-start; padding-left: 2px; }

	/* FLAMES elimination row */
	.fl-flames-row { gap: 6px; }
	.fl-fbox { min-width: 42px; padding: 8px 10px 6px; }
	.fl-fbox__letter { font-size: 1.05rem; }
	.fl-fbox__word { font-size: .55rem; }

	/* Result card */
	.fl-rc-hero { padding: 26px 16px 20px; }
	.fl-rc-body { padding: 20px 14px 18px; }
	.fl-rc-type { font-size: clamp(1.7rem, 8vw, 2.4rem); }
	.fl-rc-hero-icon { font-size: 2.8rem; margin-bottom: 10px; }
	.fl-rc-tagline { font-size: .88rem; }
	.fl-rc-desc { font-size: .85rem; margin-bottom: 18px; }
	.fl-rc-pct-num { font-size: 2.1rem; }

	/* Names row: stack on narrow screens */
	.fl-rc-names { flex-wrap: wrap; gap: 6px; }
	.fl-rc-nm { max-width: 44%; flex: 1; text-align: center; }

	/* Actions: full-width stacked */
	.fl-rc-actions { flex-direction: column; gap: 8px; }
	.fl-rc-btn { justify-content: center; width: 100%; }

	/* Letter boxes */
	.fl-boxes { gap: 4px; }
}

@media (max-width: 400px) {
	/* Very small screens */
	.fl-hl { width: 42px; height: 42px; font-size: 1.2rem; border-radius: 10px; }
	.fl-hl small { font-size: .38rem; }
	.fl-hero-flames { gap: 6px; }

	.fl-box { width: 30px; height: 30px; font-size: .75rem; border-radius: 6px; }

	.fl-rc-nm { font-size: .68rem; padding: 4px 10px; }
	.fl-rc-bar { max-width: 220px; }

	.fl-meaning-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
	.fl-meaning-cell { padding: 10px 10px; font-size: .82rem; gap: 8px; }
}
