.dd-reels-strip {
  --dd-reel-accent: #c9a040;
  --dd-reels-bg: #100d0f;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1480px, calc(100% - 28px));
  margin: clamp(54px, 7vw, 96px) auto;
  border-radius: clamp(24px, 3vw, 44px);
  color: #fff;
  background: var(--dd-reels-bg);
  box-shadow: 0 34px 95px rgba(29, 15, 18, 0.24);
}

.dd-reels-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.dd-reels-strip__glow,
.dd-reels-strip__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dd-reels-strip__glow {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--dd-reel-accent) 17%, transparent) 0, transparent 33%),
    radial-gradient(circle at 8% 18%, rgba(240, 65, 90, 0.12) 0, transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 38%, rgba(0, 0, 0, 0.34));
  transition: background 0.35s ease;
}

.dd-reels-strip__noise {
  z-index: -1;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.33'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.dd-reels-strip__container {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  padding-top: clamp(48px, 6vw, 78px);
  padding-bottom: clamp(40px, 5vw, 66px);
}

.dd-reels-strip__header {
  width: min(820px, 100%);
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.dd-reels-strip__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: color-mix(in srgb, var(--dd-reel-accent) 84%, white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dd-reels-strip__eyebrow i {
  font-size: 1rem;
}

.dd-reels-strip__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.05em;
  text-transform: none;
}

.dd-reels-strip__header h2 em {
  display: block;
  margin-top: 6px;
  color: var(--dd-reel-accent);
  font-style: italic;
  font-weight: 610;
}

.dd-reels-strip__header p {
  width: min(660px, 100%);
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.7;
}

.dd-reels-stage {
  position: relative;
  min-height: clamp(355px, 34vw, 480px);
  display: grid;
  place-items: center;
  touch-action: pan-y;
  user-select: none;
}

.dd-reels-stage::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 4%;
  height: 36%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.76) 0, rgba(0, 0, 0, 0.31) 48%, transparent 74%);
  filter: blur(13px);
  transform: scaleY(0.42);
  pointer-events: none;
}

.dd-reels-deck {
  position: relative;
  width: 100%;
  height: clamp(340px, 32vw, 450px);
}

.dd-reel-card {
  --reel-x: 0px;
  --reel-y: 0px;
  --reel-scale: 1;
  --reel-opacity: 1;
  position: absolute;
  top: 42%;
  left: 50%;
  width: clamp(112px, 11vw, 172px);
  aspect-ratio: 9 / 16;
  opacity: var(--reel-opacity);
  transform: translate3d(calc(-50% + var(--reel-x)), calc(-50% + var(--reel-y)), 0) scale(var(--reel-scale));
  transform-origin: center bottom;
  transition:
    transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease,
    filter 0.32s ease;
  will-change: transform, opacity;
  cursor: pointer;
  outline: none;
}

.dd-reel-card[aria-hidden="true"] {
  pointer-events: none;
}

.dd-reel-card:not(.is-active) {
  filter: brightness(0.78) saturate(0.78);
}

.dd-reel-card.is-active {
  filter: brightness(1.04) saturate(1.05);
  cursor: default;
}

.dd-reel-card::after {
  content: "";
  position: absolute;
  top: calc(100% + 7px);
  left: 2%;
  width: 96%;
  height: 42%;
  border-radius: 0 0 14px 14px;
  background-image: var(--reel-poster);
  background-position: center 92%;
  background-size: cover;
  opacity: 0;
  filter: blur(1.5px) brightness(0.5) saturate(0.72);
  transform: scaleY(-1);
  transform-origin: top;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.56), transparent 86%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.56), transparent 86%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dd-reels-strip.has-reflection .dd-reel-card::after {
  opacity: 0.42;
}

.dd-reels-strip.has-reflection .dd-reel-card.is-active::after {
  opacity: 0.58;
}

.dd-reel-card__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(12px, 1.4vw, 20px);
  background: #090809;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.52),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.dd-reel-card.is-active .dd-reel-card__frame {
  border-color: color-mix(in srgb, var(--reel-card-accent) 75%, white 12%);
  box-shadow:
    0 25px 58px rgba(0, 0, 0, 0.62),
    0 0 0 3px color-mix(in srgb, var(--reel-card-accent) 12%, transparent),
    0 0 34px color-mix(in srgb, var(--reel-card-accent) 19%, transparent);
}

.dd-reel-card__video,
.dd-reel-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dd-reel-card__video {
  display: block;
  object-fit: cover;
  background: #090809;
}

.dd-reel-card__shade {
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.38) 0%, transparent 25%, transparent 50%, rgba(4, 3, 4, 0.9) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 26%, transparent 76%, rgba(0, 0, 0, 0.12));
}

.dd-reel-card__meta {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.dd-reel-card__meta span,
.dd-reel-card__meta small {
  overflow: hidden;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(8, 7, 8, 0.46);
  backdrop-filter: blur(10px);
  font-size: clamp(0.45rem, 0.52vw, 0.58rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.dd-reel-card__meta span {
  max-width: 72%;
}

.dd-reel-card__play,
.dd-reel-card__sound {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(8, 7, 8, 0.52);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.dd-reel-card__play {
  top: 50%;
  left: 50%;
  width: clamp(40px, 3.6vw, 54px);
  height: clamp(40px, 3.6vw, 54px);
  border-radius: 50%;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  transform: translate(-50%, -50%);
}

.dd-reel-card__play i {
  margin-left: 2px;
}

.dd-reel-card__play:hover {
  color: #171014;
  border-color: var(--reel-card-accent);
  background: var(--reel-card-accent);
  transform: translate(-50%, -50%) scale(1.07);
}

.dd-reel-card.is-playing .dd-reel-card__play {
  opacity: 0;
  pointer-events: none;
}

.dd-reel-card__sound {
  right: 9px;
  bottom: 58px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.83rem;
  opacity: 0;
  pointer-events: none;
}

.dd-reel-card.is-active .dd-reel-card__sound {
  opacity: 1;
  pointer-events: auto;
}

.dd-reel-card__sound:hover {
  color: #171014;
  background: var(--reel-card-accent);
  transform: scale(1.06);
}

.dd-reel-card__caption {
  position: absolute;
  z-index: 3;
  left: 11px;
  right: 11px;
  bottom: 16px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

.dd-reel-card__caption strong,
.dd-reel-card__caption span {
  display: block;
}

.dd-reel-card__caption strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: clamp(0.61rem, 0.72vw, 0.77rem);
  font-weight: 760;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dd-reel-card__caption span {
  margin-top: 4px;
  color: color-mix(in srgb, var(--reel-card-accent) 82%, white);
  font-size: clamp(0.43rem, 0.48vw, 0.54rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dd-reel-card__progress {
  position: absolute;
  z-index: 5;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
}

.dd-reel-card.is-active .dd-reel-card__progress {
  opacity: 1;
}

.dd-reel-card__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--reel-card-accent);
  box-shadow: 0 0 10px var(--reel-card-accent);
}

.dd-reels-arrow {
  position: absolute;
  z-index: 60;
  top: 43%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 9, 11, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.dd-reels-arrow--prev {
  left: 3px;
}

.dd-reels-arrow--next {
  right: 3px;
}

.dd-reels-arrow:hover {
  color: #171014;
  background: var(--dd-reel-accent);
  transform: translateY(-50%) scale(1.06);
}

.dd-reels-active {
  width: min(1120px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin: clamp(16px, 2vw, 28px) auto 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dd-reels-strip.is-switching .dd-reels-active {
  opacity: 0.48;
  transform: translateY(5px);
}

.dd-reels-active__counter {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: rgba(255, 255, 255, 0.32);
  font-variant-numeric: tabular-nums;
}

.dd-reels-active__counter strong {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 780;
}

.dd-reels-active__counter span {
  font-size: 0.65rem;
  font-weight: 700;
}

.dd-reels-active__copy {
  min-width: 0;
}

.dd-reels-active__copy > span {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--dd-reel-accent);
  font-size: 0.61rem;
  font-weight: 840;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dd-reels-active__copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  font-weight: 740;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.dd-reels-active__copy p {
  max-width: 680px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
  line-height: 1.62;
}

.dd-reels-active__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.dd-reels-active__primary,
.dd-reels-active__secondary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 820;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dd-reels-active__primary {
  color: #171014;
  background: var(--dd-reel-accent);
  box-shadow: 0 11px 28px color-mix(in srgb, var(--dd-reel-accent) 23%, transparent);
}

.dd-reels-active__secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
}

.dd-reels-active__primary:hover,
.dd-reels-active__secondary:hover {
  transform: translateY(-2px);
}

.dd-reels-active__primary:hover {
  color: #171014;
  box-shadow: 0 15px 34px color-mix(in srgb, var(--dd-reel-accent) 34%, transparent);
}

.dd-reels-active__secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.dd-reels-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.dd-reels-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.23);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.dd-reels-dots button.is-active {
  width: 24px;
  background: var(--dd-reel-accent);
}

.dd-reel-card:focus-visible .dd-reel-card__frame,
.dd-reels-arrow:focus-visible,
.dd-reel-card__play:focus-visible,
.dd-reel-card__sound:focus-visible,
.dd-reels-active a:focus-visible,
.dd-reels-dots button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.dd-reels-strip [hidden] {
  display: none !important;
}

@media (hover: hover) {
  .dd-reel-card:not(.is-active):hover {
    filter: brightness(0.94) saturate(0.96);
  }
}

@media (max-width: 1199.98px) {
  .dd-reels-active {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .dd-reels-active__actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 991.98px) {
  .dd-reels-strip {
    width: calc(100% - 18px);
  }

  .dd-reels-strip__container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .dd-reels-stage {
    min-height: 415px;
  }

  .dd-reels-deck {
    height: 390px;
  }
}

@media (max-width: 767.98px) {
  .dd-reels-strip__header {
    margin-bottom: 24px;
  }

  .dd-reels-stage {
    min-height: 430px;
  }

  .dd-reels-deck {
    height: 405px;
  }

  .dd-reel-card {
    top: 42%;
    width: clamp(132px, 41vw, 174px);
  }

  .dd-reels-active {
    grid-template-columns: 1fr;
    gap: 13px;
    text-align: center;
  }

  .dd-reels-active__counter,
  .dd-reels-active__actions {
    justify-content: center;
  }

  .dd-reels-active__actions {
    grid-column: auto;
  }

  .dd-reels-active__copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .dd-reels-strip {
    width: calc(100% - 10px);
    margin: 42px auto;
    border-radius: 24px;
  }

  .dd-reels-strip__container {
    padding: 42px 4px 34px;
  }

  .dd-reels-strip__header {
    padding: 0 12px;
  }

  .dd-reels-strip__header h2 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .dd-reels-stage {
    min-height: 405px;
  }

  .dd-reels-deck {
    height: 380px;
  }

  .dd-reel-card {
    width: clamp(128px, 43vw, 164px);
  }

  .dd-reels-arrow {
    top: 41%;
    width: 38px;
    height: 38px;
  }

  .dd-reels-arrow--prev {
    left: 0;
  }

  .dd-reels-arrow--next {
    right: 0;
  }

  .dd-reels-active {
    width: calc(100% - 24px);
  }

  .dd-reels-active__actions {
    align-items: stretch;
  }

  .dd-reels-active__primary,
  .dd-reels-active__secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dd-reels-strip *,
  .dd-reels-strip *::before,
  .dd-reels-strip *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Homepage portrait reels: larger cards and a cleaner cinema-style stage. */
.dd-reels-strip {
  width: 100%;
  max-width: none;
  margin-top: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 9, 0.22) 0%, rgba(14, 9, 13, 0.28) 38%, rgba(8, 6, 8, 0.26) 100%),
    var(--dd-reels-bg);
  box-shadow: none;
  scroll-margin-top: 100px;
}

.dd-reels-strip::before {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.dd-reels-strip__container {
  max-width: 90%;
  padding: clamp(42px, 5vw, 68px) 24px clamp(42px, 5vw, 66px);
}

.dd-reels-strip__header {
  width: min(1180px, 100%);
  margin: 0 auto clamp(20px, 2vw, 30px);
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.dd-reels-strip__eyebrow {
  margin-bottom: 8px;
}

.dd-reels-strip__header h2 {
  max-width: 1180px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.dd-reels-strip__header h2 em {
  display: inline;
  margin-left: 0.16em;
  white-space: nowrap;
}

.dd-reels-strip__header p {
  width: min(720px, 100%);
  margin-top: 10px;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.82rem, 0.95vw, 0.94rem);
  line-height: 1.55;
}

.dd-reels-stage {
  min-height: clamp(510px, 43vw, 610px);
}

.dd-reels-stage::before {
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 29%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.88) 0, rgba(0, 0, 0, 0.48) 45%, transparent 73%);
  filter: blur(18px);
}

.dd-reels-deck {
  height: clamp(490px, 41vw, 590px);
}

.dd-reel-card {
  top: 43%;
  width: clamp(180px, 15.5vw, 248px);
}

.dd-reel-card__frame {
  border-width: 1px;
  border-radius: clamp(16px, 1.4vw, 23px);
  box-shadow:
    0 28px 68px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.dd-reel-card.is-active .dd-reel-card__frame {
  box-shadow:
    0 38px 82px rgba(0, 0, 0, 0.72),
    0 0 0 3px color-mix(in srgb, var(--reel-card-accent) 14%, transparent),
    0 0 48px color-mix(in srgb, var(--reel-card-accent) 23%, transparent);
}

.dd-reel-card::after {
  top: calc(100% + 8px);
  height: 34%;
  border-radius: 0 0 18px 18px;
  filter: blur(2px) brightness(0.42) saturate(0.76);
}

.dd-reel-card__meta {
  top: 11px;
  right: 11px;
  left: 11px;
}

.dd-reel-card__meta span,
.dd-reel-card__meta small {
  padding: 6px 8px;
  font-size: clamp(0.52rem, 0.58vw, 0.66rem);
}

.dd-reel-card__play {
  width: clamp(48px, 4vw, 62px);
  height: clamp(48px, 4vw, 62px);
}

.dd-reel-card__sound {
  right: 12px;
  bottom: 72px;
  width: 34px;
  height: 34px;
}

.dd-reel-card__caption {
  right: 13px;
  bottom: 20px;
  left: 13px;
  text-align: center;
}

.dd-reel-card__caption strong {
  font-size: clamp(0.76rem, 0.82vw, 0.92rem);
}

.dd-reel-card__caption span {
  margin-top: 4px;
  font-size: clamp(0.48rem, 0.52vw, 0.58rem);
}

.dd-reel-card__progress {
  right: 13px;
  bottom: 9px;
  left: 13px;
  height: 3px;
}

.dd-reels-arrow {
  top: 43%;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
}

.dd-reels-arrow--prev {
  left: clamp(4px, 2vw, 28px);
}

.dd-reels-arrow--next {
  right: clamp(4px, 2vw, 28px);
}

.dd-reels-active {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: clamp(18px, 2.5vw, 38px);
  margin-top: 8px;
  padding-top: 22px;
}

.dd-reels-active__counter strong {
  font-size: 1.7rem;
}

.dd-reels-active__copy h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.dd-reels-active__copy p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.dd-reels-active__primary,
.dd-reels-active__secondary {
  min-height: 46px;
  padding: 11px 18px;
  font-size: 0.72rem;
}

.dd-reels-dots {
  margin-top: 18px;
}

@media (max-width: 1199.98px) {
  .dd-reels-stage {
    min-height: 520px;
  }

  .dd-reels-deck {
    height: 500px;
  }

  .dd-reel-card {
    width: clamp(170px, 18vw, 220px);
  }

  .dd-reels-active {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .dd-reels-active__actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .dd-reels-strip__container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .dd-reels-strip__header {
    padding-inline: 12px;
  }

  .dd-reels-stage {
    min-height: 500px;
  }

  .dd-reels-deck {
    height: 475px;
  }

  .dd-reel-card {
    top: 42%;
    width: clamp(174px, 54vw, 220px);
  }

  .dd-reels-arrow {
    width: 42px;
    height: 42px;
  }

  .dd-reels-active {
    grid-template-columns: 1fr;
    gap: 13px;
    text-align: center;
  }

  .dd-reels-active__counter,
  .dd-reels-active__actions {
    justify-content: center;
  }

  .dd-reels-active__actions {
    grid-column: auto;
  }

  .dd-reels-active__copy p {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 575.98px) {
  .dd-reels-strip {
    margin: 0;
  }

  .dd-reels-strip__container {
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .dd-reels-strip__header h2 {
    font-size: clamp(1.72rem, 8vw, 2.3rem);
    line-height: 1.04;
  }

  .dd-reels-strip__header h2 em {
    display: block;
    margin: 4px 0 0;
  }

  .dd-reels-stage {
    min-height: 465px;
    margin-top: 80px;
  }

  .dd-reels-deck {
    height: 440px;
  }

  .dd-reel-card {
    width: clamp(166px, 58vw, 210px);
  }

  .dd-reels-arrow--prev {
    left: 0;
  }

  .dd-reels-arrow--next {
    right: 0;
  }

  .dd-reels-active {
    width: calc(100% - 24px);
  }

  .dd-reels-active__actions {
    align-items: stretch;
  }

  .dd-reels-active__primary,
  .dd-reels-active__secondary {
    width: 100%;
  }
}

/* Keep each reel thumbnail visible whenever its video is not actively rendering. */
.dd-reel-card__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-color: #090809;
  background-image: var(--reel-poster);
  background-position: center;
  background-size: cover;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.dd-reel-card__video {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dd-reel-card__shade {
  z-index: 2;
}

.dd-reel-card.has-video-frame .dd-reel-card__frame::before {
  opacity: 0;
}

.dd-reel-card.has-video-frame .dd-reel-card__video {
  opacity: 1;
}

/* Performance pass: keep reel movement on the compositor and delay video work until motion settles. */
.dd-reel-card {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.24s ease !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout style;
}

.dd-reel-card,
.dd-reel-card:not(.is-active),
.dd-reel-card.is-active {
  filter: none !important;
}

.dd-reel-card__frame {
  backface-visibility: hidden;
  transform: translateZ(0);
  contain: layout style;
  transition: border-color 0.2s ease !important;
}

.dd-reel-card__video {
  backface-visibility: hidden;
  transform: translateZ(0);
}

.dd-reels-strip__glow {
  transition: none !important;
}
