* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(180deg, #eaf3ff 0%, #f7f9fc 100%);
    color: #333;
    padding-bottom: 48px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.app-header {
    position: relative;
    background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
    color: #fff;
    padding: 24px 16px 32px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.25);
    overflow: hidden;
}

.app-header::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.app-header::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -30px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.app-header h1 {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.subtitle {
    position: relative;
    font-size: 14px;
    opacity: 0.9;
}

.search-section {
    margin-bottom: 24px;
}

.search-box {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

#searchInput {
    width: 100%;
    padding: 16px 18px 16px 52px;
    font-size: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    outline: none;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: border-color 0.3s, box-shadow 0.3s;
}

#searchInput:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.15);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8c8c8c;
}

.result-info {
    max-width: 760px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #666;
    padding-left: 4px;
}

.list-wrap {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.card {
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1677ff;
    font-weight: 600;
    line-height: 1.4;
}

.card p {
    font-size: 15px;
    line-height: 1.8;
    margin: 6px 0;
    color: #444;
}

.card a {
    color: #1677ff;
    text-decoration: none;
    font-weight: 500;
}

.card a:hover {
    text-decoration: underline;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: #e6f4ff;
    color: #1677ff;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 12px;
}

.empty {
    text-align: center;
    padding: 48px 24px;
    color: #999;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .app-header {
        padding: 20px 16px 28px;
    }
    .app-header h1 {
        font-size: 20px;
    }
    .list-wrap {
        grid-template-columns: 1fr;
    }
    #searchInput {
        font-size: 15px;
        padding: 14px 16px 14px 48px;
    }
}