/* ==========================================================================
   Creator SFX product page. Builds on style.css (tokens, buttons, faq, steps).
   ========================================================================== */

html:has(body.sx), body.sx { overflow-x: clip; }
html.sx-locked, html.sx-locked body { overflow: hidden; }
.sx { --ember: #ff5e1a; --amber: #ffb547; --ink: #0a0a0a; --glass: rgba(255,255,255,.04); }
.sx .ambient {
  background:
    radial-gradient(700px 460px at 72% -60px, rgba(246,130,31,.16), transparent 70%),
    radial-gradient(520px 360px at 8% 30%, rgba(255,94,26,.07), transparent 70%),
    radial-gradient(600px 320px at 50% 110%, rgba(246,130,31,.06), transparent 70%);
}
.sx-grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: sx-grain 1.2s steps(6) infinite;
}
@keyframes sx-grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* scroll reveal (separate from the load-time data-reveal) */
[data-sx-in] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-sx-in].is-in, .no-js [data-sx-in] { opacity: 1; transform: none; filter: none; }

.sx-lede { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 23px; }
.hand { font-family: var(--hand); color: var(--accent-2); font-size: 20px; }

/* ---------------- HERO ---------------- */
.sx-hero {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center;
  padding: 56px 0 40px; min-height: min(680px, calc(100vh - 80px));
}
.sx-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-2);
}
.sx-rec { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: sx-blink 1.4s ease-in-out infinite; }
@keyframes sx-blink { 50% { opacity: .25; } }
.sx-title { font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.sx-title .serif { color: var(--accent); font-size: 1.12em; padding-right: .04em; }
.sx-title-sm {
  display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; line-height: 1;
  font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: #d9d9d9;
}
.sx-ver { font-family: var(--mono); font-size: 11px; letter-spacing: 0; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); }
.sx-sub { margin-top: 20px; max-width: 470px; color: var(--muted); font-size: 16px; line-height: 25px; }
.sx-sub b { color: #fff; font-weight: 500; }
.sx-sub b.accent { display: block; margin-top: 6px; color: var(--accent-2); }

.sx-buy { margin-top: 28px; }
.sx-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.sx-price { font-family: var(--display); font-size: 44px; line-height: 1; letter-spacing: .01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-was { color: var(--dim); font-size: 18px; }
.sx-save { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; color: var(--ok); background: rgba(62,207,142,.1); box-shadow: inset 0 0 0 1px rgba(62,207,142,.25); }
.sx-buy-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sx-buy-btns .btn-glow { height: 56px; padding: 0 34px; }
.sx-listen { height: 56px; padding: 0 22px; border-radius: 14px; }
.sx-note span + span::before { content: "·"; margin-right: 8px; }
.sx-note { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

/* the deck */
.sx-deck-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
/* the case + the record peeking out to its right span ~128% of the deck's width,
   so shift the deck left by half the overhang to centre the pair */
.sx-deck { position: relative; width: min(420px, 82vw); aspect-ratio: 1; perspective: 1400px; --rx: 6deg; --ry: -16deg; translate: -14% 0; }
@media (min-width: 901px) { .sx-deck { width: min(380px, 34vw); } } /* so case + record fit the right column */
.sx-deck::before { /* glow pool */
  content: ""; position: absolute; inset: 10% -10% -14% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246,130,31,.45), rgba(255,94,26,.12) 60%, transparent);
  filter: blur(30px); z-index: 0; animation: sx-pulse 5s ease-in-out infinite;
}
.sx-deck.is-playing::before { animation-duration: .9s; }
@keyframes sx-pulse { 50% { opacity: .65; transform: scale(.94); } }

.sx-disc {
  position: absolute; z-index: 1; top: 6%; left: 22%; width: 84%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255,255,255,.04) 17.5% 18%, transparent 18.5%),
    repeating-radial-gradient(circle, #121212 0 1.2px, #1b1b1b 1.6px 2.4px),
    #111;
  box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 0 0 2px #202020;
  transform: translateX(26%) rotate(0deg);
  animation: sx-spin 9s linear infinite;
  transition: transform 1s var(--ease);
}
.sx-disc::after { /* light sweep on vinyl */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 8%, rgba(255,255,255,.10) 12%, transparent 18% 52%, rgba(255,181,71,.12) 58%, transparent 64%);
}
.sx-deck.is-playing .sx-disc { animation-duration: 1.6s; }
@keyframes sx-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.sx-disc-label {
  position: absolute; inset: 33%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #ffc56b, #f6821f 45%, #c3410c);
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.25);
  color: #1a0900;
}
.sx-disc-label b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 3.4vw, 30px); line-height: 1; }
.sx-disc-label small { font-family: var(--mono); font-size: 8px; letter-spacing: .06em; margin-top: 4px; }
.sx-disc-label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #0c0c0c; }

.sx-case {
  position: absolute; z-index: 2; inset: 0 16% 8% 0; border-radius: 18px; overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,181,71,.22), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(255,94,26,.28), transparent 60%),
    linear-gradient(160deg, #1d1612, #0d0b0a 55%, #120a06);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.12), 0 50px 90px -20px rgba(0,0,0,.8), 0 30px 80px -30px rgba(246,130,31,.5);
  display: flex; flex-direction: column; padding: 22px;
  animation: sx-float 7s ease-in-out infinite;
}
@keyframes sx-float { 50% { translate: 0 -10px; } }
.sx-case-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.10) 42%, transparent 52%); background-size: 260% 100%; animation: sx-shine 6s ease-in-out infinite; }
@keyframes sx-shine { 0%, 30% { background-position: 130% 0; } 70%, 100% { background-position: -60% 0; } }
.sx-case-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.55); }
.sx-case-big { position: relative; margin-top: auto; line-height: .82; }
.sx-330 {
  display: block; font-family: var(--display); font-size: clamp(96px, 16vw, 150px); letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 10%, #ffd9a8 45%, #f6821f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 30px rgba(246,130,31,.35));
}
.sx-sfx {
  display: block; font-family: var(--display); font-size: clamp(52px, 8vw, 78px); letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,181,71,.85);
}
.sx-case-hand { position: absolute; right: 22px; top: 44%; font-family: var(--hand); font-size: 22px; color: var(--accent-2); transform: rotate(-8deg); }
.sx-eq { width: 100%; height: 56px; margin-top: 10px; }
.sx-case-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.sx-barcode { width: 64px; height: 18px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 3px, rgba(255,255,255,.55) 3px 5px, transparent 5px 6px, rgba(255,255,255,.55) 6px 7px, transparent 7px 10px); }
.sx-play {
  position: absolute; right: 18px; top: 46px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #1a0900; box-shadow: 0 12px 30px rgba(246,130,31,.45), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .35s var(--spring), box-shadow .3s;
}
.sx-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(246,130,31,.55); animation: sx-ring 2.2s ease-out infinite; }
@keyframes sx-ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.sx-play:hover { transform: scale(1.08); }
.sx-play svg { width: 26px; height: 26px; }
.sx-play .i-stop, .is-playing .sx-play .i-play { display: none; }
.is-playing .sx-play .i-stop { display: block; }

.sx-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 10px;
  font-family: var(--mono); font-size: 10.5px; color: #e6e6e6; white-space: nowrap;
  background: rgba(22,22,22,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 30px rgba(0,0,0,.45);
  transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .5s var(--ease);
  animation: sx-bob 6s ease-in-out infinite;
}
.sx-chip i { width: 14px; height: 10px; background: linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 4px, var(--accent) 4px 6px, transparent 6px 8px, var(--accent) 8px 10px, transparent 10px 12px, var(--accent) 12px 14px); -webkit-mask: linear-gradient(0deg, #000 30%, transparent 30% 35%, #000 35%); clip-path: polygon(0 40%, 14% 40%, 14% 0, 28% 0, 28% 60%, 43% 60%, 43% 20%, 57% 20%, 57% 80%, 71% 80%, 71% 10%, 86% 10%, 86% 50%, 100% 50%, 100% 100%, 0 100%); }
.sx-chip.c1 { left: -10%; top: 16%; animation-delay: -1s; }
.sx-chip.c2 { right: -16%; top: 62%; animation-delay: -3s; }
.sx-chip.c3 { left: -6%; bottom: 2%; animation-delay: -5s; }
@keyframes sx-bob { 50% { translate: 0 -8px; } }
.sx-deck-cap { margin-top: 34px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--dim); display: flex; gap: 10px; align-items: center; }

/* ticker */
.sx-ticker { position: relative; z-index: 1; overflow: hidden; padding: 16px 0; border-block: 1px solid #1c1c1c; background: rgba(12,12,12,.6); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sx-ticker-track { display: flex; width: max-content; animation: sx-marquee 50s linear infinite; }
.sx-ticker span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: #3d3d3d; white-space: nowrap; }
.sx-ticker span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sx-ticker span:nth-child(3n) { color: #cfcfcf; }
@keyframes sx-marquee { to { transform: translateX(-50%); } }

/* gradient-clipped numbers: room for Anton's tall glyphs (see style.css .grad-text) */
.sx-price, .sx-330, .sx-stat:nth-child(1) b, .sx-stat:nth-child(2) b, .sx-b-big b { padding: .14em .08em; margin: -.14em -.08em; }

/* stats strip */
.sx-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(24,24,24,.85), rgba(14,14,14,.85)); box-shadow: inset 0 0 0 1px #222;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sx-stat { position: relative; padding: 22px 20px; text-align: center; }
.sx-stat + .sx-stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, #2c2c2c, transparent); }
.sx-stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: .01em; color: #fff; }
.sx-stat:nth-child(1) b, .sx-stat:nth-child(2) b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-stat span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* ---------------- PLAYERS ---------------- */
.sx-players { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.sx-player {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px 18px 16px; border-radius: 16px; text-align: left; width: 100%;
  background: linear-gradient(180deg, rgba(26,26,26,.9), rgba(17,17,17,.9)); box-shadow: inset 0 0 0 1px #232323;
  transition: box-shadow .3s, background .3s;
}
.sx-player:hover { box-shadow: inset 0 0 0 1px rgba(246,130,31,.35); }
.sx-player:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sx-player.is-playing { background: linear-gradient(180deg, rgba(38,22,12,.95), rgba(20,13,9,.95)); box-shadow: inset 0 0 0 1px rgba(246,130,31,.55), 0 20px 50px -24px rgba(246,130,31,.5); }
.sx-p-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sx-p-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #232323; color: var(--accent); box-shadow: inset 0 0 0 1px #2e2e2e; transition: background .25s, color .25s, transform .3s var(--spring); }
.sx-player:hover .sx-p-btn { background: var(--accent); color: #1a0900; }
.sx-player.is-playing .sx-p-btn { background: var(--grad); color: #1a0900; transform: scale(1.06); }
.sx-p-btn svg { width: 14px; height: 14px; }
.sx-p-btn .i-stop, .sx-player.is-playing .sx-p-btn .i-play { display: none; }
.sx-player.is-playing .sx-p-btn .i-stop { display: block; }
.sx-p-name { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sx-p-tag { flex: none; height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #a8a8a8; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px #2c2c2c; }
.sx-player.is-playing .sx-p-tag { color: var(--accent-2); box-shadow: inset 0 0 0 1px rgba(246,130,31,.4); }
.sx-p-len { margin-left: auto; flex: none; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.sx-p-wave { position: relative; display: block; height: 40px; }
.sx-p-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-p-wave .base rect { fill: #454545; }
.sx-player:hover .sx-p-wave .base rect { fill: #4a4440; }
.sx-p-wave .lit { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.sx-p-wave .lit rect { fill: var(--accent); }
.sx-player.is-playing .sx-p-wave .lit rect { fill: url(#sx-wgrad); }

/* ---------------- PROBLEM ---------------- */
.sx-problem-card {
  position: relative; overflow: hidden; padding: clamp(28px, 6vw, 64px); border-radius: 28px; text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(246,130,31,.12), transparent 60%), linear-gradient(180deg, #141414, #0e0e0e);
  box-shadow: inset 0 0 0 1px #1f1f1f;
}
.sx-statement { margin: 16px auto 0; max-width: 760px; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.sx-statement .serif { color: var(--accent); }
.sx-problem-card p { margin: 20px auto 0; max-width: 620px; color: var(--muted); font-size: 16px; line-height: 26px; }
.sx-problem-card p em { color: #fff; font-style: italic; font-family: var(--serif); font-size: 1.15em; }
.sx-mute { margin: 34px auto 0; max-width: 560px; display: grid; gap: 10px; }
.sx-mute-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); text-align: left; }
.sx-mute-row i { height: 28px; border-radius: 8px; background: #161616; box-shadow: inset 0 0 0 1px #222; position: relative; overflow: hidden; }
.sx-mute-row.off i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: #2c2c2c; }
.sx-mute-row.on span { color: var(--accent-2); }
.sx-mute-row.on i::after {
  content: ""; position: absolute; inset: 4px 0; background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 5px);
  -webkit-mask: linear-gradient(90deg, #000, #000);
  clip-path: polygon(0 45%, 6% 30%, 10% 60%, 14% 10%, 18% 80%, 22% 40%, 30% 45%, 34% 0, 38% 100%, 42% 20%, 46% 70%, 52% 45%, 60% 40%, 64% 5%, 67% 95%, 71% 30%, 76% 60%, 82% 45%, 88% 20%, 91% 85%, 95% 40%, 100% 50%, 100% 55%, 95% 60%, 91% 15%, 88% 80%, 82% 55%, 76% 40%, 71% 70%, 67% 5%, 64% 95%, 60% 60%, 52% 55%, 46% 30%, 42% 80%, 38% 0, 34% 100%, 30% 55%, 22% 60%, 18% 20%, 14% 90%, 10% 40%, 6% 70%, 0 55%);
  animation: sx-scroll 3s linear infinite; background-size: 200% 100%;
}
@keyframes sx-scroll { to { background-position: -40px 0; } }

/* ---------------- MEDIA SLOTS ---------------- */
.sx-slot {
  position: relative; overflow: hidden; border-radius: 22px; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(60% 70% at 30% 20%, rgba(246,130,31,.18), transparent 60%),
    radial-gradient(60% 60% at 80% 90%, rgba(255,94,26,.12), transparent 60%),
    #0f0f0f;
  box-shadow: inset 0 0 0 1px #232323;
}
.sx-slot::before { /* scanning light */
  content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.05) 50%, transparent 65%); background-size: 250% 100%; animation: sx-shine 5s ease-in-out infinite;
}
.sx-slot::after { /* corner marks, like a viewfinder */
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(#444, #444) left top / 18px 1.5px no-repeat, linear-gradient(#444, #444) left top / 1.5px 18px no-repeat,
    linear-gradient(#444, #444) right top / 18px 1.5px no-repeat, linear-gradient(#444, #444) right top / 1.5px 18px no-repeat,
    linear-gradient(#444, #444) left bottom / 18px 1.5px no-repeat, linear-gradient(#444, #444) left bottom / 1.5px 18px no-repeat,
    linear-gradient(#444, #444) right bottom / 18px 1.5px no-repeat, linear-gradient(#444, #444) right bottom / 1.5px 18px no-repeat;
}
.sx-slot-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; color: var(--muted); }
.sx-slot-in .icon { width: 30px; height: 30px; color: #5a5a5a; }
.sx-slot-in p { font-size: 14px; }
.sx-slot-916 { aspect-ratio: 9 / 16; }
.sx-slot-169 { aspect-ratio: 16 / 9; width: min(860px, 100%); margin: 0 auto; }
.sx-slot video, .sx-slot img, .sx-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; z-index: 2; }
.sx-slot-play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); transition: transform .35s var(--spring), background .25s; }
.sx-slot-play:hover { transform: scale(1.08); background: var(--accent); color: #1a0900; }
.sx-slot-play .icon { width: 26px; height: 26px; color: inherit; }
/* add ?slots to the URL to see what goes in each media slot */
.show-slots .sx-slot { box-shadow: inset 0 0 0 2px var(--accent); }
.show-slots .sx-slot[data-idea]::after { content: none; }
.sx-slot-note { position: absolute; z-index: 5; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 12px; text-align: left; background: rgba(0,0,0,.82); color: #f2f2f2; font-size: 12px; line-height: 17px; }
.sx-slot-note b { display: block; color: var(--accent-2); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------------- FOLDERS + FINDER WINDOW ---------------- */
.sx-finder-wrap { position: relative; }
.sx-folders { --cols: 6; --gx: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px var(--gx); max-width: 860px; margin: 0 auto; }
.sx-folders > .sx-folder { width: calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); }
.sx-folder {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 4px 8px; border-radius: 16px;
  text-align: center; transition: background .25s; --lift: 0px;
}
.sx-folder:hover, .sx-folder.is-open { background: rgba(255,255,255,.035); }
.sx-folder:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sx-fold { position: relative; width: 92px; height: 74px; perspective: 400px; }
.sx-fold .back, .sx-fold .front, .sx-fold .paper { position: absolute; }
.sx-fold .back { inset: 0; }
.sx-fold .back svg { width: 100%; height: 100%; }
.sx-fold .paper { left: 10%; right: 10%; top: 14px; height: 46px; border-radius: 4px; background: linear-gradient(180deg, #f3ece4, #cfc6bb); transition: transform .45s var(--spring); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.sx-fold .paper.p2 { left: 14%; right: 6%; top: 12px; background: linear-gradient(180deg, #ffd3a1, #f6a04e); transition-delay: .04s; }
.sx-fold .paper::before { content: ""; position: absolute; left: 8px; right: 10px; top: 8px; height: 10px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 2px, transparent 2px 4px); clip-path: polygon(0 50%, 10% 20%, 20% 70%, 30% 0, 40% 90%, 50% 30%, 60% 60%, 70% 10%, 80% 80%, 90% 40%, 100% 50%, 100% 60%, 0 60%); }
.sx-fold .front {
  left: 0; right: 0; bottom: 0; height: 78%; border-radius: 7px 7px 9px 9px; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #3a3330 0%, #262120 60%, #1d1918 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -10px 20px rgba(0,0,0,.25), 0 10px 20px rgba(0,0,0,.4);
  display: grid; place-items: center; transition: transform .45s var(--spring), background .3s;
}
.sx-fold .front svg { width: 26px; height: 26px; color: #7a6c63; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 0 rgba(255,255,255,.08)); transition: color .3s; }
.sx-folder:hover .paper, .sx-folder.is-open .paper { transform: translateY(-12px) rotate(-3deg); }
.sx-folder:hover .paper.p2, .sx-folder.is-open .paper.p2 { transform: translateY(-8px) rotate(4deg); }
.sx-folder:hover .front, .sx-folder.is-open .front { transform: rotateX(-24deg); background: linear-gradient(180deg, #ff9b46 0%, #f6821f 55%, #d9600f 100%); }
.sx-folder:hover .front svg, .sx-folder.is-open .front svg { color: #3b1700; }
.sx-f-name { font-size: 12.5px; font-weight: 500; color: #d6d6d6; line-height: 1.2; }
.sx-f-meta { font-family: var(--mono); font-size: 10px; color: var(--dim); margin-top: -6px; }
.sx-f-badge { position: absolute; top: 4px; right: 12%; z-index: 2; min-width: 22px; height: 18px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; background: #0c0c0c; color: var(--accent-2); box-shadow: inset 0 0 0 1px #333; }

.sx-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: sx-fade .25s var(--ease); }
@keyframes sx-fade { from { opacity: 0; } }
.sx-win {
  position: fixed; z-index: 91; left: 50%; top: 50%; translate: -50% -50%;
  width: min(480px, calc(100vw - 32px)); max-height: min(620px, calc(100dvh - 48px));
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: rgba(28,28,28,.94); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.7), 0 0 80px -10px rgba(246,130,31,.3);
  animation: sx-pop .35s var(--spring);
}
.sx-win > * { flex: none; }
@keyframes sx-pop { from { opacity: 0; transform: scale(.92) translateY(12px); } }
.sx-win-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: linear-gradient(180deg, #2f2f2f, #262626); border-bottom: 1px solid #1a1a1a; }
.sx-lights { display: flex; gap: 7px; }
.sx-lights > * { width: 12px; height: 12px; border-radius: 50%; display: block; }
.sx-lights .l-r { position: relative; }
.sx-lights .l-r::before { content: ""; position: absolute; inset: -10px; } /* bigger tap target */
.sx-lights .l-r:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sx-lights .l-r { background: #ff5f57; } .sx-lights .l-y { background: #febc2e; } .sx-lights .l-g { background: #28c840; }
.sx-win-title { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; color: #e8e8e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-win-count { font-family: var(--mono); font-size: 10.5px; color: var(--accent-2); }
.sx-win-path { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; font-family: var(--mono); font-size: 10.5px; color: #9a9a9a; background: #1f1f1f; border-bottom: 1px solid #191919; white-space: nowrap; overflow: hidden; }
.sx-win-path .icon-sm { width: 13px; height: 13px; color: var(--accent); }
.sx-win-head { display: flex; justify-content: space-between; padding: 6px 14px; font-size: 10.5px; font-weight: 600; color: #8a8a8a; border-bottom: 1px solid #222; }
.sx-win > .sx-win-list { flex: 1 1 auto; min-height: 0; }
.sx-win-list { list-style: none; margin: 0; padding: 4px 6px; overflow-y: auto; overscroll-behavior: contain; }
.sx-win-list li { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 8px; border-radius: 6px; font-family: var(--mono); font-size: 11px; color: #d4d4d4; white-space: nowrap; animation: sx-row .4s var(--ease) both; animation-delay: calc(var(--r) * 18ms); }
.sx-win-list li:nth-child(odd) { background: rgba(255,255,255,.035); }
.sx-win-list li:hover { background: rgba(246,130,31,.18); color: #fff; }
@keyframes sx-row { from { opacity: 0; transform: translateX(-6px); } }
.sx-win-list .fi { width: 14px; height: 16px; flex: none; border-radius: 2px; background: linear-gradient(180deg, #4a4a4a, #333); position: relative; }
.sx-win-list .fi::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 5px; background: repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 2px); }
.sx-win-list .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.sx-win-list .ln { color: #777; font-size: 10.5px; }
.sx-win-tip { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 12px 14px; font-size: 12px; line-height: 17px; color: #bdbdbd; background: #1c1c1c; border-top: 1px solid #262626; }
.sx-win-tip b { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); padding-top: 2px; }
.sx-folder-hint { margin-top: 22px; text-align: center; color: var(--dim); font-size: 13px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }


/* ---------------- BENTO: what you get ---------------- */
.sx-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 56px; }
.sx-b {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 20px; min-height: 196px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(246,130,31,.07), transparent 55%), linear-gradient(180deg, rgba(24,24,24,.92), rgba(15,15,15,.92));
  box-shadow: inset 0 0 0 1px #222, inset 0 1px 0 rgba(255,255,255,.04);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.sx-b::after { /* top highlight line */
  content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(246,130,31,.55), transparent); opacity: .5; transition: opacity .35s;
}
.sx-b:hover { box-shadow: inset 0 0 0 1px rgba(246,130,31,.35), 0 24px 50px -30px rgba(246,130,31,.45); transform: translateY(-2px); }
.sx-b:hover::after { opacity: 1; }
.sx-b-lib, .sx-b-cat { grid-column: span 2; }
.sx-b-head { display: flex; align-items: center; justify-content: space-between; }
.sx-b-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(246,130,31,.2); }
.sx-b-ico .icon { width: 18px; height: 18px; }
.sx-b-k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #5f5f5f; }
.sx-b h3 { margin-top: auto; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.sx-b p { color: var(--muted); font-size: 13px; line-height: 19px; }

.sx-b-big { display: flex; align-items: flex-end; gap: 14px; margin-top: 14px; }
.sx-b-big b { font-family: var(--display); font-weight: 400; font-size: 76px; line-height: .85; background: linear-gradient(180deg, #fff 10%, #ffd9a8 50%, #f6821f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sx-b-big span { padding-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 18px; }
.sx-b-bars { display: flex; align-items: flex-end; gap: 4px; height: 58px; margin-top: auto; }
.sx-b-bars span { position: relative; flex: 1; cursor: pointer; height: 100%; display: flex; align-items: flex-end; }
.sx-b-bars i { display: block; width: 100%; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #ffb547, #f6821f 60%, rgba(246,130,31,.35)); opacity: .75; transform-origin: bottom; transition: opacity .2s; }
.sx-b-lib.is-in .sx-b-bars i { animation: sx-grow .9s var(--spring) both; animation-delay: calc(var(--i) * 35ms + .2s); }
@keyframes sx-grow { from { transform: scaleY(0); } }
.sx-b-bars span:hover i, .sx-b-bars span.is-on i { opacity: 1; }
.sx-b-bars span.is-on i { box-shadow: 0 0 14px rgba(246,130,31,.6); }
.sx-b-cap { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; font-size: 12.5px; color: #d6d6d6; min-width: 0; }
.sx-b-cap b { font-family: var(--mono); font-weight: 500; font-size: 10px; color: var(--accent); }
.sx-b-cap span { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--dim); white-space: nowrap; }

.sx-spec { margin: 0; display: grid; gap: 6px; }
.sx-spec div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 6px; border-bottom: 1px dashed #2a2a2a; }
.sx-spec div:last-child { border-bottom: 0; padding-bottom: 0; }
.sx-spec dt { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.sx-spec dd { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--accent-2); }

.sx-dl { padding: 10px 12px; border-radius: 12px; background: #0e0e0e; box-shadow: inset 0 0 0 1px #222; }
.sx-dl-row { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 10px; color: #9a9a9a; }
.sx-dl-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-dl-bar { margin-top: 8px; height: 4px; border-radius: 4px; background: #222; overflow: hidden; }
.sx-dl-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: sx-load 2.8s var(--ease) infinite; }
@keyframes sx-load { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }

.sx-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sx-tags li { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; font-size: 11.5px; color: #cfcfcf; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px #2a2a2a; }
.sx-tags li::before { content: ""; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--ok); }

.sx-vers { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.sx-vers li { position: relative; flex: 1; display: flex; align-items: center; font-family: var(--mono); font-size: 10.5px; color: #6a6a6a; }
.sx-vers li::before { content: ""; width: 9px; height: 9px; margin-right: 6px; flex: none; border-radius: 50%; background: #1c1c1c; box-shadow: inset 0 0 0 1.5px #444; }
.sx-vers li.on { color: var(--accent-2); }
.sx-vers li.on::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.sx-vers li:last-child { flex: none; font-size: 14px; color: var(--accent-2); }

.sx-b-cat-in { margin-top: auto; display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: end; }
.sx-b-cat-in h3 { margin-top: 0; }
.sx-b-cat-in p { margin-top: 6px; }
.sx-doc { border-radius: 12px; overflow: hidden; background: #0d0d0d; box-shadow: inset 0 0 0 1px #242424; }
.sx-doc-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #171717; border-bottom: 1px solid #222; }
.sx-doc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #333; }
.sx-doc-bar span { margin-left: 6px; font-family: var(--mono); font-size: 10px; color: #8a8a8a; }
.sx-doc pre { margin: 0; padding: 10px 12px; font-family: var(--mono); font-size: 10.5px; line-height: 17px; color: #bdbdbd; white-space: pre; overflow: hidden; }
.sx-doc pre b { color: var(--accent-2); font-weight: 500; }
.sx-doc pre em { font-style: normal; color: #5f5f5f; }

/* ---------------- STEPS ---------------- */
.sx-steps .step { overflow: hidden; }
.sx-steps .step h3 { margin-top: 18px; }
.sx-step-art { position: relative; height: 92px; margin-top: 14px; border-radius: 12px; background: #0e0e0e; box-shadow: inset 0 0 0 1px #1d1d1d; overflow: hidden; }
/* unzip: folders fan out of the zip */
.sx-step-art.a1 b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 6px 10px; border-radius: 8px; font-family: var(--mono); font-size: 11px; background: #222; color: var(--accent-2); box-shadow: inset 0 0 0 1px #333; z-index: 2; }
.sx-step-art.a1 i { position: absolute; left: 50%; top: 50%; width: 34px; height: 26px; margin: -13px -17px; border-radius: 4px 4px 6px 6px; background: linear-gradient(180deg, #ff9b46, #d9600f); animation: sx-fan 3.2s var(--ease) infinite; }
.sx-step-art.a1 i:nth-child(2) { --x: -70px; animation-delay: .1s; }
.sx-step-art.a1 i:nth-child(1) { --x: 0px; --y: -2px; }
.sx-step-art.a1 i:nth-child(3) { --x: 70px; animation-delay: .2s; }
.sx-step-art.a1 i:nth-child(1) { --x: 0px; }
@keyframes sx-fan { 0%, 15% { transform: translate(0,0) scale(.6); opacity: 0; } 45%, 85% { transform: translate(var(--x), 0) scale(1); opacity: 1; } 100% { transform: translate(var(--x), 0) scale(1); opacity: 0; } }
.sx-step-art.a1 i:nth-child(1) { animation-name: sx-fan-up; }
@keyframes sx-fan-up { 0%, 15% { transform: translateY(0) scale(.6); opacity: 0; } 45%, 85% { transform: translateY(-26px) scale(1); opacity: 1; } 100% { opacity: 0; } }
/* drag: a wav block drops onto a track */
.sx-step-art.a2 .trk { position: absolute; left: 12px; right: 12px; height: 18px; border-radius: 5px; background: #191919; box-shadow: inset 0 0 0 1px #242424; }
.sx-step-art.a2 .trk:nth-child(1) { top: 22px; background: linear-gradient(90deg, #2a3a55 0 48%, transparent 48% 50%, #3d2a55 50%); }
.sx-step-art.a2 .trk:nth-child(2) { top: 52px; }
.sx-step-art.a2 .blk { position: absolute; left: 44%; top: 52px; height: 18px; padding: 0 10px; border-radius: 5px; display: grid; place-items: center; font-family: var(--mono); font-size: 10px; color: #1a0900; background: var(--grad); animation: sx-drop 3.2s var(--spring) infinite; }
@keyframes sx-drop { 0%, 10% { transform: translate(60px, -60px) rotate(6deg); opacity: 0; } 40%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
/* sync: waveform peak lands on the cut */
.sx-step-art.a3 .cut { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.sx-step-art.a3 .wf { position: absolute; left: 0; top: 18px; bottom: 18px; width: 70%; background: repeating-linear-gradient(90deg, #6a6a6a 0 2px, transparent 2px 4px); clip-path: polygon(0 48%, 20% 46%, 40% 40%, 52% 30%, 58% 0, 62% 100%, 66% 22%, 72% 60%, 80% 40%, 90% 46%, 100% 48%, 100% 52%, 90% 54%, 80% 60%, 72% 40%, 66% 78%, 62% 0, 58% 100%, 52% 70%, 40% 60%, 20% 54%, 0 52%); animation: sx-sync 3.2s var(--ease) infinite; }
@keyframes sx-sync { 0%, 10% { transform: translateX(-30%); } 45%, 100% { transform: translateX(-9%); } }

/* ---------------- BONUS + TIMELINE ---------------- */
.sx-bonus { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: linear-gradient(180deg, #151515, #0f0f0f); box-shadow: inset 0 0 0 1px #1f1f1f; }
.sx-bonus-copy .section-title { text-align: left; }
.sx-bonus-copy p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 24px; }
.sx-bonus-copy em { color: #fff; font-family: var(--serif); font-size: 1.15em; }
.sx-bonus-copy code { font-family: var(--mono); font-size: 12px; padding: 2px 6px; border-radius: 6px; background: #1f1f1f; color: var(--accent-2); }
.sx-tl { --head: 0%; position: relative; padding: 14px 14px 16px 48px; border-radius: 16px; background: #0b0b0b; box-shadow: inset 0 0 0 1px #1f1f1f; overflow: hidden; }
.sx-tl-ruler { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; color: #555; margin-bottom: 10px; border-bottom: 1px solid #1e1e1e; padding-bottom: 6px; }
.sx-tl-row { position: relative; display: flex; align-items: center; height: 34px; margin-bottom: 6px; }
.sx-tl-row b { position: absolute; left: -36px; font-family: var(--mono); font-size: 10px; font-weight: 500; color: #666; }
.sx-tl-lane { position: relative; flex: 1; height: 100%; border-radius: 6px; background: #121212; }
.sx-tl-lane .clip { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; padding: 0 8px; display: flex; align-items: center; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.75); }
.c-a { left: 0; width: 50%; background: linear-gradient(90deg, #22324d, #2c4166); }
.c-b { left: 50%; right: 0; background: linear-gradient(90deg, #3c2856, #4d3270); }
.sx-tl-lane .music { position: absolute; inset: 5px 0; border-radius: 5px; background: repeating-linear-gradient(90deg, #2e6b4f 0 2px, transparent 2px 4px); opacity: .7; clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%, 0 40%, 10% 20%, 20% 70%, 30% 25%, 40% 65%, 50% 30%, 60% 70%, 70% 20%, 80% 75%, 90% 30%, 100% 40%, 100% 60%, 90% 70%, 80% 25%, 70% 80%, 60% 30%, 50% 70%, 40% 35%, 30% 75%, 20% 30%, 10% 80%, 0 60%); }
.sfx { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; padding: 0 7px; display: flex; align-items: center; font-family: var(--mono); font-size: 9.5px; color: #1a0900; background: linear-gradient(90deg, #ffb547, #f6821f); opacity: .35; transition: opacity .2s, box-shadow .2s, transform .3s var(--spring); }
.sfx.is-hot { opacity: 1; box-shadow: 0 0 18px rgba(246,130,31,.8); transform: scaleY(1.12); }
.s-riser { left: 22%; width: 27%; background: linear-gradient(90deg, rgba(255,181,71,.25), #f6821f); }
.s-whoosh { left: 46%; width: 9%; justify-content: center; }
.s-hit { left: 50.5%; width: 9%; justify-content: center; background: linear-gradient(90deg, #ff5e1a, #f04a12); color: #fff; }
.s-ui { left: 72%; width: 7%; justify-content: center; background: #ffd9a8; }
.sx-tl-cut { position: absolute; top: 34px; bottom: 10px; left: calc(48px + (100% - 62px) * .5); width: 2px; background: #fff; opacity: .8; }
.sx-tl-cut span { position: absolute; top: -2px; left: 6px; font-family: var(--mono); font-size: 9px; color: #fff; letter-spacing: .1em; }
.sx-tl-head { position: absolute; top: 26px; bottom: 6px; left: calc(48px + (100% - 62px) * var(--head)); width: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.sx-tl-head::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: var(--accent); }

/* ---------------- FIT ---------------- */
.sx-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sx-fit-col { padding: 26px; border-radius: 20px; background: linear-gradient(180deg, #161616, #111); box-shadow: inset 0 0 0 1px #1f1f1f; }
.sx-fit-col.yes { box-shadow: inset 0 0 0 1px rgba(246,130,31,.3); background: radial-gradient(90% 70% at 0% 0%, rgba(246,130,31,.1), transparent 60%), linear-gradient(180deg, #161616, #111); }
.sx-fit-col h3 { font-size: 18px; }
.sx-fit-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.sx-fit-col li { position: relative; padding-left: 32px; color: #cfcfcf; line-height: 22px; }
.sx-fit-col li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.sx-fit-col.yes li::before { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6821f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.sx-fit-col.no li { color: var(--muted); }
.sx-fit-col.no li::before { background-color: #1f1f1f; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }

/* ---------------- FINAL ---------------- */
.sx-final { position: relative; overflow: hidden; }
.sx-final > *:not(.sx-final-wave) { position: relative; z-index: 1; }
.sx-final-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(246,130,31,.5) 0 2px, transparent 2px 7px);
  -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent);
  clip-path: polygon(0 100%, 0 70%, 5% 60%, 10% 80%, 15% 40%, 20% 70%, 25% 30%, 30% 60%, 35% 20%, 40% 55%, 45% 10%, 50% 45%, 55% 15%, 60% 50%, 65% 25%, 70% 65%, 75% 35%, 80% 70%, 85% 45%, 90% 75%, 95% 60%, 100% 70%, 100% 100%);
  animation: sx-scroll 4s linear infinite;
}
.sx .buybar .price span { font-weight: 600; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  /* one column: kicker, name, headline, then the CD, then copy and buy box */
  .sx-hero { display: flex; flex-direction: column; text-align: center; padding-top: 36px; min-height: 0; gap: 0; }
  .sx-hero-copy { display: contents; }
  .sx-kicker { order: 1; }
  .sx-title-sm { order: 2; }
  .sx-title { order: 3; }
  .sx-deck-wrap { order: 4; margin: 44px 0 14px; }
  .sx-sub { order: 5; }
  .sx-buy { order: 6; }
  .sx-sub { margin-left: auto; margin-right: auto; }
  .sx-kicker, .sx-title-sm, .sx-price-row, .sx-buy-btns, .sx-note { justify-content: center; }
  .sx-folders { --cols: 4; }
  .sx-bento { grid-template-columns: repeat(2, 1fr); }
  .sx-bonus { grid-template-columns: 1fr; }
  .sx-chip.c1 { left: -4%; } .sx-chip.c2 { right: -4%; }
}
@media (max-width: 640px) {
  .sx-note { gap: 6px 14px; }
  .sx-note span + span::before { content: none; }
  .sx-stats { margin-top: 28px; border-radius: 16px; }
  .sx-stat { padding: 16px 4px; }
  .sx-stat b { font-size: 24px; }
  .sx-stat span { font-size: 9px; letter-spacing: .06em; }
  .sx-deck { width: min(300px, 72vw); }
  .sx-disc { transform: translateX(14%); }
  .sx-deck { translate: -9% 0; } /* smaller overhang here: ~118% */
  .sx-player { padding: 12px 14px 14px; gap: 10px; }
  .sx-p-name { font-size: 14px; }
  .sx-p-wave { height: 34px; }
  .sx-bento { grid-template-columns: 1fr; margin-top: 44px; }
  .sx-b-lib, .sx-b-cat { grid-column: auto; }
  .sx-b { min-height: 0; padding: 18px; }
  .sx-b h3 { margin-top: 10px; }
  .sx-b-big b { font-size: 64px; }
  .sx-b-bars { margin-top: 18px; height: 48px; gap: 3px; }
  .sx-b-cat-in { grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
  .sx-folders { --cols: 3; --gx: 6px; row-gap: 16px; }
  .sx-fold { width: 78px; height: 63px; }
  .sx-fit { grid-template-columns: 1fr; }
  .sx-chip { font-size: 9.5px; height: 26px; }
  .sx-chip.c1 { top: -7%; left: -2%; } .sx-chip.c2, .sx-chip.c3 { display: none; }
  .sx-case-top span:last-child { visibility: hidden; }
  .sx-330 { font-size: 76px; } .sx-sfx { font-size: 42px; } .sx-case-hand { top: 40%; }
  .sx-case { padding: 16px; } .sx-case-hand { right: 14px; font-size: 18px; } .sx-play { width: 44px; height: 44px; top: 12px; right: 12px; } .sx-play svg { width: 20px; height: 20px; }
  .sx-buy-btns .btn { flex: 1 1 100%; }
  .sx-win-list li { height: 30px; }
  .sx-ticker span { font-size: 18px; }
  .sx-tl { padding-left: 40px; }
  .sx-tl-row b { left: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx *, .sx *::before, .sx *::after { animation: none !important; }
  [data-sx-in] { opacity: 1; transform: none; filter: none; }
}

/* timeline legend */
.sx-tl-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 11.5px; color: #9a9a9a; }
.sx-tl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sx-tl-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.sx-tl-legend em { font-family: var(--serif); font-size: 1.15em; color: #fff; }
.k-riser::before { background: linear-gradient(90deg, rgba(255,181,71,.3), #f6821f); }
.k-whoosh::before { background: linear-gradient(90deg, #ffb547, #f6821f); }
.k-hit::before { background: #ff5e1a; }
.k-ui::before { background: #ffd9a8; }
.s-whoosh { left: 44.5%; width: 5.5%; }
.s-hit { left: 50.6%; width: 8%; }
.s-ui { left: 72%; width: 5%; }
.sx-tl-cut { bottom: auto; height: 124px; }
.sx-tl-head { bottom: auto; height: 132px; }
