/* SpiderVerse Pack page (item.html?id=bundle-multiverse-pack). The preview gets its own full-width band at the top over a
   blurred loop of the effect, with the back link above it, the halftone wordmark laid over it and small thumbs in its corner.
   No player chrome: the clip always loops. Below, the copy and the buy column sit side by side in the serif + mono look of
   the fx product pages. Body class is-spiderverse-pack is set by item.html; the band is built by _mountSpiderverseBand. */

html body.public-studio-page.item-template-page.is-spiderverse-pack {
  --sv-orange: #e3915a;
  --sv-orange-hi: #f2b27f;
  --sv-green: #8fc49a;
  --sv-line: rgba(236, 230, 220, 0.12);
  overflow-x: clip;
}

/* ---------- the preview band ---------- */
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 36px 0 34px;
  overflow: hidden;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--bg, #1c1b19); }
/* the clips are side by side (original | effect): show the effect half, blurred into colour */
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-bg video {
  position: absolute;
  top: -12%;
  right: -4%;
  width: 208%;
  height: 124%;
  object-fit: cover;
  filter: blur(42px) saturate(1.1);
  opacity: 0.55;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(227, 145, 90, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(143, 196, 154, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(var(--bg-rgb, 28, 27, 25), 0.35) 0%, rgba(var(--bg-rgb, 28, 27, 25), 0.6) 62%, rgb(var(--bg-rgb, 28, 27, 25)) 100%);
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-dither {
  position: absolute;
  inset: 0;
  background: url("/assets/fuses/pages/dither-25.png") 0 0 / 8px 8px;
  image-rendering: pixelated;
  opacity: 0.28;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .item-gallery-panel.steam-gallery-panel {
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  top: auto !important;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-media-player { max-width: none; gap: 12px; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-player-stage {
  border: 1px solid rgba(236, 230, 220, 0.2) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 0 90px rgba(227, 145, 90, 0.1), 0 26px 70px rgba(0, 0, 0, 0.5) !important;
}

/* no player chrome: the clip loops on its own */
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-stage-controls,
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .stage-nav-arrow { display: none !important; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .mv-compare-knob { border-radius: 10px; background: rgba(var(--bg-rgb, 28, 27, 25), 0.6); }

html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .item-back-link { margin: 0 0 18px !important; }

/* the wordmark over the preview: halftone dots on cream fading into ember and green */
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 90px 32px 26px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(0deg, rgba(10, 9, 8, 0.62) 0%, rgba(10, 9, 8, 0.28) 55%, transparent 100%);
  pointer-events: none;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay h1.is-multiverse-title {
  position: relative;
  display: inline-block;
  margin: 0 !important;
  padding: 0.04em 0.04em 0.08em 0;
  font: 400 clamp(56px, 6.6vw, 100px)/0.95 var(--f-serif) !important;
  letter-spacing: -0.025em !important;
  text-transform: none !important;
  color: #fff3e2;
  background-image:
    linear-gradient(105deg, #fff3e2 0%, rgba(255, 243, 226, 0.92) 20%, transparent 58%),
    radial-gradient(circle, rgba(22, 16, 10, 0.9) 0.9px, transparent 1.35px),
    linear-gradient(100deg, #f6c79c 0%, var(--sv-orange) 42%, #c9b27a 70%, var(--sv-green) 100%) !important;
  background-size: 100% 100%, 3.5px 3.5px, 100% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 6px 22px rgba(0, 0, 0, 0.7));
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay h1.is-multiverse-title::before,
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay h1.is-multiverse-title::after { content: none !important; animation: none !important; }

/* the other clips: a small strip tucked into the preview's corner */
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumbs-wrap {
  position: absolute !important;
  right: 18px;
  bottom: 22px;
  z-index: 5;
  width: auto !important;
  max-width: 44%;
  margin: 0 !important;
  padding: 0 !important;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumbs-strip {
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto;
  scrollbar-width: none;
  transform: none !important;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumbs-strip::-webkit-scrollbar { display: none; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumb {
  flex: 0 0 60px !important;
  width: 60px !important;
  min-width: 0 !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 6px !important;
  outline: 1px solid rgba(255, 243, 226, 0.22);
  outline-offset: -1px;
  opacity: 0.55;
  box-shadow: none !important;
  transition: opacity 120ms ease-out;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumb:hover { opacity: 0.9; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumb.is-active { opacity: 1; outline: 2px solid var(--sv-orange); outline-offset: -2px; }

/* ---------- copy | buy ---------- */
html body.public-studio-page.item-template-page.is-spiderverse-pack main.item-template { padding-top: 0 !important; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-hero-template { display: block !important; padding-top: 8px !important; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-hero-template > .item-info-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 32px 64px;
  align-items: start;
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0 24px !important;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-copy-col,
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-buy-col { min-width: 0; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-buy-col { padding-top: 6px; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-buy-col > .item-version-stack { margin-top: 0 !important; }

html body.public-studio-page.item-template-page.is-spiderverse-pack .item-plain-hook {
  margin: 0 !important;
  max-width: 520px;
  color: var(--text) !important;
  font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--f-serif) !important;
  letter-spacing: -0.005em !important;
}

/* the tools: numbered mono rows with hairlines instead of plus signs */
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-plain-bullets {
  counter-reset: sv-tool;
  margin: 26px 0 0 !important;
  padding: 0 !important;
  max-width: 520px;
  list-style: none !important;
  border-top: 1px solid var(--sv-line);
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-plain-bullets li {
  counter-increment: sv-tool;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: baseline;
  gap: 0 !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--sv-line);
  color: rgba(var(--text-rgb, 236, 230, 220), 0.78) !important;
  font: 400 15px/1.55 var(--f-ui) !important;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-plain-bullets li::before {
  content: counter(sv-tool, decimal-leading-zero);
  color: var(--sv-orange);
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: 0.08em;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-plain-bullets li > svg { display: none !important; }

html body.public-studio-page.item-template-page.is-spiderverse-pack .item-compatibility > small {
  color: var(--dim) !important;
  font: 500 11px/1 var(--f-mono) !important;
  letter-spacing: 0.14em !important;
}

/* check marks in the site orange, not green */
html body.public-studio-page.item-template-page.is-spiderverse-pack .compat-entry.is-compatible .compat-status {
  color: var(--sv-orange) !important;
  background: rgba(227, 145, 90, 0.14) !important;
  border-color: rgba(227, 145, 90, 0.38) !important;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-owned-line { color: var(--sv-orange) !important; }

/* buy buttons: plain ember, no zebra glitch bursts */
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-buy-choices button::before,
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-buy-choices button::after { content: none !important; animation: none !important; }
html body.public-studio-page.item-template-page.is-spiderverse-pack .item-buy-choices button:hover { animation: none !important; filter: none !important; }

html body.public-studio-page.item-template-page.is-spiderverse-pack .pack-exclusive-pill { background: linear-gradient(105deg, var(--sv-orange), var(--sv-green)); color: var(--ember-ink, #1c1b19); }
html body.public-studio-page.item-template-page.is-spiderverse-pack .pack-dl-btn { background: var(--sv-orange); color: var(--ember-ink, #1c1b19) !important; }

/* the What You Get viewer: the same hairline as the rest of the page, ember on the stamp instead of violet */
html body.public-studio-page.item-template-page.is-spiderverse-pack .multiverse-viewer__canvas-stamp {
  background-image: linear-gradient(100deg, #fff3e2 0%, var(--sv-orange) 60%, var(--sv-green) 100%);
  background-size: 100% 100%;
}
html body.public-studio-page.item-template-page.is-spiderverse-pack .multiverse-viewer__canvas-stamp::before,
html body.public-studio-page.item-template-page.is-spiderverse-pack .multiverse-viewer__canvas-stamp::after { content: none; animation: none; }

@media (max-width: 900px) {
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band { padding: 20px 0 22px; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-inner { width: calc(100% - 32px); }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .item-hero-template > .item-info-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; width: 100% !important; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-buy-col { padding-top: 0; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay { padding: 50px 16px 14px; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay h1.is-multiverse-title { font-size: clamp(36px, 10vw, 56px) !important; }
  /* phones: the strip sits under the preview, the title stays on it */
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-thumbs-wrap { position: relative !important; right: auto; bottom: auto; max-width: none; margin-top: 10px !important; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-media-player { display: grid; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-title-overlay { grid-row: 1; grid-column: 1; align-self: end; position: relative; }
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band .steam-player-stage { grid-row: 1; grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html body.public-studio-page.item-template-page.is-spiderverse-pack .sv-band-bg video { display: none; }
}
