.party-reels { padding-block: 72px; scroll-margin-top: 30px; }
.party-reels-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.party-reels-heading h2 { max-width: 650px; }
.party-reels-heading p { margin-top: 14px; color: #49687f; font-size: 18px; }
.party-reels-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.party-reels-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cde6ed; background: #fff; color: #163d54; cursor: pointer; }
.party-reels-arrow svg { width: 22px; height: 22px; }
.party-reels-arrow:disabled { opacity: .35; cursor: default; }
.party-reels-arrow:not(:disabled):hover { background: #e8f9ff; }
.party-reels-track { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #9bcfdb transparent; padding: 4px 4px 18px; margin-inline: -4px; }
.party-reels-track.is-dragging { scroll-snap-type: none; user-select: none; }
.party-reels-track.is-dragging, .party-reels-track.is-dragging * { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) {
  .party-reels-track { scroll-snap-type: none; cursor: grab; }
  .party-reel-start { cursor: grab; }
}
.party-reel { position: relative; flex: 0 0 260px; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #163d54; scroll-snap-align: start; }
.party-reel video { display: block; width: 100%; height: 100%; object-fit: contain; background: #163d54; }
.party-reel-start { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0; background: linear-gradient(transparent 55%, #102c4466); color: #fff; cursor: inherit; }
.party-reel-start[hidden], .party-reel-error[hidden] { display: none; }
.party-reel-play { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #0b87b4; box-shadow: 0 5px 24px #102c4433; }
.party-reel-play svg { width: 26px; height: 26px; margin-left: 4px; }
.party-reel-duration { position: absolute; right: 16px; bottom: 16px; border-radius: 12px; padding: 4px 10px; background: #102c44a6; font-size: 14px; font-weight: 800; }
.party-reel-error { position: absolute; top: 12px; inset-inline: 12px; border-radius: 12px; padding: 10px; background: #fff; color: #163d54; font-size: 14px; }
.party-reels :focus-visible { outline: 3px solid #ec3785; outline-offset: 3px; }
.party-reel-start:focus-visible { outline-offset: -5px; border-radius: inherit; }
@media (max-width: 700px) {
  .party-reels-arrows { display: none; }
  .party-reels { padding-block: 46px; }
  .party-reels-heading { margin-bottom: 20px; }
  .party-reels-heading p { font-size: 16px; max-width: 26ch; }
  .party-reels-heading h2 { font-size: clamp(28px, 7vw, 38px); }
  .party-reels-track { gap: 14px; }
  .party-reel { flex-basis: min(72vw, 280px); border-radius: 20px; }
  .party-reel:not(:first-child) { scroll-snap-align: center; }
  /* End space lets the final card reach the same center as the others. */
  .party-reels-track::after { content: ''; flex: 0 0 max(0px, calc((100% - min(72vw, 280px)) / 2 - 14px)); }
}
