<!doctype html>
<html lang="<%= typeof locale !== 'undefined' ? locale : 'es' %>">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="<%= typeof metaDescription !== 'undefined' ? metaDescription : 'TopStats analyse les matchs de football, les cotes et les risques pour aider à comprendre avant de jouer.' %>">
  <meta name="theme-color" content="#0b0d10">
  <meta name="mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
  <meta name="apple-mobile-web-app-title" content="TopStats">
  <title><%= title ? `${title} | TopStats` : 'TopStats' %></title>
  <link rel="manifest" href="/manifest.webmanifest?v=<%= assetVersion || '1' %>">
  <link rel="icon" type="image/png" href="/assets/topstats-icon-512.png?v=<%= assetVersion || '1' %>">
  <link rel="apple-touch-icon" href="/assets/apple-touch-icon.png?v=<%= assetVersion || '1' %>">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Caveat:wght@600&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="/css/styles.css?v=<%= assetVersion || '1' %>-matches-light16">
  <link rel="stylesheet" href="/css/mobile-zonestat-fine.css?v=<%= assetVersion || '1' %>-history-status706">
  <link rel="stylesheet" href="/css/app-final-polish.css?v=<%= assetVersion || '1' %>-matches-direct-dark-nav701">
  <link rel="stylesheet" href="/css/footer-chat-fixes.css?v=<%= assetVersion || '1' %>-pro-code-footer711">
  <link rel="stylesheet" href="/css/analysis-zonestat-detail.css?v=<%= assetVersion || '1' %>-zonestat-prematch728">
  <link rel="stylesheet" href="/css/desktop-matches.css?v=<%= assetVersion || '1' %>-desktop-search-border718">
  <link rel="stylesheet" href="/css/i18n.css?v=<%= assetVersion || '1' %>-lang1">
  <link rel="stylesheet" href="/css/zonestat-tools.css?v=<%= assetVersion || '1' %>-zs-tools16">
  <link rel="stylesheet" href="/css/matches-light-lock.css?v=<%= assetVersion || '1' %>-matchs-light-lock1">
</head>
<body class="<%= [typeof bodyClass !== 'undefined' ? bodyClass : '', streamerMode ? 'streamer-mode' : ''].filter(Boolean).join(' ') %>" data-locale="<%= typeof locale !== 'undefined' ? locale : 'es' %>">
  <% if (flash) { %>
    <div class="flash flash-<%= flash.type %>" role="status"><%= flash.message %></div>
  <% } %>
