.v2 { --nav: 48px; }
.v2 .ins-pin { position: relative; height: calc(12 * 58vh + 100vh - var(--nav)); height: calc(12 * 58svh + 100svh - var(--nav)); }
.v2 .ins-stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); height: calc(100svh - var(--nav)); overflow: hidden;
  background: #000; contain: layout paint; }
.v2 .ins-view { position: absolute; inset: 0; }
.v2 .ins-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v2 .ins-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.v2 .ins-photo img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform, opacity;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.v2 .ins-scrim { position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; pointer-events: none;
  background: radial-gradient(120% 100% at 0% 100%, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,0) 72%); }
.v2 .ins-scrim-top { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,0)); }

.v2 .ins-cap { position: absolute; z-index: 2; left: max(22px, calc((100% - 1320px) / 2)); top: 30%; bottom: 0; width: clamp(320px, 28vw, 440px); pointer-events: none; overflow: hidden;
  --cap-pad: 0px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 44px), transparent calc(100% - 4px)); mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 44px), transparent calc(100% - 4px)); }
.v2 .ins-c { position: absolute; left: 0; right: 0; top: var(--cap-pad); visibility: hidden; will-change: transform; }
.v2 .ins-c:first-child { visibility: visible; }
.v2 .ins-c > * { pointer-events: auto; -webkit-user-select: text; user-select: text; cursor: text; }
.v2 .ins-c h3 { margin: 0; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; color: #f5f5f7; text-wrap: balance; will-change: opacity; }
.v2 .ins-c p { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: #c7c7cc; text-wrap: pretty; will-change: opacity; }
.v2 .ins-c p b { color: #f5f5f7; font-weight: 600; }
.v2 .ins-c b.red { color: #ff6b5e; } .v2 .ins-c b.st-ours { color: #39ab38; }

.v2 .ins-chap { position: absolute; z-index: 3; top: 3px; left: 50%; transform: translateX(-50%); display: flex; gap: 26px; font-size: 13px; font-weight: 600;
  letter-spacing: .01em; white-space: nowrap; pointer-events: none; }
.v2 .ins-chap button { position: relative; flex: none; -webkit-appearance: none; appearance: none; margin: 0; border: 0; background: none; padding: 12px 0;
  font: inherit; letter-spacing: inherit; line-height: 16px; color: #86868b; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent;
  transition: color .15s; }
.v2 .ins-chap button:hover { color: #d2d2d7; }
.v2 .ins-chap button.on { color: #f5f5f7; }
.v2 .ins-chap button:focus-visible { outline: 2px solid #2997ff; outline-offset: 4px; border-radius: 6px; }
.v2 .ins-chap .ins-segs { position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; pointer-events: none; display: flex; gap: 3px; }
.v2 .ins-chap button > i { position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; pointer-events: none; border-radius: 1px; background: rgba(255,255,255,.18); }
.v2 .ins-chap .ins-segs i { flex: 1 1 0; min-width: 0; height: 2px; border-radius: 1px; background: rgba(255,255,255,.18); transition: background-color .2s ease; }
.v2 .ins-chap .ins-segs i.past { background: rgba(255,255,255,.5); }
.v2 .ins-chap .ins-segs i.cur { background: #f5f5f7; }
#st-idea:not(.has-fu) .ins-chap .ins-chap-fu, #st-idea:not(.has-ar) .ins-chap .ins-chap-ar { display: none !important; }

#st-idea.v2 .steps-head { padding-bottom: 8px; }

@media (min-aspect-ratio: 11/10) and (min-width: 901px) {
  .v2 .ins-cap { --cap-pad: 28px; top: calc(var(--cap-y, 34%) - var(--cap-pad)); bottom: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 34px), transparent calc(100% - 2px)); mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 calc(100% - 34px), transparent calc(100% - 2px)); }
  .v2 .ins-scrim { left: 0; top: 0; bottom: 0; width: 64%; height: auto;
    background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.66) 34%, rgba(0,0,0,.28) 68%, rgba(0,0,0,0) 100%); }
}
@media (min-aspect-ratio: 11/10) and (min-width: 1700px) { .v2 .ins-c p { font-size: 19px; } }

@media (min-aspect-ratio: 11/10) and (max-width: 900px) {
  .v2 .ins-view { left: 36%; }
  .v2 .ins-scrim, .v2 .ins-scrim-top { display: none; }
  .v2 .ins-cap { left: 16px; width: calc(36% - 24px); top: 46px; bottom: 0; }
  .v2 .ins-c h3 { font-size: 20px; }
  .v2 .ins-c p { font-size: 14px; line-height: 1.42; margin-top: 8px; }
  .v2 .ins-chap { left: 0; top: 0; width: 36%; transform: none; height: 40px; gap: 18px; padding: 0 16px; box-sizing: border-box; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; pointer-events: auto; overscroll-behavior-x: contain; }
  .v2 .ins-chap::-webkit-scrollbar { display: none; }
  .v2 .ins-chap button { height: 40px; min-width: 40px; padding: 0; font-size: 12.5px; }
  .v2 .ins-chap .ins-segs, .v2 .ins-chap button > i { bottom: 6px; }
}

@media (max-aspect-ratio: 11/10) {
  .v2 .ins-view { top: 40px; bottom: auto; height: calc(60% - 40px); }
  .v2 .ins-scrim, .v2 .ins-scrim-top { display: none; }
  .v2 .ins-cap { left: 16px; right: 16px; width: auto; top: calc(60% + 8px); bottom: 0; }
  .v2 .ins-c h3 { font-size: 24px; line-height: 1.12; letter-spacing: -.025em; }
  .v2 .ins-c p { font-size: 15px; line-height: 1.45; margin-top: 8px; }
  .v2 .ins-chap { top: 0; left: 0; right: 0; transform: none; height: 40px; gap: 22px; padding: 0 16px; box-sizing: border-box; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; pointer-events: auto; overscroll-behavior-x: contain; background: #000; }
  .v2 .ins-chap::-webkit-scrollbar { display: none; }
  .v2 .ins-chap button { height: 40px; min-width: 40px; padding: 0; }
  .v2 .ins-chap .ins-segs, .v2 .ins-chap button > i { bottom: 6px; }
}
@media (max-aspect-ratio: 11/10) and (min-width: 700px) {
  .v2 .ins-view { height: calc(72% - 40px); }
  .v2 .ins-cap { top: calc(72% + 16px); left: 48px; right: 48px; }
  .v2 .ins-c h3 { font-size: 40px; }
  .v2 .ins-c p { font-size: 20px; line-height: 1.45; margin-top: 12px; }
  .v2 .ins-chap { padding: 0 24px; gap: 20px; }
}
@media (max-aspect-ratio: 11/10) and (min-width: 1000px) { .v2 .ins-chap { justify-content: center; } }

.v2 .ins-flow { position: absolute; z-index: 2; display: grid; align-items: start; pointer-events: none;
  mask: linear-gradient(to bottom, transparent, #000 10px, #000 calc(100% - 32px), transparent)
    0 var(--window-top, 0px) / 100% var(--window-height) no-repeat; }
.v2 .ins-flow .ins-c { position: relative; inset: auto; will-change: auto; }
@media (max-width: 900px), (max-aspect-ratio: 11/10) {
  .v2 .ins-flow { mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent); }
}
