.shopify-app-block:has(> .scenethread-wrap, > .scenethread-grid-wrap, > .scenethread-clip-wrap, > .scenethread-placeholder) {
  width: 100%;
  min-width: 0;
  align-self: stretch;
  justify-self: stretch;
}

.scenethread-wrap {
  width: 100%;
  max-width: var(--st-wrap-width, none);
  margin-inline: auto;
  container-type: inline-size;
}

.scenethread-film {
  display: block;
}

.scenethread-film[hidden] {
  display: none;
}

.scenethread-film:not([data-ready]) {
  --st-reserve-panel: 0px;
  --st-reserve-strip: 176px;
  --st-reserve-bottom: 0px;
  height: calc(28px + min((100cqw - var(--st-reserve-panel) - 56px) * var(--st-aspect, 0.5625), 80vh) + 60px + var(--st-reserve-strip) + var(--st-reserve-bottom));
  background: var(--st-bg, #0e0d0c);
}

.scenethread-film:not([data-ready])[theme="light"] {
  background: var(--st-bg, #faf9f6);
}

.scenethread-film:not([data-ready]):not([panel]),
.scenethread-film:not([data-ready])[panel="left"],
.scenethread-film:not([data-ready])[panel="right"] {
  --st-reserve-panel: var(--st-panel-width, 360px);
}

.scenethread-film:not([data-ready])[panel="bottom"] {
  --st-reserve-bottom: 280px;
}

.scenethread-film:not([data-ready])[effect="pause"] {
  --st-reserve-panel: 0px;
  --st-reserve-bottom: 0px;
}

.scenethread-film:not([data-ready])[hide~="titles"] {
  --st-reserve-strip: 138px;
}

.scenethread-film:not([data-ready])[looks="none"] {
  --st-reserve-strip: 0px;
}

@container (max-width: 859.98px) {
  .scenethread-film:not([data-ready]) {
    --st-reserve-strip: 156px;
    --st-reserve-bottom: 150px;
    height: calc(min(100cqw * var(--st-aspect, 0.5625), 80vh) + 48px + var(--st-reserve-strip) + var(--st-reserve-bottom));
  }

  .scenethread-film:not([data-ready])[panel] {
    --st-reserve-bottom: 150px;
  }

  .scenethread-film:not([data-ready])[panel="none"] {
    --st-reserve-bottom: 0px;
  }

  .scenethread-film:not([data-ready])[phone-panel="bottom"] {
    --st-reserve-bottom: 150px;
  }

  .scenethread-film:not([data-ready])[phone-panel="float"],
  .scenethread-film:not([data-ready])[phone-panel="none"],
  .scenethread-film:not([data-ready])[effect="pause"] {
    --st-reserve-bottom: 0px;
  }

  .scenethread-film:not([data-ready])[hide~="titles"] {
    --st-reserve-strip: 118px;
  }

  .scenethread-film:not([data-ready])[looks="none"] {
    --st-reserve-strip: 0px;
  }
}

.scenethread-placeholder {
  box-sizing: border-box;
  width: 100%;
  padding: 48px 24px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: 14px;
}

.scenethread-film:not([data-ready])[format="stories"] {
  height: calc(min(80vh, 760px) + 32px);
}

.scenethread-film:not([data-ready])[format="swipe"] {
  height: calc(min(380px, 100cqw - 32px) * 4 / 3 + 186px);
}

.scenethread-clip-wrap {
  width: 100%;
}

.scenethread-grid-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--page-width, 1200px);
  margin-inline: auto;
  padding-inline: 20px;
}

.scenethread-grid-heading {
  margin: 0 0 20px;
}
