.fm-shelf {
  width: min(1240px, calc(100% - 42px));
  margin: clamp(32px, 5vw, 72px) auto;
  color: #fff5f4;
}
.fm-shelf h2 {
  font: 800 clamp(2rem, 4.5vw, 3.75rem)/1.04 var(--ah-display, system-ui);
  letter-spacing: -.05em;
  margin: .1em 0 .28em;
}
.fm-eyebrow, .fm-meta {
  font-family: var(--ah-mono, ui-monospace, monospace);
}
.fm-eyebrow {
  margin: 0;
  color: #a9ebff;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fm-heading, .fm-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 1rem;
}
.fm-heading { margin-bottom: .5rem; }
.fm-card, .fm-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #99b6cf61;
  border-radius: 14px;
  background: #0b1020;
}
.fm-image {
  display: grid;
  place-items: center;
  background: #080c15;
}
.fm-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
}
.fm-meta {
  margin: 0;
  padding: .7rem 1rem;
  font-size: .875rem;
  line-height: 1.45;
  color: #d4ddeb;
}
.fm-shelf a { color: #b1eeff; text-underline-offset: .2em; }
.fm-shelf a:focus-visible, .fm-shelf button:focus-visible, .fm-shelf summary:focus-visible {
  outline: 3px solid #b1eeff;
  outline-offset: 2px;
}
.fm-shelf .fm-image:focus-visible { outline-offset: -4px; }
.fm-collection { display: inline-flex; min-height: 44px; align-items: center; }
.fm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
  margin: .85rem 0;
}
.fm-grid figure { max-width: 580px; width: 100%; align-self: start; }
.fm-grid .fm-image img { aspect-ratio: 16 / 9; }
.fm-grid .fm-meta { padding: .6rem .8rem; gap: .25rem .8rem; }
.fm-more { min-height: 44px; margin: .2rem 0; padding: .55rem 1rem; background: #11223b; border: 1px solid #84bfcd; border-radius: .45rem; color: #e1f9ff; font: inherit; cursor: pointer; }
.fm-more[hidden] { display: none; }
.fm-history { margin-top: 1.5rem; font-size: .92rem; color: #d4ddeb; }
.fm-history summary { cursor: pointer; padding: .65rem 0; }
.fm-history li { margin: .5rem 0; }
@media (max-width: 620px) {
  .fm-shelf { width: calc(100% - 26px); }
  .fm-heading { align-items: center; gap: 0 .7rem; }
  .fm-meta { padding: .65rem .75rem; }
}
