// ============================================================
// Mobile app v2 — orchestrator, nav, data
// Loads LAST — after all screen files
// ============================================================
const SEED_POSTS_V2 = [
{ id: 1, title: "The Last Loom Master of Kanchipuram", date: "7 May 2026", views: "8.3k",
cat: "Cultural Wealth", status: "APPROVED", location: "Kanchipuram, TN", hasMedia: true,
body: "At 74, Ramanathan still throws the shuttle twelve hours a day, weaving the temple-border technique his family has kept for eleven generations." },
{ id: 2, title: "Water shortage: Mettupalayam residents protest", date: "20 May 2026", views: "6.1k",
cat: "Water", status: "UNDER REVIEW", location: "Mettupalayam, TN", hasMedia: true,
body: "Three wards have relied on tanker deliveries since March. Residents blocked the bypass road for four hours demanding restored piped supply." },
{ id: 3, title: "How a Small Library in Coimbatore Rewrote Its Community", date: "9 May 2026", views: "2.4k",
cat: "Civic Infrastructure", status: "CHANGES REQ.", location: "Coimbatore, TN", hasMedia: false,
note: "Strong piece — please verify the 400-books-a-week figure with a source, and fix the date in the second paragraph before we publish.",
body: "When the municipal library shut in 2021, a group of retired teachers reopened it from a converted garage. Three years on it lends 400 books a week." },
{ id: 4, title: "Night markets after the floods: Velachery finds its feet", date: "2 May 2026", views: "—",
cat: "Civic Infrastructure", status: "DRAFT", location: "Chennai, TN", hasMedia: false,
body: "Vendors describe a slow return of customers to the evening market, six weeks after the water receded." },
{ id: 5, title: "A power grid stretched thin in the Nilgiris", date: "28 Apr 2026", views: "1.2k",
cat: "Power", status: "HELD", location: "Ooty, TN", hasMedia: true,
body: "Outages that once lasted minutes now stretch to hours as tourist-season demand collides with ageing hill-station infrastructure." },
];
const SEED_NOTIFS_V2 = [
{ id: 1, type: "breaking", unread: true, time: "30m ago",
text: "Breaking: Heavy rains disrupt traffic across Chennai — Read now" },
{ id: 2, type: "changes", postId: 3, unread: true, time: "2h ago",
text: "Editor requested changes on How a Small Library in Coimbatore…" },
{ id: 3, type: "message", unread: true, time: "3h ago",
text: "Editor Priya: \"Great work on the Kanchipuram piece. Would you consider a follow-up?\"" },
{ id: 4, type: "deadline", postId: 3, unread: true, time: "5h ago",
text: "Reminder: edits on Coimbatore Library are due by end of day." },
{ id: 5, type: "published", postId: 1, unread: true, time: "1d ago",
text: "The Last Loom Master of Kanchipuram is now live on nambikkai.com" },
{ id: 6, type: "milestone", postId: 1, unread: false, time: "12h ago",
text: "The Last Loom Master… crossed 5,000 reads!" },
{ id: 7, type: "approved", postId: 1, unread: false, time: "1d ago",
text: "Your post The Last Loom Master of Kanchipuram was approved." },
{ id: 8, type: "review", postId: 2, unread: false, time: "2d ago",
text: "Water shortage: Mettupalayam… is now under editorial review." },
{ id: 9, type: "article", unread: false, time: "6h ago",
text: "New on Nambikkai: Salem's Steel Town Reckons With Quiet Furnaces" },
{ id: 10, type: "held", postId: 5, unread: false, time: "4d ago",
text: "A power grid stretched thin… was held pending verification." },
];
// ============================ TOP BAR ============================
function PhoneTopBar({ dark, onToggleDark, unread, onBell }) {
return (