<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
    <title>卡密信息 · CardKey</title>
    <style>
        :root{
            --bg:#f5f7fb; --card:#ffffff; --text:#0f172a; --muted:#64748b; --border:#e6eaf0;
            --chip:#f1f5f9; --primary:#4f46e5; --primary-soft:#eef2ff;
            --ok:#16a34a; --ok-soft:#dcfce7; --danger:#dc2626; --danger-soft:#fee2e2;
            --warn-soft:#fff4e5; --warn-text:#b45309;
            font-family:"Segoe UI",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
        }
        *{ box-sizing:border-box; }
        body{ background:var(--bg); color:var(--text); margin:0; -webkit-font-smoothing:antialiased; }
        .card-page{ max-width:600px; margin:0 auto; padding:1.5rem 1rem 3rem; }
        .head{ display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:.25rem 0 1.25rem; }
        .head h1{ font-size:1.25rem; margin:0; letter-spacing:-.01em; }
        .head .code{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-weight:700; color:var(--primary); background:var(--primary-soft); padding:.3rem .7rem; border-radius:8px; font-size:.95rem; word-break:break-all; }
        .sec{ background:var(--card); border:1px solid var(--border); border-radius:14px; padding:1.1rem 1.15rem; margin-bottom:.9rem; box-shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06); }
        .sec h2{ font-size:.82rem; letter-spacing:.01em; margin:0 0 .7rem; color:var(--muted); font-weight:600; display:flex; align-items:center; gap:.5rem; }
        .sec h2 .n{ margin-left:auto; font-size:.78rem; color:var(--muted); font-weight:500; }
        .big-date{ font-size:1.6rem; font-weight:800; letter-spacing:-.02em; }
        .sub{ color:var(--muted); margin:.35rem 0 0; font-size:.95rem; }
        .sub strong{ color:var(--text); }
        .badge{ display:inline-block; font-size:.75rem; font-weight:700; padding:.16rem .55rem; border-radius:999px; }
        .badge.ok{ background:var(--ok-soft); color:var(--ok); }
        .badge.bad{ background:var(--danger-soft); color:var(--danger); }
        .rows{ list-style:none; padding:0; margin:.7rem 0 0; }
        .rows li{ display:flex; justify-content:space-between; gap:1rem; padding:.55rem 0; border-top:1px solid var(--border); }
        .rows li:first-child{ border-top:0; padding-top:0; }
        .rows .k{ font-weight:600; }
        .rows .v{ color:var(--muted); font-variant-numeric:tabular-nums; }
        .chips{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:.5rem; }
        .chips li{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.95rem; font-weight:600; padding:.5rem .8rem; border:1px solid var(--border); border-radius:9px; background:var(--chip); color:var(--text); }
        .ip-list{ list-style:none; padding:0; margin:0; }
        .ip-list li{ display:flex; justify-content:space-between; gap:1rem; padding:.55rem 0; border-top:1px solid var(--border); }
        .ip-list li:first-child{ border-top:0; padding-top:0; }
        .ip-list .ip{ font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
        .ip-list .t{ color:var(--muted); font-variant-numeric:tabular-nums; font-size:.92rem; }
        .empty{ color:var(--muted); margin:0; font-size:.95rem; }
        .guide{ background:linear-gradient(180deg,var(--primary-soft),var(--card) 60%); border-color:#dcdcf7; }
        .guide h2{ color:var(--primary); font-size:.95rem; }
        .guide ol{ margin:.4rem 0 0; padding-left:1.25rem; line-height:1.75; }
        .guide ol li{ margin-bottom:.2rem; }
        .guide .note{ margin:.85rem 0 0; padding:.65rem .8rem; border-radius:10px; background:var(--warn-soft); color:var(--warn-text); font-size:.92rem; line-height:1.55; }
        .guide .note strong{ color:#92400e; }
        .dl{ display:grid; gap:.55rem; margin-top:1rem; }
        .dl a{ display:flex; align-items:center; justify-content:space-between; padding:.75rem .95rem; border:1px solid var(--border); border-radius:11px; background:var(--card); color:var(--text); text-decoration:none; font-weight:600; box-shadow:0 1px 2px rgba(16,24,40,.04); }
        .dl a:active{ opacity:.75; }
        .dl a .arrow{ color:var(--primary); font-weight:700; }
        .notfound{ text-align:center; padding:2rem 0; }
        .notfound .big{ font-size:1.15rem; font-weight:700; margin-bottom:.35rem; }
        .foot{ text-align:center; color:var(--muted); font-size:.8rem; margin-top:1.25rem; }
        /* 蓝牙 + OTG 两块:手机堆叠,电脑并排 */
        .two{ display:grid; gap:.9rem; margin-bottom:.9rem; }
        .two .sec{ margin-bottom:0; }
        /* 宽屏自适应 */
        @media (min-width:700px){
            .card-page{ max-width:780px; padding-top:2.5rem; }
            .two{ grid-template-columns:1fr 1fr; }
            .big-date{ font-size:1.8rem; }
        }
    </style>
</head>
<body>
<main class="card-page">
    <div class="head">
        <h1>卡密信息</h1>
        <span class="code">sitemap.xml</span>
    </div>

    <!-- 卡密不存在 -->
    <div class="sec notfound">
        <p class="big">未找到该卡密</p>
        <p class="empty">请检查卡密是否输入正确。</p>
    </div>

    

    <!-- ④ 新手教程(底部,后台可编辑,实时生效) -->
    <section class="sec guide">
        <h2>🔰 新手教程 · 脚本操作顺序</h2>
        <ol>
            <li>下载大麦 18 版本</li>
            <li>登录大麦上号</li>
            <li>开发者选项：关闭三个动画，打开「不保留活动」，打开「计算机（后台进程限制）」（不要点确定进去）</li>
            <li>连接蓝牙板子</li>
            <li>打开 AT 输入卡密</li>
            <li>打开大麦倒计时页面点启动，出现倒计时悬浮即成功</li>
        </ol>
        <p class="note">‼️ 测试点击是否生效：可在票价页面随便选个票价点启动，确认是否点击。手机一定要全面屏。</p>

        <div class="dl">
            <a href="https://pub-d5f18ebe9cf6412db70a97750b5e7416.r2.dev/ATMax-335.apk" rel="noopener">
                <span>脚本下载（ATMax）</span><span class="arrow">下载 ›</span>
            </a><a href="https://pub-d5f18ebe9cf6412db70a97750b5e7416.r2.dev/ATF1.009.apk" rel="noopener">
                <span>OTG 烧录工具</span><span class="arrow">下载 ›</span>
            </a><a href="https://pub-d5f18ebe9cf6412db70a97750b5e7416.r2.dev/OTG-Video.mp4" rel="noopener">
                <span>OTG 烧录视频</span><span class="arrow">观看 ›</span>
            </a><a href="https://pub-d5f18ebe9cf6412db70a97750b5e7416.r2.dev/ESP32C3-60.exe" rel="noopener">
                <span>蓝牙烧录工具（电脑）</span><span class="arrow">下载 ›</span>
            </a>
        </div>
    </section>

    <p class="foot">CardKey · 卡密自助查询</p>
</main>
</body>
</html>
