.cst-reel {
  --cst-navy: #143964;
  --cst-cream: #fbf7ef;
  --cst-mauve: #805275;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
  color: var(--cst-navy);
  background: transparent;
  box-sizing: border-box;
  scroll-margin-top: 110px;
  font-family: Arial, sans-serif;
}
.cst-reel *, .cst-library * { box-sizing: border-box; }
.cst-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 19vw, 230px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 6px 0;
}
.cst-edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 2px solid #fbf7ef;
  border-radius: 50%;
  background: #143964;
  color: #fff;
  box-shadow: 0 4px 16px #071c364d;
  cursor: pointer;
}
.cst-edge-prev { left: 6px; }
.cst-edge-next { right: 6px; }
.cst-edge:hover { background: #285982; }
.cst-edge:disabled { opacity: .45; cursor: default; }
.cst-arrow { display: block; width: 15px; height: 15px; border: solid currentColor; border-width: 0 3px 3px 0; }
.cst-edge-prev .cst-arrow { transform: translateX(3px) rotate(135deg); }
.cst-edge-next .cst-arrow { transform: translateX(-3px) rotate(-45deg); }
.cst-side { display: flex; gap: 13px; align-items: center; min-width: 0; }
.cst-side-left { justify-content: flex-end; }
.cst-side-right { justify-content: flex-start; }
.cst-preview {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 9 / 16;
  background: #173957;
  color: #fff;
  box-shadow: 0 8px 18px #14396416;
  transition: transform .2s ease, opacity .2s ease;
}
.cst-preview[data-offset="-3"], .cst-preview[data-offset="3"] { transform: scale(.82); opacity: .65; }
.cst-preview[data-offset="-2"], .cst-preview[data-offset="2"] { transform: scale(.91); opacity: .82; }
.cst-preview:hover { transform: translateY(-5px); opacity: 1; }
.cst-preview-title {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 10px 13px;
  font: 600 12px/1.45 Arial, sans-serif;
  color: #fff;
  background: linear-gradient(transparent, #071c36ed 40%);
  text-align: left;
  overflow-wrap: anywhere;
}
.cst-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.cst-preview[data-kind="story"] .cst-poster {
  object-fit: contain;
  background: #102c4d;
}
.cst-poster[hidden] { display: none; }
.cst-story-card {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fbf7ef;
  color: #143964;
}
.cst-story-card-compact .cst-story-media {
  min-height: 0;
  flex: 1 1 46%;
  padding: 8px 8px 0;
  background: #102c4d;
  overflow: hidden;
}
.cst-story-card-compact .cst-story-body {
  flex: 0 0 auto;
  padding: 8px 10px 10px;
  min-height: 0;
}
.cst-story-card-compact .cst-story-caption { display: none; }
.cst-story-card-text .cst-story-media { flex-basis: auto; background: #fbf7ef; }
.cst-story-media {
  display: grid;
  place-items: center;
  min-height: 82px;
}
.cst-story-figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
}
.cst-story-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cst-story-caption { margin-top: 8px; color: #526172; font: 400 13px/1.45 Arial, sans-serif; }
.cst-story-no-photo {
  margin: 0;
  padding: 18px 14px;
  color: #526172;
  font: 600 12px/1.45 Arial, sans-serif;
  text-align: center;
}
.cst-story-label {
  margin: 0 0 3px;
  color: #805275;
  font: 700 10px/1.3 Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cst-story-excerpt {
  margin: 0;
  color: #143964;
  font: 400 14px/1.35 Georgia, serif;
  overflow-wrap: anywhere;
}
.cst-story-card-compact .cst-story-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cst-story-credit, .cst-story-count {
  margin: 5px 0 0;
  color: #526172;
  font: 400 11px/1.35 Arial, sans-serif;
}
.cst-story-action {
  appearance: none;
  display: inline-block;
  margin-top: 8px;
  padding: 8px 10px;
  min-height: 36px;
  border: 1px solid #805275;
  border-radius: 5px;
  background: #805275;
  color: #fff;
  font: 700 12px/1.3 Arial, sans-serif;
  cursor: pointer;
}
.cst-story-action:hover { background: #68425f; }
.cst-center {
  min-width: 0;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #102c4d;
  box-shadow: 0 16px 35px #14396429;
  position: relative;
}
.cst-screen { width: 100%; aspect-ratio: 9 / 16; position: relative; background: #102c4d; }
.cst-screen iframe { display: block; border: 0; width: 100%; height: 100%; position: absolute; inset: 0; }
.cst-meta { margin: 0; padding: 10px 12px 6px; background: #fbf7ef; text-align: left; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 8px; row-gap: 4px; }
.cst-count { grid-column: 2; grid-row: 1; align-self: start; padding-top: 3px; font: 600 10px/1.4 Arial, sans-serif; color: #637185; white-space: nowrap; }
.cst-active-title { grid-column: 1; grid-row: 1; font: 400 17px/1.2 Georgia, serif; color: #143964; margin: 0; }
.cst-credit { grid-column: 1 / -1; color: #4c5b6b; font: 400 12px/1.4 Arial, sans-serif; margin: 0; }
.cst-details { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; padding: 0 12px 10px; background: #fbf7ef; }
.cst-status { flex: 1 1 auto; font: 400 11px/1.4 Arial, sans-serif; color: #4c5b6b; margin: 0; }
.cst-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cst-center .cst-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 6px 8px;
  background: #fbf7ef;
  border: 0;
  border-radius: 0;
}
.cst-button {
  appearance: none;
  min-height: 44px;
  padding: 11px 19px;
  background: #fbf7ef;
  color: #143964;
  border: 1px solid #143964;
  border-radius: 5px;
  font: 600 14px/1.5 Arial, sans-serif;
  cursor: pointer;
}
.cst-button[data-testimonial-play] { background: #805275; border-color: #805275; color: #fff; min-width: 85px; }
.cst-center .cst-button { min-width: 0; padding: 9px 3px; font-size: 12px; line-height: 1.4; }
.cst-center .cst-button[hidden] { display: none; }
.cst-center .cst-controls[data-kind="story"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cst-button:hover { background: #eae8df; }
.cst-button[data-testimonial-play]:hover { background: #68425f; }
.cst-button:disabled { opacity: .5; cursor: default; }
.cst-source { display: inline-block; margin: 0; padding: 0; color: #143964; font: 600 11px/1.4 Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.cst-source[hidden] { display: none; }
.cst-reel button:focus-visible, .cst-source:focus-visible, .cst-library-card:focus-visible { outline: 3px solid #143964; outline-offset: 4px; }
.cst-library { max-width: 1200px; margin: 36px auto; padding: 0 24px; }
.cst-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 0 0 22px; }
.cst-filter {
  appearance: none;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid #143964;
  border-radius: 999px;
  background: #fbf7ef;
  color: #143964;
  font: 700 13px/1.4 Arial, sans-serif;
  cursor: pointer;
}
.cst-filter[aria-pressed="true"] { background: #143964; color: #fff; }
.cst-filter-status {
  margin: -10px 0 18px;
  color: #526172;
  font: 600 12px/1.4 Arial, sans-serif;
  text-align: center;
}
.cst-library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.cst-library-card { appearance: none; display: flex; flex-direction: column; align-items: stretch; border: 1px solid #d4d8d3; border-radius: 10px; padding: 0 0 18px; overflow: hidden; background: #fbf7ef; text-align: left; cursor: pointer; color: #143964; }
.cst-library-card .cst-poster { flex-shrink: 0; width: 100%; height: auto; aspect-ratio: 9 / 12; object-fit: cover; }
.cst-library-card[data-kind="story"] .cst-poster {
  object-fit: contain;
  background: #102c4d;
}
.cst-library-card .cst-poster[hidden] + .cst-library-title { padding-top: 22px; }
.cst-library-title { display: block; padding: 18px 18px 0; font: 400 21px/1.35 Georgia, serif; }
.cst-library-credit { display: block; padding: 10px 18px 0; font: 400 13px/1.5 Arial, sans-serif; color: #526172; }
.cst-library-excerpt, .cst-library-count { display: block; padding: 10px 18px 0; font: 400 14px/1.5 Arial, sans-serif; color: #526172; }
.cst-library-card[data-external-video] { text-decoration: none; }
.cst-library-external { display: block; padding: 14px 18px 0; font: 600 14px/1.5 Arial, sans-serif; color: #143964; text-decoration: underline; text-underline-offset: 4px; }
.cst-library-card[aria-pressed="true"] { outline: 3px solid #805275; outline-offset: 2px; }
.cst-library-card[hidden] { display: none; }
.cst-story-dialog {
  width: min(920px, calc(100vw - 34px));
  max-height: min(88vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fbf7ef;
  color: #143964;
  box-shadow: 0 24px 80px #071c3670;
}
.cst-story-dialog::backdrop { background: #071c36b3; }
.cst-story-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  margin: 14px 14px 0 0;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #143964;
  border-radius: 5px;
  background: #143964;
  color: #fff;
  font: 700 13px/1.4 Arial, sans-serif;
  cursor: pointer;
}
.cst-story-dialog-content { padding: 26px clamp(18px, 4vw, 42px) 36px; }
.cst-story-dialog-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 0 0 22px;
}
.cst-story-dialog-media .cst-story-figure {
  min-height: 180px;
  padding: 10px;
  border: 1px solid #d4d8d3;
  border-radius: 8px;
  background: #fff;
}
.cst-story-dialog-title {
  clear: both;
  margin: 0;
  color: #143964;
  font: 400 clamp(28px, 4vw, 42px)/1.1 Georgia, serif;
}
.cst-story-dialog-credit, .cst-story-note {
  margin: 10px 0 0;
  color: #526172;
  font: 600 14px/1.55 Arial, sans-serif;
}
.cst-story-paragraph {
  white-space: pre-line;
  margin: 18px 0 0;
  color: #26384d;
  font: 400 17px/1.65 Arial, sans-serif;
}
.cst-story-dialog button:focus-visible, .cst-story-action:focus-visible, .cst-filter:focus-visible { outline: 3px solid #805275; outline-offset: 3px; }
@media (max-width: 1000px) {
  .cst-stage { grid-template-columns: minmax(0, 1fr) min(30vw, 230px) minmax(0, 1fr); gap: 13px; }
  .cst-preview[data-offset="-3"], .cst-preview[data-offset="3"] { display: none; }
  .cst-side { gap: 10px; }
  .cst-preview-title { font-size: 11px; }
  .cst-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .cst-reel { padding: 0; }
  .cst-stage { grid-template-columns: minmax(0, 1fr) min(62vw, 230px) minmax(0, 1fr); gap: 10px; }
  .cst-side { display: block; }
  .cst-preview { width: 100%; aspect-ratio: 9 / 32; min-height: 160px; }
  .cst-preview[data-offset="-2"], .cst-preview[data-offset="2"] { display: none; }
  .cst-preview-title { display: none; }
  .cst-button { padding: 10px 13px; }
  .cst-story-excerpt { font-size: 13px; }
  .cst-story-action { width: 100%; }
  .cst-library { padding: 0 18px; }
  .cst-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cst-library-title { padding: 13px 13px 0; font-size: 18px; }
  .cst-library-credit { padding: 8px 13px 0; }
  .cst-library-excerpt, .cst-library-count { padding: 8px 13px 0; }
  .cst-story-dialog { width: calc(100vw - 20px); max-height: 90vh; }
  .cst-story-dialog-content { padding: 20px 16px 28px; }
  .cst-story-dialog-media { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cst-preview { transition: none; } }
