.sm-recap {
  --recap-rule: #3d373a;
  min-width: 0;
  color: #f6f3f2;
}
.sm-recap-frame {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(15rem, 34vw, 22rem);
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--recap-rule);
  border-radius: 1rem;
  background: radial-gradient(ellipse at 115% 16%, #56262b 0, #261b1e 31%, transparent 67%), #151315;
}
.sm-recap-frame::before {
  position: absolute;
  content: "";
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 49.6%, #bca4a509 49.8%, #bca4a509 50.2%, transparent 50.4%);
  background-size: 1.85rem 1.85rem;
  mask-image: linear-gradient(100deg, transparent 15%, black 100%);
}
.sm-recap-top, .sm-recap-buttons, .sm-recap-timeline, .sm-recap-transport {
  display: flex;
  align-items: center;
}
.sm-recap-top, .sm-recap-buttons { justify-content: space-between; gap: .6rem; }
.sm-recap-top { color: #eadadd; font-size: .875rem; }
.sm-recap-kind { display: flex; align-items: center; gap: .55rem; }
.sm-recap-kind::before { content: ""; width: 1.2rem; height: .2rem; background: #ff5664; border-radius: 1rem; }
.sm-recap-count, .sm-recap-time, .sm-recap-stamp { font-variant-numeric: tabular-nums; }
.sm-recap-slide { margin: auto 0; padding: 1.5rem 0; min-width: 0; }
.sm-recap-frame .sm-recap-topic { color: #ffabb0; font-size: clamp(.92rem, 1.4vw, 1.07rem); margin: 0 0 .55rem; font-weight: 600; letter-spacing: .01em; overflow-wrap: anywhere; }
.sm-recap-frame .sm-recap-line {
  margin: 0;
  max-width: 34ch;
  color: #fcfaf9;
  font-weight: 550;
  font-size: clamp(1.2rem, 2.7vw, 2rem);
  line-height: 1.27;
  letter-spacing: -.027em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.sm-recap-rail { display: flex; gap: .35rem; align-items: center; }
.sm-recap-rail i { height: .19rem; border-radius: 2rem; flex: 1 1 0; background: #65575b; }
.sm-recap-rail i[data-state="seen"] { background: #daa4a9; }
.sm-recap-rail i[data-state="current"] { background: #ff5260; }
.sm-recap-controls { display: grid; gap: .2rem; padding: .5rem 0 .35rem; }
.sm-recap-timeline { gap: .85rem; }
.sm-recap .sm-recap-seek { flex: 1; min-width: 0; height: 2.5rem; accent-color: #e14850; padding: 0; margin: 0; background: transparent; border: 0; cursor: pointer; }
.sm-recap-time { font-size: .875rem; color: #bdb3b7; white-space: nowrap; }
.sm-recap-transport { gap: .38rem; }
.sm-recap button { font-family: inherit; cursor: pointer; }
.sm-recap button:focus-visible, .sm-recap summary:focus-visible, .sm-recap input:focus-visible, .sm-recap a:focus-visible { outline: 2px solid #ffa6aa; outline-offset: 3px; }
.sm-recap button:disabled { cursor: default; opacity: .36; }
.sm-recap-play, .sm-recap-step, .sm-recap-cite, .sm-recap-stamp {
  appearance: none;
  border: 1px solid var(--recap-rule);
  background: #201e20;
  color: inherit;
  border-radius: .55rem;
  min-height: 2.65rem;
  padding: .38rem .8rem;
  font-size: .875rem;
  font-weight: 600;
}
.sm-recap-play, .sm-recap-step { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.sm-recap-play { background: #f4f1ee; color: #211e20; min-width: 5.2rem; border-color: transparent; }
.sm-recap-step { width: 2.65rem; padding: 0; }
.sm-recap-play svg, .sm-recap-step svg { width: 1.04rem; height: 1.04rem; }
.sm-recap-cite, .sm-recap-script summary, .sm-recap-film-launch {
  box-sizing: border-box;
  min-height: 2.75rem;
  max-width: 100%;
  padding: .56rem .8rem;
  border: 1px solid #d35862;
  border-radius: .55rem;
  background: #271a1e;
  color: #ffe3e5;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.sm-recap-cite { display: inline-flex; align-items: center; text-align: start; }
.sm-recap-cite:hover, .sm-recap-script summary:hover { color: #fff; background: #4b2228; }
.sm-recap-film-launch {
  display: inline-block;
  background: #b22535;
  color: #fff;
}
.sm-recap-film-launch:hover { background: #8e1d30; }
.sm-recap [hidden] { display: none !important; }
.sm-recap-script, .sm-recap-sample { border-top: 1px solid var(--recap-rule); margin-top: .7rem; font-size: 1rem; }
.sm-recap-script, .sm-recap-sample { padding-top: .7rem; }
.sm-recap-script summary { width: fit-content; cursor: pointer; }
.sm-recap-film-panel { margin-top: .65rem; }
.sm-recap-script-list { list-style: none; display: grid; gap: 1rem; margin: .3rem 0 1rem; padding: 0; }
.sm-recap-script-list li { display: flex; gap: .75rem; align-items: baseline; }
.sm-recap-stamp { min-height: 2.5rem; white-space: nowrap; }
.sm-recap-script-list p { margin: .25rem 0; line-height: 1.5; color: #d3ccce; overflow-wrap: anywhere; }
.sm-recap-script-list .sm-recap-cite { margin-top: .25rem; }
.sm-recap-film { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: .65rem; background: #111; }
@media (max-width: 400px) {
  .sm-recap-buttons { flex-wrap: wrap; }
  .sm-recap-frame { min-height: 16rem; }
  .sm-recap-frame .sm-recap-line { font-size: 1.2rem; }
}
.sm-recap-transport { flex-wrap: wrap; }
.sm-recap-voice {
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  min-height: 2.65rem;
  border: 1px solid var(--recap-rule);
  border-radius: .55rem;
  background: #211e20;
  color: #e4dadd;
  padding: .4rem .64rem;
}
.sm-recap-voice[aria-pressed="true"] { border-color: #ff878e; color: #ffc3c6; background: #3a2429; }
.sm-recap-announcer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
