<?php
/*
 * Shared PWA <head> tags — include this INSIDE <head> on EVERY page.
 * Makes the page launch and navigate in standalone mode, so iOS does NOT
 * show the in-app Safari chrome (the X, the "7d-lao.com" bar, the bottom toolbar).
 *
 * Optional — set any of these BEFORE the include to override the defaults:
 *   $pwaTheme     = '#0f766e';            // theme / status-bar colour for this page
 *   $pwaStatusBar = 'default';            // default | black | black-translucent
 *   $pwaTitle     = 'Seven Digital';      // home-screen app title
 */
$pwaTheme     = $pwaTheme     ?? '#b91c1c';
$pwaStatusBar = $pwaStatusBar ?? 'default';
$pwaTitle     = $pwaTitle     ?? 'Seven Digital';
?>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=no">
<link rel="manifest" href="/seven-credit-system/manifest.json">
<link rel="apple-touch-icon" href="/seven-credit-system/assets/7.png?v=2">
<meta name="theme-color" content="<?= htmlspecialchars($pwaTheme) ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="<?= htmlspecialchars($pwaStatusBar) ?>">
<meta name="apple-mobile-web-app-title" content="<?= htmlspecialchars($pwaTitle) ?>">