/* ==========================================================================
   Reels: full-screen vertical trailer feed (js/features/reels.js)
   --------------------------------------------------------------------------
   Layering inside .reels (one stacking context, the overlay itself):
     .reel__bg (0) < .reel__still (1) < .reels__players (2, the recycled YouTube iframes)
     < tap layer, frame overlays, info, rail (3) < top bar / nav (4) < panel (5).
   Nothing between .reels and those layers may create a stacking context (no opacity,
   transform, filter or will-change on .reels__feed / .reel / .reel__inner / .reel__col),
   otherwise the player layer would cover the controls.
   ========================================================================== */

html.reels-open,
html.reels-open body {
  overflow: hidden;
}

/* The page reserves a scrollbar gutter (base.css); drop it while the overlay covers the page so the
   feed is truly edge to edge. The page behind reflows once, invisibly. */
html.reels-open {
  scrollbar-gutter: auto;
}

.reels {
  /* Frame width: as wide as fits beside the rail and nav, as tall as fits above the info. */
  --reel-rail: 72px;
  --reel-top: 64px;
  --reel-info: 184px;
  --reel-w: min(100vw - 2 * var(--space-16) - var(--reel-rail) - var(--space-12), (100dvh - var(--reel-top) - var(--reel-info)) * 16 / 9, 1440px);
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--bg);
  color: var(--text-1);
  isolation: isolate;
  animation: reels-in var(--dur-base) var(--ease);
}

@keyframes reels-in {
  from { opacity: 0; }
}

/* ---- Top bar ------------------------------------------------------------- */
.reels__top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-3);
  height: calc(var(--reel-top) + var(--safe-t));
  padding: var(--safe-t) calc(var(--space-4) + var(--safe-r)) 0 calc(var(--space-4) + var(--safe-l));
  background: linear-gradient(to bottom, var(--scrim), transparent);
  pointer-events: none;
}

.reels__top > * {
  pointer-events: auto;
}

.reels__top > .reels__btn {
  justify-self: start;
}

.reels__top-end {
  display: flex;
  justify-self: end;
  gap: var(--space-2);
}

.reels__btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.08);
  color: var(--text-1);
  cursor: pointer;
  transition: background var(--dur-hover) var(--ease), transform var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .reels__btn:hover {
    background: rgb(255 255 255 / 0.16);
  }
}

.reels__btn:active {
  transform: scale(0.94);
}

.reels__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.reels__btn:focus-visible,
.reels__tab:focus-visible,
.reel-act:focus-visible .reel-act__icon,
.reel__title-btn:focus-visible,
.reel__more:focus-visible,
.reel__yt:focus-visible,
.reel__sound:focus-visible,
.reel__progress:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.reel-act:focus-visible {
  outline: none;
}

.reels__tabs {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1);
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.06);
}

.reels__tab {
  min-height: 36px;
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: color var(--dur-hover) var(--ease), background var(--dur-hover) var(--ease);
}

.reels__tab[aria-selected='true'] {
  background: rgb(255 255 255 / 0.14);
  color: var(--text-1);
}

/* ---- Feed ---------------------------------------------------------------- */
.reels__feed {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  outline: none;
}

.reels__feed::-webkit-scrollbar {
  display: none;
}

.reel {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.reel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.reel__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(48px) saturate(1.3);
  transform: scale(1.25);
  transition: opacity var(--dur-slow) var(--ease);
}

.reel__bg img.is-loaded {
  opacity: 0.38;
}

.reel__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--scrim) 100%);
}

.reel__inner {
  position: relative;
  display: grid;
  grid-template-columns: var(--reel-w) var(--reel-rail);
  align-items: end;
  gap: var(--space-4);
  padding-top: var(--reel-top);
}

.reel__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ---- Frame (the player is laid over it by .reels__players) --------------- */
.reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgb(0 0 0);
}

.reel__still {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}

.reel__frame.is-narrow .reel__still {
  object-fit: contain;
}

.reel__still.is-loaded {
  opacity: 1;
}

.reel__tap {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.reel__spinner,
.reel__paused,
.reel__burst,
.reel__sound,
.reel__error,
.reel__nope,
.reel__progress {
  position: absolute;
  z-index: 3;
}

.reel__spinner {
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgb(255 255 255 / 0.22);
  border-top-color: var(--text-1);
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}

.reel.is-loading .reel__spinner {
  opacity: 1;
  transition-delay: 250ms; /* only show if buffering is noticeable */
  animation: reel-spin 0.8s linear infinite;
}

@keyframes reel-spin {
  to { transform: rotate(360deg); }
}

.reel__paused {
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  border-radius: var(--radius-full);
  background: var(--scrim);
  color: var(--text-1);
  opacity: 0;
  transform: scale(1.15);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-base) var(--ease);
}

.reel__paused svg {
  margin-left: 4px;
  fill: currentColor;
}

.reel.is-paused .reel__paused {
  opacity: 1;
  transform: scale(1);
}

.reel__burst {
  inset: 0;
  pointer-events: none;
}

.reel__heart {
  position: absolute;
  color: var(--accent);
  filter: drop-shadow(0 4px 16px rgb(0 0 0 / 0.45));
  animation: reel-heart 0.9s var(--ease) forwards;
}

.reel__heart svg {
  fill: currentColor;
}

@keyframes reel-heart {
  0% { opacity: 0; transform: scale(0.4) rotate(-12deg); }
  18% { opacity: 1; transform: scale(1.15) rotate(-6deg); }
  32% { transform: scale(0.95) rotate(-4deg); }
  70% { opacity: 1; transform: scale(1) translateY(-8px); }
  100% { opacity: 0; transform: scale(1.1) translateY(-48px); }
}

.reel__sound {
  top: var(--space-3);
  left: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 36px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius-full);
  background: var(--scrim-strong);
  color: var(--text-1);
  font: inherit;
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.reel__error,
.reel__nope {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--scrim-strong);
  color: var(--text-1);
  font-size: var(--fs-16);
  text-align: center;
  animation: reels-in var(--dur-base) var(--ease);
}

/* Progress / scrub bar along the bottom edge of the frame. */
.reel__progress {
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  height: 20px;
  cursor: pointer;
  touch-action: none;
}

.reel__progress-track {
  position: relative;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.22);
  transition: height var(--dur-fast) var(--ease);
}

.reel__progress-fill {
  position: absolute;
  inset: 0;
  background: var(--text-1);
  transform: scaleX(0);
  transform-origin: left center;
}

.reel__progress:hover .reel__progress-track,
.reel__progress:focus-visible .reel__progress-track,
.reel__progress.is-scrubbing .reel__progress-track {
  height: 6px;
}

/* ---- Info ---------------------------------------------------------------- */
.reel__info {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-height: calc(var(--reel-info) - var(--space-8));
  padding-top: var(--space-3);
  max-width: 820px;
}

.reel__reason {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--space-1);
  min-height: 24px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.08);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--fw-medium);
}

.reel__title {
  margin: var(--space-1) 0 0;
  font-size: var(--fs-20);
  line-height: var(--lh-20);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
}

.reel__title-btn {
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

@media (hover: hover) {
  .reel__title-btn:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

.reel__year {
  color: var(--text-3);
  font-weight: var(--fw-regular);
}

.reel__meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-3);
  row-gap: 2px;
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.reel__meta > span + span::before {
  content: '·';
  margin-right: var(--space-3);
  color: var(--text-3);
}

.reel__plot {
  margin: var(--space-1) 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.reel__plot.is-expanded {
  display: block;
  max-height: calc(var(--lh-14) * 6);
  overflow-y: auto;
  -webkit-line-clamp: unset;
}

.reel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-1);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.reel__more {
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-1);
  font: inherit;
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.reel__svc {
  color: var(--text-2);
}

.reel__svc.is-mine {
  color: var(--seen);
}

.reel__yt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
  color: var(--text-3);
  text-decoration: none;
}

@media (hover: hover) {
  .reel__yt:hover {
    color: var(--text-1);
  }
}

/* ---- Action rail --------------------------------------------------------- */
.reel__rail {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-8);
}

.reel-act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 64px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-1);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.reel-act__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.1);
  transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease), transform var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .reel-act:hover .reel-act__icon {
    background: rgb(255 255 255 / 0.18);
  }
}

.reel-act:active .reel-act__icon {
  transform: scale(0.9);
}

.reel-act__label {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}

.reel-act[aria-pressed='true'] .reel-act__icon {
  color: var(--accent);
  background: var(--accent-soft);
}

.reel-act[aria-pressed='true'] .reel-act__label {
  color: var(--text-1);
}

.reel-act[data-r='like'][aria-pressed='true'] svg,
.reel-act[data-r='save'][aria-pressed='true'] svg {
  fill: currentColor;
}

.reel-act[data-kind='seen'][aria-pressed='true'] .reel-act__icon {
  color: var(--seen);
  background: color-mix(in srgb, var(--seen) 14%, transparent);
}

.reel-act.is-pop .reel-act__icon {
  animation: reel-pop 0.4s var(--ease);
}

@keyframes reel-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); }
  65% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* ---- Prev / next ---------------------------------------------------------- */
.reels__nav {
  position: absolute;
  top: 50%;
  right: calc(var(--space-6) + var(--safe-r));
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transform: translateY(-50%);
}

.reels__btn--nav {
  width: 48px;
  height: 48px;
}

/* ---- First-run interest picker slide -------------------------------------- */
.reel-picker {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: calc(var(--reel-top) + var(--safe-t)) var(--space-6) var(--space-6);
  background: radial-gradient(ellipse at 50% 30%, var(--accent-soft), transparent 60%);
}

.reel-picker__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: min(560px, 100%);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-1);
  box-shadow: var(--shadow-modal);
}

.reel-picker__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reel-picker__title {
  margin: 0;
  font-size: var(--fs-28);
  line-height: var(--lh-28);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-tight);
}

.reel-picker__sub {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.reel-picker__chips,
.reels-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.reel-picker__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* ---- "Your feed" panel ----------------------------------------------------- */
.reels__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: min(380px, 100%);
  padding: calc(var(--space-4) + var(--safe-t)) calc(var(--space-6) + var(--safe-r)) calc(var(--space-6) + var(--safe-b)) var(--space-6);
  overflow-y: auto;
  border-left: 1px solid var(--border);
  background: var(--surface-1);
  box-shadow: var(--shadow-modal);
  animation: reels-panel-in var(--dur-base) var(--ease);
}

@keyframes reels-panel-in {
  from { transform: translateX(24px); opacity: 0; }
}

.reels-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reels-panel__title {
  margin: 0;
  font-size: var(--fs-20);
  line-height: var(--lh-20);
  font-weight: var(--fw-bold);
}

.reels-panel__note,
.reels-panel__empty {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.reels-panel__section {
  margin-top: var(--space-3);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reels-panel__tastes {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.reels-panel__tastes li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px var(--space-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.reels-panel__taste-type {
  color: var(--text-3);
  font-size: var(--fs-12);
}

.reels-panel__bar {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--surface-3);
}

.reels-panel__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--text-2);
}

.reels-panel__toggle {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-3);
  color: var(--text-1);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  cursor: pointer;
}

.reels-panel__toggle input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.reels-panel__reset {
  align-self: flex-start;
  margin-top: var(--space-2);
}

/* ---- Recycled YouTube players --------------------------------------------- */
.reels__players {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.reel-player {
  position: absolute;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}

/* Not the current trailer: hidden behind the current frame (preloading players stay inside the
   viewport so the browser doesn't throttle them). Hiding is instant; only showing fades. */
.reel-player.is-parked {
  z-index: -1;
  transition: none;
}

.reel-player.is-shown {
  opacity: 1;
}

/* Same pillarbox trick as the main player (css/features/player_chrome.css): the iframe is taller
   than the frame by 2 x --e so YouTube's own title bar / controls sit outside the visible area,
   and its width follows the video's real aspect ratio so 4:3 trailers are never cropped. */
.reel-player__crop {
  --e: 140px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  container-type: size;
  border-radius: var(--radius-lg);
  background: rgb(0 0 0);
}

.reel-player__crop iframe {
  --w: min(100cqw, 100cqh * var(--rp-ar, 1.7778));
  position: absolute;
  top: calc(-1 * var(--e));
  left: calc((100cqw - var(--w)) / 2);
  width: var(--w);
  height: calc(100cqh + 2 * var(--e));
  max-width: none;
  border: 0;
  pointer-events: none;
}

/* ---- Header entry button --------------------------------------------------- */
.reels-entry {
  gap: var(--space-2);
}

@media (max-width: 1359px) {
  .reels-entry {
    width: var(--hit, 40px);
    padding: 0;
  }

  .reels-entry__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---- Phones / narrow windows: TikTok-style full-bleed column --------------- */
@media (max-width: 899px) {
  .reels {
    --reel-top: 56px;
    --reel-rail: 64px;
  }

  .reels__top {
    grid-template-columns: auto 1fr auto;
  }

  .reels__tabs {
    justify-self: center;
  }

  .reels__btn {
    width: 40px;
    height: 40px;
  }

  .reels__nav {
    display: none;
  }

  .reel {
    place-items: stretch;
  }

  /* The frame sits in the upper half (TikTok places landscape videos above centre) so the
     bottom-right rail never covers the picture; the gap above it grows with screen height. */
  .reel__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: calc(var(--reel-top) + var(--safe-t) + clamp(0px, (100dvh - 640px) * 0.5, 96px)) 0 calc(var(--space-4) + var(--safe-b));
  }

  .reel__frame,
  .reel-player__crop {
    border-radius: 0;
  }

  .reel__info {
    min-height: 0;
    padding: var(--space-3) calc(var(--reel-rail) + var(--space-4)) 0 calc(var(--space-4) + var(--safe-l));
  }

  .reel__title {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
  }

  .reel__rail {
    position: absolute;
    right: calc(var(--space-1) + var(--safe-r));
    bottom: calc(var(--space-4) + var(--safe-b));
    gap: var(--space-1);
    padding-bottom: 0;
  }

  .reel-act {
    min-width: 56px;
  }

  .reel-act__icon {
    width: 44px;
    height: 44px;
  }

  .reel-picker__card {
    padding: var(--space-6);
  }

  .reel-picker__title {
    font-size: var(--fs-20);
    line-height: var(--lh-20);
  }

  .reel__progress {
    height: 24px;
  }
}

/* Short phones: drop the rail labels so the rail stays off the picture. */
@media (max-width: 899px) and (max-height: 760px) {
  .reel-act__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* Short desktop windows: tighter info block. */
@media (min-width: 900px) and (max-height: 720px) {
  .reels {
    --reel-info: 150px;
  }

  .reel__plot {
    -webkit-line-clamp: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reels,
  .reels__panel,
  .reel__error,
  .reel__nope,
  .reel-act.is-pop .reel-act__icon {
    animation: none;
  }

  .reel.is-loading .reel__spinner {
    animation-duration: 2.4s;
  }

  .reel-player,
  .reel__still,
  .reel__bg img,
  .reel__paused {
    transition: none;
  }
}

/* ---- YouTube refusing every trailer (js/features/reels.js setBlocked) ---- */
.reels__blocked {
  position: absolute;
  left: 50%;
  bottom: calc(var(--space-8) + var(--safe-b));
  z-index: 5;
  display: grid;
  gap: var(--space-2);
  width: min(520px, 100% - 2 * var(--space-4));
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  box-shadow: var(--shadow-modal);
  transform: translateX(-50%);
  animation: reels-blocked-in var(--dur-base) var(--ease);
}

.reels__blocked[hidden] {
  display: none;
}

@keyframes reels-blocked-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
}

.reels__blocked-title {
  margin: 0;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--fw-semibold);
}

.reels__blocked-text {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.reels__blocked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

@media (prefers-reduced-motion: reduce) {
  .reels__blocked {
    animation: none;
  }
}
