<!DOCTYPE html>
<html lang="en">
<head>
  {% include "./meta.html" %}

  {% if image_index_css_url %}
    <link rel="stylesheet" href="{{ image_index_css_url }}" />
  {% else %}
  <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: system-ui, sans-serif; background: #0d0d0d; color: #e0e0e0;
           display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem; }
    nav.breadcrumb { font-size: .8rem; color: #888; margin-bottom: 1.5rem; width: 100%; max-width: 960px; }
    nav.breadcrumb a { color: #aaa; text-decoration: none; }
    nav.breadcrumb a:hover { color: #fff; }
    .container { max-width: 960px; width: 100%; }
    h1 { font-size: 1.4rem; margin-bottom: 1rem; color: #f0f0f0; }
    .img-wrap { background: #111; border-radius: 8px; overflow: hidden; margin-bottom: 1.2rem; }
    .img-wrap img { width: 100%; height: auto; display: block; }
    .caption { font-size: .85rem; color: #999; line-height: 1.6; margin-bottom: 1rem; }
    .description { font-size: .82rem; color: #777; line-height: 1.65; margin-bottom: 1.2rem; }
    .tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; }
    .tag { background: #1a1a1a; border: 1px solid #2e2e2e; border-radius: 4px;
           padding: .15rem .45rem; font-size: .7rem; color: #666; }
    .meta-row { font-size: .75rem; color: #555; }
    .meta-row a { color: #7aaeff; text-decoration: none; }
    .meta-row a:hover { text-decoration: underline; }
  </style>
  {% endif %}
</head>
<body>
  {% include "./body.html" %}
</body>
</html>
