.list-page {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--background);
    color: var(--foreground);
    min-height: 100vh;
}

.list-layout {
    padding-top: 80px;
}

.list-hero {
    padding: 2.75rem 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 237, 233, 0.4));
}

.list-hero-inner {
    text-align: center;
}

.list-hero-inner .hero-badge {
    transform: scale(0.9);
    margin-bottom: 1rem;
}

.list-hero-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.list-hero-subtitle {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    max-width: 540px;
    margin: 0 auto 1.5rem;
}

.list-search-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 219, 209, 0.7);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    margin: 0 auto 1.5rem;
    max-width: 900px;
}

.list-search-fields {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.list-field {
    flex: 1;
    min-width: 220px;
}

.list-field-label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.35rem;
}

.goal {
    position: relative;
}

.goal-input {
    position: relative;
}

 #input {
    width: 100%;
    height: 52px !important;
    border-radius: 0.9rem;
    border: 1px solid rgba(226, 219, 209, 0.9);
    padding: 0 1rem;
    font-size: 0.95rem;
    background: rgba(242, 237, 233, 0.4);
    color: var(--foreground);
    transition: all 0.2s;
}

 #input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(239, 108, 85, 0.15);
    background: #fff;
    outline: none;
}
 .goal {
    top: 15px;
 }

.list-search-card .SumoSelect {
    width: 100% !important;
}

.list-search-card .SumoSelect > .CaptionCont {
    margin: 0;
    border-radius: 0.9rem;
    border: 1px solid rgba(226, 219, 209, 0.9);
    background: rgba(242, 237, 233, 0.4);
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.95rem;
    color: var(--muted-foreground);
}

.list-search-card .SumoSelect > .CaptionCont > span {
    padding-right: 20px;
    line-height: 1;
}

.list-search-card .SumoSelect.open > .CaptionCont,
.list-search-card .SumoSelect:hover > .CaptionCont {
    border-color: var(--primary);
}

.list-search-card .SumoSelect > .optWrapper {
    border-radius: 1rem;
    border: 1px solid rgba(226, 219, 209, 0.7);
    box-shadow: var(--shadow-medium);
    top: 55px !important;
}

.list-field-button {
    flex: 0 0 auto;
    min-width: 160px;
}

.list-search-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
}

.list-search-btn i {
    margin-right: 6px;
}

.list-search-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.list-search-hint {
    flex: 1;
}

.list-share-btn {
    border: none;
    background: rgba(239, 108, 85, 0.1);
    color: var(--primary);
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.list-share-btn:hover {
    background: rgba(239, 108, 85, 0.2);
}

.list-hot-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.list-hot-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.list-hot-btn {
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background: rgba(242, 237, 233, 0.7);
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s;
}

.list-hot-btn:hover {
    background: var(--primary);
    color: #fff;
}

.goal-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: 0.85rem;
    border: 1px solid rgba(226, 219, 209, 0.9);
    box-shadow: var(--shadow-medium);
    z-index: 20;
    display: none;
    max-height: 240px;
    overflow-y: auto;
}

.goal-list-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(226, 219, 209, 0.5);
}

.goal-list-item:last-child {
    border-bottom: none;
}

.goal-list-item:hover {
    background: rgba(242, 237, 233, 0.4);
}

.list-results {
    padding: 1.5rem 1rem 2rem;
}

.list-loading {
    display: none;
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.list-loading i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.list {
    padding: 0 1rem;
    display: block;
}

.list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.list ul li {
    float: none !important;
    width: auto !important;
    margin: 0;
    padding: 0;
    background: none;
}

.pagination {
    display: none;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    justify-content: center;
    gap: 0.75rem;
}

.pagination li {
    margin: 0;
}

.pagination a {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(239, 108, 85, 0.15);
    color: var(--primary);
    font-weight: 500;
    display: inline-block;
}

.pagination a:hover {
    background: rgba(239, 108, 85, 0.25);
}

.prevPage {
    display: none;
}

.list-empty-cta {
    padding: 0 1rem 4rem;
}

.list-empty-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 219, 209, 0.7);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.list-empty-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.375rem;
}

.list-empty-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.list-publish-btn {
    width: 100%;
    height: 48px;
    text-transform: none;
}

#publish {
    display: none;
}

@media (max-width: 768px) {
    .list-search-card {
        padding: 1.25rem;
    }

    .list-field {
        min-width: 100%;
    }

    .list-field-button {
        min-width: 100%;
    }

    .list-search-btn {
        height: 50px;
    }

    .list-hot-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-hot-buttons {
        width: 100%;
        justify-content: flex-start;
    }

    .list-empty-card {
        padding: 1.5rem;
    }
}
