body.page-search {
    min-width: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 146, 198, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(149, 167, 255, 0.18), transparent 26%),
        linear-gradient(180deg, #fff8fc 0%, #f8f9ff 34%, #ffffff 100%);
    color: #2d2340;
}

.page-search a,
.page-search a:visited {
    color: inherit;
}

.search-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(236, 220, 241, 0.9);
}

.search-topbar-inner,
.search-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.search-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}

.search-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.search-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(248, 130, 176, 0.24);
}

.search-brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #322447;
}

.search-nav {
    display: inline-flex;
    gap: 24px;
    font-size: 14px;
    color: #6a587c;
}

.search-download,
.search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8dc6 0%, #8a8cff 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 14px 32px rgba(198, 111, 185, 0.28);
}

.search-main {
    padding: 24px 0 64px;
}

.search-hero,
.search-section {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(183, 171, 214, 0.14);
}

.search-hero {
    margin-bottom: 24px;
}

.search-hero.is-searching {
    padding: 22px 28px;
}

.search-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ff6797;
    text-transform: uppercase;
}

.search-title {
    margin: 12px 0;
    font-size: 44px;
    line-height: 1.08;
    color: #2a1f3c;
}

.search-desc,
.search-card-desc,
.search-section-head span {
    color: #6b5c7d;
}

.search-desc {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.8;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.search-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 18px;
    border: 1px solid #ead8ef;
    border-radius: 999px;
    background: #fff;
    color: #34274a;
    font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-submit {
    flex-shrink: 0;
    min-width: 116px;
}

.search-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.search-hero-badge,
.search-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.search-hero-badge {
    background: rgba(255, 141, 198, 0.12);
    color: #8a436a;
}

.search-hero-link {
    background: rgba(149, 167, 255, 0.12);
    color: #4857b2 !important;
}

.search-section-results {
    scroll-margin-top: 88px;
}

.search-section-hot {
    background: rgba(255, 255, 255, 0.7);
}

.search-section {
    margin-bottom: 20px;
}

.search-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.search-section-head h2 {
    margin: 0;
    font-size: 28px;
    color: #2f2442;
}

.search-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-chip {
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f0ddee;
    color: #5d4a72 !important;
    font-size: 13px;
    font-weight: 700;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.search-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fff9fd 100%);
    box-shadow: 0 16px 34px rgba(204, 188, 228, 0.18);
}

.search-card-cover {
    width: 100%;
    aspect-ratio: 0.72;
    border-radius: 20px;
    object-fit: cover;
}

.search-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #302444;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-card-desc {
    font-size: 13px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-empty {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed #ead8ef;
    color: #7a698d;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 1280px) {
    .search-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .search-nav {
        display: none;
    }

    .search-topbar-inner,
    .search-main {
        width: min(100%, calc(100% - 24px));
    }

    .search-hero,
    .search-section {
        padding: 20px;
        border-radius: 24px;
    }

    .search-hero.is-searching {
        padding: 18px 20px;
    }

    .search-title {
        font-size: 32px;
    }

    .search-section-head h2 {
        font-size: 22px;
    }

    .search-form {
        gap: 10px;
    }

    .search-input {
        height: 44px;
        font-size: 14px;
        padding: 0 16px;
    }

    .search-submit {
        min-width: 92px;
        padding: 0 18px;
    }

    .search-hero-meta {
        gap: 10px;
        margin-top: 12px;
    }

    .search-hero-badge,
    .search-hero-link {
        min-height: 32px;
        padding: 0 14px;
        font-size: 12px;
    }

    .search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
