* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    background: #f2f3f5;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 90% 110%, rgba(99, 102, 241, 0.06), transparent);
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

.page {
    width: 100%;
    max-width: 640px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    padding: 72px 0 40px;
    text-align: center;
}

.site-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111827;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05), 0 10px 28px rgba(17, 24, 39, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    animation: fadeUp 0.5s ease both;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.06), 0 16px 36px rgba(17, 24, 39, 0.10);
}

.card:active {
    transform: scale(0.99);
}

.icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f8ef7, #2563eb);
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.28);
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icon .emoji {
    font-size: 22px;
    line-height: 1;
}

.meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 3px;
    line-height: 1.45;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arrow {
    color: #c3c7cf;
    flex: none;
    display: flex;
}

.footer {
    padding: 40px 0 28px;
    text-align: center;
    color: #9ca3af;
}

.empty {
    background: #ffffff;
    border-radius: 16px;
    padding: 56px 20px;
    text-align: center;
    color: #6b7280;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.empty p {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
}

.empty .empty-sub {
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
    margin-top: 6px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 64px 0 32px;
    }
    .site-title {
        font-size: 26px;
    }
}
