<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/x-icon" href="/favicon.ico" />
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
    <meta name="color-scheme" content="light dark" />
    <meta name="description" content="Atlas 是开源聚合搜索入口，覆盖 JAV、动漫、影视、漫画与小说，支持多源聚合、源站看板、收藏与关注通知。" />
    <meta name="keywords" content="Atlas,聚合搜索,多源搜索,JAV搜索,动漫搜索,影视搜索,漫画搜索,小说搜索,资源搜索,磁力链接,开源,atlas.wort.uk" />
    <meta name="author" content="Atlas" />
    <meta name="msvalidate.01" content="4E5C11E36520EDF86D8B13B8A84A900B" />

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://atlas.wort.uk/" />
    <meta property="og:title" content="Atlas - 开源聚合搜索 | JAV / 动漫 / 影视 / 漫画 / 小说" />
    <meta property="og:description" content="五类内容、多源聚合、一个账号：搜索历史、收藏、关注与通知统一保存。开源 MIT，可自行部署。" />
    <meta property="og:image" content="https://atlas.wort.uk/og-image.png" />
    <meta property="og:image:type" content="image/png" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="630" />
    <meta property="og:locale" content="zh_CN" />
    <meta property="og:site_name" content="Atlas" />

    <!-- Twitter -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:url" content="https://atlas.wort.uk/" />
    <meta name="twitter:title" content="Atlas - 开源聚合搜索 | JAV / 动漫 / 影视 / 漫画 / 小说" />
    <meta name="twitter:description" content="五类内容、多源聚合、一个账号：搜索历史、收藏、关注与通知统一保存。开源 MIT，可自行部署。" />
    <meta name="twitter:image" content="https://atlas.wort.uk/og-image.png" />
    <meta name="theme-color" content="#0a0a0b" media="(prefers-color-scheme: dark)" />
    <meta name="theme-color" content="#fafaf9" media="(prefers-color-scheme: light)" />
    
    <!-- PWA Meta Tags -->
    <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="Atlas" />
    <meta name="application-name" content="Atlas" />
    <meta name="msapplication-TileColor" content="#0a0a0b" />
    <meta name="msapplication-tap-highlight" content="no" />
    
    <!-- PWA Manifest -->
    <link rel="manifest" href="/manifest.json" />
    
    <!-- Apple Touch Icons -->
    <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
    <link rel="apple-touch-icon" sizes="152x152" href="/icons/icon-152x152.png" />
    <link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png" />
    
    <!-- Microsoft Tiles -->
    <meta name="msapplication-config" content="/browserconfig.xml" />
    
    <title>Atlas - 开源聚合搜索 | JAV / 动漫 / 影视 / 漫画 / 小说</title>
    <style>
      /* 首屏启动占位：React 挂载前避免白/黑屏，挂载时随 #root 一起被替换 */
      #boot-splash {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fafaf9;
      }
      html.dark #boot-splash {
        background: #0a0a0b;
      }
      .boot-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
      }
      .boot-ring {
        transform-origin: 52px 52px;
        animation: boot-spin 1.4s linear infinite;
      }
      .boot-bar {
        width: 120px;
        height: 2px;
        border-radius: 2px;
        overflow: hidden;
        background: rgba(212, 168, 83, 0.16);
      }
      .boot-bar span {
        display: block;
        width: 45%;
        height: 100%;
        background: linear-gradient(90deg, transparent, #d4a853, transparent);
        animation: boot-slide 1.15s ease-in-out infinite;
      }
      .boot-text {
        font-family: "Plus Jakarta Sans Variable", system-ui, -apple-system, sans-serif;
        font-size: 12px;
        letter-spacing: 0.42em;
        color: #a8a29e;
      }
      @keyframes boot-spin {
        to { transform: rotate(360deg); }
      }
      @keyframes boot-slide {
        0% { transform: translateX(-110%); }
        100% { transform: translateX(250%); }
      }
      @media (prefers-reduced-motion: reduce) {
        .boot-ring, .boot-bar span { animation: none; }
      }
    </style>
    <script>
      (function() {
        try {
          const theme = JSON.parse(localStorage.getItem('theme-storage') || '{}');
          if (theme?.state?.resolvedTheme === 'dark' || 
              (!theme?.state?.resolvedTheme && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
            document.documentElement.classList.add('dark');
          }
        } catch(e) {}
      })();
    </script>
    <script type="module" crossorigin src="/assets/index-DUrkIxoI.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/vendor-CuJqmfCL.js">
    <link rel="modulepreload" crossorigin href="/assets/query-DX7BRpa0.js">
    <link rel="modulepreload" crossorigin href="/assets/i18n-C24VwdPy.js">
    <link rel="modulepreload" crossorigin href="/assets/ui-eUmaIRb3.js">
    <link rel="stylesheet" crossorigin href="/assets/index-CF0LCObi.css">
  </head>
  <body>
    <div id="root">
      <div id="boot-splash">
        <div class="boot-inner">
          <svg width="112" height="112" viewBox="0 0 104 104" fill="none" aria-hidden="true">
            <defs>
              <linearGradient id="bootGold" x1="16" y1="16" x2="88" y2="88" gradientUnits="userSpaceOnUse">
                <stop stop-color="#e8c97a" />
                <stop offset="0.55" stop-color="#d4a853" />
                <stop offset="1" stop-color="#e11d48" />
              </linearGradient>
              <radialGradient id="bootHalo" cx="50%" cy="50%" r="50%">
                <stop stop-color="#d4a853" stop-opacity="0.26" />
                <stop offset="1" stop-color="#d4a853" stop-opacity="0" />
              </radialGradient>
            </defs>
            <circle cx="52" cy="52" r="44" fill="url(#bootHalo)" />
            <circle class="boot-ring" cx="52" cy="52" r="30.5" stroke="url(#bootGold)" stroke-width="1.2"
              stroke-linecap="round" stroke-dasharray="62 130" />
            <circle cx="52" cy="52" r="27.6" stroke="#d4a853" stroke-opacity="0.22" stroke-width="0.5" />
            <g stroke="url(#bootGold)" stroke-linecap="round">
              <line x1="52" y1="18.3" x2="52" y2="21.9" stroke-width="0.8" />
              <line x1="52" y1="82.1" x2="52" y2="85.7" stroke-width="0.8" />
              <line x1="18.3" y1="52" x2="21.9" y2="52" stroke-width="0.8" />
              <line x1="82.1" y1="52" x2="85.7" y2="52" stroke-width="0.8" />
            </g>
            <polygon points="52,24 56.7,50.8 52,48.1 47.3,50.8" fill="url(#bootGold)" />
            <polygon points="52,80 56.7,53.2 52,55.9 47.3,53.2" fill="#e11d48" opacity="0.68" />
            <circle cx="52" cy="52" r="2" fill="#d4a853" />
            <circle cx="52" cy="52" r="0.85" fill="#0a0a0b" />
          </svg>
          <div class="boot-bar"><span></span></div>
          <div class="boot-text">ATLAS</div>
        </div>
      </div>
    </div>
  </body>
</html>
