{
  "_comment": "Web App Manifest — Defines how the PWA appears when installed on a device. See: https://developer.mozilla.org/en-US/docs/Web/Manifest",

  "name": "PuzzleAI — Puzzle Analyzer",
  "short_name": "PuzzleAI",
  "description": "Find your puzzle piece instantly using AI-powered ORB feature matching.",

  "start_url": "/",
  "scope": "/",

  "display": "standalone",
  "orientation": "portrait-primary",

  "background_color": "#0f0f1a",
  "theme_color": "#0f0f1a",

  "lang": "en-US",
  "dir": "ltr",

  "categories": ["utilities", "photo"],

  "icons": [
    {
      "src": "/icons/icon-72.png",
      "sizes": "72x72",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-96.png",
      "sizes": "96x96",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-128.png",
      "sizes": "128x128",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-144.png",
      "sizes": "144x144",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-152.png",
      "sizes": "152x152",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-180.png",
      "sizes": "180x180",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-192.png",
      "sizes": "192x192",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "/icons/icon-512.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "_note": "maskable icons have extra padding so Android's adaptive icon system can crop them safely",
      "src": "/icons/icon-512-maskable.png",
      "sizes": "512x512",
      "type": "image/png",
      "purpose": "maskable"
    }
  ],

  "screenshots": [
    {
      "src": "/screenshots/screen-mobile.png",
      "sizes": "390x844",
      "type": "image/png",
      "form_factor": "narrow",
      "label": "PuzzleAI on mobile"
    },
    {
      "src": "/screenshots/screen-desktop.png",
      "sizes": "1280x800",
      "type": "image/png",
      "form_factor": "wide",
      "label": "PuzzleAI on desktop"
    }
  ],

  "shortcuts": [
    {
      "name": "Analyze a Piece",
      "short_name": "Analyze",
      "description": "Jump straight to the analyzer tool",
      "url": "/?view=analyzer",
      "icons": [{ "src": "/icons/icon-96.png", "sizes": "96x96" }]
    }
  ],

  "prefer_related_applications": false
}
