    * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
        background: #0f1626;
        color: #e8edf5;
        min-height: 100vh;
        background-image:
            radial-gradient(ellipse 80% 50% at 50% -10%, rgba(84,160,255,.18), transparent),
            radial-gradient(ellipse 60% 40% at 100% 100%, rgba(93,39,205,.15), transparent);
        background-attachment: fixed;
    }
    .wrap { max-width: 720px; margin: 0 auto; padding: 0 16px calc(40px + env(safe-area-inset-bottom)); }

    /* ===== Header ===== */
    .header { padding: 28px 0 10px; display: flex; align-items: center; justify-content: space-between; }
    .brand { display: flex; align-items: center; gap: 10px; }
    .brand-logo {
        width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
        background: linear-gradient(135deg, #54a0ff, #5f27cd);
        display: flex; align-items: center; justify-content: center;
        font-size: 22px; box-shadow: 0 4px 18px rgba(84,160,255,.35);
    }
    .brand-name { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
    .brand-name em { font-style: normal; background: linear-gradient(90deg,#54a0ff,#f368e0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
    .header-slogan { font-size: 12px; color: #8b98ad; margin-top: 2px; }

    /* ===== Search ===== */
    .search { margin: 18px 0 22px; position: relative; }
    .search input {
        width: 100%; padding: 14px 46px 14px 16px;
        background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
        border-radius: 14px; color: #fff; font-size: 15px; outline: none;
        transition: border-color .2s, box-shadow .2s;
    }
    .search input::placeholder { color: #8b98ad; }
    .search input:focus { border-color: #54a0ff; box-shadow: 0 0 0 3px rgba(84,160,255,.2); }
    .search svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: #8b98ad; pointer-events: none; }
    .search-empty { display: none; text-align: center; padding: 60px 0; color: #8b98ad; font-size: 14px; }

    /* ===== Section title ===== */
    .section-title { font-size: 16px; font-weight: 700; margin: 8px 0 14px; display: flex; align-items: center; gap: 8px; }
    .section-title::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg,#54a0ff,#f368e0); }

    /* ===== Game cards ===== */
    .game-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (min-width: 560px) { .game-list { grid-template-columns: repeat(3, 1fr); } }
    .card {
        position: relative; display: block; text-decoration: none; color: inherit;
        background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px; padding: 14px; overflow: hidden;
        transition: transform .18s, box-shadow .18s, border-color .18s;
    }
    .card:active { transform: scale(.97); }
    .card:hover { border-color: rgba(84,160,255,.45); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
    .card-icon {
        width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
        background: linear-gradient(135deg, #232c40, #151c2c); display: block;
        box-shadow: 0 6px 16px rgba(0,0,0,.35);
    }
    .card-icon--placeholder { display:flex; align-items:center; justify-content:center; font-size: 30px; }
    .card-name { font-size: 15px; font-weight: 700; margin: 12px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .tag {
        font-size: 11px; padding: 3px 9px; border-radius: 999px; color: #fff;
        background: linear-gradient(90deg, var(--tg1), var(--tg2));
        white-space: nowrap; font-weight: 600;
    }
    .card-link-hint { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 8px; background: rgba(0,0,0,.3); display:flex; align-items:center; justify-content:center; }
    .card-link-hint svg { width: 12px; height: 12px; fill: #8b98ad; }

    /* ===== Footer ===== */
    .footer { margin-top: 36px; text-align: center; font-size: 12px; color: #6b7a90; line-height: 1.8; }

    /* ===== 浅色高质感主题 ===== */
    body {
        background: #f5f7fb;
        color: #172033;
        background-image:
            radial-gradient(ellipse 70% 45% at 50% -10%, rgba(59,130,246,.13), transparent),
            radial-gradient(ellipse 45% 30% at 100% 100%, rgba(124,58,237,.07), transparent);
    }
    .header-slogan,
    .search-empty { color: #718096; }
    .search input {
        color: #172033;
        background: rgba(255,255,255,.92);
        border-color: #dfe6f0;
        box-shadow: 0 8px 24px rgba(15,23,42,.05);
    }
    .search input::placeholder { color: #94a3b8; }
    .search input:focus {
        background: #fff;
        border-color: #60a5fa;
        box-shadow: 0 0 0 4px rgba(59,130,246,.11), 0 10px 26px rgba(15,23,42,.06);
    }
    .search svg { fill: #64748b; }
    .card {
        background: rgba(255,255,255,.96);
        border-color: #e3e9f2;
        box-shadow: 0 8px 24px rgba(15,23,42,.055);
    }
    .card:hover {
        border-color: #bfdbfe;
        box-shadow: 0 14px 34px rgba(15,23,42,.1);
        transform: translateY(-2px);
    }
    .card-icon {
        background: linear-gradient(135deg,#eef3f9,#e2e8f0);
        box-shadow: 0 6px 16px rgba(15,23,42,.12);
    }
    .card-link-hint {
        background: rgba(241,245,249,.94);
        border: 1px solid #e2e8f0;
    }
    .card-link-hint svg { fill: #64748b; }
    .footer { color: #94a3b8; }
