/* Homepage search and tool directory */
@media(max-width:360px) {
  body.home .header { gap:6px; padding-inline:8px; }
  body.home .header .brand { font-size:15px; gap:6px; letter-spacing:.3px; }
}
.header .header-search-button {
  display:grid; place-items:center; width:44px; height:44px;
  flex:none; border-radius:12px; color:#344156;
}
.header-search-button .icon { width:20px; height:20px; }
.header-search-button:hover { background:#f3f5f8; color:var(--creator-focus); }
.quick-search-dialog {
  --quick-search-red:#a72e45;
  position:fixed; inset:86px 0 auto; margin:0 auto;
  width:min(820px,calc(100% - 32px)); max-width:none;
  border:1px solid #fff; border-radius:17px; padding:12px;
  background:#fff; color:#283343; box-shadow:0 18px 55px #111a3242;
  overflow:visible;
}
.quick-search-dialog::backdrop { background:#131b2a88; }
body:has(.quick-search-dialog[open]) { overflow:hidden; }
.quick-search-form {
  display:grid; grid-template-columns:22px minmax(0,1fr) auto 44px;
  align-items:center; gap:10px; background:#f3f5f8;
  border:1px solid #e4e9f1; border-radius:11px; padding:5px 5px 5px 13px;
}
.quick-search-form:focus-within {
  border-color:#c06b7d; box-shadow:0 0 0 2px #ba365522;
}
.quick-search-icon { width:20px; height:20px; color:#52647c; }
.quick-search-form input {
  width:100%; min-width:0; min-height:44px; padding:0;
  border:0; outline:0; background:transparent; color:#26354a; font:inherit; font-size:16px;
}
.quick-search-form input::placeholder { color:#56657a; }
.quick-search-submit {
  min-height:44px; padding:0 19px; border-radius:8px;
  background:var(--quick-search-red); color:#fff; font-weight:650;
}
.quick-search-form .quick-search-close {
  width:44px; height:44px; display:grid; place-items:center; border-radius:8px; color:#47576d;
}
.quick-search-close .icon { width:18px; height:18px; }
.quick-search-form button:focus-visible,.header-search-button:focus-visible {
  outline:2px solid #9f3147; outline-offset:2px;
}
.quick-search-close:hover { background:#e7ecf2; }
.quick-search-submit:hover { background:#8c2238; }

.creator-home .tool-directory { scroll-margin-top:0; }
.creator-home .catalog-search-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; min-width:0; }
.creator-home .catalog-search-actions .reset-filters { flex:none; padding:6px 8px; min-height:40px; border-radius:8px; }
.creator-home .catalog-search-actions .reset-filters:hover { background:#fae9ed; }
.creator-home .tool-directory.has-search-results {
  min-height:calc(100vh - 88px);
  min-height:calc(100svh - 88px);
}
.creator-home .tool-directory.has-search-results .catalog-search { background:#f6f8fb; }

.creator-home .catalog-browser-group {
  background:#fff; border:1px solid #e8ecf2;
  border-radius:16px; padding:13px; margin-bottom:16px;
}
.creator-home .catalog-browser-group:last-child { margin-bottom:0; }
.catalog-group-heading {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  min-height:34px; margin-bottom:11px;
}
.catalog-group-heading>.icon { width:18px; height:18px; color:#54627a; }
.catalog-group-heading h3 { margin:0 3px 0 0; font-size:16px; color:#26344b; font-weight:700; }
.catalog-group-heading h3:focus-visible { outline:2px solid var(--creator-focus); outline-offset:3px; border-radius:3px; }
.catalog-group-heading::after { content:""; flex:1; min-width:12px; height:1px; background:#edf0f4; }
.catalog-group-tabs {
  display:inline-flex; flex-wrap:wrap; gap:2px; max-width:100%;
  background:#eff1f5; border-radius:9px; padding:3px;
}
.catalog-group-tabs button {
  position:relative; min-height:30px; padding:4px 10px;
  font-size:13px; white-space:nowrap; border-radius:7px;
  color:#4e5c70; font-weight:600;
}
.catalog-group-tabs button[aria-pressed="true"] { color:#fff; background:var(--creator-focus); box-shadow:0 2px 5px #a72e4533; }
.catalog-group-tabs button[aria-pressed="false"]:hover { color:var(--creator-focus); background:#fff8; }
.catalog-group-tabs button:focus-visible { outline:2px solid var(--creator-focus); outline-offset:3px; }
.creator-home .catalog-browser-group .tool-grid {
  grid-template-columns:repeat(auto-fill,minmax(min(100%,max(166px,calc((100% - 48px)/5))),1fr)); gap:12px;
}
.catalog-group-empty { grid-column:1/-1; margin:0; padding:13px 10px; color:var(--creator-secondary-text); }

.creator-home .tool-card.directory-tool {
  min-height:0; min-width:0; padding:9px 9px 3px;
  background:#f8f9fb; border:1px solid #f0f1f4; border-radius:13px;
  box-shadow:inset 0 0 17px #26385208;
}
.creator-home .tool-card.directory-tool>.main-link {
  display:flex; margin:0; min-height:54px; padding:0;
  align-items:center; gap:9px; border-radius:9px; color:inherit;
}
.creator-home .directory-tool .tool-logo {
  position:relative; display:grid; place-items:center;
  width:52px; height:52px; border-radius:50%;
  color:#596c87; background:#edf1f6; box-shadow:none; font-size:19px;
}
.creator-home .directory-tool .tool-logo>img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:contain; border-radius:50%;
}
.creator-home .directory-tool .tool-info { flex:1; min-width:0; }
.creator-home .directory-tool .tool-info h4 { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; line-height:1.35; color:#2c384a; }
.creator-home .directory-tool .tool-description {
  display:block; margin:3px 0 0; min-height:0;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  line-height:1.45; font-size:12px; color:#526176;
}
.creator-home .directory-tool .tool-card-bottom {
  min-width:0; display:flex; gap:4px;
  justify-content:space-between; border-top:1px solid #e8ebf0; margin-top:5px;
}
.directory-tool-tags { display:flex; gap:4px; min-width:0; overflow:hidden; align-items:center; }
.directory-tag {
  flex:none; padding:1px 4px; border-radius:4px;
  color:#4f5f73; background:#e9edf2; font-size:10px; white-space:nowrap;
}
.directory-tag-primary { color:#91283e; background:#f9e7eb; }
.creator-home .directory-tool .favorite-button {
  flex:none; width:32px; height:32px; min-width:32px; min-height:32px; margin-left:0; border-radius:8px;
}
.creator-home .directory-tool .favorite-button:focus-visible { outline:2px solid var(--creator-focus); outline-offset:-2px; }
@media(hover:hover) and (pointer:fine) {
  .creator-home .tool-card.directory-tool:hover {
    background:#fff; border-color:#e3e8f0; box-shadow:0 9px 20px -9px #34425e52;
  }
  .creator-home .directory-tool .main-link:hover h4 { color:var(--creator-focus); }
}

.header-search-button,.quick-search-form button,.creator-home :is(.catalog-group-tabs button,.favorite-button,.tool-card .main-link,.side-link,.reset-filters,.catalog-search button,.hero-search button),.header .menu-toggle {
  touch-action:manipulation;
}
.header-search-button:is(:active,.is-pressed),.quick-search-close:is(:active,.is-pressed),.header .menu-toggle:is(:active,.is-pressed) {
  background:#e7ebf2; color:#862138;
}
.quick-search-submit:is(:active,.is-pressed) { background:#771b2e; }
.creator-home .hero-search>button.is-pressed { background:#92283c; }
.creator-home .catalog-search button.is-pressed { background:#e6edf5; }
.creator-home .catalog-group-tabs button:is(:active,.is-pressed) { box-shadow:inset 0 0 0 2px #52304538; }
.creator-home .tool-card .main-link:is(:active,.is-pressed) { background:#eaf0f7; }
.creator-home .sidebar .side-link.is-pressed { background:#e7ebf2; }
.creator-home .reset-filters.is-pressed,.creator-home .favorite-button.is-pressed { background:#f4dbe2; color:#8b273c; }
@media(prefers-reduced-motion:no-preference) {
  .quick-search-dialog[open] { animation:directory-search-in 170ms ease-out both; }
  .quick-search-dialog[open]::backdrop { animation:directory-backdrop-in 170ms ease-out both; }
  .creator-home .tool-card .main-link,.catalog-group-tabs button,.quick-search-form button,.header-search-button { transition:background-color 130ms ease,color 130ms ease,transform 80ms ease; }
  .header-search-button:is(:active,.is-pressed),.quick-search-form button:is(:active,.is-pressed),.creator-home .hero-search>button.is-pressed,.creator-home .catalog-group-tabs button.is-pressed,.creator-home .favorite-button.is-pressed {
    transform:translateY(1px);
  }
  @keyframes directory-search-in { from { opacity:0; transform:translateY(-7px); } to { opacity:1; transform:translateY(0); } }
  @keyframes directory-backdrop-in { from { opacity:0; } to { opacity:1; } }
}
@media(prefers-reduced-motion:reduce) {
  .creator-home .directory-tool { transition:none; }
}
@media(max-width:850px) {
  .quick-search-dialog { inset:78px 0 auto; }

  .creator-home .tool-card .favorite-button {
    width:44px; height:44px; min-width:44px; min-height:44px;
  }
  .catalog-group-tabs button,.creator-home .catalog-search-actions .reset-filters { min-height:44px; }
}
@media(max-width:600px) {
  .header .header-actions { gap:4px; }
  .header .header-search-button { margin-right:0; }
  .quick-search-dialog { padding:8px; width:calc(100% - 16px); border-radius:13px; }
  .quick-search-form { grid-template-columns:17px minmax(0,1fr) auto 44px; gap:4px; padding:4px 3px 4px 8px; }
  .quick-search-icon { width:16px; height:16px; }
  .quick-search-submit { padding-inline:10px; font-size:14px; }
  .creator-home .catalog-browser-group { padding:10px; }
  .creator-home .catalog-browser-group .tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .catalog-group-heading { gap:6px; }
  .catalog-group-heading h3 { font-size:15px; }
  .catalog-group-heading::after { display:none; }
  .catalog-group-tabs button { font-size:12px; padding-inline:6px; }
  .creator-home .directory-tool .tool-logo { width:38px; height:38px; font-size:15px; }
  .creator-home .tool-card.directory-tool { padding:7px 6px 2px; }
  .creator-home .tool-card.directory-tool>.main-link { min-height:45px; gap:6px; }
  .creator-home .directory-tool .tool-info h4 { font-size:13px; }
  .creator-home .directory-tool .tool-description { font-size:11px; }
  .creator-home .directory-tool .tool-card-bottom { margin-top:3px; }
  .directory-tool-tags .directory-tag:not(.directory-tag-primary) { display:none; }
  .creator-home .catalog-toolbar { flex-wrap:wrap; gap:6px; }
  .creator-home .tool-directory { scroll-margin-top:0; }
.creator-home .catalog-search-actions { flex:1 1 100%; }
  .creator-home .catalog-search-actions .catalog-search { width:auto; flex:1; }
  .creator-home .catalog-search-actions .catalog-search input { font-size:16px; }
}
@media(max-width:350px) {
  .creator-home .catalog-browser-group .tool-grid { grid-template-columns:1fr; }
}

/* Keep results that fit the viewport together with their filters. */
.creator-home .tool-directory { --catalog-sticky-top:83px; }
.creator-home .catalog-results { display:flow-root; }
.creator-home .tool-directory:is(.has-search-results,.has-resource-section,.is-favorites) .catalog-results.fits-viewport {
  position:sticky; top:var(--catalog-sticky-top); z-index:3;
}
.creator-home .tool-directory:is(.has-resource-section,.is-favorites) {
  min-height:calc(100svh - 88px);
}
.creator-home .tool-directory:is(.has-search-results,.has-resource-section,.is-favorites) .catalog-controls {
  position:sticky; top:var(--catalog-sticky-top); z-index:3;
  margin-bottom:14px; padding:9px 10px;
  background:#fff; border:1px solid #e4e9f1;
  border-radius:12px; box-shadow:0 5px 18px #2336500b;
}
.creator-home .tool-directory:is(.has-search-results,.has-resource-section,.is-favorites) .catalog-results.fits-viewport .catalog-controls { position:relative; top:auto; }
.creator-home .tool-directory:is(.has-search-results,.has-resource-section,.is-favorites) .catalog-toolbar { margin-bottom:0; }
.creator-home .tool-directory:is(.has-resource-section,.is-favorites) .catalog-search { background:#f6f8fb; }
.creator-home .catalog-controls .resource-category-tabs:not([hidden]) {
  position:relative; display:flex; flex-wrap:nowrap; gap:6px;
  margin:8px 0 0; padding:3px 2px 4px;
  border:0; overflow-x:auto; overflow-y:hidden;
  scrollbar-width:thin;
}
.creator-home .catalog-controls .resource-category-tabs button {
  flex:none; min-height:38px; padding:4px 10px;
  border:1px solid transparent; border-radius:8px;
  background:#f1f3f7; color:#48566a;
  white-space:nowrap; font-size:13px; font-weight:600;
  touch-action:manipulation;
}
.creator-home .catalog-controls .resource-category-tabs button.selected {
  color:#fff; background:var(--creator-focus); border-color:var(--creator-focus);
}
.creator-home .catalog-controls .resource-category-tabs button:focus-visible { outline-offset:-3px; outline-color:#8f2b43; }
.creator-home .catalog-controls .resource-category-tabs button.selected:focus-visible { outline-color:#fff; }
.creator-home .catalog-controls .resource-category-tabs button:is(:active,.is-pressed) {
  color:#7c2237; background:#f2d9e0; box-shadow:inset 0 0 0 1px #a72e4540;
}
.creator-home .catalog-controls .resource-category-tabs button.selected:is(:active,.is-pressed) {
  color:#fff; background:#791c30;
}
@media(hover:hover) and (pointer:fine) {
  .creator-home .catalog-controls .resource-category-tabs button:not(.selected):hover { color:#88273d; background:#f8e9ed; }
}
@media(prefers-reduced-motion:no-preference) {
  .creator-home .catalog-controls .resource-category-tabs button { transition:background-color 130ms ease,color 130ms ease,transform 80ms ease; }
  .creator-home .catalog-controls .resource-category-tabs button:is(:active,.is-pressed) { transform:translateY(1px); }
}
.creator-home .catalog-browser-group:has(.directory-resource) .tool-grid {
  grid-template-columns:repeat(auto-fill,minmax(min(100%,max(196px,calc((100% - 36px)/4))),1fr));
}
.catalog-group-count {
  display:inline-grid; place-items:center; min-width:24px;
  padding:0 6px; border-radius:7px;
  color:#53647b; background:#f0f2f6; font-size:12px; font-weight:600;
}
.creator-home .directory-resource .tool-logo { border-radius:11px; }
.creator-home .directory-resource .tool-logo>img { border-radius:11px; }
.directory-resource .tool-initial { display:grid; place-items:center; }
.directory-resource .tool-initial .icon { width:23px; height:23px; }
.creator-home :is(.directory-resource,.favorite-browser-group .directory-tool) .tool-info h4 {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  white-space:normal; overflow-wrap:anywhere;
}
.creator-home .is-favorites .empty-state { background:#fff; border-radius:16px; }
.creator-home .is-favorites .empty-state button {
  justify-content:center; padding:0 14px; border-radius:9px;
  color:#fff; background:var(--creator-focus); text-decoration:none;
}
.creator-home .is-favorites .empty-state button:hover { background:#8a243a; }
@media(max-width:850px) {
  .creator-home .tool-directory { --catalog-sticky-top:75px; }
  .creator-home .catalog-controls .resource-category-tabs button { min-height:44px; }
}
@media(max-width:600px) {
  .creator-home .catalog-browser-group:has(.directory-resource) .tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .creator-home .directory-resource .tool-logo,.creator-home .directory-resource .tool-logo>img { border-radius:9px; }
  .directory-resource .tool-initial .icon { width:18px; height:18px; }
}
@media(max-width:350px) {
  .creator-home .catalog-browser-group:has(.directory-resource) .tool-grid { grid-template-columns:1fr; }
  .creator-home .tool-directory.has-resource-section .catalog-controls { position:relative; top:auto; }
}


/* Resource icons and compact category disclosure. */
.creator-home .tool-card.directory-resource { display:flex; flex-direction:column; }
.creator-home .tool-card.directory-resource>.main-link { flex:1; }

.creator-home .directory-resource .tool-logo {
  color:var(--resource-icon-ink,#4d617d);
  background:var(--resource-icon-bg,#e9eef5);
}
.directory-resource[data-resource-tone="violet"] { --resource-icon-ink:#5d42a8; --resource-icon-bg:#ece6fa; }
.directory-resource[data-resource-tone="blue"] { --resource-icon-ink:#2a5e9c; --resource-icon-bg:#e3eefb; }
.directory-resource[data-resource-tone="rose"] { --resource-icon-ink:#9b355b; --resource-icon-bg:#f8e7ef; }
.directory-resource[data-resource-tone="teal"] { --resource-icon-ink:#18796e; --resource-icon-bg:#dff3ee; }
.directory-resource[data-resource-tone="amber"] { --resource-icon-ink:#86531b; --resource-icon-bg:#faedd9; }
.creator-home .directory-resource .tool-logo.resource-brand-logo { background:#fff; border:1px solid #edf0f4; }
.creator-home .directory-resource .tool-logo.resource-brand-logo>img {
  inset:8%; width:84%; height:84%; object-fit:contain; border-radius:7px;
}
.creator-home .resource-brand-logo:has(>img) .tool-initial { visibility:hidden; }
.creator-home :is(.directory-resource,.favorite-browser-group .directory-tool) .tool-info h4 { line-height:1.25; }
.creator-home :is(.directory-resource,.favorite-browser-group .directory-tool) .tool-description { line-height:1.4; }
.creator-home :is(.resource-browser-group .directory-resource,.favorite-browser-group .directory-tool) h4 {
  block-size:2lh;
}
@media(min-width:601px) {
  .creator-home :is(.tool-card.directory-resource,.favorite-browser-group .directory-tool) { padding-bottom:1px; }
  .creator-home :is(.directory-resource,.favorite-browser-group .directory-tool) .tool-description {
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
    white-space:normal; overflow-wrap:anywhere;
  }
  .creator-home :is(.resource-browser-group .directory-resource,.favorite-browser-group .directory-tool) .tool-description {
    block-size:2lh;
  }
}

.creator-home .catalog-controls .resource-category-tabs:not([hidden]) {
  flex-wrap:wrap; align-items:center; overflow:visible; padding:2px 0 0;
}
.resource-filter-more { flex:none; }
.resource-filter-more summary {
  display:flex; align-items:center; justify-content:center; gap:7px;
  min-height:38px; padding:4px 10px; border:1px solid #e1e6ee; border-radius:8px;
  background:#fff; color:#3f526b; cursor:pointer; font-size:13px; font-weight:650;
  touch-action:manipulation; list-style:none;
}
.resource-filter-more summary::-webkit-details-marker { display:none; }
.resource-filter-more summary::after {
  content:""; display:block; width:6px; height:6px;
  border:solid currentColor; border-width:0 1.5px 1.5px 0;
  transform:translateY(-2px) rotate(45deg);
}
.resource-filter-more[open] summary::after { transform:translateY(1px) rotate(225deg); }
.resource-filter-more summary:is(.selected,:active,.is-pressed) {
  color:#8d2841; background:#f8e7ec; border-color:#e8c6d0;
}
.resource-filter-more summary:focus-visible { outline:2px solid var(--creator-focus); outline-offset:2px; }
.resource-filter-options {
  position:absolute; z-index:5; top:calc(100% + 7px); left:0; right:0;
  display:flex; flex-wrap:wrap; gap:7px; align-items:flex-start;
  max-height:min(52vh,320px); overflow:auto; overscroll-behavior:contain;
  padding:11px; border:1px solid #e2e7ef; border-radius:12px;
  background:#fff; box-shadow:0 12px 28px #293a5427;
}
@media(max-width:850px) {
  .resource-filter-more summary { min-height:44px; }
}
@media(max-width:600px) {
  .creator-home .catalog-controls .resource-category-tabs button,.resource-filter-more summary { padding-inline:8px; }
}

/* Clip the cover at the rounded corners and let the halo extend outside. */
.creator-home .featured-project-card[data-featured-project] {
  overflow: visible;
}
.creator-home .featured-project-card[data-featured-project]::before,
.creator-home .featured-project-card[data-featured-project] > .featured-project-backdrop {
  border-radius: inherit;
}
.creator-home .featured-project-card[data-featured-project] > .featured-project-backdrop {
  overflow: hidden;
}
.creator-home .featured-project-card.is-full-cover[data-featured-project] > .featured-project-backdrop {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* The halo starts at the edge the pointer crosses. */
@property --directory-glow-spread {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}
.creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool])::after {
  --card-ink: var(--directory-card-ink, var(--resource-icon-ink, #596c87));
  --card-light: var(--card-ink);
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--card-light) 61%, transparent),
    0 0 12px 2px color-mix(in srgb, var(--card-light) 39%, transparent),
    0 4px 17px color-mix(in srgb, var(--card-light) 20%, transparent);
}
@supports (color: oklch(from #123456 clamp(.55, l, .72) min(c, .17) h)) {
  .creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool])::after {
    --card-light: oklch(from var(--card-ink) clamp(.55, l, .72) min(c, .17) h);
  }
}
.creator-home .featured-project-card[data-featured-project]::after {
  inset: 0;
}
.creator-home .curated-tool[data-curated-tool]::after {
  --card-ink: var(--directory-card-ink, #b4798b);
}
.creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool]):not(.favorite-sort-chosen,.favorite-sort-ghost,.sortable-fallback):is(:focus-visible,:has(:focus-visible))::after {
  --directory-glow-spread: 100%;
  opacity: .62;
}
@media (hover: hover) and (pointer: fine) {
  .creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool]):not(.favorite-sort-chosen,.favorite-sort-ghost,.sortable-fallback):hover::after {
    --directory-glow-spread: 100%;
    opacity: .72;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool])::after {
    transition: opacity 150ms ease-out, --directory-glow-spread 0s 150ms;
  }
  .creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool])[data-glow-entry]::after {
    /* The extra mask area leaves room for the shadow outside the card. */
    mask-image: radial-gradient(
      circle farthest-corner at calc(var(--directory-glow-x) + 23px) calc(var(--directory-glow-y) + 23px),
      #000 var(--directory-glow-spread), transparent calc(var(--directory-glow-spread) + 24px)
    );
    mask-size: calc(100% + 44px) calc(100% + 44px);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-clip: no-clip;
  }
  .creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool]):not(.favorite-sort-chosen,.favorite-sort-ghost,.sortable-fallback):hover::after {
    transition: opacity 65ms ease-out, --directory-glow-spread 250ms cubic-bezier(.24,.65,.36,1);
  }
  .creator-home :is(.directory-tool,.featured-project-card[data-featured-project],.curated-tool[data-curated-tool])[data-glow-entry]:not(.favorite-sort-chosen,.favorite-sort-ghost,.sortable-fallback):hover::after {
    transition: --directory-glow-spread 250ms cubic-bezier(.24,.65,.36,1);
    animation: directory-card-edge-light 135ms ease-out;
  }
  @keyframes directory-card-edge-light {
    from {
      opacity: .98;
      box-shadow:
        0 0 0 1.5px color-mix(in srgb, var(--card-light) 93%, transparent),
        0 0 12px 3px color-mix(in srgb, var(--card-light) 68%, transparent),
        0 4px 17px color-mix(in srgb, var(--card-light) 27%, transparent);
    }
  }
}
