/* FindGoodAI Clean UI Preview (?ui=clean)
 * Strictly scoped to body.fga-ui-clean — zero impact on default live pages.
 * Palette: #ffffff / #f7f8fa / #f3f4f6 surfaces, #111418 / #525866 / #868c98 ink, #e6e8ec / #cfd4dc hairlines.
 */

body.fga-ui-clean {
    --paper: #ffffff;
    --ink: #111418;
    --muted: #525866;
    --caption: #868c98;
    --green: #111418;
    --lime: #f3f4f6;
    --line: #e6e8ec;
    --line-hover: #cfd4dc;
    --card: #ffffff;
    --soft: #f7f8fa;
    --pill: #f3f4f6;
    --radius: 12px;
    background: #ffffff;
    color: #111418;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.fga-ui-clean ::selection {
    background: #e6e8ec;
    color: #111418;
}

body.fga-ui-clean :focus-visible {
    outline: 2px solid #111418;
    outline-offset: 3px;
}

/* Typography hierarchy & negative heading tracking */
body.fga-ui-clean h1,
body.fga-ui-clean h2,
body.fga-ui-clean h3,
body.fga-ui-clean h4 {
    color: #111418;
    letter-spacing: -0.025em;
    font-family: var(--font);
}

/* Remove repetitive uppercase AI-template kickers & oversized decorative marks */
body.fga-ui-clean .eyebrow,
body.fga-ui-clean .blog-kicker,
body.fga-ui-clean .blog-note-label,
body.fga-ui-clean .blog-feature-label,
body.fga-ui-clean .blog-reading-end > span:first-child,
body.fga-ui-clean .outpost-kicker,
body.fga-ui-clean .outpost-channel-number,
body.fga-ui-clean .lesson-kicker,
body.fga-ui-clean .lesson-source-label,
body.fga-ui-clean .sc-eyebrow,
body.fga-ui-clean .sc-window-bar,
body.fga-ui-clean .collection-content small,
body.fga-ui-clean .dot-kicker,
body.fga-ui-clean .dot-gallery-label,
body.fga-ui-clean .fga-community-kicker,
body.fga-ui-clean .fga-account-kicker,
body.fga-ui-clean .fgas-choice-index,
body.fga-ui-clean .sidebar-label,
body.fga-ui-clean .footer-tag,
body.fga-ui-clean .save-banner-icon,
body.fga-ui-clean .blog-outro-mark,
body.fga-ui-clean .lesson-lab-mark,
body.fga-ui-clean .video-hero-icon,
body.fga-ui-clean .outpost-empty-mark,
body.fga-ui-clean .blog-empty > span {
    display: none !important;
}

/* Header & Navigation */
body.fga-ui-clean .site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #e6e8ec;
    backdrop-filter: saturate(180%) blur(14px);
}

body.fga-ui-clean .header-inner {
    height: 68px;
}

body.fga-ui-clean .navigation a {
    color: #525866;
    font-size: 13px;
    font-weight: 500;
}

body.fga-ui-clean .navigation a:hover,
body.fga-ui-clean .navigation a.active {
    color: #111418;
}

body.fga-ui-clean .navigation a.active {
    font-weight: 650;
}

body.fga-ui-clean .navigation a.active::after {
    background: #111418;
    height: 2px;
    width: 16px;
    border-radius: 2px;
    left: calc(50% - 8px);
    bottom: -10px;
}

body.fga-ui-clean .header-actions .fga-languages {
    background: #f3f4f6;
    border: 1px solid #e6e8ec;
    padding: 2px;
}

body.fga-ui-clean .header-actions .fga-languages a {
    color: #525866;
    font-weight: 550;
}

body.fga-ui-clean .header-actions .fga-languages a:hover {
    color: #111418;
}

body.fga-ui-clean .header-actions .fga-languages a[aria-current] {
    background: #ffffff;
    color: #111418;
    font-weight: 650;
    box-shadow: 0 1px 2px rgba(17, 20, 24, 0.06);
}

body.fga-ui-clean .icon-button {
    color: #525866;
    border: 1px solid transparent;
    border-radius: 8px;
}

body.fga-ui-clean .icon-button:hover {
    background: #f3f4f6;
    color: #111418;
}

body.fga-ui-clean .saved-count {
    background: #111418;
    color: #ffffff;
}

body.fga-ui-clean .header-account-menu {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(17, 20, 24, 0.08);
}

body.fga-ui-clean .header-account-menu a,
body.fga-ui-clean .header-account-menu .fga-logout-button {
    color: #111418;
    border-radius: 6px;
}

body.fga-ui-clean .header-account-menu a:hover,
body.fga-ui-clean .header-account-menu .fga-logout-button:hover {
    background: #f3f4f6;
    color: #111418;
}

body.fga-ui-clean .header-account-menu .fga-logout-form {
    border-top-color: #e6e8ec;
}

/* Global Buttons, Pills, Tags & Inputs */
body.fga-ui-clean .button {
    border-radius: 8px;
    font-weight: 600;
    gap: 10px;
    transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

body.fga-ui-clean .button:hover {
    transform: none;
}

body.fga-ui-clean .button-dark,
body.fga-ui-clean .search-form button {
    background: #111418;
    color: #ffffff;
    border: 1px solid #111418;
}

body.fga-ui-clean .button-dark:hover,
body.fga-ui-clean .search-form button:hover {
    background: #262b33;
    border-color: #262b33;
    color: #ffffff;
}

body.fga-ui-clean .button-outline {
    background: #ffffff;
    color: #111418;
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .button-outline:hover {
    background: #f7f8fa;
    border-color: #cfd4dc;
    color: #111418;
}

body.fga-ui-clean .button-lime {
    background: #f3f4f6;
    color: #111418;
}

body.fga-ui-clean .filter-chip {
    background: #f3f4f6;
    color: #525866;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 500;
}

body.fga-ui-clean .filter-chip:hover {
    background: #e9ecf0;
    color: #111418;
}

body.fga-ui-clean .filter-chip.active {
    background: #111418;
    color: #ffffff;
    border-color: #111418;
    font-weight: 600;
}

body.fga-ui-clean .tag {
    background: #f3f4f6;
    color: #525866;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
}

body.fga-ui-clean .text-link {
    color: #525866;
    font-size: 12.5px;
    font-weight: 550;
    gap: 6px;
}

body.fga-ui-clean .text-link:hover {
    color: #111418;
}

body.fga-ui-clean .sort-control {
    color: #525866;
    font-size: 12px;
    font-weight: 500;
}

body.fga-ui-clean .search-form {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    padding: 6px 6px 6px 14px;
    box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04);
}

body.fga-ui-clean .search-form:hover {
    border-color: #cfd4dc;
}

body.fga-ui-clean .search-form:focus-within {
    border-color: #111418;
    box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.08);
}

body.fga-ui-clean .search-form > svg {
    color: #868c98;
}

body.fga-ui-clean .search-form input {
    color: #111418;
    font-size: 13.5px;
    height: 36px;
}

body.fga-ui-clean .search-form input::placeholder {
    color: #868c98;
}

/* Section & Page Headings */
body.fga-ui-clean .section {
    padding-top: 48px;
}

body.fga-ui-clean .section-heading {
    margin-bottom: 20px;
    align-items: baseline;
}

body.fga-ui-clean .section-heading h2 {
    font-size: clamp(21px, 2.1vw, 25px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

body.fga-ui-clean .section-heading h2 small {
    color: #868c98;
    font-size: 13px;
    font-weight: 450;
    margin-left: 12px;
}

body.fga-ui-clean .page-heading {
    padding: 36px 0 24px;
    max-width: 780px;
}

body.fga-ui-clean .page-heading h1 {
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
}

body.fga-ui-clean .page-heading p {
    color: #525866;
    font-size: 14.5px;
    line-height: 1.75;
}

body.fga-ui-clean .breadcrumbs {
    color: #868c98;
    font-size: 12px;
    padding-top: 22px;
}

body.fga-ui-clean .breadcrumbs a {
    color: #525866;
}

body.fga-ui-clean .breadcrumbs a:hover {
    color: #111418;
}

/* Homepage Clean Directory Hero */
body.fga-ui-clean .hero.hero-clean {
    padding: 40px 0 32px;
    border-bottom: 1px solid #e6e8ec;
}

body.fga-ui-clean .hero-clean-inner {
    max-width: 760px;
}

body.fga-ui-clean .hero.hero-clean h1 {
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: #111418;
}

body.fga-ui-clean .hero.hero-clean .hero-description {
    max-width: 640px;
    font-size: 15px;
    line-height: 1.7;
    color: #525866;
    margin: 0 0 22px;
}

body.fga-ui-clean .hero-clean-search .search-form {
    max-width: 620px;
}

body.fga-ui-clean .hero-clean-quick {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 16px;
}

body.fga-ui-clean .hero-clean-quick-label {
    font-size: 12px;
    font-weight: 550;
    color: #868c98;
    margin-right: 2px;
}

body.fga-ui-clean .hero-clean-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

body.fga-ui-clean .hero-clean-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    color: #111418;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.fga-ui-clean .hero-clean-chip svg {
    width: 14px;
    height: 14px;
    color: #525866;
}

body.fga-ui-clean .hero-clean-chip:hover {
    background: #f3f4f6;
    border-color: #cfd4dc;
}

body.fga-ui-clean .hero-clean-chip-quiet {
    background: #ffffff;
    color: #525866;
}

body.fga-ui-clean .hero-clean-chip-quiet:hover {
    color: #111418;
}

/* Tool Logos: Clean official icon frame vs restrained neutral initial fallback */
body.fga-ui-clean .tool-logo {
    background: #f7f8fa;
    color: #111418;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
    box-shadow: none;
}

body.fga-ui-clean .tool-logo svg {
    width: 22px;
    height: 22px;
    color: #111418;
}

body.fga-ui-clean .tool-logo.fga-official-icon,
body.fga-ui-clean .tool-logo.sc-official-logo,
body.fga-ui-clean .tool-logo:has(img) {
    background: #ffffff;
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .tool-logo img {
    background: #ffffff;
    object-fit: contain;
}

body.fga-ui-clean .sc-identity .sc-official-logo {
    background: #ffffff;
    border: 1px solid #e6e8ec;
}

/* Tool & Model Cards */
body.fga-ui-clean .tool-card,
body.fga-ui-clean .model-card {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

body.fga-ui-clean .tool-card {
    display: flex;
    flex-direction: column;
}

body.fga-ui-clean .tool-card > a {
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.fga-ui-clean .tool-card:hover,
body.fga-ui-clean .model-card:hover {
    background: #ffffff;
    border-color: #cfd4dc;
    box-shadow: 0 4px 14px rgba(17, 20, 24, 0.045);
    transform: none;
}

body.fga-ui-clean .tool-name,
body.fga-ui-clean .model-card h3 {
    color: #111418;
    font-weight: 650;
    letter-spacing: -0.02em;
}

body.fga-ui-clean .tool-category,
body.fga-ui-clean .model-card .provider {
    color: #868c98;
    font-size: 11px;
}

body.fga-ui-clean .tool-summary,
body.fga-ui-clean .model-card p {
    color: #525866;
    font-size: 12.5px;
    line-height: 1.65;
}

body.fga-ui-clean .tool-card-bottom {
    margin-top: auto;
    border-top: 1px solid #f0f1f4;
}

body.fga-ui-clean .tool-card-bottom .arrow-circle {
    border-color: #e6e8ec;
    color: #525866;
    background: #ffffff;
}

body.fga-ui-clean .tool-card:hover .arrow-circle {
    border-color: #111418;
    background: #111418;
    color: #ffffff;
}

body.fga-ui-clean .model-head {
    padding-right: 28px;
}

body.fga-ui-clean .model-link-arrow {
    color: #868c98;
}

body.fga-ui-clean .model-card:hover .model-link-arrow {
    color: #111418;
}

body.fga-ui-clean .bookmark {
    color: #868c98;
}

body.fga-ui-clean .bookmark:hover,
body.fga-ui-clean .bookmark.is-saved {
    color: #111418;
    background: #f3f4f6;
}

body.fga-ui-clean .bookmark.is-saved svg {
    fill: #111418;
}

body.fga-ui-clean .quick-category {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
}

body.fga-ui-clean .quick-category:hover {
    background: #f7f8fa;
    border-color: #cfd4dc;
}

body.fga-ui-clean .quick-category > svg,
body.fga-ui-clean .quick-category .arrow-mini {
    color: #525866;
}

body.fga-ui-clean .quick-category small {
    color: #868c98;
}

/* Clean Cover & Blog Typographic Placeholders (replaces cartoon art-*.svg & blog/*.svg) */
body.fga-ui-clean .clean-cover-placeholder,
body.fga-ui-clean .clean-blog-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    min-height: 160px;
    padding: 18px 20px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: inherit;
    color: #111418;
    text-align: left;
    box-sizing: border-box;
    transition: border-color 0.16s ease, background 0.16s ease;
}

body.fga-ui-clean a:hover > .clean-cover-placeholder,
body.fga-ui-clean a:hover > .clean-blog-placeholder {
    background: #f3f4f6;
    border-color: #cfd4dc;
}

body.fga-ui-clean .clean-placeholder-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.fga-ui-clean .clean-placeholder-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    color: #525866;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.4;
}

body.fga-ui-clean .clean-placeholder-mark {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    color: #111418;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

body.fga-ui-clean .clean-placeholder-meta,
body.fga-ui-clean .clean-placeholder-foot {
    font-size: 11px;
    color: #868c98;
    font-weight: 500;
}

body.fga-ui-clean .clean-placeholder-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #383e4a;
    margin-top: auto;
    padding-top: 14px;
}

body.fga-ui-clean .blog-feature-image .clean-blog-placeholder {
    min-height: 280px;
    height: 100%;
    padding: 28px 30px;
    border: 0;
}

body.fga-ui-clean .blog-feature-image .clean-placeholder-title {
    font-size: clamp(20px, 2.2vw, 26px);
    -webkit-line-clamp: 3;
}

/* Home Editorial, Video Band, Collections & Save Banner */
body.fga-ui-clean .editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

body.fga-ui-clean .article-cover,
body.fga-ui-clean .article-card:first-child .article-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1200 / 630;
    height: auto;
    padding: 10px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    overflow: hidden;
}

body.fga-ui-clean .article-cover:has(> .clean-cover-placeholder),
body.fga-ui-clean .article-cover:has(> .clean-blog-placeholder),
body.fga-ui-clean .article-card:first-child .article-cover:has(> .clean-cover-placeholder),
body.fga-ui-clean .article-card:first-child .article-cover:has(> .clean-blog-placeholder) {
    padding: 0;
    border: 0;
}

body.fga-ui-clean .article-cover .clean-cover-placeholder,
body.fga-ui-clean .article-cover .clean-blog-placeholder,
body.fga-ui-clean .blog-card-image .clean-cover-placeholder,
body.fga-ui-clean .blog-card-image .clean-blog-placeholder {
    min-height: 0;
    height: 100%;
}

body.fga-ui-clean .article-cover img,
body.fga-ui-clean .article-card:first-child .article-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto;
    display: block;
    background: #ffffff !important;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04);
    transition: none;
}

body.fga-ui-clean .article-card:hover .article-cover img {
    transform: none;
}

body.fga-ui-clean .article-meta {
    color: #868c98;
    font-size: 11.5px;
}

body.fga-ui-clean .article-meta .category {
    color: #111418;
    font-weight: 600;
}

body.fga-ui-clean .article-meta .meta-dot {
    background: #cfd4dc;
}

body.fga-ui-clean .article-card h3,
body.fga-ui-clean .article-card:first-child h3 {
    color: #111418;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.02em;
}

body.fga-ui-clean .article-card p {
    color: #525866;
    font-size: 13px;
    line-height: 1.7;
}

/* Eliminate heavy dark .video-section & .video-hero bands */
body.fga-ui-clean .video-section {
    background: #f7f8fa;
    color: #111418;
    border-top: 1px solid #e6e8ec;
    border-bottom: 1px solid #e6e8ec;
    padding: 48px 0;
}

body.fga-ui-clean .video-section::before {
    display: none;
}

body.fga-ui-clean .video-section .section-heading h2 {
    color: #111418;
}

body.fga-ui-clean .video-section .text-link {
    color: #525866;
}

body.fga-ui-clean .video-section .text-link:hover {
    color: #111418;
}

body.fga-ui-clean .video-cover {
    background: #f3f4f6;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .video-cover img {
    filter: none;
}

body.fga-ui-clean .video-cover::after {
    background: linear-gradient(transparent 55%, rgba(17, 20, 24, 0.36));
}

body.fga-ui-clean .play-button {
    background: rgba(255, 255, 255, 0.94);
    color: #111418;
    border: 1px solid rgba(17, 20, 24, 0.12);
    box-shadow: 0 4px 14px rgba(17, 20, 24, 0.12);
}

body.fga-ui-clean .video-cover .play-button {
    left: 14px;
    top: auto;
    bottom: 14px;
    width: 38px;
    height: 38px;
}

body.fga-ui-clean .play-button svg {
    fill: #111418;
}

body.fga-ui-clean .video-label {
    background: rgba(17, 20, 24, 0.82);
    color: #ffffff;
    border-radius: 5px;
    font-size: 10px;
}

body.fga-ui-clean .video-copy h3 {
    color: #111418;
    font-size: 15px;
    font-weight: 650;
}

body.fga-ui-clean .video-copy > span {
    color: #868c98;
    font-size: 11.5px;
}

body.fga-ui-clean .video-hero {
    background: #f7f8fa;
    color: #111418;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 26px 30px;
}

body.fga-ui-clean .video-hero h2 {
    color: #111418;
    font-size: 22px;
    margin: 0 0 8px;
}

body.fga-ui-clean .video-hero p {
    color: #525866;
    font-size: 13.5px;
}

/* Collections (preserving real product UI collage covers) */
body.fga-ui-clean .collection-card {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    color: #111418;
    box-shadow: none;
}

body.fga-ui-clean .collection-card:hover {
    border-color: #cfd4dc;
    box-shadow: 0 4px 14px rgba(17, 20, 24, 0.045);
    transform: none;
}

body.fga-ui-clean .collection-media {
    background: #f7f8fa;
    border-bottom: 1px solid #e6e8ec;
}

body.fga-ui-clean .collection-content h3 {
    color: #111418;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

body.fga-ui-clean .collection-content p {
    color: #525866;
}

body.fga-ui-clean .collection-content .tag {
    background: #f3f4f6;
    color: #525866;
}

body.fga-ui-clean .collection-arrow {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    color: #525866;
}

body.fga-ui-clean .collection-card:hover .collection-arrow {
    background: #111418;
    border-color: #111418;
    color: #ffffff;
}

body.fga-ui-clean .collection-intro {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .collection-intro-media {
    background: #f3f4f6;
    border-right: 1px solid #e6e8ec;
}

body.fga-ui-clean .collection-intro-copy h1 {
    color: #111418;
}

body.fga-ui-clean .collection-intro-copy p {
    color: #525866;
}

/* Save Banner & Capability Notes */
body.fga-ui-clean .save-banner {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 28px 32px;
}

body.fga-ui-clean .save-banner h2 {
    color: #111418;
    font-size: 20px;
    margin-bottom: 6px;
}

body.fga-ui-clean .save-banner p {
    color: #525866;
    font-size: 13px;
}

body.fga-ui-clean .capability-note {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-left: 3px solid #111418;
    border-radius: 8px;
    color: #525866;
}

/* Tools Directory Listing (/tools/) */
body.fga-ui-clean .listing-sidebar {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 12px;
}

body.fga-ui-clean .sidebar-categories .filter-chip {
    background: transparent;
    border-radius: 8px;
    color: #525866;
    padding: 9px 12px;
}

body.fga-ui-clean .sidebar-categories .filter-chip:hover {
    background: #f3f4f6;
    color: #111418;
}

body.fga-ui-clean .sidebar-categories .filter-chip.active {
    background: #111418;
    color: #ffffff;
}

body.fga-ui-clean .sidebar-foot {
    border-top: 1px solid #e6e8ec;
    color: #868c98;
}

body.fga-ui-clean .sidebar-foot a {
    color: #111418;
}

body.fga-ui-clean .listing-info {
    color: #868c98;
    font-size: 12px;
}

body.fga-ui-clean .listing-info strong {
    color: #111418;
}

body.fga-ui-clean .empty-state {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .empty-state > svg {
    color: #868c98;
}

body.fga-ui-clean .empty-state p {
    color: #525866;
}

/* Standard Tool & Model Detail Page (fga_render_single) */
body.fga-ui-clean .detail-heading .tool-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    font-size: 24px;
}

body.fga-ui-clean .detail-heading .tool-logo svg {
    width: 30px;
    height: 30px;
}

body.fga-ui-clean .detail-heading h1 {
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.025em;
}

body.fga-ui-clean .detail-heading p {
    color: #525866;
    font-size: 14px;
    line-height: 1.65;
}

body.fga-ui-clean .detail-clean-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 20px;
    margin: 0 0 28px;
    padding: 16px 20px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .detail-clean-facts > div {
    min-width: 0;
}

body.fga-ui-clean .detail-clean-facts dt {
    font-size: 11px;
    font-weight: 550;
    color: #868c98;
    margin-bottom: 4px;
}

body.fga-ui-clean .detail-clean-facts dd {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #111418;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

body.fga-ui-clean .detail-media-clean {
    margin: 0 0 28px;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f8fa;
}

body.fga-ui-clean .detail-media-clean img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #f7f8fa;
}

body.fga-ui-clean .detail-layout .article-body,
body.fga-ui-clean .collection-tools .article-body {
    max-width: none;
    margin-inline: 0;
}

body.fga-ui-clean .detail-section > p,
body.fga-ui-clean .article-body p,
body.fga-ui-clean .article-body ul,
body.fga-ui-clean .article-body ol,
body.fga-ui-clean .single-content ul,
body.fga-ui-clean .single-content ol {
    color: #525866;
}

body.fga-ui-clean .article-body a:not(.tool-card a):not(.text-link):not(.button),
body.fga-ui-clean .single-content a:not(.button) {
    color: #111418;
    text-decoration: underline;
    text-decoration-color: #cfd4dc;
    text-underline-offset: 3px;
}

body.fga-ui-clean .article-body a:not(.tool-card a):not(.text-link):not(.button):hover,
body.fga-ui-clean .single-content a:not(.button):hover {
    text-decoration-color: #111418;
}

body.fga-ui-clean .article-body blockquote,
body.fga-ui-clean .detail-section blockquote {
    background: #f7f8fa;
    border-left: 3px solid #111418;
    color: #525866;
    border-radius: 0 8px 8px 0;
}

body.fga-ui-clean .article-body th,
body.fga-ui-clean .article-body td {
    border-color: #e6e8ec;
}

body.fga-ui-clean .article-body th {
    background: #f7f8fa;
    color: #111418;
}

body.fga-ui-clean .entry-source {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    color: #525866;
    border-radius: 8px;
}

body.fga-ui-clean .use-item {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 10px;
}

body.fga-ui-clean .use-item > span {
    color: #868c98;
    font-weight: 600;
}

body.fga-ui-clean .use-item p {
    color: #111418;
}

body.fga-ui-clean .detail-sidebar {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .detail-sidebar > p {
    color: #525866;
}

body.fga-ui-clean .detail-info {
    border-top-color: #e6e8ec;
}

body.fga-ui-clean .detail-info > div {
    color: #868c98;
}

body.fga-ui-clean .detail-info strong {
    color: #111418;
    font-weight: 600;
}

body.fga-ui-clean .article-intro {
    color: #525866;
    border-bottom-color: #e6e8ec;
}

body.fga-ui-clean .author-icon {
    background: #f3f4f6;
    color: #111418;
    border: 1px solid #e6e8ec;
}

/* Tool Showcase Template (fga-showcase) */
body.fga-ui-clean .fga-showcase {
    --sc-header: 68px;
    --sc-accent: #111418;
    --sc-quiet: #525866;
    --sc-rule: #e6e8ec;
    --sc-peach: #f7f8fa;
    --sc-white: #ffffff;
    color: #111418;
}

body.fga-ui-clean .sc-identity .tool-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

body.fga-ui-clean .sc-hero h1 {
    margin: 0;
    letter-spacing: -0.025em;
}

body.fga-ui-clean .sc-hero-description {
    color: #525866;
}

body.fga-ui-clean .sc-tags > span,
body.fga-ui-clean .sc-tags .sc-free {
    background: #f3f4f6;
    border: 1px solid #e6e8ec;
    color: #525866;
    border-radius: 999px;
    padding: 4px 11px;
}

body.fga-ui-clean .sc-free i {
    background: #111418;
}

body.fga-ui-clean .sc-preview-frame {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .sc-product-image {
    padding: 16px;
}

body.fga-ui-clean .sc-product-image img {
    background: #ffffff;
    border-radius: 8px;
}

body.fga-ui-clean .sc-image-zoom {
    background: rgba(255, 255, 255, 0.94);
    color: #111418;
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .sc-product-image:hover .sc-image-zoom {
    background: #111418;
    color: #ffffff;
    border-color: #111418;
}

body.fga-ui-clean .sc-preview-caption {
    background: #ffffff;
    border-top: 1px solid #e6e8ec;
    color: #525866;
}

body.fga-ui-clean .sc-preview-caption a {
    color: #111418;
    font-weight: 600;
}

body.fga-ui-clean .sc-snapshot {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .sc-snapshot dl > div {
    border-top-color: #f0f1f4;
}

body.fga-ui-clean .sc-snapshot dt {
    color: #868c98;
}

body.fga-ui-clean .sc-snapshot-note {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    color: #111418;
}

body.fga-ui-clean .sc-snapshot-note small {
    color: #525866;
}

body.fga-ui-clean .sc-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-color: #e6e8ec;
}

body.fga-ui-clean .sc-number,
body.fga-ui-clean .sc-use-list span,
body.fga-ui-clean .sc-feature-body > .sc-chunk:first-child li::before {
    color: #868c98;
}

body.fga-ui-clean .fga-showcase .sc-chunk p,
body.fga-ui-clean .fga-showcase .sc-detail-content p,
body.fga-ui-clean .sc-use-list p,
body.fga-ui-clean .sc-feature-body > .sc-chunk:first-child li,
body.fga-ui-clean .fga-showcase .sc-chunk li,
body.fga-ui-clean .sc-steps p {
    color: #525866;
}

body.fga-ui-clean .sc-gallery-body img {
    background: #f7f8fa;
    border-color: #e6e8ec;
}

body.fga-ui-clean .sc-feature-body .fga-expanded-detail {
    border-left-color: #cfd4dc;
}

body.fga-ui-clean .sc-steps li {
    border-top-color: #e6e8ec;
}

body.fga-ui-clean .sc-steps span {
    color: #111418;
    font-weight: 700;
}

body.fga-ui-clean .sc-pricing-lead,
body.fga-ui-clean .sc-bottom {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .sc-pricing-lead p,
body.fga-ui-clean .sc-bottom p {
    color: #525866;
}

body.fga-ui-clean .sc-detail > summary > span {
    color: #525866;
}

body.fga-ui-clean .fga-showcase th {
    background: #f7f8fa;
    color: #111418;
}

body.fga-ui-clean .fga-showcase .sc-chunk a,
body.fga-ui-clean .fga-showcase .sc-detail-content a {
    color: #111418;
}

body.fga-ui-clean .sc-lightbox {
    background: #ffffff;
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .sc-lightbox [data-sc-close] {
    background: #ffffff;
    box-shadow: 0 0 0 1px #e6e8ec;
}

body.fga-ui-clean .sc-mobile-bar {
    background: rgba(255, 255, 255, 0.96);
    border-color: #e6e8ec;
    box-shadow: 0 8px 24px rgba(17, 20, 24, 0.08);
}

body.fga-ui-clean .sc-directory-toggle {
    color: #525866;
}

body.fga-ui-clean .sc-mobile-bar > a {
    background: #111418;
    color: #ffffff;
}

body.fga-ui-clean .sc-mobile-directory {
    background: #ffffff;
    border-color: #e6e8ec;
}

body.fga-ui-clean .sc-mobile-directory button {
    background: #f3f4f6;
    color: #111418;
}

body.fga-ui-clean .sc-mobile-directory nav > a {
    color: #525866;
}

body.fga-ui-clean .sc-mobile-directory nav > a > span {
    color: #868c98;
}

/* Rich Tool Profile & Dot Editorial Pages */
body.fga-ui-clean .fga-rich-profile {
    --profile-green: #111418;
    --profile-muted: #525866;
    --profile-line: #e6e8ec;
    --profile-soft: #f7f8fa;
    --profile-serif: var(--font);
}

body.fga-ui-clean .dot-hero,
body.fga-ui-clean .fga-rich-profile .dot-hero {
    background: #f7f8fa;
    color: #111418;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
}

body.fga-ui-clean .dot-brandline {
    color: #525866;
}

body.fga-ui-clean .dot-hero-description,
body.fga-ui-clean .fga-rich-profile .dot-hero-description,
body.fga-ui-clean .dot-related-links {
    color: #525866;
}

body.fga-ui-clean .dot-hero .button-dark,
body.fga-ui-clean .fga-rich-profile .dot-hero .button-dark {
    background: #111418;
    color: #ffffff;
}

body.fga-ui-clean .dot-hero .button-outline,
body.fga-ui-clean .fga-rich-profile .dot-hero .button-outline {
    background: #ffffff;
    border-color: #e6e8ec;
    color: #111418;
}

body.fga-ui-clean .dot-hero-art,
body.fga-ui-clean .fga-rich-profile .dot-hero-art {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    box-shadow: none;
    transform: none;
}

body.fga-ui-clean .dot-hero-art > span {
    color: #868c98;
}

body.fga-ui-clean .fga-profile-start {
    color: #525866;
}

body.fga-ui-clean .fga-profile-start:hover {
    color: #111418;
}

body.fga-ui-clean .fga-profile-section h2,
body.fga-ui-clean .fga-profile-toc h2,
body.fga-ui-clean .fga-profile-plans .fga-plan-price {
    font-family: var(--font);
    color: #111418;
}

body.fga-ui-clean .fga-profile-facts,
body.fga-ui-clean .fga-profile-plans article,
body.fga-ui-clean .dot-facts,
body.fga-ui-clean .dot-gallery-card {
    background: #ffffff;
    border-color: #e6e8ec;
}

body.fga-ui-clean .fga-profile-plans article:first-child,
body.fga-ui-clean .fga-profile-pricing-table tbody tr:first-child td,
body.fga-ui-clean .fga-profile-gallery figure > button,
body.fga-ui-clean .fga-profile-gallery figure > a,
body.fga-ui-clean .dot-ecosystem {
    background: #f7f8fa;
    border-color: #e6e8ec;
}

body.fga-ui-clean .fga-profile-table tr:nth-child(even) td {
    background: #fafbfc;
}

body.fga-ui-clean .dot-ecosystem-links a {
    background: #ffffff;
    border-color: #e6e8ec;
}

/* AI Outpost (Home feed, /ai-outpost/, Channel pages & Single update) */
body.fga-ui-clean .outpost-page,
body.fga-ui-clean .outpost-home,
body.fga-ui-clean .outpost-single {
    --op-ink: #111418;
    --op-muted: #525866;
    --op-line: #e6e8ec;
    --op-accent: #111418;
    --op-soft: #f7f8fa;
    color: #111418;
}

body.fga-ui-clean .outpost-hero.outpost-hero-clean {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: stretch;
    gap: 28px;
    padding: 16px 0 28px;
    border-bottom: 1px solid #e6e8ec;
}

body.fga-ui-clean .outpost-hero.outpost-hero-clean h1 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 38px);
    letter-spacing: -0.025em;
}

body.fga-ui-clean .outpost-hero-english {
    color: #868c98;
    font-size: 13px;
}

body.fga-ui-clean .outpost-hero-description {
    color: #525866;
}

body.fga-ui-clean .outpost-hero-topics {
    color: #868c98;
    border-top-color: #e6e8ec;
    letter-spacing: 0.02em;
    font-size: 11.5px;
}

body.fga-ui-clean .outpost-hero-stats {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .outpost-stat-primary span {
    display: block;
    font-size: 11px;
    font-weight: 550;
    color: #868c98;
}

body.fga-ui-clean .outpost-stat-primary strong {
    display: block;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: #111418;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

body.fga-ui-clean .outpost-stat-channels {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #e6e8ec;
}

body.fga-ui-clean .outpost-stat-channels a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #525866;
    padding: 4px 0;
}

body.fga-ui-clean .outpost-stat-channels a:hover,
body.fga-ui-clean .outpost-stat-channels a[aria-current="page"] {
    color: #111418;
    font-weight: 600;
}

body.fga-ui-clean .outpost-stat-channels b {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    color: #111418;
    font-variant-numeric: tabular-nums;
}

body.fga-ui-clean .outpost-home-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

body.fga-ui-clean .outpost-home-channels,
body.fga-ui-clean .outpost-home-feed {
    width: 100%;
    min-width: 0;
}

body.fga-ui-clean .outpost-home .outpost-channels-compact.outpost-channels-clean {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

body.fga-ui-clean .outpost-channel-card,
body.fga-ui-clean .outpost-page .outpost-channel-card,
body.fga-ui-clean .outpost-channels-compact .outpost-channel-card,
body.fga-ui-clean .outpost-channel-card-clean {
    display: flex;
    flex-direction: column;
    height: 100%;
    grid-template-columns: none;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    box-shadow: none;
}

body.fga-ui-clean .outpost-channel-card:hover {
    border-color: #cfd4dc;
    box-shadow: 0 4px 14px rgba(17, 20, 24, 0.045);
}

body.fga-ui-clean .outpost-channel-card-clean .outpost-channel-copy,
body.fga-ui-clean .outpost-page .outpost-channel-card-clean .outpost-channel-copy,
body.fga-ui-clean .outpost-channels-compact .outpost-channel-card-clean .outpost-channel-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px;
}

body.fga-ui-clean .outpost-channel-clean-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.fga-ui-clean .outpost-channel-clean-head h3,
body.fga-ui-clean .outpost-page .outpost-channel-clean-head h3,
body.fga-ui-clean .outpost-channels-compact .outpost-channel-clean-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #111418;
}

body.fga-ui-clean .outpost-channel-clean-count {
    flex: none;
    padding: 2px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #525866;
    font-size: 11px;
    font-weight: 550;
    font-variant-numeric: tabular-nums;
}

body.fga-ui-clean .outpost-channel-card-clean .outpost-channel-english {
    margin-top: 3px;
    color: #868c98;
    font-size: 11px;
}

body.fga-ui-clean .outpost-channel-card-clean p {
    margin: 10px 0 14px;
    color: #525866;
    font-size: 12.5px;
    line-height: 1.65;
}

body.fga-ui-clean .outpost-channel-clean-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #f0f1f4;
}

body.fga-ui-clean .outpost-channel-clean-topics {
    font-size: 11px;
    color: #868c98;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.fga-ui-clean .outpost-channel-clean-foot .outpost-channel-link {
    margin: 0;
    flex: none;
    font-size: 11.5px;
    color: #111418;
    gap: 6px;
}

body.fga-ui-clean .outpost-home .outpost-update-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

body.fga-ui-clean .outpost-home .outpost-update-compact {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 15px 0;
    align-items: start;
    border-bottom: 1px solid #e6e8ec;
}

body.fga-ui-clean .outpost-home .outpost-update-compact .outpost-update-meta {
    min-height: 16px;
}

body.fga-ui-clean .outpost-home .outpost-update-compact h3 {
    margin: 4px 0 0;
    font-size: 14.5px;
    line-height: 1.55;
}

body.fga-ui-clean .outpost-search {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
}

body.fga-ui-clean .outpost-search:focus-within {
    border-color: #111418;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.08);
}

body.fga-ui-clean .outpost-tabs {
    border-bottom-color: #e6e8ec;
    gap: 6px;
}

body.fga-ui-clean .outpost-tabs a {
    background: #f3f4f6;
    color: #525866;
    border-radius: 999px;
    padding: 6px 13px;
    font-weight: 500;
}

body.fga-ui-clean .outpost-tabs a:hover {
    background: #e9ecf0;
    color: #111418;
}

body.fga-ui-clean .outpost-tabs a[aria-current] {
    background: #111418;
    color: #ffffff;
    font-weight: 600;
}

body.fga-ui-clean .outpost-channel-label {
    color: #525866;
    font-weight: 600;
}

body.fga-ui-clean .outpost-featured {
    background: #f3f4f6;
    border-color: #e6e8ec;
    color: #111418;
    border-radius: 4px;
}

body.fga-ui-clean .outpost-reading-note,
body.fga-ui-clean .outpost-impact {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .outpost-impact {
    border-left: 3px solid #111418;
}

body.fga-ui-clean .outpost-prose.article-body p,
body.fga-ui-clean .outpost-prose.article-body li,
body.fga-ui-clean .outpost-impact p {
    color: #525866;
}

body.fga-ui-clean .outpost-single-channel-clean {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 18px 20px;
}

body.fga-ui-clean .outpost-single-channel-clean .outpost-channel-clean-head strong {
    font-size: 17px;
    color: #111418;
}

/* AI Blog (/blog/ & Single Article) */
body.fga-ui-clean .blog-index,
body.fga-ui-clean .blog-reading {
    --blog-ink: #111418;
    --blog-muted: #525866;
    --blog-rule: #e6e8ec;
    --blog-accent: #111418;
    color: #111418;
}

body.fga-ui-clean .blog-masthead {
    padding: 36px 0 28px;
    border-bottom: 1px solid #e6e8ec;
}

body.fga-ui-clean .blog-masthead h1 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 750;
    letter-spacing: -0.025em;
}

body.fga-ui-clean .blog-masthead h1 em {
    font-family: inherit;
    font-style: normal;
    font-weight: inherit;
    color: inherit;
}

body.fga-ui-clean .blog-masthead-note p {
    margin-top: 0;
    color: #525866;
}

body.fga-ui-clean .blog-feature {
    grid-template-columns: 1.12fr 1fr;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .blog-feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f7f8fa;
    border-right: 1px solid #e6e8ec;
}

body.fga-ui-clean .blog-feature-image:has(> .clean-blog-placeholder) {
    padding: 0;
}

body.fga-ui-clean .blog-feature-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 320px;
    aspect-ratio: 1200 / 630;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto;
    display: block;
    background: #ffffff !important;
    border-radius: 8px;
    border: 1px solid #e6e8ec;
    box-shadow: 0 1px 3px rgba(17, 20, 24, 0.04);
    transition: none;
}

body.fga-ui-clean .blog-feature-image:hover img {
    transform: none;
}

body.fga-ui-clean .blog-meta {
    color: #868c98;
}

body.fga-ui-clean .blog-meta > span:first-child {
    color: #111418;
    font-weight: 600;
}

body.fga-ui-clean .blog-meta i {
    background: #cfd4dc;
}

body.fga-ui-clean .blog-search {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
}

body.fga-ui-clean .blog-search:focus-within {
    border-color: #111418;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.08);
}

body.fga-ui-clean .blog-topics {
    border-bottom-color: #e6e8ec;
    gap: 6px;
}

body.fga-ui-clean .blog-topics a {
    background: #f3f4f6;
    color: #525866;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 500;
}

body.fga-ui-clean .blog-topics a:hover {
    background: #e9ecf0;
    color: #111418;
}

body.fga-ui-clean .blog-topics a[aria-current] {
    background: #111418;
    color: #ffffff;
    font-weight: 600;
}

body.fga-ui-clean .blog-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1200 / 630;
    padding: 10px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    overflow: hidden;
}

body.fga-ui-clean .blog-card-image:has(> .clean-blog-placeholder) {
    padding: 0;
    border: 0;
}

body.fga-ui-clean .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto;
    display: block;
    background: #ffffff !important;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04);
    transition: none;
}

body.fga-ui-clean .blog-card:hover .blog-card-image img {
    transform: none;
}

body.fga-ui-clean .blog-image-arrow {
    background: #ffffff;
    color: #111418;
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .blog-outro {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 26px 30px;
}

body.fga-ui-clean .blog-outro h2 {
    margin: 0;
    font-size: 20px;
}

body.fga-ui-clean .blog-progress span {
    background: #111418;
}

body.fga-ui-clean .blog-author-icon {
    font-family: var(--font);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    background: #f3f4f6;
    border-color: #e6e8ec;
    color: #111418;
}

body.fga-ui-clean .blog-reading-cover,
body.fga-ui-clean .contenthub-cover {
    margin: 0 auto 36px;
    max-width: 880px;
    padding: 14px;
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    text-align: center;
}

body.fga-ui-clean .blog-reading-cover img,
body.fga-ui-clean .contenthub-cover img {
    width: 100%;
    height: auto;
    max-height: 480px;
    aspect-ratio: auto;
    object-fit: contain !important;
    object-position: center center !important;
    margin: 0 auto;
    display: block;
    background: #ffffff !important;
    border-radius: 8px;
}

body.fga-ui-clean .blog-reading-cover figcaption,
body.fga-ui-clean .contenthub-cover figcaption {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #525866;
    text-align: center;
}

body.fga-ui-clean .blog-toc ol {
    color: #868c98;
}

body.fga-ui-clean .blog-reading .blog-prose p,
body.fga-ui-clean .blog-reading .blog-prose ul,
body.fga-ui-clean .blog-reading .blog-prose ol {
    color: #2c313a;
}

body.fga-ui-clean .blog-reading .blog-prose figure:not(.contenthub-cover) {
    margin: 24px auto;
    text-align: center;
}

body.fga-ui-clean .blog-reading .blog-prose figure:not(.contenthub-cover) > img {
    margin-inline: auto;
    display: block;
    max-width: 100%;
    height: auto;
}

body.fga-ui-clean .blog-reading .blog-prose figure:not(.contenthub-cover) figcaption {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #525866;
    text-align: center;
}

body.fga-ui-clean .blog-reading .blog-prose a:not(.tool-card a):not(.text-link) {
    color: #111418;
}

body.fga-ui-clean .blog-reading .blog-prose .entry-source {
    background: #f7f8fa;
    border-color: #e6e8ec;
    border-radius: 8px;
    color: #525866;
}

body.fga-ui-clean .blog-copy-link {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    color: #111418;
    font-weight: 550;
}

body.fga-ui-clean .blog-copy-link:hover {
    background: #f7f8fa;
    border-color: #cfd4dc;
}

/* AI Video Tutorials (/videos/ & Single Lesson) */
body.fga-ui-clean .lesson-page,
body.fga-ui-clean .lesson-index {
    --lesson-ink: #111418;
    --lesson-muted: #525866;
    --lesson-rule: #e6e8ec;
    --lesson-accent: #111418;
    color: #111418;
}

body.fga-ui-clean .lesson-index-header {
    padding: 36px 0 28px;
    border-bottom: 1px solid #e6e8ec;
}

body.fga-ui-clean .lesson-index-header h1 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 750;
    letter-spacing: -0.025em;
}

body.fga-ui-clean .lesson-index-header h1 em {
    font-family: inherit;
    font-style: normal;
    font-weight: inherit;
    color: inherit;
}

body.fga-ui-clean .lesson-index-note > p {
    margin-top: 0;
}

body.fga-ui-clean .lesson-card-image {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .lesson-card-play {
    background: rgba(255, 255, 255, 0.95);
    color: #111418;
}

body.fga-ui-clean .lesson-card-duration {
    background: rgba(17, 20, 24, 0.84);
    color: #ffffff;
    border-radius: 4px;
}

body.fga-ui-clean .lesson-card-overline > span:first-child {
    color: #525866;
}

body.fga-ui-clean .lesson-card-outcome {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-left: 3px solid #111418;
    border-radius: 0 8px 8px 0;
}

body.fga-ui-clean .lesson-card-outcome > span {
    color: #868c98;
}

body.fga-ui-clean .lesson-lab {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 26px 30px;
}

body.fga-ui-clean .lesson-lab h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

body.fga-ui-clean .lesson-header h1 {
    margin-top: 0;
}

body.fga-ui-clean .lesson-meta > span {
    border-left-color: #e6e8ec;
}

body.fga-ui-clean .lesson-player {
    border-radius: 12px;
    border: 1px solid #e6e8ec;
    background: #111418;
}

body.fga-ui-clean .lesson-player.lesson-player-no-poster {
    background: #f7f8fa;
}

body.fga-ui-clean .lesson-player.lesson-player-no-poster .lesson-play {
    background: none;
    color: #111418;
    text-shadow: none;
}

body.fga-ui-clean .lesson-play-symbol {
    background: #ffffff;
    color: #111418;
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .lesson-play:hover .lesson-play-symbol {
    background: #111418;
    color: #ffffff;
    border-color: #111418;
}

body.fga-ui-clean .lesson-brief {
    background: #f7f8fa;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .lesson-brief h2 {
    margin-top: 0;
}

body.fga-ui-clean .lesson-requirements,
body.fga-ui-clean .lesson-start {
    border-top-color: #e6e8ec;
}

body.fga-ui-clean .lesson-prose,
body.fga-ui-clean .lesson-prose p,
body.fga-ui-clean .lesson-prose ul,
body.fga-ui-clean .lesson-prose ol {
    color: #2c313a;
}

body.fga-ui-clean .lesson-prose .lesson-steps > li::marker {
    font-family: var(--font);
    font-style: normal;
    font-size: 16px;
    font-weight: 700;
    color: #111418;
}

body.fga-ui-clean .lesson-prose a,
body.fga-ui-clean .lesson-prose .article-body a {
    color: #111418;
}

body.fga-ui-clean .lesson-prose blockquote,
body.fga-ui-clean .lesson-prose .lesson-tip {
    background: #f7f8fa;
    border-left: 3px solid #111418;
    border-radius: 0 8px 8px 0;
}

body.fga-ui-clean .lesson-prose th {
    background: #f7f8fa;
}

body.fga-ui-clean .lesson-prose pre,
body.fga-ui-clean .lesson-prose .lesson-prompt-box {
    background: #f7f8fa;
    border-color: #e6e8ec;
    border-radius: 10px;
}

body.fga-ui-clean .lesson-prompt-toolbar {
    border-bottom-color: #e6e8ec;
}

body.fga-ui-clean .lesson-prompt-toolbar > span {
    color: #868c98;
}

body.fga-ui-clean .lesson-copy-prompt {
    background: #ffffff;
    border-color: #e6e8ec;
    border-radius: 6px;
    color: #111418;
}

body.fga-ui-clean .lesson-copy-prompt:hover {
    background: #f3f4f6;
    border-color: #cfd4dc;
}

body.fga-ui-clean .lesson-tools-grid .tool-card {
    background: #ffffff;
    border-radius: 12px;
}

/* Prompt Builder (/lab/), Community Ratings, Account & Submit */
body.fga-ui-clean .lab-panel {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
}

body.fga-ui-clean .form-field > span {
    color: #525866;
    font-weight: 550;
}

body.fga-ui-clean .form-field input,
body.fga-ui-clean .form-field textarea,
body.fga-ui-clean .form-field select {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 8px;
    color: #111418;
}

body.fga-ui-clean .form-field input:focus,
body.fga-ui-clean .form-field textarea:focus,
body.fga-ui-clean .form-field select:focus {
    border-color: #111418;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 20, 24, 0.08);
}

body.fga-ui-clean .form-field input::placeholder,
body.fga-ui-clean .form-field textarea::placeholder {
    color: #868c98;
}

body.fga-ui-clean .lab-output {
    background: #f7f8fa;
    border-color: #e6e8ec;
}

body.fga-ui-clean .lab-output pre {
    color: #111418;
}

body.fga-ui-clean .lab-note {
    color: #868c98;
}

body.fga-ui-clean .fga-rating-panel,
body.fga-ui-clean .fga-comment-state {
    background: #f7f8fa;
    border-color: #e6e8ec;
}

body.fga-ui-clean .fga-rating-summary {
    border-color: #e6e8ec;
}

body.fga-ui-clean .fga-rating-summary > span,
body.fga-ui-clean .fga-hint,
body.fga-ui-clean .fga-community-note,
body.fga-ui-clean .fga-comment-meta time,
body.fga-ui-clean .fga-comment-state {
    color: #868c98;
}

body.fga-ui-clean .fga-stars label > span:first-of-type {
    color: #cfd4dc;
}

body.fga-ui-clean .fga-stars label.is-selected > span:first-of-type,
body.fga-ui-clean .fga-stars label:hover > span:first-of-type,
body.fga-ui-clean .fga-rating-summary .fga-rating-stars {
    color: #111418;
}

body.fga-ui-clean .fga-community textarea {
    background: #ffffff;
    border-color: #e6e8ec;
    color: #111418;
}

body.fga-ui-clean .fga-account-panel,
body.fga-ui-clean .fgas-card,
body.fga-ui-clean .fgas-submit-choice {
    background: #ffffff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    box-shadow: none;
}

body.fga-ui-clean .fgas-submit-choice:hover {
    border-color: #cfd4dc;
    transform: none;
}

body.fga-ui-clean .fga-member-submit {
    background: #111418;
    border-color: #111418;
    border-radius: 8px;
}

body.fga-ui-clean .fga-member-submit:hover {
    background: #262b33;
    border-color: #262b33;
}

body.fga-ui-clean .fga-account-avatar,
body.fga-ui-clean .fga-code-recipient,
body.fga-ui-clean .fgas-payment-note,
body.fga-ui-clean .fgas-fee,
body.fga-ui-clean .fgas-notice {
    background: #f7f8fa;
    color: #111418;
    border-color: #e6e8ec;
}

body.fga-ui-clean .fgas-fee {
    border: 1px solid #e6e8ec;
}

body.fga-ui-clean .fgas-fee > p {
    color: #525866;
}

body.fga-ui-clean .fgas-fee > div {
    border-top-color: #e6e8ec;
}

body.fga-ui-clean .fgas-fee strong,
body.fga-ui-clean #fgas-order-summary strong,
body.fga-ui-clean .fgas-orders-page .fgas-detail-amount,
body.fga-ui-clean .fgas-orders-page .fgas-order-row-right strong,
body.fga-ui-clean .fgas-choice-link,
body.fga-ui-clean .fga-account a,
body.fga-ui-clean .fga-code-recipient button,
body.fga-ui-clean .fga-resend-button {
    color: #111418;
}

body.fga-ui-clean .fgas-types label:has(:checked) {
    background: #f7f8fa;
    border-color: #111418;
    box-shadow: inset 0 0 0 1px #111418;
}

/* Pagination, Dialogs, Toast & Footer */
body.fga-ui-clean .pagination .page-numbers,
body.fga-ui-clean .nav-links .page-numbers {
    border-color: #e6e8ec;
    color: #525866;
    border-radius: 8px;
}

body.fga-ui-clean .pagination .page-numbers:hover,
body.fga-ui-clean .nav-links .page-numbers:hover {
    border-color: #cfd4dc;
    color: #111418;
}

body.fga-ui-clean .pagination .current,
body.fga-ui-clean .nav-links .current {
    background: #111418;
    border-color: #111418;
    color: #ffffff;
}

body.fga-ui-clean .toast {
    background: #111418;
    color: #ffffff;
    border-radius: 8px;
}

body.fga-ui-clean dialog:not(.fga-profile-lightbox) {
    background: #ffffff;
    border-color: #e6e8ec;
    color: #111418;
}

body.fga-ui-clean .site-footer {
    background: #f7f8fa;
    border-top: 1px solid #e6e8ec;
}

body.fga-ui-clean .footer-grid p {
    color: #525866;
}

body.fga-ui-clean .footer-grid h3 {
    color: #111418;
}

body.fga-ui-clean .footer-grid > div > a:not(.brand),
body.fga-ui-clean .footer-grid > div > button {
    color: #525866;
}

body.fga-ui-clean .footer-grid a:hover,
body.fga-ui-clean .footer-grid button:hover {
    color: #111418;
}

body.fga-ui-clean .footer-bottom {
    border-top-color: #e6e8ec;
    color: #868c98;
}

body.fga-ui-clean .back-top {
    color: #525866;
}

body.fga-ui-clean .back-top:hover {
    color: #111418;
}

/* Floating Clean UI Preview Control Bar */
body.fga-ui-clean .fga-ui-preview-bar {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 8px 10px 8px 13px;
    background: rgba(17, 20, 24, 0.94);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(17, 20, 24, 0.22);
    backdrop-filter: blur(12px);
    font-size: 12px;
    line-height: 1.4;
}

body.fga-ui-clean .fga-ui-preview-bar[hidden],
body.fga-ui-clean .fga-ui-preview-restore[hidden] {
    display: none !important;
}

body.fga-ui-clean .fga-ui-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 550;
    color: #f3f4f6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.fga-ui-clean .fga-ui-preview-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    flex: none;
}

body.fga-ui-clean .fga-ui-preview-exit {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #111418;
    font-size: 11.5px;
    font-weight: 650;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease;
}

body.fga-ui-clean .fga-ui-preview-exit:hover {
    background: #e6e8ec;
    color: #111418;
}

body.fga-ui-clean .fga-ui-preview-dismiss {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    flex: none;
    transition: background 0.15s ease;
}

body.fga-ui-clean .fga-ui-preview-dismiss:hover {
    background: rgba(255, 255, 255, 0.24);
}

body.fga-ui-clean .fga-ui-preview-restore {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 20, 24, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 18px rgba(17, 20, 24, 0.18);
    font-size: 11.5px;
    font-weight: 600;
}

/* Responsive adjustments across 1000px, 760px, 640px, and 390px */
@media (max-width: 1000px) {
    body.fga-ui-clean .editorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.fga-ui-clean .editorial-grid .article-card:nth-child(3) {
        display: block;
    }
}

@media (max-width: 960px) {
    body.fga-ui-clean .outpost-hero.outpost-hero-clean {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    body.fga-ui-clean .collection-intro-media {
        border-right: 0;
        border-bottom: 1px solid #e6e8ec;
    }
}

@media (max-width: 780px) {
    body.fga-ui-clean .blog-toc {
        background: #f7f8fa;
        border-color: #e6e8ec;
        border-radius: 10px;
    }
}

@media (max-width: 760px) {
    body.fga-ui-clean .header-inner {
        height: 62px;
    }

    body.fga-ui-clean .navigation {
        top: 62px;
        background: #ffffff;
        border-bottom: 1px solid #e6e8ec;
        box-shadow: 0 12px 24px rgba(17, 20, 24, 0.08);
    }

    body.fga-ui-clean .navigation a.active {
        background: #f3f4f6;
    }

    body.fga-ui-clean .hero.hero-clean {
        padding: 26px 0 24px;
    }

    body.fga-ui-clean .hero.hero-clean h1 {
        font-size: clamp(25px, 7vw, 32px);
    }

    body.fga-ui-clean .hero.hero-clean .hero-description {
        font-size: 13.5px;
        max-width: 100%;
        margin-bottom: 18px;
    }

    body.fga-ui-clean .hero-clean-quick {
        gap: 6px;
        margin-top: 14px;
    }

    body.fga-ui-clean .hero-clean-quick-label {
        width: 100%;
        font-size: 11px;
    }

    body.fga-ui-clean .hero-clean-chip {
        padding: 5px 10px;
        font-size: 11.5px;
    }

    body.fga-ui-clean .listing-sidebar {
        border: 0;
        padding: 0;
        background: transparent;
    }

    body.fga-ui-clean .sidebar-categories .filter-chip {
        background: #f3f4f6;
        border-radius: 999px;
        padding: 6px 12px;
    }

    body.fga-ui-clean .outpost-hero.outpost-hero-clean {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.fga-ui-clean .outpost-home .outpost-channels-compact.outpost-channels-clean,
    body.fga-ui-clean .outpost-home .outpost-update-list {
        grid-template-columns: 1fr;
    }

    body.fga-ui-clean .outpost-home .outpost-update-compact {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 14px 0;
    }

    body.fga-ui-clean .blog-feature {
        grid-template-columns: 1fr;
    }

    body.fga-ui-clean .blog-feature-image {
        border-right: 0;
        border-bottom: 1px solid #e6e8ec;
        padding: 16px;
        aspect-ratio: auto;
    }

    body.fga-ui-clean .blog-feature-image:has(> .clean-blog-placeholder) {
        padding: 0;
    }

    body.fga-ui-clean .detail-clean-facts {
        grid-template-columns: 1fr 1fr;
        padding: 14px 16px;
        gap: 12px 14px;
    }
}

@media (max-width: 640px) {
    body.fga-ui-clean .editorial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body.fga-ui-clean .blog-feature-image .clean-blog-placeholder {
        min-height: 190px;
        padding: 20px;
        border: 0;
    }

    body.fga-ui-clean .lesson-toc {
        background: #f7f8fa;
        border-color: #e6e8ec;
        border-radius: 10px;
    }

    body.fga-ui-clean .dot-hero {
        margin-inline: 0;
    }

    body.fga-ui-clean:has(.sc-mobile-actions:not([hidden])) .fga-ui-preview-bar,
    body.fga-ui-clean:has(.sc-mobile-actions:not([hidden])) .fga-ui-preview-restore {
        bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    }

    body.fga-ui-clean .fga-ui-preview-bar {
        right: 12px;
        left: auto;
        max-width: calc(100vw - 24px);
        gap: 8px;
        padding: 7px 8px 7px 11px;
        font-size: 11px;
    }

    body.fga-ui-clean .fga-ui-preview-exit {
        padding: 4px 9px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    body.fga-ui-clean .detail-clean-facts {
        grid-template-columns: 1fr;
    }

    body.fga-ui-clean .outpost-channel-clean-foot {
        flex-wrap: wrap;
        gap: 6px;
    }

    body.fga-ui-clean .outpost-channel-clean-topics {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.fga-ui-clean *,
    body.fga-ui-clean *::before,
    body.fga-ui-clean *::after {
        transition: none !important;
        animation: none !important;
    }
}
