html[data-home-style] #main [data-page="home"] .home-welcome.home-welcome-egfr {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: var(--home-feature-width, min(100%, 790px));
  padding: 0;
  gap: 0;
  overflow: hidden;
}
@media (forced-colors: none) {
  html[data-style-choice="app"][data-home-style] #main [data-page="home"] .home-welcome.home-welcome-egfr {
    background: transparent !important;
    border-color: #a9eaff79 !important;
  }
  html[data-style-choice="app"] .home-welcome-egfr :is(.home-welcome-identity, figcaption) {
    background:
      radial-gradient(ellipse at 88% 4%, rgb(59 200 255 / .24), transparent 49%),
      var(--home-vesicle-fill, rgb(8 36 71 / .72));
  }
  html[data-style-choice="app"] .home-welcome-egfr :is(.home-egfr-preview, .egfr-scene) {
    background-color: transparent;
  }
  html[data-style-choice="app"] .home-welcome-egfr .home-egfr-film {
    opacity: .82;
  }
}
.home-welcome-egfr .home-welcome-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  padding: 8px 12px;
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-character {
  width: clamp(31px, 3vw, 43px);
  flex: 0 0 auto;
  max-height: none;
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-copy {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  gap: 4px 12px;
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-copy h2 {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  font-size: clamp(24px, 2.25vw, 32px);
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}
.home-welcome-egfr .home-egfr-preview {
  width: 100%;
  min-width: 0;
  margin: 0;
  background-color: #071728;
  color: #f0f6fb;
}
.egfr-scene {
  display: grid;
  grid-template-columns: 17% minmax(0, 1fr) 17%;
  align-items: center;
  position: relative;
  isolation: isolate;
  background: #042536;
}
.egfr-host {
  display: flex;
  grid-row: 1;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  gap: 6px;
  padding: 4px 5px clamp(14px, 2.3vw, 34px);
  position: relative;
  z-index: 1;
}
.home-egfr-preview .egfr-quote {
  position: relative;
  display: block;
  box-sizing: border-box;
  padding: 8px 6px;
  border-radius: 15px;
  background: #f6fbfd;
  color: #142e3e;
  font: 650 clamp(13px, 1vw, 15px)/1.28 Manrope, sans-serif;
  text-align: center;
  text-wrap: balance;
}
.egfr-quote::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 45%;
  width: 11px;
  height: 8px;
  background: inherit;
  clip-path: polygon(0 0,100% 0,20% 100%);
}
.egfr-host-lipid .egfr-quote { background: #fffae9; color: #3c341c; }
.egfr-host-lipid .egfr-quote::after { transform: scaleX(-1); }
.egfr-host-ribosome {
  grid-column: 1;
  --egfr-host-grade: hue-rotate(-9deg) saturate(.46) contrast(.84) brightness(1.08);
  --egfr-rim-x: .7px;
}
.egfr-host-lipid {
  grid-column: 3;
  --egfr-host-grade: saturate(.44) contrast(.82) brightness(1.04);
  --egfr-rim-x: -.7px;
}
.egfr-host img {
  display: block;
  width: min(100%, 102px);
  height: auto;
  filter: var(--egfr-host-grade) drop-shadow(var(--egfr-rim-x) -.4px .7px #91cbd04d)
          drop-shadow(0 3px 3px #02122085);
}
.egfr-film-stage {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 8 / 3;
  --egfr-edge-shade: linear-gradient(90deg, #04192466, transparent 25%, transparent 75%, #04192466);
}
.egfr-film-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--egfr-edge-shade);
  pointer-events: none;
}
.home-egfr-film {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .egfr-motion-control {
  position: absolute;
  top: 6px;
  right: calc(17% + 4px);
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff !important;
  background: #061525b8 !important;
  border: 1px solid #ffffff70 !important;
  border-radius: 50%;
  cursor: pointer;
}
.home-welcome-egfr .egfr-motion-control[hidden] { display: none !important; }
.egfr-motion-control span {
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-left: 10px solid currentColor;
  margin-left: 2px;
}
.egfr-motion-control[data-playing] span {
  box-sizing: content-box;
  width: 4px;
  height: 13px;
  border: 0;
  border-inline: 3px solid currentColor;
  margin: 0;
}
.home-egfr-preview figcaption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 12px;
  padding: 7px clamp(10px, 1.3vw, 16px);
  text-align: left;
  line-height: 1.35;
}
.home-egfr-preview .egfr-film-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 14px/1.4 Manrope, sans-serif;
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .egfr-film-key li {
  color: #d3e2ee !important;
  display: grid;
  grid-template-columns: 8px auto;
  align-items: center;
  gap: 0 6px;
}
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .egfr-film-key small {
  grid-column: 2;
  color: #aec1d0 !important;
  font: 400 12px/1.25 Manrope, sans-serif;
}
.egfr-film-key li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--molecule-color);
}
.egfr-key-receptor { --molecule-color: #66c6c8; }
.egfr-key-ligand { --molecule-color: #f0f2ed; }
.egfr-key-antibody { --molecule-color: #bca2df; }
html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-egfr-preview figcaption > a {
  color: #bfedfa !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.home-egfr-preview :is(a,button):focus-visible { outline: 2px solid white; outline-offset: 2px; }
#egfr-explainer-frame {
  display: block;
  width: 100%;
  height: clamp(560px, 62vw, 790px);
  border: 0;
  border-radius: 17px;
  background: #fcfcf9;
}

/* The page has side navigation on desktop, so use the actual card width. */
.home-egfr-preview { container-type: inline-size; }
@container (max-width: 510px) {
  .egfr-scene {
    grid-template-columns: 11% minmax(0, 1fr) 11%;
    grid-template-rows: auto auto;
    padding-top: 4px;
  }
  .egfr-host { display: contents; }
  .home-egfr-preview .egfr-quote {
    grid-column: 1 / -1;
    grid-row: 1;
    width: max-content;
    max-width: calc(50% - 9px);
    margin: 0 6px 6px;
    padding: 4px 8px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.16;
    z-index: 1;
  }
  .egfr-host-ribosome .egfr-quote { justify-self: start; }
  .egfr-host-lipid .egfr-quote { justify-self: end; }
  .egfr-host-ribosome .egfr-quote::after { left: 13px; }
  .egfr-host-lipid .egfr-quote::after { left: auto; right: 13px; }
  .egfr-host img { width: 118%; max-width: none; grid-row: 2; align-self: start; z-index: 1; }
  .egfr-host-ribosome img { grid-column: 1; justify-self: start; }
  .egfr-host-lipid img { grid-column: 3; justify-self: end; }
  .egfr-film-stage { grid-row: 2; }
  .egfr-film-stage::after {
    background: linear-gradient(to bottom, #042536, transparent 11%), var(--egfr-edge-shade);
  }
  .home-egfr-film { transform: scale(1.16); transform-origin: 50% 18%; }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .egfr-motion-control {
    inset: auto 0 0 auto;
    z-index: 2;
  }
  .home-egfr-preview figcaption { gap: 3px 6px; padding: 6px 8px; }
  .home-egfr-preview .egfr-film-key { gap: 2px 8px; font-size: 12px; }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .egfr-film-key li { gap: 0 3px; grid-template-columns: 6px auto; }
  .egfr-film-key li::before { width: 6px; height: 6px; }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .egfr-film-key small { font-size: 11px; }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-egfr-preview figcaption > a { font-size: 12px; }
}
@media (max-width: 600px) {
  .home-welcome-egfr .home-welcome-identity { gap: 0; padding: 4px; }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-character { display: none; }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-copy p {
    font-size: clamp(11px, 3.25vw, 13px);
    white-space: nowrap;
  }
  html[data-home-style] #main [data-page="home"] .home-welcome-egfr .home-welcome-copy { gap: 3px 7px; }
  .home-egfr-preview figcaption { align-items: flex-start; }
  #egfr-explainer-frame { height: 650px; }
}
