@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/atkinson-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/atkinson-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/atkinson-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/atkinson-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/hanken-600-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/fonts/hanken-600-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #030914;
  --surface: #0f172a;
  --surface-raised: #14223a;
  --surface-soft: #111d31;
  --ink: #f1f5f9;
  --muted: #b8c4d7;
  --quiet: #8fa0b8;
  --line: rgb(148 163 184 / 0.24);
  --line-strong: rgb(99 102 241 / 0.5);
  --chrome: rgb(3 9 20 / 0.9);
  --control: rgb(15 23 42 / 0.72);
  --blue: #2563eb;
  --blue-bright: #38a8ff;
  --violet: #6366f1;
  --purple: #a855f7;
  --teal: #14b8a6;
  --danger: #fb7185;
  --shadow: 0 24px 70px rgb(0 0 0 / 0.34);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1280px;
  --z-dropdown: 60;
  --z-sticky: 50;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-deep: #e8eef7;
  --surface: #ffffff;
  --surface-raised: #f8faff;
  --surface-soft: #edf3fb;
  --ink: #101827;
  --muted: #42526a;
  --quiet: #596a82;
  --line: rgb(71 85 105 / 0.24);
  --line-strong: rgb(37 99 235 / 0.44);
  --chrome: rgb(255 255 255 / 0.92);
  --control: rgb(244 247 251 / 0.94);
  --shadow: 0 20px 54px rgb(37 55 82 / 0.14);
}

html[data-theme="light"] .stitch-search-hero {
  background:
    radial-gradient(circle at 50% 100%, rgb(168 85 247 / 0.12), transparent 36%),
    radial-gradient(circle at 50% 0, rgb(37 99 235 / 0.16), transparent 48%),
    linear-gradient(145deg, #ffffff, #edf3fb);
  box-shadow: 0 18px 46px rgb(37 55 82 / 0.12);
}

html[data-theme="light"] .stitch-search-hero::before {
  background:
    linear-gradient(105deg, transparent 30%, rgb(37 99 235 / 0.1) 30.2%, transparent 30.5%),
    radial-gradient(circle, rgb(37 99 235 / 0.42) 1px, transparent 1.7px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12rem, rgb(37 99 235 / 0.22), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0, var(--bg-deep) 100%);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgb(56 168 255 / 0.32) 1px, transparent 1.5px),
    linear-gradient(115deg, transparent 42%, rgb(99 102 241 / 0.06) 42.2%, transparent 42.5%);
  background-size: 44px 44px, 100% 100%;
  mask-image: linear-gradient(to bottom, black, transparent 62rem);
  opacity: 0.42;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.catalog-picture { position: relative; display: block; overflow: hidden; }
.catalog-picture-wide { width: 100%; aspect-ratio: 16 / 9; }
.catalog-picture-wide img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: auto;
  min-height: 100%;
  transform: translate(-50%, -50%);
}
.catalog-picture-thumb { flex: 0 0 auto; }
.catalog-picture-thumb img {
  position: relative;
  left: 50%;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 {
  margin-block: 0;
  font-family: "Hanken Grotesk", "Atkinson Hyperlegible", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}

[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }
.content-anchor { position: absolute; inset: 0 auto auto 0; }

.cookie-topbar {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 5px max(14px, calc((100vw - var(--container)) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--quiet);
  font-size: 0.78rem;
  white-space: nowrap;
  transition: min-height 180ms var(--ease-out), padding 180ms var(--ease-out), opacity 140ms ease, border-color 180ms ease;
}
.cookie-topbar::-webkit-scrollbar { display: none; }
.cookie-topbar p { flex: 0 0 auto; display: flex; gap: 8px; margin: 0; }
.cookie-topbar a { color: var(--muted); font-weight: 800; }
.cookie-topbar a:hover { color: var(--blue-bright); }
.cookie-topbar button { flex: 0 0 auto; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; }
.cookie-topbar button:hover { border-color: var(--line-strong); color: var(--ink); }
.cookie-topbar.is-hidden { min-height: 0; height: 0; padding-block: 0; border-color: transparent; opacity: 0; pointer-events: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px max(14px, calc((100vw - var(--container)) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  background: var(--chrome);
  backdrop-filter: blur(18px) saturate(1.2);
}
.topbar::-webkit-scrollbar { display: none; }
.topbar > * { flex: 0 0 auto; }

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-sm);
}
.brand:hover { background: rgb(99 102 241 / 0.1); }
.brand img { width: 42px; height: 34px; object-fit: contain; }
.brand span { display: flex; align-items: center; }
.brand strong { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; }

.top-menu {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--control);
  white-space: nowrap;
}
.top-menu a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}
.top-menu a:hover, .top-menu a:focus-visible { color: var(--ink); background: rgb(37 99 235 / 0.18); }

.search {
  width: clamp(230px, 25vw, 330px);
  min-height: 46px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--control);
}
.search:focus-within { border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgb(56 168 255 / 0.12); }
.search > span { color: var(--blue-bright); font-size: 1.25rem; }
.search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search input::placeholder, .stitch-search-box input::placeholder, .stitch-live-search input::placeholder { color: var(--quiet); opacity: 1; }

.top-actions { display: inline-flex; gap: 7px; }
.theme-toggle, .language-trigger {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--control);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle { width: 46px; }
.language-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; }
.theme-toggle:hover, .language-trigger:hover { border-color: var(--line-strong); background: var(--surface-raised); }

.language-menu {
  position: fixed;
  top: 76px;
  right: 12px;
  z-index: var(--z-dropdown);
  width: min(310px, calc(100vw - 24px));
  max-height: min(calc(100vh - 88px), 520px);
  max-height: min(calc(100dvh - 88px), 520px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.language-menu::-webkit-scrollbar { width: 8px; }
.language-menu::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: var(--line-strong); background-clip: padding-box; }
.language-menu a {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0 10px;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  line-height: 1.22;
}
.language-menu a:hover, .language-menu a[aria-current="page"] { background: rgb(37 99 235 / 0.15); }
.language-menu a > span { grid-row: span 2; font-size: 1.15rem; }
.language-menu small { color: var(--quiet); }

.home-page, .directory-page, .item-page, .blog-page, .text-page, .site-footer {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}
.home-page, .directory-page, .item-page, .blog-page, .text-page { padding-block: 30px 80px; }

.stitch-search-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 100%, rgb(168 85 247 / 0.15), transparent 36%),
    radial-gradient(circle at 50% 0, rgb(37 99 235 / 0.28), transparent 48%),
    linear-gradient(145deg, rgb(15 23 42 / 0.96), rgb(3 9 20 / 0.98));
  box-shadow: var(--shadow);
}
.stitch-search-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 30%, rgb(56 168 255 / 0.12) 30.2%, transparent 30.5%),
    radial-gradient(circle, rgb(99 102 241 / 0.7) 1px, transparent 1.7px);
  background-size: 100% 100%, 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  opacity: 0.5;
}
.stitch-hero-inner {
  position: relative;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(54px, 8vw, 100px) clamp(18px, 5vw, 76px);
  text-align: center;
}
.stitch-search-hero h1 { font-size: clamp(2.45rem, 6.5vw, 5.6rem); max-inline-size: none; }
.stitch-search-hero h1 span { color: var(--blue-bright); }
.stitch-search-hero p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.stitch-search-hero .home-trust-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; color: var(--quiet); font-size: 0.9rem; }
.home-trust-note a { color: var(--blue-bright); font-weight: 700; }
.stitch-search-box {
  width: min(100%, 820px);
  min-height: 66px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgb(99 102 241 / 0.52);
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.28), 0 0 0 6px rgb(37 99 235 / 0.08);
  color: #101827;
}
.stitch-search-box > span { color: #2563eb; font-size: 1.5rem; }
.stitch-search-box input { min-width: 0; border: 0; outline: 0; background: transparent; color: #101827; font-size: 1.05rem; }
.stitch-search-box input::placeholder { color: #52637b; }
.stitch-search-box button, .stitch-live-search button, .button-primary {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgb(37 99 235 / 0.28);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.stitch-search-box button:hover, .stitch-live-search button:hover, .button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgb(37 99 235 / 0.35); }
.stitch-trends { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 14px; color: var(--quiet); }
.stitch-trends a { color: var(--blue-bright); font-weight: 700; }

.stitch-search-results {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(7 17 31 / 0.92);
  text-align: left;
}
.stitch-search-results p { margin: 0 0 12px; }
.stitch-live-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
.stitch-live-shortcut { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.stitch-live-shortcut .catalog-picture-thumb { width: 48px; height: 48px; border-radius: 8px; }

.stitch-feature-section, .section-block, .rail-grid {
  margin-top: clamp(54px, 8vw, 96px);
}
.stitch-section-head, .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.stitch-section-head h2, .section-head h2 { font-size: clamp(1.8rem, 4vw, 3.25rem); }
.stitch-section-head p, .section-head p { margin: 7px 0 0; color: var(--muted); }
.stitch-section-head > a, .small-link { color: var(--blue-bright); font-weight: 800; white-space: nowrap; }
.label-line { margin: 0 0 6px; color: var(--blue-bright) !important; font-weight: 800; }

.stitch-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.stitch-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.stitch-feature-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.stitch-feature-main { grid-column: span 8; min-height: 0; }
.stitch-feature-side { grid-column: span 4; }
.stitch-feature-mini { grid-column: span 4; min-height: 0; }
.stitch-feature-main > a, .stitch-feature-mini > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}
.stitch-feature-main > a > .catalog-picture, .stitch-feature-mini > a > .catalog-picture {
  position: relative;
  inset: auto;
  height: auto;
  border-radius: 0;
}
.stitch-feature-main > a > div, .stitch-feature-mini > a > div {
  position: static;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(20px, 3vw, 30px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.stitch-feature-card h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.stitch-feature-card p { margin: 0; color: var(--muted); }
.stitch-feature-main > a > div > span,
.stitch-feature-mini > a > div > span,
.stitch-side-label { color: var(--blue-bright); font-weight: 800; }
.stitch-feature-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(145deg, rgb(37 99 235 / 0.18), var(--surface) 72%);
}
.stitch-feature-side ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.stitch-feature-side > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink);
  font-weight: 800;
}
html[data-theme="light"] .stitch-feature-main > a > div > span,
html[data-theme="light"] .stitch-feature-mini > a > div > span,
html[data-theme="light"] .stitch-side-label { color: #1d4ed8; }

.api-promo-grid, .database-grid, .directory-list, .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 14px;
}
.stitch-catalog-section .database-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.api-promo-card, .database-card, .directory-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.api-promo-card:hover, .database-card:hover, .directory-item:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-raised); }
.api-promo-card > a, .database-card > a, .directory-item > a { height: 100%; display: flex; flex-direction: column; padding: 20px; }
.api-promo-card .catalog-picture, .database-card .catalog-picture, .directory-item .catalog-picture { border-radius: var(--radius-sm); background: var(--surface-soft); }
.api-promo-card h3, .database-card h2, .database-card h3, .directory-item h2 { font-size: 1.35rem; }
.api-promo-card p, .database-card p, .directory-item p { color: var(--muted); }
.api-promo-label, .area-card-label { color: var(--blue-bright); font-weight: 800; }
.entry-copy { display: grid; align-content: start; gap: 11px; padding-top: 17px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 7px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.entry-meta > span, .entry-meta > time {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.25;
}
.entry-category { border-color: var(--line-strong) !important; background: rgb(37 99 235 / 0.13); color: var(--blue-bright); font-weight: 800; }
.entry-origin { color: var(--muted); }
.entry-copy h2 { margin: 0; }
.entry-copy p { margin: 0; }

.rail-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.area-card {
  flex: 1 1 280px;
  display: grid;
  align-content: space-between;
  gap: clamp(30px, 5vw, 58px);
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.area-card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-raised); }
.area-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.area-card-count { color: var(--ink); font-family: "Hanken Grotesk", "Atkinson Hyperlegible", system-ui, sans-serif; font-size: 2rem; line-height: 1; }
.area-card-label { font-size: 1.18rem; }
.area-card p { margin: 10px 0 0; color: var(--muted); }
.ui-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgb(37 99 235 / 0.13);
  color: var(--blue-bright);
}
.ui-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon-apis { background: rgb(168 85 247 / 0.13); color: #b894ff; }
.ui-icon-sites { background: rgb(20 184 166 / 0.13); color: #44d7c7; }
html[data-theme="light"] .ui-icon-apis { color: #7c3aed; }
html[data-theme="light"] .ui-icon-sites { color: #0f766e; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; color: var(--quiet); font-size: 0.94rem; }
.breadcrumbs a:hover { color: var(--blue-bright); }
.directory-hero, .stitch-directory-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
.directory-hero h1, .stitch-directory-header h1 { font-size: clamp(2.3rem, 6vw, 5rem); }
.directory-hero p, .stitch-directory-header p { color: var(--muted); font-size: 1.1rem; }
.directory-summary { display: flex; flex-wrap: wrap; gap: 18px; }
.directory-summary article { min-width: 105px; }
.directory-summary span { display: block; color: var(--quiet); }
.directory-summary strong { font-size: 2rem; }
.directory-tools { margin: 28px 0; }
.category-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.category-pill, .stitch-filter {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.category-pill:hover, .category-pill[aria-pressed="true"], .stitch-filter:hover, .stitch-filter.is-active { color: var(--ink); border-color: var(--line-strong); background: rgb(37 99 235 / 0.15); }

.stitch-directory-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; margin-top: 30px; }
.stitch-sidebar { display: grid; align-content: start; gap: 14px; }
.stitch-sidebar-block, .stitch-suggest-box { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stitch-sidebar-block h2 { margin-bottom: 12px; font-size: 1rem; }
.stitch-sidebar-block .stitch-filter { width: 100%; margin-top: 6px; }
.stitch-sidebar-block label { display: flex; gap: 8px; margin-top: 8px; color: var(--muted); }
.stitch-suggest-box p { color: var(--muted); }
.stitch-suggest-box a { color: var(--blue-bright); font-weight: 800; }
.stitch-api-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.stitch-api-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stitch-api-card:hover { border-color: var(--line-strong); background: var(--surface-raised); }
.stitch-api-card-top { display: flex; justify-content: space-between; gap: 10px; }
.stitch-api-card .catalog-picture-thumb { width: 52px; height: 52px; border-radius: 10px; }
.stitch-api-card h2 { margin-top: 18px; font-size: 1.35rem; }
.stitch-api-card p { flex: 1; color: var(--muted); }
.stitch-api-card-tags, .api-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.stitch-api-card-tags span, .api-chip-row button, .query-chip { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--muted); }
.stitch-pagination { display: none; }

.page-frame { min-width: 0; }
.item-hero { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr); gap: 24px; align-items: stretch; }
.item-copy { padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.item-copy h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
.item-copy > p:not(.label-line) { color: var(--muted); font-size: 1.08rem; }
.hero-actions, .stitch-api-actions, .stitch-info-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.button-primary, .button-secondary, .stitch-api-actions a, .stitch-info-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}
.button-secondary, .stitch-api-actions a, .stitch-info-actions a { border: 1px solid var(--line); background: var(--surface-raised); }
.stitch-api-actions a.is-primary, .stitch-info-actions a:first-child { border-color: transparent; background: linear-gradient(135deg, var(--blue), var(--violet)); color: white; }
.item-figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.item-figure .catalog-picture { height: min(52vw, 500px); }
.item-figure figcaption { padding: 16px 20px; color: var(--muted); }
.item-ledger, .detail-block { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.item-ledger article, .detail-block article { padding: 24px; background: var(--surface); }
.item-ledger span { color: var(--quiet); }
.item-ledger strong { display: block; margin: 5px 0; font-size: 1.3rem; }
.item-ledger p, .detail-block p { color: var(--muted); }
.check-list, .api-bullet-list { padding-left: 1.25rem; color: var(--muted); }
.related-strip { margin-top: 48px; }
.compact-item, .stitch-related-api { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compact-item .catalog-picture-thumb, .stitch-related-api .catalog-picture-thumb { width: 58px; height: 58px; border-radius: var(--radius-sm); }
.compact-item span { min-width: 0; }
.compact-item strong, .compact-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compact-item small, .stitch-related-api small { color: var(--quiet); }

.stitch-api-titlebar { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 18px 0 30px; border-bottom: 1px solid var(--line); }
.stitch-api-heading { display: flex; gap: 18px; align-items: center; }
.stitch-api-heading .catalog-picture-thumb,
.stitch-api-heading > img {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: var(--radius);
  object-fit: cover;
}
.stitch-api-heading > div { min-width: 0; }
.stitch-api-heading h1 { font-size: clamp(2.1rem, 5vw, 4.3rem); }
.stitch-api-heading p { margin: 6px 0 0; color: var(--muted); }
.stitch-api-overview { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); gap: 18px; margin-top: 24px; }
.stitch-api-about, .stitch-info-card, .stitch-live-lab { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stitch-api-about h2, .stitch-info-card h2, .stitch-live-head h2, .stitch-continue h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
.stitch-api-about p, .stitch-info-card p, .stitch-live-head p { color: var(--muted); }
.stitch-fact-grid { display: grid; gap: 1px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); list-style: none; }
.stitch-fact-grid li { display: grid; padding: 14px; background: var(--surface-soft); }
.stitch-fact-grid small { color: var(--quiet); }
.stitch-info-card dl { margin: 18px 0 0; }
.stitch-info-card dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.stitch-info-card dt { color: var(--quiet); }
.stitch-info-card dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.stitch-info-card code { color: var(--blue-bright); }
.stitch-live-lab { margin-top: 24px; background: linear-gradient(145deg, rgb(37 99 235 / 0.12), var(--surface) 42%); }
.stitch-live-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 22px; padding: 8px 8px 8px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-deep); }
.stitch-live-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.stitch-samples { margin-top: 16px; }
.stitch-samples > span { display: block; margin-bottom: 8px; color: var(--quiet); }
.query-chip { cursor: pointer; }
.query-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.stitch-live-results, .api-results { margin-top: 18px; min-height: 150px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-deep); overflow: auto; }
.stitch-live-results.has-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  align-items: stretch;
}
.stitch-live-results.is-single {
  grid-template-columns: minmax(0, 420px);
  justify-content: start;
}
.api-message { color: var(--muted); }
.stitch-live-results .api-message { grid-column: 1 / -1; }
.api-result-grid, .api-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.api-result-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow-wrap: anywhere;
}
.api-result-card > div { min-width: 0; display: grid; gap: 5px; }
.api-result-card img, .api-result-thumb, .api-result-thumb-empty {
  width: 84px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  object-fit: cover;
}
.api-result-card.is-text-result { grid-template-columns: 1fr; }
.api-result-card.is-text-result .api-result-thumb-empty { display: none; }
.api-result-card:not(.is-text-result) { grid-template-columns: minmax(0, 1fr); }
.api-result-card:not(.is-text-result) img {
  width: 100%;
  height: 158px;
  max-height: 158px;
  object-fit: cover;
}
.api-result-card p, .api-result-card small { color: var(--muted); }
.api-result-card p { margin: 0; }
.api-result-facts { margin: 0; padding-left: 16px; color: var(--quiet); font-size: 0.88rem; }
.api-source-link { color: var(--blue-bright); font-weight: 800; }
.stitch-continue { margin-top: 48px; }
.stitch-continue > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; margin-top: 18px; }

.blog-shell, .article-shell { min-width: 0; }
.blog-header { display: flex; justify-content: space-between; align-items: end; gap: 28px; padding: clamp(32px, 6vw, 76px) 0; border-bottom: 1px solid var(--line); }
.blog-header h1, .article-shell h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); }
.blog-header p, .article-shell p { color: var(--muted); }
.blog-count { flex: 0 0 auto; }
.blog-count span { display: block; color: var(--quiet); }
.blog-count strong { font-size: 3rem; }
.blog-list { border-top: 0; }
.blog-card { border-bottom: 1px solid var(--line); }
.blog-card a { display: flex; padding: 20px; }
.blog-card a:hover h2 { color: var(--blue-bright); }
.blog-card-cover {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 82% 18%, rgb(56 168 255 / 0.32), transparent 34%),
    linear-gradient(145deg, rgb(37 99 235 / 0.24), var(--surface-soft));
}
.blog-card-cover span { font-family: "Hanken Grotesk", "Atkinson Hyperlegible", system-ui, sans-serif; font-size: 1.25rem; font-weight: 800; }
.blog-card-cover time { color: var(--muted); }
.blog-card h2 { font-size: 1.35rem; }
.blog-card p { color: var(--muted); }
.article-shell { padding-bottom: clamp(56px, 8vw, 112px); }
.article-shell .breadcrumbs { padding-block: 20px; border-bottom: 1px solid var(--line); }
.article-shell article { position: relative; padding-block: clamp(34px, 6vw, 86px); }
.article-shell article::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  width: clamp(110px, 18vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(56 168 255 / 0.16), transparent 68%);
  pointer-events: none;
}
.article-shell h1 { position: relative; width: 100%; max-width: none; margin-bottom: 22px; }
.article-shell h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.article-shell h3 { margin-top: 1.8em; font-size: 1.4rem; }
.article-shell a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.page-lede {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(28px, 5vw, 54px);
  color: var(--ink) !important;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}
.document-meta { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 0 0 42px; padding: 16px 0; border-block: 1px solid var(--line); }
.document-meta div { display: flex; align-items: baseline; gap: 10px; }
.document-meta dt { color: var(--quiet); font-weight: 700; }
.document-meta dd { margin: 0; color: var(--ink); font-weight: 800; }
.institutional-layout { display: grid; grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.page-toc { position: sticky; top: 94px; padding-top: 6px; }
.page-toc strong { display: block; margin-bottom: 14px; color: var(--ink); font-family: "Hanken Grotesk", "Atkinson Hyperlegible", system-ui, sans-serif; font-size: 1rem; }
.page-toc ol { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.page-toc li { counter-increment: toc; }
.page-toc a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 5px; padding: 7px 0; color: var(--quiet); text-decoration: none; line-height: 1.35; transition: color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.page-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--blue-bright); font-variant-numeric: tabular-nums; }
.page-toc a:hover { color: var(--ink); transform: translateX(3px); }
.page-prose { min-width: 0; }
.page-prose section { scroll-margin-top: 100px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.page-prose section:first-child { padding-top: 0; border-top: 0; }
.page-prose h2 { margin-bottom: 18px; color: var(--ink); }
.page-prose p, .page-prose li { color: var(--muted); font-size: 1.04rem; line-height: 1.78; }
.page-prose p { margin: 0 0 1em; }
.page-prose p:last-child { margin-bottom: 0; }
.page-prose ul { display: grid; gap: 8px; padding-left: 1.25rem; }
.page-prose strong { color: var(--ink); }
.link-list { columns: 2; padding-left: 1.2rem; }
.link-list li { break-inside: avoid; margin-bottom: 8px; }
.project-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; padding: 0 !important; list-style: none; }
.project-link-grid li { margin: 0; }
.project-link-grid a { height: 100%; display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; }
.project-link-grid a:hover { border-color: var(--line-strong); background: var(--surface-raised); }
.project-link-grid span { color: var(--muted); }

.contact-form-section { padding-top: clamp(36px, 6vw, 72px) !important; }
.contact-form-section > p { margin-top: 10px; }
.contact-form { margin-top: 24px; padding: clamp(18px, 4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form label { display: grid; align-content: start; gap: 7px; color: var(--ink); font-weight: 800; }
.contact-form-wide { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-deep); color: var(--ink); }
.contact-form input, .contact-form select { min-height: 48px; padding: 0 13px; }
.contact-form textarea { resize: vertical; min-height: 150px; padding: 12px 13px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgb(56 168 255 / 0.12); }
.contact-form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.contact-form-actions button { min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--blue), var(--violet)); color: white; font-weight: 800; cursor: pointer; }
.contact-form-actions p { margin: 0; color: var(--quiet); font-size: 0.9rem; }
.contact-form-status { min-height: 1.5em; margin: 12px 0 0 !important; color: var(--blue-bright) !important; font-weight: 800; }
.not-found { min-height: 58vh; display: grid; place-items: center; }
.empty-state { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(2, minmax(170px, 0.7fr));
  gap: 32px;
  padding-block: 44px 26px;
  border-top: 1px solid var(--line);
}
.footer-brand-link { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand-link img { width: 48px; height: 39px; object-fit: contain; }
.footer-brand-link span { display: grid; }
.footer-brand-link strong { font-size: 1.3rem; }
.footer-brand-link small, .footer-brand p { color: var(--quiet); }
.footer-label { display: block; margin-bottom: 12px; color: var(--quiet); font-weight: 800; }
.footer-link-list { display: grid; gap: 8px; }
.footer-link-list a:hover { color: var(--blue-bright); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--quiet); }

@media (max-width: 900px) {
  .stitch-catalog-section .database-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stitch-bento, .item-hero, .stitch-api-overview { grid-template-columns: 1fr; }
  .stitch-feature-main, .stitch-feature-side, .stitch-feature-mini { grid-column: 1 / -1; }
  .stitch-feature-main { min-height: 0; }
  .stitch-directory-layout { grid-template-columns: 1fr; }
  .stitch-sidebar { display: grid; overflow: visible; }
  .stitch-sidebar-block:first-child { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding-bottom: 10px; }
  .stitch-sidebar-block:first-child h2, .stitch-sidebar-block:first-child .stitch-filter { flex: 0 0 auto; }
  .stitch-sidebar-block:first-child .stitch-filter { width: auto; margin-top: 0; }
  .stitch-sidebar-block:nth-child(2) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
  .stitch-sidebar-block:nth-child(2) h2 { width: 100%; margin: 0; }
  .stitch-sidebar-block:nth-child(2) label { margin: 0; }
  .stitch-api-titlebar, .directory-hero, .stitch-directory-header { align-items: start; flex-direction: column; }
  .institutional-layout { grid-template-columns: 1fr; gap: 28px; }
  .page-toc { position: static; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-soft); }
  .page-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
  .site-footer { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .stitch-catalog-section .database-grid { grid-template-columns: 1fr; }
  .cookie-topbar { justify-content: flex-start; }
  .home-page, .directory-page, .item-page, .blog-page, .text-page, .site-footer { width: min(calc(100% - 22px), var(--container)); }
  .home-page, .directory-page, .item-page, .blog-page, .text-page { padding-top: 18px; }
  .stitch-search-hero { min-height: 480px; }
  .stitch-hero-inner { padding-inline: 14px; }
  .stitch-search-box { grid-template-columns: auto minmax(0, 1fr); padding: 10px 12px; }
  .stitch-search-box button { grid-column: 1 / -1; width: 100%; }
  .stitch-section-head, .section-head { align-items: start; flex-direction: column; }
  .stitch-feature-main { min-height: 0; }
  .item-copy, .stitch-api-about, .stitch-info-card, .stitch-live-lab { padding: 20px; }
  .item-figure .catalog-picture { height: 64vw; }
  .stitch-api-heading { align-items: flex-start; flex-direction: column; }
  .stitch-api-heading .catalog-picture-thumb,
  .stitch-api-heading > img { width: 54px; height: 54px; }
  .stitch-api-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .stitch-api-actions a { width: 100%; min-width: 0; }
  .stitch-live-search { grid-template-columns: auto minmax(0, 1fr); }
  .stitch-live-search button { grid-column: 1 / -1; width: 100%; }
  .stitch-live-results.has-results, .stitch-live-results.is-single { grid-template-columns: 1fr; }
  .api-result-card:not(.is-text-result) img { height: 170px; max-height: 170px; }
  .blog-card a { display: flex; }
  .article-shell article::before { opacity: 0.7; }
  .article-shell h1 { font-size: clamp(2.35rem, 14vw, 4rem); }
  .page-toc ol { grid-template-columns: 1fr; }
  .document-meta { gap: 8px 20px; }
  .link-list { columns: 1; }
  .project-link-grid, .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-wide { grid-column: auto; }
  .contact-form-actions { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* As respostas devem mostrar a imagem inteira: fotos verticais e capas largas não perdem conteúdo. */
.stitch-live-results .api-result-card:not(.is-text-result) img {
  width: 100%;
  height: clamp(220px, 29vw, 320px);
  max-height: none;
  padding: 6px;
  border-radius: 12px;
  background: var(--image-bg);
  object-fit: contain;
}

@media (max-width: 620px) {
  .stitch-live-results .api-result-card:not(.is-text-result) img {
    height: min(72vw, 300px);
  }
}
