/* ==========================================================================
   BrokerLens main stylesheet (RTL-first)
   Shape rule: cards/panels use var(--bl-radius); buttons, chips, pills are
   full-pill; inputs are 10px. Single accent: var(--bl-accent).
   Note: no letter-spacing on Persian text (it breaks letter joining).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	color-scheme: light;
	--bl-accent: #0e7c66;
	--bl-radius: 14px;
	--r-in: 10px;
	--pill: 999px;

	--bg: #f4f6f8;
	--surface: #fcfdfd;
	--surface-2: #eef1f4;
	--surface-3: #e5e9ee;
	--ink: #0e1726;
	--ink-2: #354152;
	--muted: #5c6878;
	--line: #dfe4ea;
	--line-2: #cfd6de;
	--neg: #a8484a;

	--accent: var(--bl-accent);
	--accent-ink: #ffffff;
	--accent-text: color-mix(in oklab, var(--bl-accent) 88%, #000);
	--accent-soft: color-mix(in srgb, var(--bl-accent) 10%, transparent);
	--accent-line: color-mix(in srgb, var(--bl-accent) 32%, transparent);

	--shadow-sm: 0 1px 2px rgb(14 23 38 / .05), 0 1px 1px rgb(14 23 38 / .03);
	--shadow-md: 0 10px 30px -12px rgb(14 23 38 / .18), 0 2px 6px rgb(14 23 38 / .05);
	--shadow-lg: 0 30px 60px -24px rgb(14 23 38 / .28);

	--font: 'Vazirmatn', 'Segoe UI', Tahoma, system-ui, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-spring: cubic-bezier(.34, 1.4, .64, 1);
	--header-h: 68px;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--z-header: 50;
	--z-tray: 60;
	--z-modal: 80;
	--z-toast: 90;
}

:root[data-theme="dark"] {
	--bg: #0a0e13;
	--surface: #10161d;
	--surface-2: #161e27;
	--surface-3: #1d2732;
	--ink: #e8edf2;
	--ink-2: #c2cbd5;
	--muted: #8d99a7;
	--line: #212b37;
	--line-2: #2c3846;
	--neg: #e08b8b;
	--accent-text: color-mix(in oklab, var(--bl-accent) 60%, #fff);
	--accent-soft: color-mix(in srgb, var(--bl-accent) 18%, transparent);
	--accent-line: color-mix(in srgb, var(--bl-accent) 45%, transparent);
	--shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
	--shadow-md: 0 14px 34px -14px rgb(0 0 0 / .6);
	--shadow-lg: 0 30px 70px -24px rgb(0 0 0 / .7);
	color-scheme: dark;
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip;
}
.bl-theme-anim, .bl-theme-anim * { transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease) !important; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.35; font-weight: 800; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bl-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 16px; border-radius: var(--pill); transition: top .2s; }
.bl-skip:focus { top: 12px; }
.bl-top-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }
.ph, .ph-fill { line-height: 1; }

.bl-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.bl-container--narrow { max-width: 820px; }
.bl-main { min-height: 60vh; }
.bl-section { padding-block: clamp(56px, 8vw, 104px); }
.bl-section--tight { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.bl-muted { color: var(--muted); }

/* ---------- Type ---------- */
.bl-h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.3; font-weight: 850; }
.bl-h2 { font-size: clamp(25px, 3vw, 38px); line-height: 1.35; font-weight: 820; }
.bl-h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 780; }
.bl-h4 { font-size: 16px; font-weight: 750; margin-block: 28px 12px; }
.bl-h1 em, .bl-h2 em, .bl-hero__title em { font-style: normal; color: var(--accent-text); position: relative; white-space: nowrap; }
.bl-lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 62ch; margin-top: 14px; }
.bl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 5px 14px 5px 12px; border-radius: var(--pill); margin-bottom: 22px; }
.bl-eyebrow .ph-fill { font-size: 16px; }

/* ---------- Buttons ---------- */
.bl-btn {
	--btn-bg: var(--surface-2);
	--btn-ink: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 0 22px;
	border: 1px solid transparent; border-radius: var(--pill);
	background: var(--btn-bg); color: var(--btn-ink);
	font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
	position: relative; overflow: hidden; isolation: isolate;
	transition: transform .35s var(--ease), background-color .25s, border-color .25s, box-shadow .35s var(--ease), color .25s;
}
.bl-btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgb(255 255 255 / .22) 50%, transparent 70%); transform: translateX(120%); transition: transform .7s var(--ease); }
.bl-btn:hover::after { transform: translateX(-120%); }
.bl-btn:active { transform: scale(.97); }
.bl-btn .ph { font-size: 18px; transition: transform .35s var(--ease); }
.bl-btn:hover .ph-arrow-left, .bl-btn:hover .ph-arrow-up-left { transform: translateX(-4px); }
.bl-btn--primary { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--bl-accent) 70%, transparent); }
.bl-btn--primary:hover { box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--bl-accent) 80%, transparent); background: color-mix(in oklab, var(--bl-accent) 90%, #000); }
.bl-btn--ghost { --btn-bg: transparent; border-color: var(--line-2); }
.bl-btn--ghost:hover { border-color: var(--ink); }
.bl-btn--soft { --btn-bg: var(--accent-soft); --btn-ink: var(--accent-text); }
.bl-btn--soft:hover { --btn-bg: color-mix(in srgb, var(--bl-accent) 18%, transparent); }
.bl-btn--light { --btn-bg: #f6f8f9; --btn-ink: #0e1726; }
.bl-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.bl-btn--xs { min-height: 30px; padding: 0 12px; font-size: 12.5px; }
.bl-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.bl-btn--block { width: 100%; }
.bl-btn[disabled] { opacity: .4; pointer-events: none; }
.bl-magnetic { transition: transform .5s var(--ease-spring), background-color .25s, box-shadow .35s var(--ease); }

.bl-icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 19px; transition: background-color .2s, color .2s, transform .3s var(--ease), border-color .2s; }
.bl-icon-btn:hover { color: var(--ink); border-color: var(--line-2); transform: translateY(-1px); }
.bl-icon-btn:active { transform: scale(.94); }

.bl-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-text); }
.bl-link-arrow .ph { transition: transform .35s var(--ease); }
.bl-link-arrow:hover .ph-arrow-left { transform: translateX(-5px); }

/* ---------- Header ---------- */
.bl-header { position: relative; z-index: var(--z-header); height: var(--header-h); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.bl-header.is-sticky { position: sticky; top: 0; -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
.bl-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(14 23 38 / .35); }
.admin-bar .bl-header.is-sticky { top: 32px; }
.bl-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.bl-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 19px; flex-shrink: 0; }
.bl-brand__img { max-height: 38px; width: auto; }
.bl-brand__img--dark { display: none; }
[data-theme="dark"] .bl-brand__img--light { display: none; }
[data-theme="dark"] .bl-brand__img--dark { display: block; }
.bl-brand__mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 19px; transition: transform .5s var(--ease-spring); }
.bl-brand:hover .bl-brand__mark { transform: rotate(-12deg) scale(1.05); }

.bl-nav { position: relative; margin-inline-start: 8px; }
.bl-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.bl-nav__list > li { position: relative; }
.bl-nav__list a { display: block; padding: 8px 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); border-radius: var(--pill); transition: color .2s; position: relative; z-index: 1; }
.bl-nav__list a:hover, .bl-nav__list .current-menu-item > a, .bl-nav__list .current-menu-ancestor > a { color: var(--ink); }
.bl-nav__indicator { position: absolute; top: 50%; left: 0; height: 38px; margin-top: -19px; border-radius: var(--pill); background: var(--surface-2); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s; pointer-events: none; }
.bl-nav .sub-menu { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 220px; list-style: none; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--bl-radius); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease); }
.bl-nav li:hover > .sub-menu, .bl-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bl-nav .sub-menu a { border-radius: 8px; }
.bl-nav .sub-menu a:hover { background: var(--surface-2); }

.bl-header__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.bl-theme-toggle { position: relative; overflow: hidden; }
.bl-theme-toggle .ph { position: absolute; transition: transform .5s var(--ease-spring), opacity .3s; }
.bl-theme-toggle__moon { transform: translateY(120%) rotate(-60deg); opacity: 0; }
[data-theme="dark"] .bl-theme-toggle__sun { transform: translateY(-120%) rotate(60deg); opacity: 0; }
[data-theme="dark"] .bl-theme-toggle__moon { transform: none; opacity: 1; }
.bl-burger { display: none; flex-direction: column; gap: 5px; }
.bl-burger span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.bl-menu-open .bl-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.bl-menu-open .bl-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Search modal ---------- */
.bl-search { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; align-items: start; justify-items: center; padding: 12vh 16px 16px; }
.bl-search__backdrop { position: absolute; inset: 0; background: rgb(8 12 18 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.bl-search__panel { position: relative; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--bl-radius) + 4px); padding: 18px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-12px) scale(.98); transition: .35s var(--ease); }
.bl-search.is-open .bl-search__backdrop { opacity: 1; }
.bl-search.is-open .bl-search__panel { opacity: 1; transform: none; }
.bl-search__hint { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
.bl-searchform { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 16px 5px 5px; transition: border-color .2s, box-shadow .2s; }
.bl-searchform:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.bl-searchform > .ph { color: var(--muted); font-size: 19px; }
.bl-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 9px 0; font-size: 15.5px; }
.bl-searchform input::placeholder { color: var(--muted); }
.bl-search-inline { margin-top: 24px; max-width: 560px; }

/* ---------- Animations (reveal) ---------- */
.bl-anim-ready [data-anim="fade-up"] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.bl-anim-ready [data-anim="fade-left"] { opacity: 0; transform: translateX(-28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.bl-anim-ready [data-anim="scale-in"] { opacity: 0; transform: scale(.96); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.bl-anim-ready [data-anim].is-in { opacity: 1; transform: none; }
.bl-w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .18em .26em; margin-block: -.18em -.26em; }
.bl-w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * 55ms + .05s); }
.is-in .bl-w > span, [data-anim="words"].is-in .bl-w > span { transform: none; }

/* ---------- Rating ring ---------- */
.bl-ring { --size: 56px; position: relative; width: var(--size); height: var(--size); flex-shrink: 0; display: grid; place-items: center; }
.bl-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg) scaleY(-1); }
.bl-ring circle { fill: none; stroke-width: 3.6; stroke-linecap: round; }
.bl-ring__track { stroke: var(--surface-3); }
.bl-ring__bar { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease) .15s; }
.bl-ring.is-in .bl-ring__bar { stroke-dashoffset: calc(100 - var(--p)); }
.bl-ring__value { font-weight: 850; font-size: 15px; color: var(--ink); }
.bl-ring--sm { --size: 44px; }
.bl-ring--sm .bl-ring__value { font-size: 13px; }
.bl-ring--lg { --size: 104px; }
.bl-ring--lg circle { stroke-width: 3; }
.bl-ring--lg .bl-ring__value { font-size: 28px; }
.bl-ring__label { display: block; font-size: 12.5px; font-weight: 700; color: var(--accent-text); text-align: center; margin-top: 4px; }

/* ---------- Meter (no background track by design) ---------- */
.bl-meter__bar { display: block; height: 4px; width: var(--w); border-radius: 4px; background: linear-gradient(to left, var(--accent), color-mix(in srgb, var(--bl-accent) 55%, transparent)); transform-origin: right; transform: scaleX(0); transition: transform 1.2s var(--ease) .1s; }
.bl-meter__bar.is-in { transform: scaleX(1); }

/* ---------- Logos ---------- */
.bl-logo { --s: 52px; --logo-bg: var(--surface-2); width: var(--s); height: var(--s); flex-shrink: 0; display: grid; place-items: center; border-radius: calc(var(--s) * .28); background: var(--logo-bg); border: 1px solid var(--line); overflow: hidden; }
.bl-logo.has-bg { border-color: transparent; color: #fff; }
.bl-logo img { width: 74%; height: 74%; object-fit: contain; }
.bl-logo__initial { font-weight: 850; font-size: calc(var(--s) * .42); line-height: 1; }
.bl-logo--xs { --s: 26px; }
.bl-logo--sm { --s: 40px; }
.bl-logo--md { --s: 56px; }
.bl-logo--lg { --s: 84px; }

/* ---------- Chips, badges, tags ---------- */
.bl-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.bl-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: var(--pill); background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; font-weight: 600; line-height: 1.8; }
.bl-chip .ph { color: var(--accent-text); font-size: 14px; }
.bl-chips--sm .bl-chip { font-size: 12px; padding: 2px 9px; }
.bl-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700; line-height: 1.9; }
.bl-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 11px; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; line-height: 1.9; }
.bl-tag--line { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.bl-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: var(--pill); background: var(--surface-2); font-weight: 800; font-size: 13px; }

/* ---------- Card + spotlight ---------- */
.bl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--bl-radius); box-shadow: var(--shadow-sm); }
.bl-spotlight { position: relative; isolation: isolate; }
.bl-spotlight::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--bl-accent) 9%, transparent), transparent 55%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.bl-spotlight:hover::before { opacity: 1; }
.bl-stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* ---------- Section heads ---------- */
.bl-section__head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.bl-section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bl-section__foot { margin-top: 32px; display: flex; justify-content: center; }

/* ---------- Hero ---------- */
.bl-hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px); overflow: hidden; }
.bl-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 70% at 15% 30%, color-mix(in srgb, var(--bl-accent) 13%, transparent), transparent 70%),
		radial-gradient(40% 50% at 90% 0%, color-mix(in srgb, var(--bl-accent) 6%, transparent), transparent 70%);
}
.bl-hero__bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 60% at 30% 40%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 10%, transparent 75%); opacity: .5; }
.bl-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.bl-hero__title { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.32; font-weight: 880; }
.bl-hero__sub { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 46ch; }
.bl-hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.bl-hero__image img { border-radius: calc(var(--bl-radius) + 6px); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.bl-board { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--bl-radius) + 6px); padding: 22px; box-shadow: var(--shadow-lg); transition: transform .6s var(--ease); transform-style: preserve-3d; }
.bl-board__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.bl-board__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.bl-board__title .ph { color: var(--accent-text); font-size: 20px; }
.bl-board__all { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.bl-board__all:hover { color: var(--ink); }
.bl-board__list { list-style: none; display: grid; gap: 8px; }
.bl-board__row { display: grid; grid-template-columns: 22px auto 1fr auto auto; align-items: center; gap: 12px; padding: 12px; border-radius: var(--bl-radius); background: var(--surface-2); transition: transform .4s var(--ease), background-color .25s; animation: bl-row-in .8s var(--ease) both; animation-delay: calc(var(--i) * 120ms + .35s); }
.bl-board__row:hover { transform: translateX(-4px); background: var(--surface-3); }
.bl-board__rank { font-weight: 850; color: var(--muted); text-align: center; }
.bl-board__row:first-child .bl-board__rank { color: var(--accent-text); }
.bl-board__name { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-board__name:hover { color: var(--accent-text); }
.bl-board__bars { display: flex; gap: 4px; align-items: end; height: 26px; }
.bl-board__bars span { width: 6px; height: 100%; display: flex; align-items: end; }
.bl-board__bars i { display: block; width: 100%; height: var(--w); border-radius: 3px; background: var(--accent); opacity: .75; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease) .6s; }
.bl-board__bars.is-in i { transform: scaleY(1); }
.bl-board__foot { display: flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
@keyframes bl-row-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Regulators marquee ---------- */
.bl-regs { padding-block: 8px 24px; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.bl-regs__title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; padding-top: 18px; }
.bl-marquee { overflow: hidden; margin-top: 12px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.bl-marquee__track { display: flex; width: max-content; animation: bl-marquee 40s linear infinite; }
.bl-marquee:hover .bl-marquee__track { animation-play-state: paused; }
.bl-marquee__group { display: flex; gap: 14px; padding-inline-end: 14px; }
.bl-reg { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); white-space: nowrap; transition: border-color .25s, transform .35s var(--ease); }
.bl-reg:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.bl-reg strong { font-weight: 850; direction: ltr; }
.bl-reg span { color: var(--muted); font-size: 12.5px; direction: ltr; }
.bl-reg img { height: 28px; width: auto; filter: grayscale(1); opacity: .8; transition: .3s; }
.bl-reg:hover img { filter: none; opacity: 1; }
@keyframes bl-marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Ranked list rows ---------- */
.bl-ranked__list { list-style: none; display: grid; gap: 12px; counter-reset: rank; }
.bl-row { display: grid; grid-template-columns: 34px minmax(190px, 1.1fr) 1.6fr minmax(220px, auto) auto auto; align-items: center; gap: 22px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--bl-radius); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.bl-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.bl-row__rank { font-size: 22px; font-weight: 900; color: var(--line-2); text-align: center; transition: color .3s; }
.bl-row:hover .bl-row__rank { color: var(--accent-text); }
.bl-row__id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bl-row__id .bl-logo { transition: transform .5s var(--ease-spring); }
.bl-row:hover .bl-row__id .bl-logo { transform: rotate(-6deg) scale(1.06); }
.bl-row__name { display: grid; gap: 4px; justify-items: start; }
.bl-row__name strong { font-size: 17px; font-weight: 800; }
.bl-row__summary { color: var(--muted); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.bl-row__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; }
.bl-row__facts dt { font-size: 12px; color: var(--muted); }
.bl-row__facts dd { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.bl-row__score { text-align: center; }
.bl-row__actions { display: flex; align-items: center; gap: 8px; }

/* ---------- Compare toggle ---------- */
.bl-compare-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; font-size: 14.5px; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.bl-compare-toggle .ph { font-size: 18px; }
.bl-compare-toggle:hover { border-color: var(--accent); color: var(--accent-text); }
.bl-compare-toggle.is-on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.bl-compare-toggle--icon { width: 38px; min-height: 38px; padding: 0; position: relative; z-index: 2; }
.bl-compare-toggle--icon .bl-compare-toggle__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bl-compare-toggle.is-pop { animation: bl-pop .45s var(--ease-spring); }
@keyframes bl-pop { 40% { transform: scale(1.15); } }

/* ---------- Bento (methodology) ---------- */
.bl-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bl-bento__intro { grid-column: span 2; grid-row: span 2; padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--bl-radius) + 4px); background: linear-gradient(150deg, color-mix(in oklab, var(--bl-accent) 92%, #000), color-mix(in oklab, var(--bl-accent) 55%, #0b1320)); color: #f1f6f5; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.bl-bento__intro::after { content: ''; position: absolute; inset-inline-end: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 48px solid rgb(255 255 255 / .06); }
.bl-bento__intro .bl-h2 { color: #fff; }
.bl-bento__intro p { color: rgb(241 246 245 / .82); max-width: 44ch; }
.bl-bento__intro .bl-link-arrow { color: #fff; margin-top: auto; }
.bl-bento__img { margin-top: auto; border-radius: var(--bl-radius); overflow: hidden; }
.bl-bento__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.bl-bento__cell { padding: 22px; border-radius: calc(var(--bl-radius) + 4px); background: var(--surface); border: 1px solid var(--line); display: grid; align-content: start; gap: 6px; transition: transform .45s var(--ease), border-color .3s; }
.bl-bento__cell:hover { transform: translateY(-4px); border-color: var(--accent-line); }
.bl-bento__cell:nth-of-type(3n+1) { background: var(--surface-2); }
.bl-bento--small .bl-bento__intro { grid-row: auto; }
.bl-bento--three .bl-bento__intro { grid-column: 1 / -1; }
.bl-bento__cell.is-wide { background: linear-gradient(135deg, var(--surface), var(--accent-soft)); }
.bl-bento__cell h3 { font-size: 16.5px; }
.bl-bento__cell p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.bl-bento__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 22px; margin-bottom: 6px; transition: transform .5s var(--ease-spring); }
.bl-bento__cell:hover .bl-bento__icon { transform: rotate(-10deg) scale(1.08); }
.bl-bento__weight { position: absolute; top: 18px; inset-inline-end: 20px; font-weight: 900; font-size: 26px; color: var(--ink); opacity: .14; transition: opacity .3s; }
.bl-bento__weight small { font-size: 15px; }
.bl-bento__cell:hover .bl-bento__weight { opacity: .5; color: var(--accent-text); }

/* ---------- Stats ---------- */
.bl-stats { padding-block: clamp(36px, 5vw, 64px); }
.bl-stats__title { text-align: center; margin-bottom: 28px; }
.bl-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-block: 1px solid var(--line); }
.bl-stat { padding: 30px 20px; display: flex; flex-direction: column-reverse; gap: 6px; text-align: center; }
.bl-stat + .bl-stat { border-inline-start: 1px solid var(--line); }
.bl-stat dd { font-size: clamp(36px, 5vw, 56px); font-weight: 900; line-height: 1.1; color: var(--ink); }
.bl-stat dt { color: var(--muted); font-weight: 600; }

/* ---------- Research cards ---------- */
.bl-latest__grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: auto; gap: 14px 40px; }
.bl-latest__grid > .bl-rcard--lead { grid-row: span 6; }
.bl-rcard { position: relative; display: flex; flex-direction: column; gap: 14px; }
.bl-rcard__media { position: relative; border-radius: var(--bl-radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 16/10; }
.bl-rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.bl-rcard:hover .bl-rcard__media img { transform: scale(1.05); }
.bl-rcard__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; color: var(--accent-text);
	background:
		radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--bl-accent) 22%, transparent), transparent 55%),
		repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface-3) 14px 15px);
	transition: transform 1.1s var(--ease); }
.bl-rcard:hover .bl-rcard__placeholder { transform: scale(1.05); }
.bl-rcard__placeholder .ph { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-md); transition: transform .6s var(--ease-spring); }
.bl-rcard:hover .bl-rcard__placeholder .ph { transform: rotate(-8deg); }
.bl-rcard__body { display: grid; gap: 8px; }
.bl-rcard__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.bl-rcard__title { font-size: 18px; line-height: 1.6; font-weight: 780; transition: color .2s; }
.bl-rcard:hover .bl-rcard__title { color: var(--accent-text); }
.bl-rcard__excerpt { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-rcard__foot { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.bl-rcard__time { display: inline-flex; align-items: center; gap: 5px; }
.bl-rcard__brokers { display: inline-flex; }
.bl-rcard__brokers .bl-logo { margin-inline-end: -8px; border: 2px solid var(--bg); }
.bl-rcard__score { margin-inline-start: auto; font-weight: 850; color: var(--accent-text); background: var(--accent-soft); padding: 0 10px; border-radius: var(--pill); }
.bl-rcard--lead .bl-rcard__title { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.5; }
.bl-rcard--lead .bl-rcard__media { aspect-ratio: 16/10; }
.bl-rcard--line { flex-direction: row; align-items: center; gap: 18px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.bl-rcard--line:last-child { border-bottom: 0; }
.bl-rcard--line .bl-rcard__media { width: 132px; flex-shrink: 0; aspect-ratio: 4/3; }
.bl-rcard--line .bl-rcard__placeholder { font-size: 26px; }
.bl-rcard--line .bl-rcard__placeholder .ph { width: 48px; height: 48px; border-radius: 14px; }
.bl-rcard--line .bl-rcard__title { font-size: 16px; }
.bl-rcard--line .bl-rcard__body { flex: 1; min-width: 0; gap: 4px; }
.bl-rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.bl-rgrid .bl-rcard--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 36px; }
.bl-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Broker card ---------- */
.bl-bcard { padding: 22px; display: grid; gap: 10px; position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.bl-bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.bl-bcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.bl-bcard__title { font-size: 18px; }
.bl-bcard__text { color: var(--muted); font-size: 14px; }
.bl-bcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.bl-bcard__label { font-size: 13px; font-weight: 700; color: var(--accent-text); }

/* ---------- CTA band ---------- */
.bl-cta { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: clamp(28px, 5vw, 64px); border-radius: calc(var(--bl-radius) + 10px); background: #0d1520; color: #e9eef3; position: relative; overflow: hidden; }
[data-theme="dark"] .bl-cta { background: var(--surface-2); border: 1px solid var(--line); }
.bl-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 10% 100%, color-mix(in srgb, var(--bl-accent) 40%, transparent), transparent 70%); opacity: .7; }
.bl-cta > * { position: relative; }
.bl-cta .bl-h2 { color: #fff; }
.bl-cta__copy p { margin-block: 14px 28px; color: rgb(233 238 243 / .78); max-width: 46ch; }
.bl-cta__stack { display: grid; gap: 10px; justify-items: end; }
.bl-cta__chip { display: inline-flex; align-items: center; gap: 12px; padding: 8px 10px 8px 18px; border-radius: var(--pill); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); width: min(340px, 100%); transform: translateX(calc(var(--i) * -18px)); transition: transform .6s var(--ease), background-color .3s; }
.bl-cta:hover .bl-cta__chip { transform: translateX(calc(var(--i) * -6px)); }
.bl-cta__chip:hover { background: rgb(255 255 255 / .12); }
.bl-cta__chip b { flex: 1; font-weight: 700; }
.bl-cta__chip em { font-style: normal; font-weight: 850; color: color-mix(in oklab, var(--bl-accent) 50%, #fff); }

/* ---------- FAQ ---------- */
.bl-faq-sec__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.bl-faq-sec__title { position: sticky; top: calc(var(--header-h) + 32px); }
.bl-faq { display: grid; gap: 10px; }
.bl-faq__item { border: 1px solid var(--line); border-radius: var(--bl-radius); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.bl-faq__item[open] { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.bl-faq__item summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; }
.bl-faq__item summary::-webkit-details-marker { display: none; }
.bl-faq__item summary .ph { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.bl-faq__item[open] summary .ph { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.bl-faq__answer { padding: 0 20px 18px; color: var(--ink-2); }
.bl-faq__item[open] .bl-faq__answer { animation: bl-fade-down .45s var(--ease); }
@keyframes bl-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Page head, crumbs ---------- */
.bl-pagehead { padding-block: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 32px); position: relative; }
.bl-pagehead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 85% 0%, color-mix(in srgb, var(--bl-accent) 9%, transparent), transparent 70%); }
.bl-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.bl-crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: .5; }
.bl-crumbs a:hover { color: var(--accent-text); }

/* ---------- Filters ---------- */
.bl-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 18px; border-radius: calc(var(--bl-radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.bl-field { display: grid; gap: 6px; min-width: 160px; flex: 1 1 160px; }
.bl-field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bl-field select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 14px 0 36px; border-radius: var(--r-in); border: 1px solid var(--line-2); background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256'%3E%3Cpath fill='%235c6878' d='M213.7 101.7l-80 80a8 8 0 0 1-11.4 0l-80-80a8 8 0 0 1 11.4-11.4L128 164.7l74.3-74.4a8 8 0 0 1 11.4 11.4Z'/%3E%3C/svg%3E") no-repeat left 14px center; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.bl-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.bl-toggles { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; flex-basis: 100%; }
.bl-pill { position: relative; cursor: pointer; }
.bl-pill input { position: absolute; opacity: 0; pointer-events: none; }
.bl-pill span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: .25s var(--ease); }
.bl-pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bl-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.bl-results-bar { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 14px; color: var(--muted); font-weight: 600; }
.bl-loading .bl-ranked__list { opacity: .45; transition: opacity .2s; }
.bl-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 26px; }
.bl-tabs__item { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 650; font-size: 14px; transition: .25s; }
.bl-tabs__item:hover { border-color: var(--line-2); }
.bl-tabs__item.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bl-typefilter { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 12px; }
.bl-pill-link { padding: 4px 12px; border-radius: var(--pill); font-size: 13px; color: var(--muted); font-weight: 600; transition: .2s; }
.bl-pill-link:hover { color: var(--ink); }
.bl-pill-link.is-active { color: var(--accent-text); background: var(--accent-soft); }

/* ---------- Empty state ---------- */
.bl-empty { text-align: center; padding: clamp(40px, 7vw, 80px) 20px; border: 1px dashed var(--line-2); border-radius: calc(var(--bl-radius) + 4px); display: grid; justify-items: center; gap: 10px; color: var(--muted); }
.bl-empty > .ph { font-size: 44px; color: var(--accent-text); width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); margin-bottom: 6px; }
.bl-empty .bl-btn { margin-top: 10px; }

/* ---------- Pagination ---------- */
.bl-pagination { margin-top: 40px; display: flex; justify-content: center; }
.bl-pagination ul { list-style: none; display: flex; gap: 6px; }
.bl-pagination a, .bl-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 700; transition: .2s; }
.bl-pagination a:hover { border-color: var(--ink); }
.bl-pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Single broker ---------- */
.bl-bhero { position: relative; padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px); overflow: hidden; }
.bl-bhero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 90% 10%, color-mix(in srgb, var(--bl-accent) 11%, transparent), transparent 70%); }
.bl-bhero__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.bl-bhero__id { display: flex; align-items: center; gap: 20px; }
.bl-bhero__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 880; }
.bl-bhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.bl-bhero__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.bl-bhero__summary { margin-top: 22px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-2); max-width: 58ch; }
.bl-bhero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bl-scorepanel { padding: 24px; border-radius: calc(var(--bl-radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.bl-scorepanel__top { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.bl-scorepanel__label { display: block; font-size: 22px; font-weight: 850; }
.bl-scorepanel__hint { color: var(--muted); font-size: 13px; }
.bl-meter-list { list-style: none; display: grid; gap: 14px; }
.bl-meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.bl-meter__label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.bl-meter__label .ph { color: var(--accent-text); font-size: 17px; }
.bl-meter__val { font-weight: 850; font-size: 14px; }
.bl-meter .bl-meter__bar { grid-column: 1 / -1; }

.bl-subnav { position: sticky; top: var(--header-h); z-index: calc(var(--z-header) - 1); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.admin-bar .bl-subnav { top: calc(var(--header-h) + 32px); }
.bl-subnav .bl-container { position: relative; }
.bl-subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; position: relative; }
.bl-subnav ul::-webkit-scrollbar { display: none; }
.bl-subnav a { display: block; padding: 14px 14px; font-weight: 650; font-size: 14.5px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.bl-subnav a:hover, .bl-subnav a.is-active { color: var(--ink); }
.bl-subnav__ink { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--accent); border-radius: 2px; margin-left: var(--gutter); transition: transform .45s var(--ease), width .45s var(--ease); }

.bl-review { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-block: 40px 24px; align-items: start; }
.bl-review__side { position: sticky; top: calc(var(--header-h) + 72px); }
.bl-block { padding-block: 8px 44px; }
.bl-block + .bl-block { border-top: 1px solid var(--line); padding-top: 44px; }
.bl-block > .bl-h3 { margin-bottom: 20px; }
.bl-block__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bl-verdict { margin: 0 0 24px; padding: 4px 22px 4px 0; border-inline-start: 3px solid var(--accent); font-size: 17.5px; line-height: 2; color: var(--ink-2); }
.bl-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bl-proscons__col { padding: 20px; border-radius: var(--bl-radius); background: var(--surface); border: 1px solid var(--line); }
.bl-proscons__col h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 12px; }
.bl-proscons__col ul { list-style: none; display: grid; gap: 9px; }
.bl-proscons__col li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.is-pro h3 .ph, .is-pro li .ph { color: var(--accent-text); }
.is-con h3 .ph, .is-con li .ph { color: var(--neg); }
.bl-criteria { display: grid; gap: 10px; }
.bl-criterion { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--bl-radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.bl-criterion:hover { border-color: var(--accent-line); transform: translateX(-4px); }
.bl-criterion__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 22px; }
.bl-criterion__head { display: flex; align-items: baseline; gap: 10px; }
.bl-criterion__head h3 { font-size: 16px; }
.bl-criterion__w { font-size: 12px; color: var(--muted); }
.bl-criterion__body p { color: var(--muted); font-size: 13.5px; margin-block: 2px 8px; }
.bl-criterion__score { font-size: 26px; font-weight: 900; }
.bl-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bl-spec { padding: 18px; border-radius: var(--bl-radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; transition: transform .4s var(--ease), border-color .3s; }
.bl-spec:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.bl-spec .ph { font-size: 22px; color: var(--accent-text); margin-bottom: 6px; }
.bl-spec dt { font-size: 12.5px; color: var(--muted); }
.bl-spec dd { font-weight: 850; font-size: 17px; line-height: 1.5; }
.bl-spec:nth-child(1), .bl-spec:nth-child(4) { background: var(--surface-2); }
.bl-accounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bl-account { position: relative; padding: 20px; border-radius: var(--bl-radius); border: 1px solid var(--line); background: var(--surface); }
.bl-account.is-recommended { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bl-account__flag { position: absolute; top: -11px; inset-inline-start: 16px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; padding: 1px 10px; border-radius: var(--pill); }
.bl-account h4 { font-size: 17px; margin-bottom: 10px; direction: ltr; text-align: right; }
.bl-account dl { display: grid; gap: 6px; }
.bl-account dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.bl-account dt { color: var(--muted); }
.bl-account dd { font-weight: 700; text-align: left; }
.bl-taglists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
.bl-licenses { display: grid; gap: 10px; margin-bottom: 18px; }
.bl-license { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--bl-radius); border: 1px solid var(--line); background: var(--surface); }
.bl-license__tier { flex-shrink: 0; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: var(--pill); background: var(--surface-2); color: var(--ink-2); }
.bl-license__tier[data-tier="1"] { background: var(--accent); color: var(--accent-ink); }
.bl-license__body { flex: 1; display: grid; }
.bl-license__body strong { font-weight: 850; }
.bl-license__body span, .bl-license__body small { color: var(--muted); font-size: 13px; }
.bl-features { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.bl-features--grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.bl-feature { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.bl-features--grid .bl-feature { padding: 14px 16px; border-radius: var(--bl-radius); background: var(--surface); border: 1px solid var(--line); }
.bl-feature .ph-fill { color: var(--accent-text); font-size: 21px; }
.bl-feature.is-no { color: var(--muted); }
.bl-feature.is-no .ph { font-size: 21px; }
.bl-rlist { display: grid; }
.bl-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: var(--bl-radius); background: var(--surface-2); color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.bl-note .ph { font-size: 19px; flex-shrink: 0; margin-top: 3px; }
.bl-quick { padding: 20px; display: grid; gap: 10px; }
.bl-quick__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.bl-quick__head strong { flex: 1; font-weight: 800; }
.bl-quick .bl-compare-toggle { width: 100%; }
.bl-quick__note { font-size: 12px; color: var(--muted); line-height: 1.8; }
.bl-similar { background: var(--surface-2); }
[data-theme="dark"] .bl-similar { background: color-mix(in srgb, var(--surface) 70%, transparent); }

/* ---------- Article (research / posts) ---------- */
.bl-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: calc(var(--z-header) + 1); pointer-events: none; display: none; }
@supports (animation-timeline: scroll()) {
	.bl-progress { display: block; }
	.bl-progress span { display: block; height: 100%; background: var(--accent); transform-origin: right; animation: bl-progress linear both; animation-timeline: scroll(root); }
}
@keyframes bl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bl-article__head { padding-block: clamp(28px, 4vw, 48px) 28px; position: relative; }
.bl-article__head::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 85% 0%, color-mix(in srgb, var(--bl-accent) 9%, transparent), transparent 70%); }
.bl-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.bl-article__title { font-size: clamp(27px, 3.8vw, 44px); line-height: 1.45; font-weight: 870; }
.bl-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.bl-article__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.bl-author { display: inline-flex; align-items: center; gap: 10px; }
.bl-author img { border-radius: 50%; }
.bl-author b { color: var(--ink); display: block; line-height: 1.4; }
.bl-author small { display: block; font-size: 12px; }
.bl-article__cover { margin-block: 0 24px; }
.bl-article__cover img { width: 100%; border-radius: calc(var(--bl-radius) + 6px); aspect-ratio: 21/9; object-fit: cover; }
.bl-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-block: 16px 40px; align-items: start; }
.bl-article__body { max-width: 760px; }
.bl-article__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.bl-tldr { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--bl-radius); background: var(--accent-soft); border: 1px solid var(--accent-line); margin-bottom: 20px; }
.bl-tldr strong { display: block; margin-bottom: 4px; }
.bl-tldr p { color: var(--ink-2); font-size: 15px; }
.bl-tldr .bl-ring__label { display: none; }
.bl-findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 32px; }
.bl-finding { padding: 18px; border-radius: var(--bl-radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 4px; }
.bl-finding dd { font-size: 24px; font-weight: 900; color: var(--accent-text); line-height: 1.4; }
.bl-finding dt { font-size: 13px; color: var(--muted); }
.bl-toc { padding: 18px; border-radius: var(--bl-radius); border: 1px solid var(--line); background: var(--surface); }
.bl-toc strong { display: block; margin-bottom: 8px; font-size: 14px; }
.bl-toc ol { list-style: none; display: grid; gap: 2px; border-inline-start: 2px solid var(--line); }
.bl-toc a { display: block; padding: 5px 12px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; font-size: 13.5px; color: var(--muted); transition: .2s; }
.bl-toc a:hover { color: var(--ink); }
.bl-toc a.is-active { color: var(--accent-text); border-inline-start-color: var(--accent); font-weight: 700; }
.bl-related-brokers { padding: 18px; display: grid; gap: 10px; }
.bl-related-brokers ul { list-style: none; display: grid; gap: 4px; }
.bl-related-brokers a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; transition: background-color .2s; }
.bl-related-brokers a:hover { background: var(--surface-2); }
.bl-related-brokers span { flex: 1; font-weight: 650; font-size: 14px; }
.bl-related-brokers em { font-style: normal; font-weight: 850; color: var(--accent-text); }
.bl-sources { margin-top: 32px; }
.bl-sources ol { padding-inline-start: 20px; color: var(--muted); font-size: 14px; }
.bl-sources a { color: var(--accent-text); }
.bl-reviewers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.bl-more { border-top: 1px solid var(--line); }
.bl-more .bl-h2 { margin-bottom: 28px; }

/* ---------- Widgets ---------- */
.bl-widget { padding: 18px; border-radius: var(--bl-radius); border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.bl-widget__title, .bl-widget h2 { font-size: 15px; margin-bottom: 10px; }
.bl-widget ul { list-style: none; display: grid; gap: 6px; }
.bl-widget a:hover { color: var(--accent-text); }
.bl-widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.bl-widget input[type="search"] { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--r-in); border: 1px solid var(--line-2); background: var(--surface-2); }
.bl-widget button { height: 40px; padding: 0 14px; border: 0; border-radius: var(--pill); background: var(--accent); color: var(--accent-ink); font-weight: 700; }

/* ---------- Prose ---------- */
.bl-prose { font-size: 17px; line-height: 2.05; color: var(--ink-2); }
.bl-prose > * + * { margin-top: 1.1em; }
.bl-prose h2 { font-size: 24px; margin-top: 1.8em; color: var(--ink); }
.bl-prose h3 { font-size: 20px; margin-top: 1.5em; color: var(--ink); }
.bl-prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.bl-prose ul, .bl-prose ol { padding-inline-start: 1.4em; }
.bl-prose li + li { margin-top: .4em; }
.bl-prose blockquote { margin-inline: 0; padding: 16px 20px; border-radius: var(--bl-radius); background: var(--surface-2); border-inline-start: 3px solid var(--accent); color: var(--ink); }
.bl-prose img { border-radius: var(--bl-radius); }
.bl-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.bl-prose th, .bl-prose td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); }
.bl-prose th { background: var(--surface-2); }
.bl-prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- Comments ---------- */
.bl-comments__list { list-style: none; display: grid; gap: 14px; margin-block: 20px; }
.bl-comments .comment-body { padding: 16px; border-radius: var(--bl-radius); background: var(--surface); border: 1px solid var(--line); }
.bl-comments .children { list-style: none; padding-inline-start: 24px; margin-top: 12px; }
.comment-form { display: grid; gap: 12px; margin-top: 16px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: var(--r-in); border: 1px solid var(--line-2); background: var(--surface); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------- 404 ---------- */
.bl-404 { padding-block: clamp(56px, 10vw, 120px); text-align: center; }
.bl-404 .bl-lead { margin-inline: auto; }
.bl-404__code { display: block; font-size: clamp(90px, 18vw, 180px); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--line-2); margin-bottom: 18px; }
.bl-404 .bl-search-inline { margin-inline: auto; }
.bl-404__links { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.bl-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: var(--surface); padding-block: clamp(40px, 6vw, 64px) 28px; }
.bl-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; }
.bl-footer__about p { margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 40ch; }
.bl-footer__title { font-size: 15px; margin-bottom: 14px; }
.bl-footer__menu { list-style: none; display: grid; gap: 8px; }
.bl-footer__menu a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; transition: color .2s, transform .3s var(--ease); }
.bl-footer__menu a:hover { color: var(--ink); transform: translateX(-3px); }
.bl-socials { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.bl-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 19px; color: var(--ink-2); transition: .3s var(--ease); }
.bl-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.bl-footer__risk { display: flex; gap: 12px; margin-top: 36px; padding: 16px 18px; border-radius: var(--bl-radius); background: var(--surface-2); color: var(--muted); font-size: 13px; line-height: 1.9; }
.bl-footer__risk .ph { font-size: 20px; flex-shrink: 0; color: var(--ink-2); }
.bl-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.bl-footer__legal { list-style: none; display: flex; gap: 18px; }
.bl-footer__legal a:hover { color: var(--ink); }

/* ---------- Compare tray + toast ---------- */
.bl-tray { position: fixed; bottom: 16px; inset-inline: 16px; z-index: var(--z-tray); display: flex; justify-content: center; pointer-events: none; }
.bl-tray__inner { pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: var(--pill); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .6s var(--ease-spring); max-width: 100%; }
.bl-tray.is-visible .bl-tray__inner { transform: none; }
.bl-tray__items { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.bl-tray__chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 10px; padding-inline-start: 4px; border-radius: var(--pill); background: var(--surface-2); font-size: 13px; font-weight: 650; white-space: nowrap; animation: bl-pop .45s var(--ease-spring); }
.bl-tray__chip img, .bl-tray__chip > b { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: var(--surface); display: grid; place-items: center; font-size: 13px; }
.bl-tray__chip button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--muted); }
.bl-tray__chip button:hover { background: var(--surface-3); color: var(--ink); }
.bl-tray__actions { display: flex; gap: 6px; flex-shrink: 0; }
.bl-tray__count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .22); font-size: 12px; }
.bl-toast { position: fixed; top: calc(var(--header-h) + 14px); left: 50%; z-index: var(--z-toast); transform: translate(-50%, -20px); opacity: 0; padding: 10px 18px; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-weight: 650; font-size: 14px; box-shadow: var(--shadow-md); pointer-events: none; transition: .4s var(--ease); }
.bl-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Compare page ---------- */
.bl-compare { padding-block: 8px clamp(48px, 7vw, 96px); }
.bl-slots { display: grid; grid-template-columns: repeat(var(--slots, 4), minmax(0, 1fr)); gap: 12px; }
.bl-slot { position: relative; min-height: 196px; border-radius: calc(var(--bl-radius) + 4px); animation: bl-row-in .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.bl-slot.is-filled { background: var(--surface); border: 1px solid var(--line); padding: 20px 16px 16px; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.bl-slot.is-filled:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bl-slot__name { font-weight: 800; font-size: 16px; }
.bl-slot__name:hover { color: var(--accent-text); }
.bl-slot__label { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.bl-slot__remove { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); opacity: .6; transition: .25s; }
.bl-slot__remove:hover { opacity: 1; background: var(--neg); color: #fff; transform: rotate(90deg); }
.bl-slot.is-empty { border: 1.5px dashed var(--line-2); }
.bl-slot__add { width: 100%; height: 100%; min-height: 196px; display: grid; place-items: center; align-content: center; gap: 10px; border: 0; background: transparent; border-radius: inherit; color: var(--muted); font-weight: 700; transition: .3s var(--ease); }
.bl-slot__add .ph { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 22px; transition: .4s var(--ease-spring); }
.bl-slot__add:hover { color: var(--accent-text); background: var(--accent-soft); }
.bl-slot__add:hover .ph { background: var(--accent); color: var(--accent-ink); transform: rotate(90deg) scale(1.05); }

.bl-picker { position: absolute; top: 8px; inset-inline: 8px; z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: var(--bl-radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; transform: translateY(-6px) scale(.98); transition: .3s var(--ease); min-width: 240px; }
.bl-picker.is-open { opacity: 1; transform: none; }
.bl-picker__search { display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: var(--r-in); background: var(--surface-2); }
.bl-picker__search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; }
.bl-picker__list { list-style: none; max-height: 260px; overflow-y: auto; margin-top: 6px; display: grid; gap: 2px; }
.bl-picker__list button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 10px; background: transparent; text-align: start; font-weight: 650; transition: background-color .15s; }
.bl-picker__list button:hover, .bl-picker__list button:focus-visible { background: var(--surface-2); }
.bl-picker__list button > span:not(.bl-logo) { flex: 1; }
.bl-picker__list em { font-style: normal; font-weight: 850; color: var(--accent-text); font-size: 13px; }
.bl-picker__empty { padding: 14px; text-align: center; color: var(--muted); font-size: 14px; }

.bl-ctoolbar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding: 8px; border-radius: calc(var(--bl-radius) + 6px); background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.admin-bar .bl-ctoolbar { top: calc(var(--header-h) + 40px); }
.bl-seg { position: relative; display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--surface-2); }
.bl-seg__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: var(--pill); background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .3s; }
.bl-seg__btn.is-active { color: var(--ink); }
.bl-seg__ink { position: absolute; top: 4px; bottom: 4px; right: 4px; width: calc(50% - 4px); border-radius: var(--pill); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease); }
.bl-seg[data-active="steps"] .bl-seg__ink { transform: translateX(-100%); }
.bl-groupfilter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.bl-gchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 650; color: var(--muted); white-space: nowrap; transition: .25s var(--ease); }
.bl-gchip.is-on { color: var(--ink); border-color: var(--line-2); background: var(--surface); }
.bl-gchip:not(.is-on) { text-decoration: line-through; opacity: .7; }
.bl-ctoolbar__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.bl-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.bl-switch input { position: absolute; opacity: 0; }
.bl-switch__ui { width: 40px; height: 24px; border-radius: var(--pill); background: var(--surface-3); position: relative; transition: background-color .3s; }
.bl-switch__ui::after { content: ''; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-spring); }
.bl-switch input:checked + .bl-switch__ui { background: var(--accent); }
.bl-switch input:checked + .bl-switch__ui::after { transform: translateX(-16px); }
.bl-switch input:focus-visible + .bl-switch__ui { outline: 2px solid var(--accent); outline-offset: 2px; }

.bl-scoreboard { margin-top: 18px; }
.bl-scoreboard:empty { display: none; }
.bl-scoreboard__title { font-size: 13px; color: var(--muted); font-weight: 650; margin-bottom: 8px; }
.bl-scoreboard__grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; }
.bl-sb { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--bl-radius); border: 1px solid var(--line); background: var(--surface); transition: .3s; }
.bl-sb__name { flex: 1; font-weight: 750; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bl-sb__wins { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 650; white-space: nowrap; }
.bl-sb.is-lead { border-color: var(--accent); background: var(--accent-soft); }
.bl-sb.is-lead .bl-sb__wins { color: var(--accent-text); }

.bl-cview { margin-top: 18px; }
.bl-ctable { border: 1px solid var(--line); border-radius: calc(var(--bl-radius) + 4px); background: var(--surface); }
.bl-ctable__scroll { overflow-x: auto; border-radius: inherit; }
.bl-ctable__head, .bl-crow { display: grid; grid-template-columns: minmax(170px, 1.1fr) repeat(var(--n), minmax(170px, 1fr)); min-width: calc(170px + var(--n) * 170px); }
.bl-ctable__head { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.bl-ctable__corner { position: sticky; right: 0; background: var(--surface-2); z-index: 2; }
.bl-ctable__bh { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; text-align: center; font-weight: 800; font-size: 14.5px; }
.bl-ctable__bh a:not(.bl-btn):hover { color: var(--accent-text); }
.bl-cgroup__head { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); font-weight: 800; font-size: 15px; text-align: start; position: sticky; right: 0; }
.bl-cgroup__head > .ph:first-child { color: var(--accent-text); font-size: 19px; }
.bl-cgroup__head em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--surface-2); padding: 0 8px; border-radius: var(--pill); }
.bl-cgroup__caret { margin-inline-start: auto; transition: transform .35s var(--ease); }
.bl-cgroup.is-collapsed .bl-cgroup__caret { transform: rotate(90deg); }
.bl-cgroup__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.bl-cgroup__body > * { min-height: 0; }
.bl-cgroup.is-collapsed .bl-cgroup__body { display: none; }
.bl-cgroup__empty { padding: 16px 18px; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line); }
.bl-crow { border-bottom: 1px solid var(--line); animation: bl-fade-in .5s var(--ease) both; animation-delay: calc(var(--ri) * 25ms); transition: background-color .2s; }
.bl-crow:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
.bl-crow__label { position: sticky; right: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 650; font-size: 14px; color: var(--ink-2); background: var(--surface); border-inline-end: 1px solid var(--line); }
.bl-crow:hover .bl-crow__label { background: var(--surface-2); }
.bl-crow__label .ph { color: var(--muted); }
.bl-crow__cell { position: relative; padding: 14px; display: grid; justify-items: center; align-content: center; gap: 6px; text-align: center; font-size: 14.5px; transition: background-color .25s; }
.bl-crow__cell.is-best { background: var(--accent-soft); }
.bl-crow__cell .bl-chips { justify-content: center; }
.bl-best { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: var(--accent-text); }
.bl-cv { font-weight: 700; }
.bl-cv--empty { color: var(--muted); font-weight: 500; font-size: 13px; }
.bl-cv--score { display: grid; justify-items: center; gap: 6px; width: 100%; max-width: 120px; }
.bl-cv--score b { font-size: 17px; font-weight: 900; }
.bl-cv--score small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.bl-cv--score .bl-meter__bar { justify-self: stretch; width: var(--w); justify-self: start; }
.bl-cv--bool { display: inline-flex; align-items: center; gap: 6px; }
.bl-cv--bool.is-yes .ph-fill { color: var(--accent-text); font-size: 19px; }
.bl-cv--bool.is-no { color: var(--muted); font-weight: 500; }
@keyframes bl-fade-in { from { opacity: 0; } to { opacity: 1; } }

.bl-steps { display: grid; gap: 16px; }
.bl-steps__map { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; scroll-snap-type: x proximity; }
.bl-steps__pill { flex-shrink: 0; scroll-snap-align: center; height: 34px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 650; color: var(--muted); white-space: nowrap; transition: .25s var(--ease); }
.bl-steps__pill.is-done { color: var(--ink-2); border-color: var(--accent-line); }
.bl-steps__pill.is-current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bl-stepcard { padding: clamp(20px, 3vw, 36px); border-radius: calc(var(--bl-radius) + 8px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: opacity .16s, transform .16s; }
.bl-stepcard.is-leaving-next { opacity: 0; transform: translateX(-24px); }
.bl-stepcard.is-leaving-prev { opacity: 0; transform: translateX(24px); }
.bl-stepcard.is-entering-next { animation: bl-in-next .5s var(--ease); }
.bl-stepcard.is-entering-prev { animation: bl-in-prev .5s var(--ease); }
@keyframes bl-in-next { from { opacity: 0; transform: translateX(24px); } }
@keyframes bl-in-prev { from { opacity: 0; transform: translateX(-24px); } }
.bl-stepcard__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bl-stepcard__count { color: var(--muted); font-size: 13.5px; font-weight: 650; }
.bl-stepcard__title { font-size: clamp(22px, 3vw, 32px); margin-top: 14px; }
.bl-stepcard__progress { height: 3px; margin-block: 16px 24px; }
.bl-stepcard__progress span { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: 3px; transition: width .5s var(--ease); }
.bl-stepcard__cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; }
.bl-stepcol { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 26px 14px 22px; border-radius: calc(var(--bl-radius) + 2px); border: 1px solid var(--line); background: var(--surface-2); text-align: center; animation: bl-row-in .55s var(--ease) both; animation-delay: calc(var(--i) * 80ms); transition: transform .4s var(--ease); }
.bl-stepcol strong { font-size: 15px; }
.bl-stepcol__val { font-size: 20px; min-height: 40px; display: grid; place-items: center; width: 100%; }
.bl-stepcol__val .bl-cv { font-size: 20px; font-weight: 850; }
.bl-stepcol__val .bl-cv--score b { font-size: 30px; }
.bl-stepcol__val .bl-cv--score { max-width: 160px; }
.bl-stepcol.is-winner { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-4px); box-shadow: 0 16px 30px -18px color-mix(in srgb, var(--bl-accent) 70%, transparent); }
.bl-stepcol.is-loser { opacity: .72; }
.bl-stepcol__crown { position: absolute; top: -13px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 12px; border-radius: var(--pill); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; animation: bl-pop .6s var(--ease-spring) .3s both; }
.bl-stepcard__note { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 13.5px; }
.bl-stepcard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.bl-skel { display: grid; gap: 10px; padding: 16px; border-radius: calc(var(--bl-radius) + 4px); border: 1px solid var(--line); background: var(--surface); }
.bl-skel__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; }
.bl-skel__row span { height: 44px; border-radius: 10px; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: bl-shimmer 1.4s infinite linear; }
@keyframes bl-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.bl-row { grid-template-columns: 30px minmax(180px, 1fr) minmax(200px, auto) auto auto; }
	.bl-row__body { display: none; }
	.bl-specs { grid-template-columns: repeat(2, 1fr); }
	.bl-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
	.bl-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 24px var(--gutter); background: var(--bg); transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; overflow-y: auto; }
	.admin-bar .bl-nav { top: calc(var(--header-h) + 46px); }
	.bl-menu-open .bl-nav { transform: none; visibility: visible; }
	.bl-menu-open { overflow: hidden; }
	.bl-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.bl-nav__list a { font-size: 19px; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.bl-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 16px 0 0; background: transparent; }
	.bl-nav__indicator { display: none; }
	.bl-burger { display: inline-flex; }
	.bl-header__cta { display: none; }
	.bl-hero__grid, .bl-bhero__grid, .bl-cta, .bl-faq-sec__grid { grid-template-columns: 1fr; }
	.bl-review, .bl-article__layout { grid-template-columns: 1fr; }
	.bl-review__side, .bl-article__side { position: static; }
	.bl-review__side { order: -1; display: none; }
	.bl-faq-sec__title { position: static; }
	.bl-cta__stack { justify-items: start; }
	.bl-cta__chip { transform: none !important; }
	.bl-bento { grid-template-columns: repeat(2, 1fr); }
	.bl-bento__cell { grid-column: auto !important; }
	.bl-bento__cell:last-child:nth-child(even) { grid-column: span 2 !important; }
	.bl-latest__grid { grid-template-columns: 1fr; }
	.bl-latest__grid > .bl-rcard--lead { grid-row: auto; }
	.bl-rgrid, .bl-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.bl-rgrid .bl-rcard--lead { grid-template-columns: 1fr; gap: 14px; }
	.bl-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	:root { --header-h: 62px; }
	body { font-size: 15.5px; }
	.bl-row { grid-template-columns: auto 1fr auto; gap: 14px; padding: 16px; }
	.bl-row__rank { display: none; }
	.bl-row__id { grid-column: 1 / 3; }
	.bl-row__score { grid-column: 3; grid-row: 1; }
	.bl-row__facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; border-radius: var(--r-in); background: var(--surface-2); }
	.bl-row__facts dd { font-size: 13.5px; }
	.bl-row__actions { grid-column: 1 / -1; }
	.bl-row__actions .bl-btn { flex: 1; }
	.bl-row__score .bl-ring__label { display: none; }
	.bl-bento { grid-template-columns: 1fr; }
	.bl-bento__intro { grid-column: auto; grid-row: auto; }
	.bl-bento__cell:last-child:nth-child(even) { grid-column: auto !important; }
	.bl-rgrid, .bl-grid-3, .bl-proscons, .bl-taglists, .bl-features--grid { grid-template-columns: 1fr; }
	.bl-stat + .bl-stat { border-inline-start: 0; border-top: 1px solid var(--line); }
	.bl-specs { grid-template-columns: 1fr 1fr; }
	.bl-bhero__id { gap: 14px; }
	.bl-bhero__id .bl-logo--lg { --s: 64px; }
	.bl-bhero__actions > * { flex: 1 1 100%; }
	.bl-criterion { grid-template-columns: auto 1fr; }
	.bl-criterion__score { grid-column: 2; grid-row: 1; justify-self: end; font-size: 22px; }
	.bl-criterion__body { grid-column: 1 / -1; }
	.bl-rcard--line .bl-rcard__media { width: 96px; }
	.bl-footer__grid { grid-template-columns: 1fr; }
	.bl-footer__bottom { flex-direction: column; align-items: flex-start; }
	.bl-ctoolbar { position: static; }
	.bl-ctoolbar__end { margin-inline-start: 0; width: 100%; justify-content: space-between; }
	.bl-groupfilter { flex-basis: 100%; order: 3; }
	.bl-seg { width: 100%; }
	.bl-seg__btn { flex: 1; justify-content: center; }
	.bl-scoreboard__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-sb { flex-wrap: wrap; min-width: 0; }
	.bl-sb__wins { flex-basis: 100%; }
	.bl-stepcard__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bl-slot.is-filled, .bl-slot__add { min-height: 168px; }
	.bl-tray { bottom: 10px; inset-inline: 10px; }
	.bl-tray__inner { width: 100%; border-radius: calc(var(--bl-radius) + 6px); flex-wrap: wrap; padding: 10px; }
	.bl-tray__items { flex-basis: 100%; }
	.bl-tray__actions { width: 100%; }
	.bl-tray__actions .bl-btn { flex: 1; }
	.bl-hero__ctas .bl-btn { flex: 1 1 100%; }
	.bl-board { padding: 14px; }
	.bl-board__row { grid-template-columns: 18px auto 1fr auto; gap: 10px; }
	.bl-board__bars { display: none; }
	.bl-header__actions .bl-icon-btn:not(.bl-burger):not(.bl-theme-toggle) { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.bl-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.bl-marquee__group[aria-hidden] { display: none; }
	.bl-w > span { transform: none !important; }
}
.bl-no-motion *, .bl-no-motion *::before, .bl-no-motion *::after { animation: none !important; transition: none !important; }
.bl-no-motion .bl-marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
.bl-no-motion .bl-marquee__group[aria-hidden] { display: none; }
@media (prefers-reduced-transparency: reduce) {
	.bl-header.is-sticky, .bl-tray__inner, .bl-ctoolbar, .bl-subnav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); }
}
@media print {
	.bl-header, .bl-footer, .bl-tray, .bl-subnav, .bl-ctoolbar { display: none !important; }
}

/* Explicit light mode: keep original palette and correct native color-scheme
   when visitors switch from dark mode or their OS defaults to dark. */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="light"] input,
:root[data-theme="light"] textarea,
:root[data-theme="light"] select { color-scheme: light; }
