Partner embed · HTML lab

Iframe card templates (v2 selected-leg)

Target contract matches admin iframe generator: mode=teaser, size=compact, variant=standard, theme=dark. Two card variants mirror the public feed prototype: Extended (signal grid + optional thesis/payout) and Medium (icon head + Polymarket YES/NO in ¢ + Pick on highlighted side; no analysis band). Presets follow common IAB / in-article slots (300×250 MREC, 336×280, fluid ~600px column), sidebar rails, and mobile rectangles. Horizontal strips (728×90, 320×50) are a poor fit for this vertical card. Lab frames use content height capped at each slot’s max-height (no empty stretch inside the preview). Production iframes stay fixed-height with overflow hidden; density tiers trim blocks to fit. Pick is on the highlighted YES/NO side; payout matches feed cards where mode=analysis.

Embed URL shape (prod): /card/{partner_slug}?mode=teaser&size=compact&variant=standard&theme=dark · pinned: /card/{partner_slug}/{market_id}?… · default iframe height in admin: 400px.

Common iframe sizes (reference): in-article 300×250 (MREC), 336×280 (large rectangle), editorial fluid 600×400 / 550×420; sidebar 300×600 half-page, 160×600 skyscraper; mobile 320×250, 320×480; product default 360×400 (size=compact in card.html).

All iframe presets re-render in the selected variant. Saved in localStorage.