.normal-credits {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: clamp(10px, 2vh, 22px);
  padding: clamp(15px, 3vw, 48px) max(clamp(16px, 4vw, 64px), calc((100vw - 1500px) / 2));
  background: radial-gradient(ellipse at 23% 47%, #322a22, #1b1919 60%, #100f13);
  color: #f5ede0;
}

.normal-credits-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 14px;
  border-bottom: 1px solid #ddbb863d;
  padding-bottom: 9px;
}

.normal-credits-heading h1 { font-size: clamp(16px, 2.2vw, 25px); }
.normal-credits-heading p { color: #c8ac87; font-size: 12px; }

.normal-credits-layout {
  --plate-height: min(68dvh, 690px);
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 2.12fr) minmax(218px, 1fr);
  column-gap: clamp(16px, 4vw, 76px);
  align-items: stretch;
  min-width: 0;
}

.normal-memory-stage {
  height: var(--plate-height);
  min-height: 260px;
  isolation: isolate;
  position: relative;
  min-width: 0;
}

.normal-memory-spread {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  pointer-events: none;
  background: #24201b;
}

.normal-memory-spread.is-visible { opacity: 1; }
.normal-memory-spread.is-front { z-index: 1; }

.normal-memory {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
}

.normal-memory img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #161312;
  border: 1px solid #d2b59435;
  filter: sepia(1) saturate(.8) brightness(.93);
}

.normal-memory figcaption {
  min-height: 76px;
  padding-block: 12px 6px;
  border-bottom: 1px solid #d2b59435;
  overflow-wrap: anywhere;
}

.normal-memory h2 { font-size: clamp(16px, 2vw, 25px); }

.normal-memory figcaption p {
  margin-top: 5px;
  color: #d5c7b3;
  font-size: clamp(11px, 1.4vw, 15px);
  line-height: 1.6;
}

.normal-memory-spread:is([data-photo-count="2"], [data-photo-count="3"]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 24px);
  padding: clamp(10px, 1.7vw, 20px);
  border: 1px solid #b99a682e;
  background: linear-gradient(130deg, #2d261c, #211c18);
}

.normal-memory-spread[data-photo-count="2"] .normal-memory {
  align-self: center;
  grid-template-rows: auto auto;
}

.normal-memory-spread[data-photo-count="2"] img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.normal-memory-spread[data-photo-count="3"] {
  grid-template-rows: minmax(0, 1.24fr) minmax(0, 1fr);
}

.normal-memory-spread[data-photo-count="3"] .normal-memory:first-child {
  grid-column: 1 / -1;
}

.normal-memory-spread:is([data-photo-count="2"], [data-photo-count="3"]) figcaption {
  min-height: auto;
  border-color: #d2b59426;
  padding-block: 6px 5px;
}

.normal-memory-spread:is([data-photo-count="2"], [data-photo-count="3"]) h2 {
  font-size: clamp(12px, 1.55vw, 19px);
}

.normal-memory-spread:is([data-photo-count="2"], [data-photo-count="3"]) figcaption p {
  margin-top: 4px;
  font-size: clamp(11px, 1.12vw, 14px);
  line-height: 1.55;
}

.normal-credit-viewport {
  height: calc(var(--plate-height) - 16px);
  align-self: center;
  min-width: 0;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}

.normal-credit-track {
  width: 100%;
  display: grid;
  gap: clamp(49px, 8vh, 90px);
  position: absolute;
  top: 0;
  padding: 0 8px;
  margin: 0;
  text-align: center;
  list-style: none;
}

.normal-credit-track li { display: grid; gap: 7px; }
.normal-credit-track li span { color: #d6b990; font-size: 12px; }

.normal-credit-track li strong {
  font-family: var(--display);
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.4;
}

.normal-credit-track .normal-credit-close strong { font-size: clamp(20px, 2.6vw, 35px); }

.normal-credits-footer progress {
  display: block;
  width: 100%;
  height: 2px;
  border: 0;
  accent-color: #d2a778;
}

.normal-credits-footer progress::-webkit-progress-bar { background: #d8bf9b26; }
.normal-credits-footer progress::-webkit-progress-value { background: #d2a778; }

.normal-credit-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 9px;
}

.normal-credit-controls .quiet-button { border-color: #d8bf9b42; white-space: nowrap; }
.normal-credits-message { margin-inline-end: auto; color: #dfb799; font-size: 12px; }
.normal-credits-track { display: none; }

.normal-credits[data-reduced-motion="true"] .normal-credit-track { inset: 0; align-content: center; gap: 0; }
.normal-credits[data-reduced-motion="true"] .normal-credit-track li:not(.is-current) { display: none; }

@media (max-width: 620px) {
  .normal-credits-layout { grid-template-columns: 1fr; --plate-height: min(52dvh, 430px); }
  .normal-credit-viewport { min-height: 150px; height: min(27dvh, 250px); }
  .normal-memory figcaption { min-height: 65px; }
}
