/* PeptideKit — CSS iPhone frame component with rich screen content */ const { useState: usePF } = React; function IPhoneFrame({ children, tilt = 0, glow = 'cyan', width = 300, scale = 1, className = '' }) { const w = width; const h = w * 2.06; const glowColor = glow === 'violet' ? 'radial-gradient(50% 45% at 50% 70%, rgba(139,92,246,0.55) 0%, rgba(0,217,255,0.20) 40%, transparent 75%)' : 'radial-gradient(50% 45% at 50% 70%, rgba(0,217,255,0.50) 0%, rgba(59,130,246,0.30) 40%, transparent 75%)'; return (
{/* notch */}
{/* screen */}
{/* status bar */}
9:12
{children}
); } function SignalBars() { return ( ); } function WifiIcon() { return ( ); } function BatteryIcon() { return ( ); } /* ---------- TODAY screen ---------- */ function TodayScreen() { return (
WEDNESDAY · APRIL 22
Today
✦ Ask Kit
{/* Next dose card */}
↑ NEXT DOSE
1.60 mg
Retatrutide
⏱ next in 2d 13h
TIMELINE
{/* tab bar */}
); } function TimelineRow({ time, title, sub, iconColor }) { return (
{time}
{title}
{sub}
); } function TabIcon({ label, active }) { return (
{label === 'Home' && '⌂'} {label === 'Stack' && '⚗'} {label === 'Kit' && '✦'} {label === 'Insights' && '▦'}
{label}
); } /* ---------- KIT chat screen ---------- */ function KitScreen() { return (
Kit
On-device · your stack
+
When did I last take BPC-157?
✦ KIT
Your last BPC-157 dose was 3 days ago — Saturday at 8:14 PM, 250 mcg subcutaneous. Based on your 4-week cycle, you have 1 dose remaining before your scheduled break.
What's my weight trend this month?
✦ KIT
You're down 4.6 lb this month (211.4 → 206.8). Your weekly average is trending down 1.1 lb/week.
✦ Reconstitution math 📷 BAC water?
📷 Ask about your stack…
); } function KitBubble({ side, agent, children }) { const isLeft = side === 'left'; return (
{children}
); } function SuggChip({ children }) { return (
{children}
); } /* ---------- COACH (live AI avatar) screen ---------- */ function CoachScreen() { return (
Coach
● Live · Pro
PRO
{/* Avatar video stage */}
{/* Avatar — live video frame */} Coach AI avatar {/* Subtle violet glow rim */}
{/* REC dot */}
LIVE
{/* listening indicator */}
Listening
{/* waveform */}
{[6, 11, 8, 13, 5, 9, 12, 7].map((h, i) => (
))}
Coach: "Most retatrutide protocols titrate every 4 weeks. Want me to walk through the side-effect timeline for your current step?"
{/* controls */}
🎤 End 💬
); } function CoachBtn({ children, primary }) { return (
{children}
); } Object.assign(window, { IPhoneFrame, TodayScreen, KitScreen, CoachScreen });