#studiometa-home .sm-reel {
  padding-block: clamp(28px, 5vw, 60px);
  background: var(--mist);
}

#studiometa-home .sm-reel-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(230px, 33vw, 440px);
  padding: clamp(22px, 5vw, 60px);
  overflow: hidden;
  border-radius: clamp(26px, 5vw, 58px) 4px clamp(26px, 5vw, 58px) 4px;
  color: #fff;
  background: var(--wave) center / cover no-repeat, linear-gradient(135deg, #482959, #24172f);
  text-decoration: none;
}

#studiometa-home .sm-reel-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(20deg, #1f152b 4%, #24152fb8 35%, #24152f21 80%);
  content: '';
}

#studiometa-home .sm-reel-cover {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#studiometa-home .sm-reel-copy h2 {
  margin: 0 0 14px;
}

#studiometa-home .sm-reel-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 4px;
  color: var(--ink);
  background: var(--pink);
  font-size: 13px;
  font-weight: 800;
}

#studiometa-home .sm-reel-card:hover .sm-reel-action {
  background: #ffd4ee;
}

#studiometa-home .sm-reel-card:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}

#studiometa-home .sm-reel-play {
  width: 0;
  height: 0;
  border-block: 6px solid transparent;
  border-inline-start: 10px solid currentColor;
}

#studiometa-home .sm-reel-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #fff;
  background: #000;
}

#studiometa-home .sm-reel-dialog:not([open]) {
  display: none;
}

#studiometa-home .sm-reel-dialog::backdrop {
  background: #000;
}

html:has(.sm-reel-dialog[open]) {
  overflow: hidden;
}

#studiometa-home .sm-reel-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  color: #fff;
  background: #000;
}

#studiometa-home .sm-reel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: max(6px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left));
  font-size: 13px;
}

#studiometa-home .sm-reel-toolbar a,
#studiometa-home .sm-reel-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #fff;
}

#studiometa-home .sm-reel-toolbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

#studiometa-home .sm-reel-toolbar button {
  padding: 0 12px;
  border: 1px solid #ffffff69;
  border-radius: 4px;
  background: #251b37;
  font: inherit;
  cursor: pointer;
}

#studiometa-home .sm-reel-toolbar :is(a, button):focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

#studiometa-home .sm-reel-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
