/* Fresh Curiosity consumer extension. No selectors or assets are injected into iframe samples. */
:root{--paper:var(--fc-canvas);--page:var(--fc-canvas);--surface:var(--fc-surface);--surface-soft:var(--fc-surface-soft);--soft:var(--fc-surface-soft);--ink:var(--fc-text);--ink-soft:var(--fc-text-muted);--muted:var(--fc-text-muted);--quiet:var(--fc-text-muted);--line:var(--fc-border-subtle);--line-strong:var(--fc-border-control);--forest:var(--fc-link);--forest-deep:var(--fc-action-primary);--green:var(--fc-link);--rust:var(--fc-link);--teal:var(--fc-link);--teal-dark:var(--fc-action-primary);--teal-light:var(--fc-selected-bg);--hover:var(--fc-selected-bg);--blue:var(--fc-link);--blue-dark:var(--fc-action-primary);--blue-soft:var(--fc-surface-soft);--on-filled:var(--fc-action-primary-text);--focus-ring:var(--fc-focus);--serif:var(--fc-type-body);--sans:var(--fc-type-body);--nav-height:0px}
body[data-fc-library]{font-family:var(--fc-type-body);color:var(--fc-text);background:var(--fc-canvas);line-height:1.6}
body[data-fc-library] .app-shell{max-width:1440px;background:var(--fc-canvas);border:0}
body[data-fc-library] .hero h1,body[data-fc-library] .page-intro h1{font-family:var(--fc-type-display);font-weight:700;letter-spacing:-.025em;font-size:clamp(40px,4.8vw,64px);line-height:1.08}
body[data-fc-library] .hero h1 em{font-style:normal;font-weight:700;color:var(--fc-display-teal)}
body[data-fc-library] .eyebrow{display:block;font:700 13px/1.5 var(--fc-type-body);letter-spacing:.12em;color:var(--fc-text-accent)}
body[data-fc-library] .fc-library-hero{position:relative;isolation:isolate;display:block;width:100%;max-width:1440px;min-height:520px;margin:auto;padding:58px clamp(24px,5vw,72px) 60px;border:0;overflow:hidden}
.fc-library-scene{position:absolute;inset:0;z-index:-1;pointer-events:none}
.fc-library-scene img{width:100%;height:100%;object-fit:cover;object-position:center}
.fc-library-hero>div:not(.fc-library-scene),.fc-library-hero>.hero-copy{position:relative;max-width:47%}
.fc-library-hero .hero-aside{display:none}
.fc-library-hero .hero-intro,.fc-library-hero .hero-description{font-size:17px;line-height:1.65;max-width:480px}
.fc-library-hero .hero-count{font-size:14px;font-weight:600}
.fc-discovery-return{display:block;max-width:1280px;margin:20px auto 0;padding-inline:24px;color:var(--fc-link);font-weight:600}
body[data-fc-library] .section-heading h2,body[data-fc-library] .library-top h2,body[data-fc-library] .wvl-section-heading h2,body[data-fc-library] .lb-overview h3{font-family:var(--fc-type-body);font-weight:700;letter-spacing:-.025em}
body[data-fc-library] .template-card{border:1px solid var(--fc-border-subtle);border-radius:16px;overflow:hidden;box-shadow:none;background:var(--fc-surface)}
body[data-fc-library] .template-card:hover{border-color:var(--fc-border-control);box-shadow:0 6px 16px #0f2d4610}
body[data-fc-library] .card-body{background:var(--fc-surface)}
body[data-fc-library] .card-title-button{font-family:var(--fc-type-body);font-weight:700;color:var(--fc-text);letter-spacing:-.02em}
body[data-fc-library] .card-summary{color:var(--fc-text-muted);line-height:1.6}
body[data-fc-library] .card-preview-open{min-height:44px}
body[data-fc-library] .button-primary,body[data-fc-library] .button.primary,body[data-fc-library] .button-dark{color:var(--fc-action-primary-text);background:var(--fc-action-primary);border-color:var(--fc-action-primary)}
body[data-fc-library] .button{min-height:48px;border-radius:12px;font-family:var(--fc-type-body);font-weight:600}
body[data-fc-library] input,body[data-fc-library] select,body[data-fc-library] textarea{accent-color:var(--fc-link)}
body[data-fc-library] :focus-visible{outline:3px solid var(--fc-focus);outline-offset:3px}
body[data-fc-library] .lb-search,body[data-fc-library] .lb-filter-toggle,body[data-fc-library] .lb-sort select,body[data-fc-library] .lb-field select{border-radius:12px!important;border-width:1.5px!important;border-color:var(--fc-border-control)!important}
body[data-fc-library] .lb-filter-panel,body[data-fc-library] .lb-overview{border-radius:16px}
.lb-clear-search,.lb-clear-facets{font:600 14px/1.4 var(--fc-type-body);color:var(--fc-link);background:transparent;border:0;min-height:44px;text-decoration:underline;text-underline-offset:4px;padding:8px}
.lb-scope-note{margin:0 0 20px;color:var(--fc-text-muted);font-size:14px}
.lb-scope-note a{color:var(--fc-link);white-space:nowrap}
body[data-fc-library] .lb-tabs{border-radius:12px;overflow:hidden;border-color:var(--fc-border-control)}
body[data-fc-library] .lb-tabs button[aria-selected=true]{background:var(--fc-action-primary);color:var(--fc-action-primary-text)}
body[data-fc-library] .lb-bar>span{background:var(--fc-data-1,var(--fc-link))}
body[data-fc-library] .detail-title{font-family:var(--fc-type-body);font-weight:700;letter-spacing:-.025em}
body[data-fc-library] .surface-dialog{color:var(--fc-text);background:var(--fc-surface);border:1.5px solid var(--fc-border-control);border-radius:20px}
body[data-fc-library] .guide,body[data-fc-library] .detail{color:var(--fc-text);background:var(--fc-surface)}
body[data-fc-library] .result-card{background:var(--fc-surface);border-color:var(--fc-border-subtle)}
body[data-fc-library] .search-wrap input,body[data-fc-library] .filter-row select{background:var(--fc-surface);color:var(--fc-text);border:1.5px solid var(--fc-border-control)}
body[data-fc-library] .empty,body[data-fc-library] .empty-state{background:var(--fc-surface-soft);border-radius:16px;padding:24px}
body[data-fc-library] .result-main h2{font-size:22px;line-height:1.35}
body[data-fc-library] .detail h1{font-size:clamp(36px,5vw,64px)}
body[data-fc-library] .site-footer{background:var(--fc-canvas);color:var(--fc-text-muted);border-color:var(--fc-border-subtle)}
body[data-fc-library] .lb-filter-toggle:active,body[data-fc-library] .button:active{transform:translateY(1px)}
body[data-fc-library] .lb-tabs button,body[data-fc-library] .button,body[data-fc-library] .template-card{transition:background-color 180ms cubic-bezier(.2,.8,.2,1),border-color 180ms cubic-bezier(.2,.8,.2,1),box-shadow 180ms cubic-bezier(.2,.8,.2,1)}
@media(max-width:1050px){.fc-library-hero>div:not(.fc-library-scene),.fc-library-hero>.hero-copy{max-width:52%}body[data-fc-library] .fc-library-hero{min-height:480px;padding-top:40px}body[data-fc-library] .hero h1{font-size:48px}}
@media(max-width:720px){body[data-fc-library] .fc-library-hero{min-height:750px;padding:30px 24px 365px}.fc-library-scene img{object-fit:cover;object-position:center}.fc-library-hero>div:not(.fc-library-scene),.fc-library-hero>.hero-copy{max-width:85%}body[data-fc-library] .hero h1{font-size:40px;max-width:370px}.fc-library-hero .hero-intro,.fc-library-hero .hero-description{font-size:16px;line-height:1.5}.fc-library-hero .hero-count{max-width:230px}.lb-toolbar{gap:8px!important}.lb-sort{justify-content:flex-start;flex:1}.lb-sort select{width:100%!important;max-width:none}.lb-clear{font-size:14px!important}body[data-fc-library] .library-layout{display:block}.filter-rail{margin-bottom:28px}.scope-list{display:grid;grid-template-columns:1fr 1fr}.library-tools .filter-row{grid-template-columns:1fr}.results-bar{flex-wrap:wrap;gap:12px}.fc-library-hero .wvl-plugin-link{font-size:14px}.fc-discovery-return{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body[data-fc-library] *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
[data-motion=off] body[data-fc-library] *,[data-motion=reduced] body[data-fc-library] *{transition:none!important;animation:none!important;scroll-behavior:auto!important}
@media print{.fc-library-scene{display:none}.fc-library-hero{min-height:0!important;padding:20px!important}.fc-library-hero>div{max-width:none!important}.fc-discovery-return,.lb-toolbar{display:none!important}}
/* AI reference uses the same composition without nesting its previous two-column hero. */
body[data-fc-library] .fc-library-hero>.hero-grid{display:block;width:100%;max-width:none;margin:0;padding:0}
.fc-library-hero>.hero-grid>div{max-width:47%}
.fc-library-hero .hero-index{display:none}
body[data-fc-library] .fc-library-hero:before,body[data-fc-library] .fc-library-hero:after{display:none}
.fc-library-hero .hero-grid .hero-copy{font-size:17px;line-height:1.6;max-width:460px}
.fc-library-hero .source-note{font-size:13px;max-width:470px;color:var(--fc-text-muted);margin-top:16px}
body[data-fc-library] .fc-library-hero .button-row{gap:8px}
body[data-fc-library] .fc-library-hero .button-row .button{font-size:14px;padding:10px 14px;min-height:44px}
body[data-fc-library] .hero-grid h1{font-size:clamp(40px,4vw,54px)}
@media(max-width:720px){.fc-library-hero>.hero-grid>div{max-width:85%}.fc-library-hero .hero-grid .hero-copy{font-size:16px}body[data-fc-library] .fc-library-hero:has(.hero-grid){min-height:850px;padding-bottom:360px}.fc-library-hero .source-note{max-width:260px}.fc-library-hero .button-row{flex-direction:column;align-items:flex-start}}
/* Keep the live copy on the scene's clear field and the supplied silhouettes intact. */
body[data-fc-library] .fc-library-hero .hero-grid .hero-copy{color:var(--fc-text-muted)}
body[data-fc-library] .fc-library-hero .button:not(.primary):not(.button-primary){background:var(--fc-surface);color:var(--fc-text)}
@media(max-width:720px){body[data-fc-library] .fc-library-hero{min-height:860px;padding-bottom:390px}.fc-library-scene img{position:absolute;bottom:0;height:auto;width:100%;object-fit:contain}.fc-library-hero>div:not(.fc-library-scene),.fc-library-hero>.hero-copy,.fc-library-hero>.hero-grid>div{max-width:85%}body[data-fc-library] .fc-library-hero:has(.hero-grid){min-height:990px;padding-bottom:390px}.fc-library-hero .hero-count{max-width:none}}
@media(max-width:720px){.fc-library-scene img{mask-image:linear-gradient(to bottom,transparent 0,#000 72px)}}
.fc-library-scene img{mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 4%,#000 92%,transparent);mask-composite:intersect}
@media(max-width:720px){.fc-library-scene img{mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 72px,#000 92%,transparent)}}
/* R2: A2 discovery grammar. Source wording survives; only active entrance heroes are composed. */
body[data-fc-library] .fc-library-hero{max-width:1440px;min-height:650px;padding:48px clamp(28px,4.7vw,68px) 56px;margin:0 auto;overflow:hidden;background:var(--fc-canvas)}
body[data-fc-library] .fc-library-hero h1{font-size:clamp(40px,4.15vw,60px);line-height:1.1;max-width:none;margin:20px 0 0;letter-spacing:-.025em}
body[data-fc-library] .fc-library-hero .fc-arc-line{font-style:normal;white-space:normal}
body[data-fc-library] .fc-library-hero .fc-arc-line>span{white-space:nowrap}
body[data-fc-library] .fc-library-hero>.hero-copy,body[data-fc-library] .fc-library-hero>div:not(.fc-library-scene):not(.hero-grid),body[data-fc-library] .fc-library-hero>.hero-grid>div{width:49%;max-width:610px}
body[data-fc-library] .fc-library-hero>.hero-grid{max-width:none;width:100%}
body[data-fc-library] .fc-library-hero .hero-intro,body[data-fc-library] .fc-library-hero .hero-description,body[data-fc-library] .fc-library-hero .hero-grid .hero-copy{font:400 17px/1.6 var(--fc-type-body);max-width:470px;margin:16px 0 24px}
body[data-fc-library] .fc-library-scene{inset:auto 0 0;height:auto;aspect-ratio:1920/819;z-index:-1}
body[data-fc-library] .fc-library-scene img{position:static;display:block;width:100%;height:100%;object-fit:contain;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 100px,#000 94%,transparent);mask-composite:intersect}
body[data-fc-library] .fc-library-note{position:absolute;left:58%;top:58px;width:260px;color:var(--fc-text)}
body[data-fc-library] .fc-library-note .fc-hand-note{margin-bottom:6px;max-width:15ch;font-size:clamp(20px,2vw,27px)}
body[data-fc-library] .fc-library-note>img{display:block;width:132px;height:88px;object-fit:contain;margin:8px 0 0 32px;transform:rotate(8deg)}
body[data-fc-library] .fc-library-note>.fc-library-heart{position:absolute;top:5px;left:200px;width:48px;height:48px;transform:rotate(8deg);margin:0}
[data-theme=dark] body[data-fc-library] .fc-library-note>img:not(.fc-library-heart){visibility:hidden}
body[data-fc-library] .fc-library-hero .button.fc-action-primary{border-radius:999px;background:var(--fc-cta-primary);color:var(--fc-cta-primary-text);border-color:transparent;padding:12px 24px;min-height:48px;font-weight:700}
body[data-fc-library] .fc-library-hero .button.fc-action-primary:hover{background:var(--fc-cta-primary-hover)}
body[data-fc-library] .fc-library-hero .button.fc-action-tertiary{border-radius:999px;background:var(--fc-cta-tertiary);color:var(--fc-cta-tertiary-text);padding:12px 24px;border-color:var(--fc-border-control)}
body[data-fc-library] .fc-library-hero .button.fc-action-tertiary:hover{background:var(--fc-cta-tertiary-hover)}
body[data-fc-library] .fc-library-hero .button-row{flex-wrap:wrap;margin-top:0}
body[data-fc-library] .fc-library-hero .hero-count{margin-top:18px;max-width:470px}
@media(min-width:1001px){body[data-library-discovery] .fc-library-hero h1{font-size:clamp(52px,4.8vw,69px)}body[data-fc-library] .fc-library-hero .eyebrow{max-width:510px}}
@media(max-width:1000px) and (min-width:721px){body[data-fc-library] .fc-library-hero{min-height:620px}body[data-fc-library] .fc-library-hero h1{font-size:clamp(32px,4.1vw,44px)}body[data-fc-library] .fc-library-hero>.hero-copy,body[data-fc-library] .fc-library-hero>div:not(.fc-library-scene):not(.hero-grid),body[data-fc-library] .fc-library-hero>.hero-grid>div{width:56%}body[data-fc-library] .fc-library-note{left:66%;top:75px;width:180px}body[data-fc-library] .fc-library-note>.fc-library-heart{display:none}}
@media(max-width:720px){
 body[data-fc-library] .fc-library-hero,body[data-fc-library] .fc-library-hero:has(.hero-grid){display:flex;flex-direction:column;min-height:0;padding:30px 24px 0;overflow:visible}
 body[data-fc-library] .fc-library-hero>.hero-copy,body[data-fc-library] .fc-library-hero>div:not(.fc-library-scene):not(.hero-grid),body[data-fc-library] .fc-library-hero>.hero-grid>div{width:100%;max-width:none}
 body[data-fc-library] .fc-library-hero h1,body[data-fc-library] .hero-grid h1{font-size:clamp(28px,6.2vw,42px);max-width:none;margin-top:18px;overflow:visible}
 body[data-library-discovery] .fc-library-hero h1{font-size:clamp(40px,10.8vw,65px)}
 body[data-fc-library] .fc-library-hero .fc-arc-line>span{white-space:normal}
 body[data-fc-library] .fc-library-hero .hero-intro,body[data-fc-library] .fc-library-hero .hero-description,body[data-fc-library] .fc-library-hero .hero-grid .hero-copy{font-size:16px;max-width:560px;margin-top:14px}
 body[data-fc-library] .fc-library-scene{position:relative;order:3;z-index:0;inset:auto;width:calc(100% + 48px);height:auto;aspect-ratio:768/662;margin:0 -24px;pointer-events:none}
 body[data-fc-library] .fc-library-scene img{position:static;width:100%;height:100%;object-fit:contain;object-position:bottom;mask-image:linear-gradient(to bottom,transparent,#000 65px,#000 93%,transparent);mask-composite:add}
 body[data-fc-library] .fc-library-note{position:relative;left:auto;top:auto;order:2;width:100%;margin:28px 0 -28px;padding-left:16px;z-index:1;pointer-events:none}
 body[data-fc-library] .fc-library-note .fc-hand-note{font-size:21px;max-width:20ch;margin:0}
 body[data-fc-library] .fc-library-note>img{position:absolute;width:96px;height:64px;margin:0;right:6px;top:3px;transform:rotate(20deg)}
 body[data-fc-library] .fc-library-note>.fc-library-heart{display:none}
 body[data-fc-library] .fc-library-hero .source-note{max-width:none}.fc-library-hero .button-row{flex-direction:row;align-items:center}
}
@media print{body[data-fc-library] .fc-library-hero{display:block;min-height:0;padding:20px}.fc-library-note{display:none}body[data-fc-library] .fc-library-hero>.hero-copy{width:100%}}
@media(max-width:720px){body[data-fc-library] .fc-library-scene{flex:none;align-self:center;width:min(calc(100% + 48px),480px);height:auto;min-height:0;aspect-ratio:1/1.06;margin:0 -24px;overflow:hidden}body[data-fc-library] .fc-library-scene img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom}}

/* Scope around the AI source cascade without changing its method or article styles. */
body[data-fc-library] .fc-library-hero h1 .fc-ink-coral{color:var(--fc-display-accent)}
body[data-fc-library] .fc-library-hero h1 .fc-ink-teal{color:var(--fc-display-teal)}
body[data-fc-library] .fc-library-hero h1 .fc-ink-ink{color:var(--fc-text)}
body[data-fc-library] .fc-library-hero h1 .fc-arc-line span{color:inherit}
body[data-fc-library] .fc-library-hero>.hero-grid{min-height:0}
@media(min-width:1001px){body[data-fc-library]:not([data-library-discovery]) .fc-library-hero h1{font-size:clamp(40px,4vw,55px)}}
@media(max-width:720px){body[data-fc-library]:not([data-library-discovery]) .fc-library-hero h1{font-size:clamp(23px,7.1vw,42px)}}
body[data-fc-library] .fc-library-hero .button-row{max-width:470px}

/* Current native consumers keep their authored content and adopt family roles.
   Body-local aliases prevent old :root dark declarations from restoring green surfaces. */
body[data-fc-library]{--paper:var(--fc-canvas);--page:var(--fc-canvas);--surface:var(--fc-surface);--surface-soft:var(--fc-surface-soft);--soft:var(--fc-surface-soft);--ink:var(--fc-text);--ink-soft:var(--fc-text-muted);--muted:var(--fc-text-muted);--quiet:var(--fc-text-muted);--line:var(--fc-border-subtle);--line-strong:var(--fc-border-control);--forest:var(--fc-link);--forest-deep:var(--fc-text);--green:var(--fc-link);--rust:var(--fc-link);--teal:var(--fc-link);--hover:var(--fc-selected-bg);--on-filled:var(--fc-cta-primary-text);--focus-ring:var(--fc-focus)}
body[data-fc-library] :is(.result-card h4,.detail h2,.related-button strong,.relationship-center strong,.relationship-node strong,.overview-intro h3,.overview-panel h4,.stat strong,.empty-state strong){font-family:var(--fc-type-body);font-weight:700;letter-spacing:-.02em}
body[data-fc-library] .result-card h4{font-size:22px;line-height:1.25}
body[data-fc-library] #detail-title{font-size:clamp(28px,3vw,40px);line-height:1.15}
body[data-fc-library] :is(.detail,.overview,.naming-details,.facts,.related-button,.relationship-center,.relationship-node){border-radius:16px}
body[data-fc-library] .result-card{border-radius:12px;margin-bottom:8px;border:1px solid var(--fc-border-subtle)}
body[data-fc-library] .result-card[aria-current=true]{background:var(--fc-selected-bg);border-color:var(--fc-link);border-left-width:3px;box-shadow:none}
body[data-fc-library] .result-card[aria-current=true] :is(.result-meta,p){color:var(--fc-text)}
body[data-library-discovery] .shelf-teal .shelf-copy h3{color:var(--fc-link)}
body[data-fc-library] :is(.primary-button,.outline-button,.show-more,.button,.empty-state button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:999px;padding:12px 22px;font:700 16px/1.3 var(--fc-type-body);text-decoration:none;border:1px solid var(--fc-border-control);background:var(--fc-cta-tertiary);color:var(--fc-cta-tertiary-text);transition:background-color 180ms cubic-bezier(.2,.8,.2,1),border-color 180ms cubic-bezier(.2,.8,.2,1)}
body[data-fc-library] :is(.primary-button,.button-primary,.button.primary,.button-dark,.empty-state button){background:var(--fc-cta-primary);color:var(--fc-cta-primary-text);border-color:transparent}
body[data-fc-library] :is(.primary-button,.button-primary,.button.primary,.button-dark,.empty-state button):hover{background:var(--fc-cta-primary-hover)}
body[data-fc-library] :is(.outline-button,.show-more,.button:not(.primary):not(.button-primary):not(.button-dark)):hover{background:var(--fc-cta-tertiary-hover)}
body[data-fc-library] :is(.primary-button,.outline-button,.show-more,.button,.empty-state button):disabled{cursor:default;opacity:.5;transform:none}
body[data-fc-library] .card-preview-open{border-radius:12px;background:var(--fc-cta-secondary);color:var(--fc-cta-secondary-text);font:700 16px/1.3 var(--fc-type-body)}
body[data-fc-library] .card-preview-open:hover{background:var(--fc-cta-secondary-hover)}
body[data-fc-library] :is(.primary-button,.button-primary,.button.primary,.button-dark,.empty-state button):active{background:var(--fc-cta-primary-pressed)}
body[data-fc-library] :is(.outline-button,.show-more,.button:not(.primary):not(.button-primary):not(.button-dark)):active{background:var(--fc-cta-tertiary-pressed)}
body[data-fc-library] .card-preview-open:active{background:var(--fc-cta-secondary-pressed)}
body[data-fc-library] :is(.search-field input,.field select,.search-wrap input,.filter-row select){border:1.5px solid var(--fc-border-control);border-radius:12px;min-height:48px;background:var(--fc-surface);color:var(--fc-text);font:400 16px/1.4 var(--fc-type-body)}
body[data-fc-library] :is(input,textarea){caret-color:var(--fc-link)}
body[data-fc-library] ::selection{background:var(--fc-selected-bg);color:var(--fc-text)}

/* The active AI reference retains its reading/worksheet structure in both appearances. */
body[data-fc-collection=ai] .library-tools{background:var(--fc-canvas);backdrop-filter:none}
body[data-fc-collection=ai] :is(.scope-link,.tag,.detail-lede,.detail-section p,.detail-section li,.worksheet-field,.worksheet-output label,.footer-copy,.footer-meta){color:var(--fc-text-muted)}
body[data-fc-collection=ai] .scope-link[aria-current=page]{color:var(--fc-link);background:var(--fc-selected-bg)}
body[data-fc-collection=ai] :is(.scope-link:hover,.path:hover){color:var(--fc-link);background:var(--fc-surface-soft)}
body[data-fc-collection=ai] :is(.source-grid>div,.prompt-card,.worksheet-field input,.worksheet-field select,.worksheet-field textarea,.worksheet-output textarea){background:var(--fc-surface);color:var(--fc-text)}
body[data-fc-collection=ai] .prompt-card.featured{background:var(--fc-surface-soft);border-color:var(--fc-border-control);color:var(--fc-text)}
body[data-fc-collection=ai] :is(.prompt-card.featured p,.footer-title){color:var(--fc-text)}
body[data-fc-collection=ai] .footer-nav a{color:var(--fc-link)}
body[data-fc-collection=ai] .footer-meta{border-color:var(--fc-border-subtle)}
body[data-fc-collection=ai] :is(input,textarea)::placeholder{color:var(--fc-text-muted);opacity:1}
body[data-fc-collection=ai] .filter-row label{font-size:14px}
body[data-fc-collection=ai] .library-layout .tag{font-size:13px}
body[data-fc-collection=ai] .result-card{padding:24px}
body[data-fc-collection=ai] .detail{margin-block:28px;padding:28px clamp(20px,4vw,44px) 64px}
body[data-fc-collection=ai] .detail-back{margin:0 0 26px}

/* Keep the little welcome beside the discovery note at every reading width. */
body[data-library-discovery] .fc-library-note>.fc-library-heart{left:168px;top:42px;width:38px;height:38px}
@media(min-width:721px) and (max-width:1000px){body[data-library-discovery] .fc-library-note>.fc-library-heart{display:block;left:126px;top:34px;width:32px;height:32px}}
@media(max-width:720px){body[data-library-discovery] .fc-library-note>.fc-library-heart{display:block;left:148px;right:auto;top:30px;width:36px;height:36px}body[data-library-discovery] .fc-library-note>img:not(.fc-library-heart){top:15px;right:10px;width:82px}}

/* Activities entry: reach the collection before the scene on narrow screens. */
body[data-fc-library] .fc-activity-browse {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-block-start: 18px;
}
body[data-fc-library] .fc-library-hero .fc-activity-browse + .hero-count {
  display: block;
  margin-block-start: 12px;
}
#activity-collection {
  scroll-margin-block-start: 24px;
}
#activity-collection:focus-visible {
  outline: 3px solid var(--fc-link);
  outline-offset: 6px;
  border-radius: 4px;
}

/* UX28: keep search guidance readable without narrowing the search controls. */
body[data-fc-library] #search-note { max-inline-size: 70ch; }
