/* In-feed phone mock (static ad + carousel) · one shared shell */
.sa { position: relative; overflow: hidden; padding: clamp(46px, 7vh, 84px) 0 clamp(56px, 8vh, 96px); text-align: center; }
.sa__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 50% 55%, rgba(23, 128, 131, 0.12), transparent 70%); }
.sa__intro { position: relative; margin-bottom: 36px; }
.sa__title { font-size: clamp(32px, 4vw, 46px); }
.stage { position: relative; display: grid; place-items: center; }
.stage::after { content: ""; position: absolute; bottom: -18px; left: 50%; width: 420px; max-width: 80%; height: 60px; transform: translateX(-50%); border-radius: 50%; background: rgba(30, 30, 30, 0.35); filter: blur(24px); z-index: 0; }
.phone-wrap { position: relative; z-index: 1; }
.iphone { --w: 392px; --r: 62px; position: relative; width: var(--w); aspect-ratio: 392 / 846; border-radius: var(--r); padding: 11px;
  background: linear-gradient(148deg, #6f6a63, #100e0c 30%, #7b756c 52%, #100e0c 74%, #6f6a63);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), inset 0 0 0 2px rgba(0, 0, 0, 0.6), 0 60px 120px -30px rgba(0, 0, 0, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.iphone::before { content: ""; position: absolute; inset: 8px; border-radius: calc(var(--r) - 8px); background: #000; }
.iphone::after { content: ""; position: absolute; inset: 11px; border-radius: calc(var(--r) - 11px); z-index: 6; pointer-events: none; background: linear-gradient(128deg, rgba(255, 255, 255, 0.10), transparent 32%); }
.btn-side { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5a554f, #1a1816); }
.btn-side.mute { left: -3px; top: 132px; height: 30px; } .btn-side.vu { left: -3px; top: 186px; height: 58px; } .btn-side.vd { left: -3px; top: 258px; height: 58px; } .btn-side.pw { right: -3px; top: 208px; height: 92px; }
.screen { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; border-radius: calc(var(--r) - 11px); overflow: hidden; background: #fff; color: #000; text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.status { position: relative; flex: none; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 36px; font-size: 16px; font-weight: 600; }
.island { position: absolute; left: 50%; top: 11px; width: 116px; height: 33px; margin-left: -58px; border-radius: 20px; background: #000; }
.island::after { content: ""; position: absolute; right: 22px; top: 11px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #05070c); }
.status .icons { display: flex; gap: 6px; align-items: center; }
.status svg { height: 12px; width: auto; }
.ig-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 2px 14px 8px; }
.ig-logo { font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; font-size: 30px; line-height: 1; font-weight: 600; }
.ig-top .ic { display: flex; gap: 18px; }
.ig-top .ic span { position: relative; }
.ig-badge { position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #ff3040; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.feed { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.avatar-ring { width: 36px; height: 36px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); flex: none; }
.avatar-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; object-position: 50% 25%; }
.who { flex: 1; line-height: 1.2; }
.who b { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.who b svg { width: 13px; height: 13px; }
.who small { display: block; font-size: 12px; color: #737373; }
.post-media { position: relative; display: block; aspect-ratio: 4 / 5; background: #f2f2f2; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #fafafa; border-bottom: 0.5px solid #dbdbdb; font-size: 14px; font-weight: 600; color: #000; }
.cta-strip svg { width: 14px; height: 14px; }
.actions { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px 6px; }
.actions svg { width: 25px; height: 25px; fill: none; stroke: #000; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.actions .spacer { flex: 1; }
.likes { padding: 0 14px; font-size: 14px; font-weight: 600; }
.caption { padding: 4px 14px 0; font-size: 14px; line-height: 1.35; }
.caption b { font-weight: 600; }
.caption i { font-style: normal; color: #737373; }
.comments, .stamp { padding: 4px 14px 0; font-size: 14px; color: #737373; }
.stamp { font-size: 11px; padding-bottom: 14px; }
.tabbar { flex: none; display: flex; justify-content: space-around; align-items: center; height: 50px; border-top: 0.5px solid #dbdbdb; }
.tabbar svg { width: 25px; height: 25px; fill: none; stroke: #000; stroke-width: 1.85; }
.tabbar .me { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; border: 1px solid #000; }
.tabbar .me img { width: 100%; height: 100%; object-fit: cover; }
.homebar { flex: none; height: 22px; display: grid; place-items: center; }
.homebar i { width: 138px; height: 5px; border-radius: 3px; background: #000; }

/* callout */
.callout { position: absolute; left: 100%; top: 58%; width: 250px; padding-left: 10px; text-align: left; pointer-events: none; }
.callout svg { width: 120px; height: 90px; overflow: visible; }
.callout .ln { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.callout .ar { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; opacity: 0; }
.rv.in .callout .ln, .callout.in .ln { animation: draw 0.9s var(--ease) 0.35s forwards; }
.rv.in .callout .ar, .callout.in .ar { animation: fadeIn 0.3s ease 1.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.bubble { position: relative; display: inline-block; white-space: nowrap; margin: 6px 0 0 40px; padding: 12px 20px; border-radius: 16px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; font-family: var(--display); font-style: italic; font-size: 22px; transform: rotate(-3deg); box-shadow: 0 16px 30px -14px rgba(15, 95, 97, 0.7); }
.hint { margin-top: 30px; font-size: 16px; color: var(--soft); }
.phone-wrap:has(#cprev:not([disabled])) .callout { opacity: 0; transition: opacity 0.3s; }

/* carousel inside the phone */
.cstage { position: relative; aspect-ratio: 1080 / 1350; overflow: hidden; touch-action: pan-y; cursor: grab; }
.ctrack { display: flex; height: 100%; transition: transform 0.45s var(--ease); will-change: transform; }
.cslide { flex: 0 0 100%; height: 100%; }
.cslide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.cnav { position: absolute; top: 50%; z-index: 3; width: 26px; height: 26px; margin-top: -13px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.82); display: grid; place-items: center; cursor: pointer; transition: opacity 0.2s; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.cnav svg { width: 12px; height: 12px; fill: none; stroke: #262626; stroke-width: 2.6; }
#cprev { left: 8px; } #cnext { right: 8px; }
.cnav[disabled] { opacity: 0; pointer-events: none; }
.ig-count { position: absolute; top: 12px; right: 12px; z-index: 3; padding: 3px 9px; border-radius: 12px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 12px; font-weight: 600; }
.cdots { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; }
.cdots i { width: 6px; height: 6px; border-radius: 50%; background: #c7c7c7; transition: background 0.2s; }
.cdots i.on { background: #0095f6; }

@media (max-width: 980px) {
  .callout { position: static; width: auto; margin: 26px auto 0; text-align: center; padding: 0; }
  .callout svg { display: none; }
  .bubble { margin: 0; }
  .bubble::before { content: ""; position: absolute; left: 50%; top: -9px; margin-left: -9px; border: 9px solid transparent; border-top: 0; border-bottom-color: var(--teal); }
}
@media (max-width: 460px) { .iphone { --w: 320px; --r: 50px; } .ig-logo { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .callout .ln { stroke-dashoffset: 0; animation: none !important; } .callout .ar { opacity: 1; animation: none !important; } .ctrack { transition: none; } }
