/* Instagram-style ad frames (UI mimic only; ad files untouched) */
.ig { position: relative; background: #fff; color: #000; border-radius: 0; display: flex; flex-direction: column; font-family: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.ig > img, .ig > video { flex: none; }
.ig-top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-height: 44px; box-sizing: border-box; }
.ig .ig-av { width: 28px !important; height: 28px !important; max-width: none; aspect-ratio: auto !important; display: block; padding: 0; margin: 0 !important; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); object-fit: cover; background: #fff; }
.ig-meta { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; flex: 1; }
.ig-meta b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-meta small { font-size: 11px; color: inherit; opacity: .7; }
.ig svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig-more svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.ig-cta { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 13px; font-weight: 600; }
.ig-cta svg { width: 16px; height: 16px; stroke-width: 2.2; }
/* story */
.ig-story { background: #000; color: #fff; justify-content: center; }
.ig-story-ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; }
.ig-story-ui .ig-head { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); padding: 8px 10px 18px; }
.ig-bars { display: flex; gap: 3px; margin-bottom: 8px; }
.ig-bars i { flex: 1; height: 2px; background: rgba(255,255,255,.4); }
.ig-bars i:first-child { background: #fff; }
.ig-story-ui .ig-top { padding: 0; min-height: 0; }
.ig-story-ui .ig-av { width: 26px !important; height: 26px !important; box-shadow: 0 0 0 1px rgba(255,255,255,.5); }
@media (max-width: 640px) { .ig-top { min-height: 40px; padding: 6px 8px; } .gb-tiles .ig-story { align-self: stretch; }
.gb-tiles .ig-story > video, .gb-tiles .ig-story > img { margin: auto 0; }
@media (max-width: 640px) { .whh-ads .whh-adrow figure.ig-feed { background: #fff; } }
.ig-organic-top { }
.gb-tiles .ig-feed > img[width="300"] { aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
