html {
    background: #f5f2ef;
}

body.page-search-desktop {
    max-width: none;
    min-width: 1280px;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 153, 102, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(243, 71, 130, 0.08), transparent 30%),
        #f5f2ef;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #3f3632;
}

body.page-search-desktop a,
body.page-search-desktop a:visited {
    color: inherit;
    text-decoration: none;
}

body.page-search-desktop .ssd-main button {
    border: 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.ssd-shell * {
    box-sizing: border-box;
}

.ssd-wrap {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.ssd-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: linear-gradient(180deg, #171718 0%, #1e1d22 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

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

.ssd-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ssd-brand img {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    object-fit: cover;
}

.ssd-brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ssd-brand-copy strong {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
}

.ssd-brand-copy span {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.ssd-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
}

.ssd-nav a {
    padding: 0 4px 4px;
    color: rgba(255, 255, 255, 0.76);
    border-bottom: 2px solid transparent;
    transition: color .2s ease;
}

.ssd-nav a:hover,
.ssd-nav a.is-active {
    color: #fff;
}

.ssd-nav a.is-active {
    font-weight: 500;
    border-bottom-color: #ff9966;
}

.ssd-search,
.ssd-search-input-box {
    display: inline-flex;
    align-items: center;
    width: 320px;
    height: 44px;
    padding: 0 8px 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 12px;
    color: #8d7f78;
    font-size: 14px;
    margin: 0;
}

.ssd-search-icon,
.ssd-search button,
.ssd-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ssd-search svg,
.ssd-search-input-box svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ssd-search-icon {
    color: #8d7f78;
}

.ssd-search input,
.ssd-search-input-box input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 14px;
    color: #3f3632;
    outline: none;
    box-shadow: none;
}

.ssd-search input::placeholder,
.ssd-search-input-box input::placeholder {
    color: #8d7f78;
}

.ssd-search button,
.ssd-search-submit {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffbf9d 0%, #ff9966 100%);
    box-shadow: 0 8px 16px rgba(255, 153, 102, 0.22);
    color: #fff;
}

.ssd-member,
.ssd-member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7b15e;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.ssd-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.ssd-avatar svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ssd-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ssd-section {
    padding: 40px 0;
}

.ssd-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ssd-header-card,
.ssd-hot-search-card {
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eadfd8;
    box-shadow: 0 16px 40px rgba(36, 29, 27, 0.06);
}

.ssd-header-card {
    padding: 24px;
}

.ssd-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ssd-header-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ssd-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #eadfd8;
    background: #faf7f4;
    font-size: 14px;
    font-weight: 500;
    color: #3f3632;
    white-space: nowrap;
}

.ssd-page-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    color: #3f3632;
}

.ssd-page-desc {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.7;
    color: #8d7f78;
}

.ssd-search-large {
    display: inline-flex;
    align-items: center;
    width: 430px;
    height: 48px;
    padding: 0 8px 0 16px;
    border-radius: 999px;
    background: #faf7f4;
    border: 1px solid #eadfd8;
    gap: 12px;
    color: #8d7f78;
    font-size: 14px;
}

.ssd-search-large svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.ssd-search-large input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 14px;
    color: #3f3632;
    outline: none;
}

.ssd-search-large input::placeholder {
    color: #8d7f78;
}

.ssd-btn-re-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffe7dd;
    color: #ff7d46 !important;
    font-size: 12px;
    font-weight: 500;
}

.ssd-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ssd-result-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #eadfd8;
    box-shadow: 0 16px 40px rgba(36, 29, 27, 0.06);
    transition: transform 0.2s ease;
}

.ssd-result-card:hover,
.ssd-rec-item:hover,
.ssd-quick-link:hover {
    transform: translateY(-4px);
}

.ssd-result-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #f7ece6;
}

.ssd-result-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.ssd-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ssd-tag-match {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #ffe7dd;
    color: #ff7d46;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.ssd-result-tags {
    font-size: 12px;
    color: #8d7f78;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssd-result-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #3f3632;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ssd-result-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #8d7f78;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssd-hot-search-card {
    padding: 24px;
}

.ssd-hot-search-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #241d1b;
}

.ssd-hotword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ssd-hotword-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #eadfd8;
    background: #faf7f4;
    font-size: 14px;
    font-weight: 500;
    color: #3f3632;
    transition: transform 0.2s ease;
}

.ssd-hotword-chip:hover {
    transform: translateY(-2px);
}

.ssd-hotword-empty {
    font-size: 14px;
    line-height: 1.8;
    color: #8d7f78;
}
