/* KeyboardTester.click — Hardware Buying Guide Design System
 * Aligned with KBT's modern slate-blue aesthetic (download-center palette) with full Light & Dark support.
 */

.bg-page,
.bg-main {
    --bg-canvas: #f4f7fc;
    --bg-surface: #ffffff;
    --bg-surface-2: #f8fbff;
    --bg-ink: #15223a;
    --bg-muted: #4c5c74;
    --bg-line: #d6e0ee;
    --bg-soft: #eaf1fb;
    --bg-accent: #174cbd;
    --bg-accent-hover: #123c99;
    --bg-focus: #2667e5;
    --bg-shadow: 0 8px 26px rgba(20, 42, 78, 0.06);
    --bg-shadow-hover: 0 14px 34px rgba(20, 42, 78, 0.11);
    --bg-warn-bg: #fff8eb;
    --bg-warn-border: #f5d08a;
    --bg-warn-ink: #8a5100;
    --bg-ok-bg: #ecfdf5;
    --bg-ok-border: #a7f3d0;
    --bg-ok-ink: #065f46;
}

.bg-main {
    background: var(--bg-canvas);
    color: var(--bg-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
    min-height: 60vh;
    overflow-x: clip;
}

html.dark-theme .bg-page,
html[data-theme="dark"] .bg-page,
html[data-kbt-msn-theme="dark"] .bg-page,
body.dark-theme.bg-page,
html.dark-theme .bg-main,
html[data-theme="dark"] .bg-main,
html[data-kbt-msn-theme="dark"] .bg-main,
body.dark-theme .bg-main {
    --bg-canvas: #0b1425;
    --bg-surface: #131f33;
    --bg-surface-2: #182740;
    --bg-ink: #f0f5ff;
    --bg-muted: #b3c5df;
    --bg-line: #2a3c59;
    --bg-soft: #1b2e4c;
    --bg-accent: #7eb3ff;
    --bg-accent-hover: #a2cbff;
    --bg-focus: #9ac9ff;
    --bg-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    --bg-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.36);
    --bg-warn-bg: rgba(245, 158, 11, 0.12);
    --bg-warn-border: rgba(245, 158, 11, 0.35);
    --bg-warn-ink: #fcd34d;
    --bg-ok-bg: rgba(16, 185, 129, 0.12);
    --bg-ok-border: rgba(16, 185, 129, 0.32);
    --bg-ok-ink: #6ee7b7;
}

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

.bg-main [hidden] {
    display: none !important;
}

.bg-main [id] {
    scroll-margin-block-start: 88px;
}

.bg-main :focus-visible {
    outline: 3px solid var(--bg-focus);
    outline-offset: 3px;
}

.bg-wrap {
    max-width: 1320px;
    width: 100%;
    margin-inline: auto;
    padding: 20px clamp(16px, 3vw, 40px) 72px;
}

.bg-hero > *,
.bg-section > *,
.bg-dual-index > *,
.bg-pros-cons > *,
.bg-model-grid > *,
.bg-brand-grid > *,
.bg-category-grid > *,
.bg-news-grid > *,
.bg-vertical-grid > *,
.bg-layout-cards > *,
.bg-checklist-grid > *,
.bg-principles-grid > * {
    min-width: 0;
}

/* Breadcrumbs */
.bg-breadcrumbs {
    margin-bottom: 16px;
}
.bg-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: var(--bg-muted);
}
.bg-breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: 0.5;
}
.bg-breadcrumbs a {
    color: var(--bg-accent);
    text-decoration: none;
    font-weight: 600;
}
.bg-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Switcher Bar (Brands / Categories) */
.bg-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    border-radius: 14px;
    overflow-x: auto;
}
.bg-switcher-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg-muted);
    white-space: nowrap;
}
.bg-switcher-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.bg-switch-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface-2);
    color: var(--bg-ink);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.16s, background 0.16s, color 0.16s;
}
.bg-switch-pill:hover {
    border-color: var(--bg-accent);
    background: var(--bg-soft);
}
.bg-switch-pill.is-current {
    background: var(--bg-accent);
    border-color: var(--bg-accent);
    color: #fff;
}
html.dark-theme .bg-switch-pill.is-current,
html[data-theme="dark"] .bg-switch-pill.is-current,
html[data-kbt-msn-theme="dark"] .bg-switch-pill.is-current {
    color: #0b1425;
}

/* Hero Banner */
.bg-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(24px, 3.6vw, 52px);
    padding: clamp(26px, 3.6vw, 46px);
    border: 1px solid #2b5290;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(56, 189, 248, 0.28), transparent 65%),
        radial-gradient(ellipse at 12% 92%, rgba(37, 99, 235, 0.26), transparent 60%),
        linear-gradient(135deg, #0d1a38 4%, #132e61 58%, #103c68);
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(13, 28, 60, 0.22);
}

/* Keyboards Hub Editorial Visual Hero (Copy + Prominent Human/Keyboard Photo + Quick Match Dock) */
.bg-hero--keyboards {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(20px, 2.4vw, 28px);
    padding: clamp(24px, 3vw, 38px);
}
.bg-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}
.bg-hero-top > * {
    min-width: 0;
}
.bg-hero-visual {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(162, 234, 255, 0.34);
    background: #081226;
    box-shadow: 0 20px 48px rgba(4, 10, 24, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.06);
    aspect-ratio: 16 / 9;
}
.bg-hero-visual picture,
.bg-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}
.bg-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 18, 38, 0.05) 55%, rgba(8, 18, 38, 0.68) 100%);
}
.bg-hero-visual-caption {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(8, 22, 50, 0.72);
    border: 1px solid rgba(162, 234, 255, 0.3);
    backdrop-filter: blur(8px);
    color: #dff4ff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.bg-quick-wizard--dock {
    padding: 16px 18px;
    border-radius: 16px;
}
.bg-wizard-dock-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 12px;
}
.bg-wizard-dock-head .bg-wizard-kicker {
    margin: 0;
}
.bg-wizard-dock-head h2 {
    margin: 0;
    font-size: 1.04rem;
}
.bg-quick-wizard--dock .bg-wizard-grid--six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}
.bg-quick-wizard--dock .bg-wizard-grid--six .bg-wizard-btn {
    padding: 10px 10px;
    gap: 8px;
}
.bg-quick-wizard--dock .bg-wizard-grid--six .bg-wizard-btn strong {
    font-size: 0.84rem;
}
.bg-quick-wizard--dock .bg-wizard-grid--six .bg-wizard-btn small {
    font-size: 0.72rem;
}
@media (max-width: 1120px) {
    .bg-hero-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    }
    .bg-quick-wizard--dock .bg-wizard-grid--six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .bg-hero-top {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 580px) {
    .bg-quick-wizard--dock .bg-wizard-grid--six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.bg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(162, 234, 255, 0.14);
    border: 1px solid rgba(162, 234, 255, 0.32);
    color: #bceeff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.bg-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.15rem, 4.1vw, 3.6rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.04em;
}
.bg-hero h1 span {
    display: block;
    color: #a2eaff;
}
.bg-hero-lead {
    margin: 16px 0 0;
    max-width: 58ch;
    color: #dbe8fc;
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
    line-height: 1.62;
}
.bg-hero-lead strong {
    color: #ffffff;
}

.bg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.bg-jump-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.bg-jump-pills a {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #dcebff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}
.bg-jump-pills a:hover {
    background: rgba(162, 234, 255, 0.22);
    color: #ffffff;
}

/* Hero Metrics & Dossier & Quick Wizard */
.bg-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.bg-metric-card {
    padding: 20px;
    border-radius: 16px;
    background: rgba(8, 22, 50, 0.56);
    border: 1px solid rgba(162, 234, 255, 0.24);
    backdrop-filter: blur(6px);
}
.bg-metric-card strong {
    display: block;
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    font-weight: 800;
    color: #a2eaff;
    line-height: 1.1;
}
.bg-metric-card span {
    display: block;
    margin-top: 6px;
    font-size: 0.86rem;
    color: #d6e6ff;
}

.bg-quick-wizard,
.bg-dossier-card {
    padding: 22px;
    border-radius: 18px;
    background: rgba(8, 22, 50, 0.58);
    border: 1px solid rgba(162, 234, 255, 0.25);
    backdrop-filter: blur(8px);
}
.bg-wizard-kicker {
    margin: 0 0 4px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a2eaff;
}
.bg-quick-wizard h2,
.bg-dossier-card h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}
.bg-wizard-sub {
    margin: 0 0 14px;
    font-size: 0.86rem;
    color: #cfe0fa;
}
.bg-wizard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.bg-wizard-btn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(162, 234, 255, 0.24);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: background 0.16s, border-color 0.16s, transform 0.16s;
}
.bg-wizard-btn:hover {
    background: rgba(162, 234, 255, 0.18);
    border-color: #a2eaff;
    transform: translateY(-1px);
}
.bg-wizard-btn svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #a2eaff;
}
.bg-wizard-btn strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.25;
}
.bg-wizard-btn small {
    display: block;
    font-size: 0.76rem;
    color: #c7daf7;
    margin-top: 2px;
}

.bg-dossier-list {
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}
.bg-dossier-list > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(162, 234, 255, 0.16);
    font-size: 0.88rem;
}
.bg-dossier-list dt {
    color: #9ed7ff;
    font-weight: 700;
}
.bg-dossier-list dd {
    margin: 0;
    color: #eaf2ff;
}

.bg-criteria-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.bg-criteria-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.9rem;
    color: #e4efff;
}
.bg-criteria-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #7ee8fa;
}

/* Buttons */
.bg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px solid var(--bg-line);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.14s;
}
.bg-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.bg-btn--lg {
    min-height: 46px;
    padding: 11px 22px;
    font-size: 0.95rem;
}
.bg-btn--primary {
    background: var(--bg-accent);
    border-color: var(--bg-accent);
    color: #ffffff;
}
.bg-btn--primary:hover {
    background: var(--bg-accent-hover);
    border-color: var(--bg-accent-hover);
    color: #ffffff;
}
html.dark-theme .bg-btn--primary,
html[data-theme="dark"] .bg-btn--primary,
html[data-kbt-msn-theme="dark"] .bg-btn--primary {
    color: #0b1425;
}
.bg-btn--ghost {
    background: var(--bg-surface);
    border-color: var(--bg-line);
    color: var(--bg-ink);
}
.bg-btn--ghost:hover {
    border-color: var(--bg-accent);
    background: var(--bg-soft);
    color: var(--bg-accent);
}
.bg-btn--hero-primary {
    background: #a2eaff;
    border-color: #a2eaff;
    color: #0e2444;
    min-height: 44px;
    padding: 10px 18px;
}
.bg-btn--hero-primary:hover {
    background: #d2f5ff;
    border-color: #d2f5ff;
    color: #0e2444;
}
.bg-btn--hero-secondary {
    background: rgba(9, 28, 62, 0.46);
    border-color: #6b91c4;
    color: #ffffff;
    min-height: 44px;
    padding: 10px 16px;
}
.bg-btn--hero-secondary:hover {
    background: #1d447b;
    border-color: #a2eaff;
    color: #ffffff;
}
.bg-btn--compare {
    background: var(--bg-surface-2);
    border-color: var(--bg-line);
    color: var(--bg-muted);
    padding-inline: 11px;
}
.bg-btn--compare:hover {
    border-color: var(--bg-accent);
    color: var(--bg-accent);
}
.bg-btn--compare[aria-pressed="true"] {
    background: var(--bg-soft);
    border-color: var(--bg-accent);
    color: var(--bg-accent);
}
.bg-link-btn {
    background: none;
    border: none;
    padding: 6px 4px;
    color: var(--bg-accent);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}
.bg-link-btn:hover {
    text-decoration: underline;
}

/* Sections */
.bg-section {
    margin-top: 44px;
}
.bg-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 20px;
}
.bg-section-kicker {
    margin: 0 0 4px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg-accent);
}
.bg-section-head h2 {
    margin: 0;
    font-size: clamp(1.42rem, 2.3vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--bg-ink);
}
.bg-section-sub {
    margin: 0;
    max-width: 56ch;
    color: var(--bg-muted);
    font-size: 0.94rem;
}
.bg-text-link {
    color: var(--bg-accent);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}
.bg-text-link:hover {
    text-decoration: underline;
}

/* Hub Verticals Grid */
.bg-vertical-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.bg-vertical-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    position: relative;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.bg-vertical-card--live {
    border-color: var(--bg-accent);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}
.bg-vertical-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
}
.bg-vertical-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.bg-vertical-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--bg-soft);
    color: var(--bg-card-accent, var(--bg-accent));
}
.bg-phase-pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.bg-phase-pill--live {
    background: var(--bg-ok-bg);
    color: var(--bg-ok-ink);
    border: 1px solid var(--bg-ok-border);
}
.bg-phase-pill--next {
    background: var(--bg-warn-bg);
    color: var(--bg-warn-ink);
    border: 1px solid var(--bg-warn-border);
}
.bg-phase-pill--planned {
    background: var(--bg-soft);
    color: var(--bg-muted);
    border: 1px solid var(--bg-line);
}
.bg-vertical-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}
.bg-vertical-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--bg-muted);
    flex: 1;
}
.bg-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bg-pill-row li {
    padding: 4px 9px;
    border-radius: 8px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bg-muted);
}
.bg-vertical-tools {
    padding-top: 10px;
    border-top: 1px solid var(--bg-line);
    font-size: 0.82rem;
}
.bg-vertical-tools > span {
    display: block;
    font-weight: 700;
    color: var(--bg-muted);
    margin-bottom: 5px;
}
.bg-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.bg-inline-links a {
    color: var(--bg-accent);
    text-decoration: none;
    font-weight: 600;
}
.bg-inline-links a:hover {
    text-decoration: underline;
}
.bg-vertical-foot {
    margin-top: 4px;
}
.bg-vertical-foot .bg-btn {
    width: 100%;
}

/* Dual Index Panel on Hub */
.bg-dual-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.bg-index-panel {
    padding: 20px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
}
.bg-index-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.bg-index-panel-head h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}
.bg-index-panel-head span {
    font-size: 0.82rem;
    color: var(--bg-muted);
    font-weight: 600;
}
.bg-mini-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.bg-mini-link-grid--wide {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.bg-mini-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    color: var(--bg-ink);
    text-decoration: none;
    transition: border-color 0.16s, background 0.16s, transform 0.14s;
}
.bg-mini-link:hover {
    border-color: var(--bg-card-accent, var(--bg-accent));
    background: var(--bg-soft);
    transform: translateY(-1px);
}
.bg-mini-link-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    color: var(--bg-card-accent, var(--bg-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bg-mini-link strong {
    display: block;
    font-size: 0.86rem;
    line-height: 1.25;
}
.bg-mini-link small {
    display: block;
    font-size: 0.75rem;
    color: var(--bg-muted);
}

/* Monogram Badges */
.bg-monogram {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bg-monogram--sm {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 0.68rem;
}
.bg-monogram--lg {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 1rem;
}

/* 10 Category Cards */
.bg-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.bg-category-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    border-top: 3px solid var(--bg-card-accent, var(--bg-accent));
    transition: transform 0.16s, box-shadow 0.16s;
}
.bg-category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
}
.bg-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.bg-category-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--bg-soft);
    color: var(--bg-card-accent, var(--bg-accent));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bg-count-pill {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--bg-muted);
    white-space: nowrap;
}
.bg-category-card h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
}
.bg-category-card h3 a {
    color: var(--bg-ink);
    text-decoration: none;
}
.bg-category-card h3 a:hover {
    color: var(--bg-accent);
}
.bg-category-desc {
    margin: 0;
    font-size: 0.83rem;
    color: var(--bg-muted);
    flex: 1;
}
.bg-category-lead-pick {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    font-size: 0.8rem;
    line-height: 1.35;
}
.bg-category-lead-pick span {
    color: var(--bg-accent);
    font-weight: 800;
    margin-right: 4px;
}
.bg-category-lead-pick small {
    color: var(--bg-muted);
}
.bg-category-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}
.bg-category-foot .bg-btn {
    padding: 6px 11px;
    min-height: 34px;
    font-size: 0.8rem;
}

/* 10 Brand Cards */
.bg-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.bg-brand-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.bg-brand-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
    border-color: var(--bg-brand-accent, var(--bg-accent));
}
.bg-brand-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.bg-brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bg-brand-rank {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bg-muted);
}
.bg-brand-identity h3 {
    margin: 1px 0 0;
    font-size: 1.15rem;
    font-weight: 800;
}
.bg-brand-identity h3 a {
    color: var(--bg-ink);
    text-decoration: none;
}
.bg-brand-identity h3 a:hover {
    color: var(--bg-accent);
}
.bg-brand-sub {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--bg-muted);
}
.bg-brand-best {
    margin: 0;
    font-size: 0.92rem;
    color: var(--bg-ink);
}
.bg-brand-facts {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
}
.bg-brand-facts > div {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 8px;
}
.bg-brand-facts dt {
    color: var(--bg-muted);
    font-weight: 700;
}
.bg-brand-facts dd {
    margin: 0;
    color: var(--bg-ink);
}
.bg-brand-preview-models {
    font-size: 0.82rem;
    color: var(--bg-muted);
}
.bg-brand-preview-models span {
    font-weight: 700;
    color: var(--bg-ink);
}
.bg-brand-preview-models p {
    margin: 3px 0 0;
}
.bg-brand-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

/* Interactive Filter Bar */
.bg-filter-bar {
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    display: grid;
    gap: 14px;
}
.bg-filter-search {
    position: relative;
    display: flex;
    align-items: center;
}
.bg-filter-search svg {
    position: absolute;
    left: 14px;
    color: var(--bg-muted);
    pointer-events: none;
}
.bg-filter-search input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px 10px 42px;
    border-radius: 12px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface-2);
    color: var(--bg-ink);
    font: inherit;
    font-size: 0.94rem;
}
.bg-filter-selects {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.bg-filter-selects label {
    display: grid;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bg-muted);
}
.bg-filter-selects select {
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface-2);
    color: var(--bg-ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
}
.bg-filter-status-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-line);
}
.bg-filter-count {
    margin: 0;
    font-size: 0.88rem;
    color: var(--bg-muted);
}
.bg-filter-count strong {
    color: var(--bg-ink);
}
.bg-filter-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bg-chip-btn {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface-2);
    color: var(--bg-ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.bg-chip-btn:hover {
    border-color: var(--bg-accent);
    color: var(--bg-accent);
}
.bg-chip-btn[aria-pressed="true"] {
    background: var(--bg-accent);
    border-color: var(--bg-accent);
    color: #fff;
}
html.dark-theme .bg-chip-btn[aria-pressed="true"],
html[data-theme="dark"] .bg-chip-btn[aria-pressed="true"],
html[data-kbt-msn-theme="dark"] .bg-chip-btn[aria-pressed="true"] {
    color: #0b1425;
}

/* Model Grid & Cards */
.bg-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.bg-model-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.bg-model-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
    border-color: var(--bg-brand-accent, var(--bg-accent));
}
.bg-model-media {
    position: relative;
    background: var(--bg-surface-2);
    border-bottom: 1px solid var(--bg-line);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}
.bg-model-media--photo {
    padding: 0;
    background: #f4f7fb;
}
html.dark-theme .bg-model-media--photo,
html[data-theme="dark"] .bg-model-media--photo,
html[data-kbt-msn-theme="dark"] .bg-model-media--photo,
body.dark-theme .bg-model-media--photo {
    background: #0d1628;
}
.bg-model-media--schematic {
    background: radial-gradient(
        circle at 50% 42%,
        color-mix(in srgb, var(--bg-brand-accent, #2563eb) 11%, var(--bg-surface-2)) 0%,
        var(--bg-surface-2) 76%
    );
}
.bg-model-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 72%;
}
.bg-badge {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.bg-badge--rank {
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bg-badge--award {
    background: var(--bg-accent);
    color: #ffffff;
}
html.dark-theme .bg-badge--award,
html[data-theme="dark"] .bg-badge--award,
html[data-kbt-msn-theme="dark"] .bg-badge--award {
    color: #0b1425;
}
.bg-badge--new {
    background: #10b981;
    color: #052e16;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.bg-price-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}
html.dark-theme .bg-price-pill,
html[data-theme="dark"] .bg-price-pill,
html[data-kbt-msn-theme="dark"] .bg-price-pill,
body.dark-theme .bg-price-pill {
    background: rgba(11, 20, 37, 0.86);
    border-color: rgba(148, 163, 184, 0.28);
    color: #f8fafc;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.36);
}
.bg-model-photo {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    overflow: hidden;
}
.bg-model-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.bg-model-card:hover .bg-model-photo img {
    transform: scale(1.035);
}
.bg-photo-tag,
.bg-schematic-caption {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-surface) 84%, transparent);
    border: 1px solid var(--bg-line);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bg-muted);
}
.bg-schematic {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 22px;
    color: var(--bg-ink);
}
.bg-schematic svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.08));
}
.bg-k-frame {
    fill: currentColor;
    fill-opacity: 0.08;
    stroke: currentColor;
    stroke-opacity: 0.28;
    stroke-width: 1.5;
}
.bg-k {
    fill: currentColor;
    fill-opacity: 0.20;
    stroke: currentColor;
    stroke-opacity: 0.34;
    stroke-width: 0.95;
}
.bg-k-ac {
    fill: var(--bg-brand-accent, #2563eb);
    fill-opacity: 0.94;
    stroke: var(--bg-brand-accent, #2563eb);
    stroke-opacity: 1;
    stroke-width: 0.95;
}

.bg-model-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.bg-model-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.bg-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    color: var(--bg-ink);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}
.bg-brand-chip:hover {
    border-color: var(--bg-accent);
    color: var(--bg-accent);
}
.bg-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-brand-accent, var(--bg-accent));
    flex-shrink: 0;
}
.bg-spec-chip {
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--bg-accent);
    font-size: 0.74rem;
    font-weight: 700;
}
.bg-spec-chip--tech {
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    color: var(--bg-muted);
}
.bg-model-title {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.28;
    color: var(--bg-ink);
}
.bg-model-tagline {
    margin: 0;
    font-size: 0.87rem;
    color: var(--bg-muted);
}
.bg-best-for {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--bg-soft);
    font-size: 0.82rem;
    color: var(--bg-ink);
}
.bg-spec-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
    padding: 10px;
    border-radius: 11px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    font-size: 0.78rem;
}
.bg-spec-grid dt {
    font-weight: 700;
    color: var(--bg-muted);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
}
.bg-spec-grid dd {
    margin: 1px 0 0;
    color: var(--bg-ink);
    font-weight: 600;
}
.bg-highlights {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 5px;
    font-size: 0.83rem;
    color: var(--bg-ink);
    flex: 1;
}
.bg-watch-out {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--bg-warn-bg);
    border: 1px solid var(--bg-warn-border);
    color: var(--bg-warn-ink);
    font-size: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.bg-watch-out svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.bg-model-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding-top: 8px;
    border-top: 1px solid var(--bg-line);
}
.bg-model-actions .bg-btn--primary {
    flex: 1 1 150px;
}

.bg-empty-state {
    text-align: center;
    padding: 40px 20px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px dashed var(--bg-line);
}
.bg-load-more-wrap {
    margin-top: 22px;
    text-align: center;
}

/* Announcements & Launch Watch */
.bg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bg-tab {
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface);
    color: var(--bg-ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.bg-tab.is-active {
    background: var(--bg-accent);
    border-color: var(--bg-accent);
    color: #fff;
}
html.dark-theme .bg-tab.is-active,
html[data-theme="dark"] .bg-tab.is-active,
html[data-kbt-msn-theme="dark"] .bg-tab.is-active {
    color: #0b1425;
}
.bg-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.bg-news-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    gap: 10px;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.bg-news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
    border-color: var(--bg-accent);
}
.bg-news-card--has-thumb {
    padding: 0;
    gap: 0;
    overflow: hidden;
}
.bg-news-card--has-thumb .bg-news-content {
    padding: 18px 20px 20px;
}
.bg-news-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 0;
    background: #f4f7fb;
    border: 0;
    border-bottom: 1px solid var(--bg-line);
    display: block;
    padding: 0;
    overflow: hidden;
}
html.dark-theme .bg-news-thumb,
html[data-theme="dark"] .bg-news-thumb,
html[data-kbt-msn-theme="dark"] .bg-news-thumb,
body.dark-theme .bg-news-thumb {
    background: #0d1628;
}
.bg-news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.bg-news-card:hover .bg-news-thumb img {
    transform: scale(1.03);
}
@media (prefers-reduced-motion: reduce) {
    .bg-model-photo img,
    .bg-news-thumb img {
        transition: none;
    }
    .bg-model-card:hover .bg-model-photo img,
    .bg-news-card:hover .bg-news-thumb img {
        transform: none;
    }
}
.bg-news-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.bg-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
}
.bg-status-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bg-status-pill--released {
    background: var(--bg-ok-bg);
    color: var(--bg-ok-ink);
    border: 1px solid var(--bg-ok-border);
}
.bg-status-pill--announced {
    background: var(--bg-soft);
    color: var(--bg-accent);
    border: 1px solid var(--bg-line);
}
.bg-status-pill--watch {
    background: var(--bg-warn-bg);
    color: var(--bg-warn-ink);
    border: 1px solid var(--bg-warn-border);
}
.bg-news-date,
.bg-news-brand,
.bg-news-vertical {
    color: var(--bg-muted);
    font-weight: 600;
}
.bg-news-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}
.bg-news-headline {
    margin: 0;
    font-size: 0.9rem;
    color: var(--bg-ink);
}
.bg-news-diff {
    margin: 0;
    font-size: 0.84rem;
    color: var(--bg-muted);
    flex: 1;
}
.bg-news-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-line);
}
.bg-news-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--bg-ink);
}
.bg-news-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Tables */
.bg-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface);
    box-shadow: var(--bg-shadow);
}
.bg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.bg-table thead th {
    background: var(--bg-surface-2);
    color: var(--bg-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid var(--bg-line);
    white-space: nowrap;
}
.bg-table tbody th,
.bg-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--bg-line);
    vertical-align: middle;
    text-align: left;
}
.bg-table tbody tr:last-child th,
.bg-table tbody tr:last-child td {
    border-bottom: none;
}
.bg-table tbody a {
    color: var(--bg-accent);
    font-weight: 700;
    text-decoration: none;
}
.bg-table tbody a:hover {
    text-decoration: underline;
}
.bg-rank-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 26px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--bg-accent);
    font-weight: 800;
    font-size: 0.8rem;
}
.bg-table-award {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.bg-table-buy {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--bg-accent) !important;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}
.bg-inline-new {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #10b981;
    color: #052e16;
    font-size: 0.7rem;
    font-weight: 800;
    vertical-align: middle;
}

/* Handbook & Layout Guide */
.bg-subblock {
    margin-top: 24px;
}
.bg-subblock-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 800;
}
.bg-layout-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.bg-layout-card {
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.bg-layout-card .bg-schematic {
    padding: 14px 12px 10px;
    background: var(--bg-surface-2);
    border-bottom: 1px solid var(--bg-line);
}
.bg-layout-card-body {
    padding: 14px;
    font-size: 0.84rem;
    display: grid;
    gap: 6px;
}
.bg-layout-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.bg-layout-card-head h4 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
}
.bg-layout-card-head span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bg-accent);
}
.bg-layout-card-body p {
    margin: 0;
}
.bg-muted {
    color: var(--bg-muted);
}
.bg-handbook-more {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: var(--bg-muted);
}
.bg-handbook-more a {
    color: var(--bg-accent);
    font-weight: 700;
}

/* Principles & 5-Minute Verification Checklist */
.bg-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.bg-principle-card,
.bg-check-card {
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bg-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--bg-accent);
    font-size: 0.84rem;
    font-weight: 800;
}
.bg-principle-card h3,
.bg-check-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}
.bg-principle-card p,
.bg-check-card p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--bg-muted);
    flex: 1;
}

.bg-verify-band {
    padding: 28px;
    border-radius: 22px;
    background: var(--bg-soft);
    border: 1px solid var(--bg-line);
}
.bg-checklist-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

/* Homepage-matching Tool Tiles (used in Delivery Day Checks) */
.bg-home-tiles-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}
.bg-home-tiles-grid > * {
    min-width: 0;
}
.bg-home-tile {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bg-home-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
    border-color: var(--bg-accent);
}
.bg-home-tile-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 292px;
    color: var(--bg-ink);
    text-decoration: none;
    isolation: isolate;
}
.bg-home-tile-media {
    flex: 0 0 auto;
    aspect-ratio: 1.91;
    overflow: hidden;
    background: var(--bg-surface-2);
}
.bg-home-tile-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.bg-home-tile:hover .bg-home-tile-media img {
    transform: scale(1.03);
}
.bg-home-tile-copy {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 11px 14px 12px;
}
.bg-home-tile-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bg-muted);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.bg-home-tile-category > span {
    display: inline-flex;
    color: var(--bg-accent);
}
.bg-home-tile-category svg {
    width: 15px;
    height: 15px;
}
.bg-home-tile-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    margin: 0;
    color: var(--bg-ink);
    font-size: 15.5px;
    line-height: 21px;
    font-weight: 650;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}
.bg-home-tile-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 8px;
}
.bg-home-tile-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.bg-home-tile-stars {
    position: relative;
    display: inline-block;
    color: #9aa5b6;
    font: 400 13.5px/16px Arial, sans-serif;
    letter-spacing: 0.5px;
}
.bg-home-tile-stars > span {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: #a86200;
    font: inherit;
    letter-spacing: inherit;
    white-space: nowrap;
}
html.dark-theme .bg-home-tile-stars > span,
html[data-theme="dark"] .bg-home-tile-stars > span,
html[data-kbt-msn-theme="dark"] .bg-home-tile-stars > span,
body.dark-theme .bg-home-tile-stars > span {
    color: #ffb020;
}
.bg-home-tile-rating-meta {
    color: var(--bg-muted);
    font-size: 11.5px;
    line-height: 15px;
}
.bg-home-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bg-muted);
    font-size: 11.5px;
    line-height: 15px;
    font-weight: 500;
    white-space: nowrap;
}
.bg-home-tile:hover .bg-home-tile-cta {
    color: var(--bg-accent);
}
@media (max-width: 1180px) {
    .bg-home-tiles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 780px) {
    .bg-home-tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bg-home-tile-link {
        min-height: 268px;
    }
}
@media (max-width: 520px) {
    .bg-home-tiles-grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bg-home-tile,
    .bg-home-tile-media img {
        transition: none;
    }
    .bg-home-tile:hover,
    .bg-home-tile:hover .bg-home-tile-media img {
        transform: none;
    }
}

/* Brand Strengths / Watch-outs */
.bg-pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.bg-pros-card,
.bg-cons-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface);
}
.bg-pros-card {
    border-left: 4px solid #10b981;
}
.bg-cons-card {
    border-left: 4px solid #f59e0b;
}
.bg-pros-card h3,
.bg-cons-card h3 {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.02rem;
    font-weight: 800;
}
.bg-pros-card ul,
.bg-cons-card ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--bg-ink);
}

/* FAQ */
.bg-faq-list {
    display: grid;
    gap: 10px;
}
.bg-faq-item {
    border-radius: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    padding: 15px 18px;
}
.bg-faq-item summary {
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    color: var(--bg-ink);
}
.bg-faq-item p {
    margin: 10px 0 0;
    font-size: 0.92rem;
    color: var(--bg-muted);
    line-height: 1.65;
}

/* Disclosure */
.bg-disclosure {
    margin-top: 36px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
}
.bg-disclosure p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--bg-muted);
    line-height: 1.55;
}

/* Official Manufacturer Logos (Light / Dark / Hero adaptive) */
.bg-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}
.bg-brand-logo img {
    display: block;
    object-fit: contain;
    width: auto;
}
.bg-brand-logo--sm img {
    height: 14px;
    max-width: 68px;
}
.bg-brand-logo--sm.is-mark img {
    height: 15px;
    max-width: 18px;
}
.bg-brand-logo--md img {
    height: 24px;
    max-width: 126px;
}
.bg-brand-logo--md.is-mark img {
    height: 26px;
    max-width: 30px;
}
.bg-brand-logo--lg img {
    height: 30px;
    max-width: 165px;
}
.bg-brand-logo--lg.is-mark img {
    height: 34px;
    max-width: 40px;
}
.bg-brand-logo-text {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--bg-ink);
}
.bg-brand-logo--lg .bg-brand-logo-text {
    font-size: 1.2rem;
}
.bg-brand-logo.is-ondark .bg-brand-logo-text {
    color: #ffffff;
}

/* Monochrome dark logos invert cleanly on dark themes & dark hero surfaces */
.bg-brand-logo--invert_dark.is-ondark img,
html.dark-theme .bg-brand-logo--invert_dark img,
html[data-theme="dark"] .bg-brand-logo--invert_dark img,
html[data-kbt-msn-theme="dark"] .bg-brand-logo--invert_dark img,
body.dark-theme .bg-brand-logo--invert_dark img {
    filter: brightness(0) invert(1);
}

/* Bright Razer green gains crisp contrast on light backgrounds, stays vivid on dark */
.bg-brand-logo--color_green:not(.is-ondark) img {
    filter: brightness(0.68) saturate(1.25);
}
html.dark-theme .bg-brand-logo--color_green img,
html[data-theme="dark"] .bg-brand-logo--color_green img,
html[data-kbt-msn-theme="dark"] .bg-brand-logo--color_green img,
body.dark-theme .bg-brand-logo--color_green img,
.bg-brand-logo--color_green.is-ondark img {
    filter: none;
}

/* Dual-variant logos (e.g. CHERRY XTRFY) */
.bg-brand-logo--dual .bg-logo-dark {
    display: none;
}
html.dark-theme .bg-brand-logo--dual .bg-logo-light,
html[data-theme="dark"] .bg-brand-logo--dual .bg-logo-light,
html[data-kbt-msn-theme="dark"] .bg-brand-logo--dual .bg-logo-light,
body.dark-theme .bg-brand-logo--dual .bg-logo-light {
    display: none;
}
html.dark-theme .bg-brand-logo--dual .bg-logo-dark,
html[data-theme="dark"] .bg-brand-logo--dual .bg-logo-dark,
html[data-kbt-msn-theme="dark"] .bg-brand-logo--dual .bg-logo-dark,
body.dark-theme .bg-brand-logo--dual .bg-logo-dark {
    display: block;
}

.bg-hero-brand-lockup {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.bg-eyebrow--inline {
    margin: 0;
}

/* Clean 5-Column Brand Logo Grid (Top 10 Manufacturers) */
.bg-brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.bg-brand-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    border-top: 3px solid var(--bg-brand-accent, var(--bg-accent));
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.bg-brand-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--bg-shadow-hover);
}
.bg-brand-tile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.bg-brand-num {
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--bg-muted);
}
.bg-brand-tile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 10px 8px;
    border-radius: 12px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    text-decoration: none;
}
.bg-brand-tile-pitch {
    margin: 0;
    font-size: 0.82rem;
    color: var(--bg-muted);
    line-height: 1.42;
    flex: 1;
}
.bg-brand-tile-actions {
    display: flex;
    gap: 7px;
}
.bg-brand-tile-actions .bg-btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.78rem;
}
.bg-brand-tile-actions .bg-btn--primary {
    flex: 1;
}

/* Compact 5-Column Logo Strip (Hub & Category Pages) */
.bg-logo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.bg-logo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 12px 13px;
    border-radius: 15px;
    background: var(--bg-surface);
    border: 1px solid var(--bg-line);
    box-shadow: var(--bg-shadow);
    text-decoration: none;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.bg-logo-tile:hover {
    transform: translateY(-2px);
    border-color: var(--bg-brand-accent, var(--bg-accent));
    box-shadow: var(--bg-shadow-hover);
}
.bg-logo-stage {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-logo-tile-meta {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bg-accent);
}

/* Simplified Link Category Cards */
.bg-category-card--link {
    text-decoration: none;
    color: var(--bg-ink);
    gap: 9px;
}
.bg-category-card--link:hover {
    border-color: var(--bg-card-accent, var(--bg-accent));
}
.bg-category-top-pick {
    margin: 0;
    font-size: 0.8rem;
    color: var(--bg-muted);
    line-height: 1.35;
    flex: 1;
}
.bg-category-top-pick span {
    display: inline-block;
    padding: 1px 6px;
    margin-right: 4px;
    border-radius: 6px;
    background: var(--bg-soft);
    color: var(--bg-accent);
    font-weight: 800;
    font-size: 0.72rem;
}
.bg-category-cta {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--bg-accent);
}

/* Streamlined Airy Model Card Elements */
.bg-model-summary {
    margin: 0;
    font-size: 0.87rem;
    color: var(--bg-muted);
    line-height: 1.45;
}
.bg-mini-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bg-mini-specs span {
    padding: 4px 9px;
    border-radius: 8px;
    background: var(--bg-surface-2);
    border: 1px solid var(--bg-line);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--bg-ink);
}
.bg-card-details {
    margin-top: auto;
    border-radius: 10px;
    border: 1px solid var(--bg-line);
    background: var(--bg-surface-2);
    padding: 7px 10px;
}
.bg-card-details summary {
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-accent);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bg-card-details summary::-webkit-details-marker {
    display: none;
}
.bg-card-details summary::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
}
.bg-card-details[open] summary::after {
    content: "−";
}
.bg-card-details-body {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}
.bg-details-os {
    margin: 0;
    font-size: 0.76rem;
    color: var(--bg-muted);
}

/* Sticky Compare Dock & Modal */
.bg-compare-dock {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 950;
    max-width: 1120px;
    margin-inline: auto;
    border-radius: 16px;
    background: #0f1b33;
    color: #ffffff;
    border: 1px solid #355890;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
    padding: 12px 16px;
}
.bg-compare-dock-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.bg-compare-dock-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.bg-compare-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.bg-compare-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(162, 234, 255, 0.16);
    border: 1px solid rgba(162, 234, 255, 0.34);
    font-size: 0.8rem;
    font-weight: 700;
}
.bg-compare-pill button {
    background: none;
    border: none;
    color: #a2eaff;
    font-weight: 800;
    cursor: pointer;
    padding: 0 2px;
    font-size: 1rem;
    line-height: 1;
}
.bg-compare-dock-actions {
    display: flex;
    gap: 8px;
}
.bg-compare-dock .bg-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.bg-compare-modal {
    width: min(1040px, calc(100vw - 24px));
    max-height: calc(100vh - 48px);
    padding: 0;
    border: 1px solid var(--bg-line, #d6e0ee);
    border-radius: 20px;
    background: var(--bg-surface, #ffffff);
    color: var(--bg-ink, #15223a);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}
html.dark-theme .bg-compare-modal,
html[data-theme="dark"] .bg-compare-modal,
html[data-kbt-msn-theme="dark"] .bg-compare-modal {
    background: #131f33;
    color: #f0f5ff;
    border-color: #2a3c59;
}
.bg-compare-modal::backdrop {
    background: rgba(6, 12, 26, 0.68);
    backdrop-filter: blur(4px);
}
.bg-compare-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bg-line, #d6e0ee);
}
.bg-compare-modal-head h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}
.bg-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--bg-line, #d6e0ee);
    background: transparent;
    color: inherit;
    font-size: 1.4rem;
    cursor: pointer;
}
.bg-compare-modal-body {
    padding: 18px 20px 22px;
    overflow: auto;
}
.bg-compare-modal .bg-table tbody a.bg-btn--primary {
    color: #ffffff;
    text-decoration: none;
}
html.dark-theme .bg-compare-modal .bg-table tbody a.bg-btn--primary,
html[data-theme="dark"] .bg-compare-modal .bg-table tbody a.bg-btn--primary,
html[data-kbt-msn-theme="dark"] .bg-compare-modal .bg-table tbody a.bg-btn--primary {
    color: #0b1425;
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
    .bg-category-grid,
    .bg-brand-logo-grid,
    .bg-logo-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .bg-mini-link-grid--wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .bg-checklist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .bg-filter-selects {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .bg-hero,
    .bg-dual-index,
    .bg-brand-grid,
    .bg-news-grid,
    .bg-pros-cons {
        grid-template-columns: 1fr;
    }
    .bg-vertical-grid,
    .bg-model-grid,
    .bg-layout-cards,
    .bg-principles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bg-category-grid,
    .bg-brand-logo-grid,
    .bg-logo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bg-wrap {
        padding: 14px 14px 64px;
    }
    .bg-hero {
        padding: 20px 16px;
        border-radius: 18px;
    }
    .bg-hero h1 {
        font-size: 2rem;
    }
    .bg-eyebrow {
        font-size: 0.74rem;
        border-radius: 12px;
        white-space: normal;
        max-width: 100%;
    }
    .bg-hero-actions .bg-btn {
        width: 100%;
    }
    .bg-switcher {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .bg-table-wrap {
        max-width: 100%;
    }
    .bg-vertical-grid,
    .bg-model-grid,
    .bg-category-grid,
    .bg-brand-logo-grid,
    .bg-logo-strip,
    .bg-layout-cards,
    .bg-principles-grid,
    .bg-checklist-grid,
    .bg-mini-link-grid,
    .bg-mini-link-grid--wide,
    .bg-wizard-grid,
    .bg-filter-selects {
        grid-template-columns: 1fr;
    }
    .bg-hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bg-dossier-list > div,
    .bg-brand-facts > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .bg-verify-band {
        padding: 18px;
    }
}

/* ==========================================================================
   Buying Guide Ad Bands (Adapex-first -> GAM/AdSense fallback, zero-collapse)
   ========================================================================== */
.bg-ad-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px auto 0;
    min-height: 0;
    box-sizing: border-box;
}
.bg-ad-band--top {
    margin: 4px auto 16px;
}
.bg-ad-band--lower {
    margin: 34px auto 0;
}
.bg-ad-band--top,
.bg-ad-band--top .kbt-top-banner-trial {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 970px);
    max-width: 100%;
    margin: 4px auto 16px;
    padding: 0;
    border: 0;
    background: transparent;
}
.bg-ad-band--top > .kbt-top-banner-trial-surface,
.bg-ad-band--lower > .kbt-ad-slot-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 970px);
    min-height: 90px;
    margin: 0 auto;
    padding: 0;
}
.bg-ad-band--rectangle > .kbt-ad-slot-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 336px);
    min-height: 250px;
    margin: 0 auto;
    padding: 0;
}
/* Collapse live ad bands completely (zero height & margin) when confirmed empty/inactive/retired,
   unless a confirmed ad-blocker first-party banner or GAM/AdSense fallback is active. */
.bg-ad-band:not(.bg-ad-band--preview):not([data-kbt-game-banner-visible]):not(:has([data-kbt-game-banner-visible])):not(:has([data-kbt-gam-fallback])):has(
    [hidden],
    [data-kbt-banner-size-unavailable="1"],
    [data-kbt-adapex-state="managed-empty"],
    [data-kbt-adapex-state="inactive"],
    [data-kbt-adapex-state="retired"]
) {
    display: none !important;
}

/* Inert Localhost Preview Box (never rendered on production) */
.bg-ad-preview-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1.5px dashed color-mix(in srgb, var(--bg-accent) 40%, var(--bg-line));
    background: color-mix(in srgb, var(--bg-accent) 5%, var(--bg-surface));
    color: var(--bg-ink);
    text-align: center;
}
.bg-ad-band--horizontal .bg-ad-preview-box {
    width: min(100%, 970px);
    min-height: 90px;
}
.bg-ad-band--rectangle .bg-ad-preview-box {
    width: min(100%, 300px);
    min-height: 250px;
    padding: 18px;
    gap: 6px;
}
.bg-ad-preview-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bg-accent);
}
.bg-ad-preview-title {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--bg-ink);
}
.bg-ad-preview-meta {
    font-size: 0.75rem;
    color: var(--bg-muted);
    line-height: 1.35;
}
@media (max-width: 1024px) {
    .bg-ad-band--horizontal .bg-ad-preview-box,
    .bg-ad-band--top .kbt-top-banner-trial,
    .bg-ad-band--top .kbt-top-banner-trial-surface,
    .bg-ad-band--lower > .kbt-ad-slot-inner {
        width: min(100%, 728px);
    }
}
@media (max-width: 768px) {
    .bg-ad-band {
        display: none !important;
    }
}
