<?php
header('Content-Type: application/json');
include '../concha.php';  include 'concha_extras.php'; // ← trae $nombresitio
echo json_encode([
  "name"            => $nombresitio,
  "short_name"      => mb_substr($nombresitio,0,12),
  "description"     => "Escuchá $nombresitio en cualquier momento",
  "start_url"       => "./index.php",
  "scope"           => "./",
  "display"         => "standalone",
  "background_color"=> "$d_color_titulo",
  "theme_color"     => "$d_color_titulo",
  "icons" => [
    [
      "src"   => "icon-192.png",
      "sizes" => "192x192",
      "type"  => "image/png",
      "purpose"=> "any"
    ],
    [
      "src"   => "icon-512.png",
      "sizes" => "512x512",
      "type"  => "image/png",
      "purpose"=> "any"
    ]
  ]
], JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT);
