/* Posts › Instagram › CTA Stories (pages/cta-stories.js) — variant C: canvas left, element cards right. */
#page-sm-ig-cta .cta-wrap{display:flex;gap:0;border:1px solid var(--border);background:var(--surface);min-height:calc(100dvh - 140px)}
.cta-stage{width:400px;flex:none;border-right:1px solid var(--border);padding:20px;display:flex;flex-direction:column;align-items:center;gap:10px}
.cta-cards{flex:1;padding:16px;display:flex;flex-direction:column;gap:10px;max-width:760px;overflow:auto}
.cta-cv{position:relative;aspect-ratio:9/16;background:#2a2a2a center/cover no-repeat;overflow:hidden;border-radius:10px;user-select:none;touch-action:none;box-shadow:var(--shadow-lg)}
.cta-cv.skel{width:300px}
.cta-el{position:absolute;cursor:grab;white-space:pre-wrap;width:max-content;max-width:88%;text-align:center;line-height:1.18}
.cta-el.is-pick{outline:1.5px dashed var(--gold);outline-offset:4px}
.cta-rot{position:absolute;left:50%;top:-22px;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--gold);border:2px solid #fff;cursor:grab}
.cta-el .f-classic,.cta-chip.f-classic{font-family:Inter,var(--font-body);font-weight:700}
.cta-el .f-modern,.cta-chip.f-modern{font-family:'Roboto Condensed',var(--font-body)}
.cta-el .f-strong,.cta-chip.f-strong{font-family:Inter,var(--font-body);font-weight:800;font-style:italic}
.cta-el .f-poster,.cta-chip.f-poster{font-family:'DM Serif Display',serif}
.cta-el .f-literature,.cta-chip.f-literature{font-family:Literata,serif}
.cta-el .f-typewriter,.cta-chip.f-typewriter{font-family:'Courier Prime',monospace;font-weight:700}
.cta-el .f-squeeze,.cta-chip.f-squeeze{font-family:Oswald,var(--font-body);font-weight:500}
.cta-txt{padding:.12em .32em;border-radius:.22em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cta-txt.b-none{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.45)}
.cta-txt.b-dark{background:#000;color:#fff}
.cta-txt.b-light{background:#fff;color:#000}
.cta-pill,.cta-link{background:#fff;color:#111;border-radius:.5em;padding:.32em .6em;font-family:Inter,var(--font-body);font-weight:600;display:inline-flex;align-items:center;gap:.25em}
.cta-pill .at{color:#f77737;font-weight:700}
.cta-pill.l-clear{background:rgba(60,60,60,.55);color:#fff}.cta-pill.l-clear .at{color:#fff}
.cta-pill.l-rainbow .h{background:linear-gradient(90deg,#e1306c,#f77737,#fcaf45,#5ac85a,#3b82f6,#8b5cf6);-webkit-background-clip:text;background-clip:text;color:transparent}
.cta-pill.l-caps,.cta-pill.l-capsorange{font-family:Oswald,var(--font-body);font-weight:500;text-transform:uppercase}
.cta-pill.l-capsorange{color:#f77737}
.cta-link{font-weight:500;gap:.3em}
.cta-link svg{width:1em;height:1em;color:#3897f0}
.cta-arrow svg{display:block}
.cta-card{border:1px solid var(--border);background:var(--surface)}
.cta-card.is-on{border-color:var(--gold)}
.cta-card-h{display:flex;align-items:center;gap:8px;height:42px;padding:0 6px 0 12px;cursor:pointer}
.cta-card-h .n{flex:1;font-weight:500}
.cta-deg{font-size:12px;color:var(--text-2);min-width:30px;text-align:right}
.cta-flip svg{transform:scaleX(-1)}
.cta-card-b{padding:0 12px 12px;display:flex;flex-direction:column;gap:10px}
.cta-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.cta-chip{height:32px;padding:0 10px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:var(--radius);cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap}
.cta-chip.is-on{background:var(--gold);border-color:var(--gold);color:#111}
.cta-chip-arrow{background:#6b6b6b}
.cta-sw{width:26px;height:26px;border-radius:50%;border:2px solid var(--surface);box-shadow:0 0 0 1px var(--border);cursor:pointer;padding:0}
.cta-sw.is-on{box-shadow:0 0 0 2px var(--gold)}
.cta-inp{width:100%;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:var(--radius);padding:7px 9px;font:inherit;font-size:16px;resize:vertical}
.cta-add{display:flex;gap:6px}
.cta-ib{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:var(--radius);cursor:pointer;padding:0;flex:none}
.cta-ib:hover{background:var(--hover)}
.cta-run{display:flex;align-items:center;gap:8px;font-size:13px}
.cta-run.is-failed{color:var(--red)}
.cta-frames{display:flex;gap:6px}
.cta-frames img{width:64px;aspect-ratio:9/16;object-fit:cover;border:1px solid var(--border);cursor:zoom-in}

/* phone pass */
@media (max-width:820px){
  #page-sm-ig-cta .cta-wrap{flex-direction:column;border-left:0;border-right:0}
  .cta-stage{width:auto;border-right:0;border-bottom:1px solid var(--border);padding:12px}
  .cta-cards{padding:12px}
  .cta-chip{height:40px}
  .cta-card-h{height:48px}
  .cta-ib{width:44px;height:44px}
}
