/**
 * 恋爱清单页面样式
 */

.love-list-section {
    position: relative;
    padding: 2rem 0 1.52rem;
    min-height: calc(100vh - 200px);
    background:
        radial-gradient(circle at top left, rgba(255, 81, 98, 0.08), transparent 30%),
        linear-gradient(180deg, #fff7f8 0%, rgba(255, 255, 255, 0) 18rem);
}

.love-list-overview,
.love-list-content {
    padding: 0;
}

.love-list-overview-card {
    width: 100%;
    margin: 0 0 var(--page-stack-gap);
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.love-list-progress {
    max-width: 420px;
    margin: 0;
    padding: 1.25rem 1.35rem;
    border-radius: var(--page-panel-radius);
    background: linear-gradient(180deg, rgba(255, 81, 98, 0.08), rgba(255, 255, 255, 0.72));
    border: 1px solid rgba(255, 81, 98, 0.1);
    box-shadow: var(--page-panel-shadow);
}

.progress-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.stat-item {
    flex: 1;
    text-align: center;
}

.stat-item-link {
    display: block;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(255, 81, 98, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 247, 249, 0.92), rgba(255, 255, 255, 0.96));
    color: inherit;
    text-decoration: none;
    box-shadow:
        0 10px 22px rgba(24, 14, 22, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-item-link:hover {
    color: inherit;
    border-color: rgba(255, 81, 98, 0.16);
    background: var(--editorial-surface-hover);
    box-shadow:
        0 12px 24px rgba(24, 14, 22, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.stat-item-link.active {
    border-color: rgba(255, 81, 98, 0.16);
    background: var(--editorial-surface-active);
    box-shadow:
        0 12px 24px rgba(255, 81, 98, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stat-item-link.active .stat-label {
    color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.45rem;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 81, 98, 0.08);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 42px;
    background: rgba(255, 81, 98, 0.15);
}

.progress-bar {
    height: 10px;
    background: var(--editorial-accent-wash);
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #ff8fa3);
    border-radius: inherit;
    transition: width 0.6s ease;
}

.love-list-filter-wrap {
    margin: 0 0 var(--page-stack-gap);
    padding: 0;
}

.love-list-filter-panel {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    max-width: 100%;
    padding: 0.96rem 1.15rem;
    border: 1px solid rgba(255, 81, 98, 0.1);
    border-radius: var(--page-panel-radius);
    background: linear-gradient(180deg, rgba(255, 247, 249, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow:
        0 14px 30px rgba(24, 14, 22, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
}

.love-list-filter-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 81, 98, 0.08);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.love-list-content-inner {
    width: min(calc(100% - (var(--page-shell-gutter) * 2)), var(--page-hero-panel-max-width));
    margin: 0 auto;
    padding: 0;
}

.love-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: var(--page-stack-gap-tight);
}

.love-list-result-count {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0.42rem 0.9rem;
    border: 1px solid rgba(255, 81, 98, 0.1);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 247, 249, 0.96), rgba(255, 255, 255, 0.98));
    color: rgba(120, 86, 92, 0.94);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.love-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
}

.love-list-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    border: 1px solid rgba(255, 81, 98, 0.1);
    border-radius: var(--page-card-radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--page-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.love-list-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 81, 98, 0.18);
    box-shadow: var(--page-card-shadow-hover);
}

.love-list-card.done {
    background: linear-gradient(180deg, #fffafb 0%, #ffffff 100%);
    border-color: rgba(76, 175, 80, 0.18);
}

.card-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: rgba(255, 81, 98, 0.08);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.love-list-card.done .card-number {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
}

.card-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.8rem;
    border: 1px solid var(--editorial-border-subtle);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.card-state.is-pending {
    background: linear-gradient(180deg, rgba(255, 239, 243, 0.96), rgba(255, 248, 249, 0.98));
    border-color: rgba(255, 81, 98, 0.14);
    color: var(--primary-color);
}

.card-state.is-done {
    background: linear-gradient(180deg, rgba(240, 250, 242, 0.96), rgba(255, 255, 255, 0.98));
    border-color: rgba(76, 175, 80, 0.18);
    color: #2e7d32;
}

.card-content {
    flex: 1;
}

.card-title {
    margin: 0 0 0.65rem;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.card-title::before {
    content: none;
}

.card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.card-date-placeholder {
    color: var(--text-muted);
}

.card-detail {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease, border-color 0.3s ease;
}

.love-list-card.expanded .card-detail {
    margin-top: 1rem;
    padding-top: 1rem;
    border-color: rgba(255, 81, 98, 0.12);
}

.detail-image {
    margin-bottom: 1rem;
    border-radius: 18px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: auto;
    display: block;
}

.detail-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.detail-text p {
    margin: 0 0 0.65rem;
}

.detail-text p:last-child {
    margin-bottom: 0;
}

.toggle-detail {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.32rem;
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.72rem 0 0;
    border: none;
    border-top: 1px dashed rgba(255, 81, 98, 0.12);
    background: transparent;
    color: var(--primary-color);
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.toggle-detail:hover {
    border-color: rgba(255, 81, 98, 0.2);
    color: #e63e4e;
}

.toggle-detail span {
    line-height: 1;
}

.toggle-detail svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.love-list-card.expanded .toggle-detail svg {
    transform: rotate(180deg);
}

.love-list-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.22rem;
}

.empty-state {
    max-width: 680px;
    margin: 0 auto;
    padding: 3.4rem 2rem 3.1rem;
    border: 1px solid var(--editorial-border-subtle);
    border-radius: var(--page-card-radius);
    background: linear-gradient(180deg, rgba(255, 247, 249, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow:
        0 16px 34px rgba(24, 14, 22, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    text-align: center;
}

.empty-icon {
    font-size: 3.6rem;
    margin-bottom: 1.05rem;
    opacity: 0.72;
}

.empty-text {
    margin-bottom: 0.6rem;
    color: var(--text-color);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.empty-subtext {
    max-width: 26rem;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .love-list-section {
        padding: 1rem 0 1.24rem;
    }

    .love-list-overview-card {
        margin-bottom: 1.25rem;
    }

    .love-list-filter-wrap {
        margin-bottom: 1.25rem;
    }

    .love-list-filter-panel {
        padding: 0.9rem 1rem;
        border-radius: 22px;
    }

    .love-list-progress {
        padding: 1rem;
        max-width: none;
    }

    .progress-stats {
        gap: 0.9rem;
    }

    .stat-number {
        font-size: 1.55rem;
    }

    .stat-item-link {
        padding: 0.25rem 0.3rem;
    }

    .love-list-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .love-list-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .love-list-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .card-headline {
        margin-bottom: 0.85rem;
    }

    .card-number {
        min-width: 2.25rem;
        height: 2.25rem;
        font-size: 0.75rem;
    }

    .card-state {
        font-size: 0.75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .love-list-pagination .page-numbers {
        min-width: 34px;
        height: 34px;
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }

    .empty-state {
        padding: 2.75rem 1.25rem;
        border-radius: 24px;
    }
}


        html[data-theme="dark"] .love-list-section {
        background:
            radial-gradient(circle at top left, rgba(255, 81, 98, 0.12), transparent 30%),
            linear-gradient(180deg, #18161d 0%, rgba(18, 18, 18, 0) 20rem);
    }

        html[data-theme="dark"] .empty-state {
        background: rgba(27, 24, 31, 0.9);
        border-color: var(--editorial-border-subtle);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    }

        html[data-theme="dark"] .love-list-filter-wrap .love-list-filter-panel {
        background: var(--editorial-surface-base);
        border-color: var(--editorial-border-subtle);
        box-shadow:
            0 14px 28px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

        html[data-theme="dark"] .love-list-section .love-list-filter-panel .filter-btn:not(.active) {
        background: var(--editorial-surface-base) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: #c1bac6 !important;
        box-shadow:
            0 12px 24px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    }

        html[data-theme="dark"] .love-list-section .love-list-filter-panel .filter-btn:not(.active):hover {
        background: rgba(255, 81, 98, 0.12) !important;
        border-color: rgba(255, 81, 98, 0.32) !important;
        color: #ff8f9b !important;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2) !important;
    }

        html[data-theme="dark"] .love-list-section .love-list-filter-panel .filter-btn.active {
        background: var(--editorial-surface-active) !important;
        border-color: rgba(255, 143, 155, 0.22) !important;
        color: #ffe5ea !important;
        box-shadow:
            0 12px 24px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    }

        html[data-theme="dark"] .love-list-progress {
        background: linear-gradient(180deg, rgba(255, 81, 98, 0.12), rgba(34, 31, 38, 0.92));
        border-color: var(--editorial-border-subtle);
    }

        html[data-theme="dark"] .stat-label,
    html[data-theme="dark"] .love-list-filter-label,
    html[data-theme="dark"] .love-list-result-count,
    html[data-theme="dark"] .card-date,
    html[data-theme="dark"] .card-date-placeholder,
    html[data-theme="dark"] .detail-text,
    html[data-theme="dark"] .empty-subtext {
        color: #a8a1ad;
    }

        html[data-theme="dark"] .stat-label {
        background: rgba(255, 81, 98, 0.14);
        color: #ff8f9b;
    }

        html[data-theme="dark"] .love-list-result-count {
        background: var(--editorial-surface-base);
        border-color: var(--editorial-border-subtle);
        color: #f2e6ea;
        box-shadow:
            0 12px 24px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

        html[data-theme="dark"] .stat-divider {
        background: rgba(255, 255, 255, 0.08);
    }

        html[data-theme="dark"] .stat-item-link:not(.active) {
        background: var(--editorial-surface-base);
        border-color: var(--editorial-border-subtle);
        color: #f2e6ea;
        box-shadow:
            0 12px 24px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

        html[data-theme="dark"] .stat-item-link:hover {
        background: var(--editorial-accent-wash);
        border-color: rgba(255, 143, 155, 0.18);
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
    }

        html[data-theme="dark"] .stat-item-link.active {
        background: var(--editorial-surface-active);
        border-color: var(--editorial-border-strong);
        box-shadow:
            0 14px 26px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

        html[data-theme="dark"] .stat-item-link.active .stat-label {
        color: #ff8f9b;
    }

        html[data-theme="dark"] .progress-bar {
        background: rgba(255, 81, 98, 0.18);
    }

        html[data-theme="dark"] .empty-text {
        color: #f3f3f3;
    }

        html[data-theme="dark"] .empty-state {
        background: var(--editorial-surface-base);
        border-color: var(--editorial-border-subtle);
        box-shadow:
            0 16px 34px rgba(0, 0, 0, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

        html[data-theme="dark"] .love-list-card {
        background: rgba(27, 24, 31, 0.96);
        border-color: var(--editorial-border-subtle);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    }

        html[data-theme="dark"] .love-list-card:hover {
        border-color: rgba(255, 81, 98, 0.24);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    }

        html[data-theme="dark"] .love-list-card.done {
        background: linear-gradient(180deg, rgba(33, 45, 36, 0.96) 0%, rgba(27, 24, 31, 0.96) 100%);
        border-color: rgba(76, 175, 80, 0.22);
    }

        html[data-theme="dark"] .card-number {
        background: rgba(255, 81, 98, 0.16);
        color: #ff8f9b;
    }

        html[data-theme="dark"] .love-list-card.done .card-number,
    html[data-theme="dark"] .card-state.is-done {
        background: rgba(76, 175, 80, 0.18);
        border-color: rgba(142, 211, 154, 0.18);
        color: #8ed39a;
    }

        html[data-theme="dark"] .card-state.is-pending {
        background: rgba(255, 81, 98, 0.16);
        border-color: rgba(255, 143, 155, 0.16);
        color: #ff8f9b;
    }

        html[data-theme="dark"] .card-title,
    html[data-theme="dark"] .empty-text {
        color: #f3edf5;
    }

        html[data-theme="dark"] .love-list-card.expanded .card-detail {
        border-color: var(--editorial-border-subtle);
    }

        html[data-theme="dark"] .toggle-detail {
        background: transparent;
        border-top-color: rgba(255, 255, 255, 0.08);
        color: #ff8f9b;
    }

        html[data-theme="dark"] .toggle-detail:hover {
        background: transparent;
        border-top-color: rgba(255, 143, 155, 0.18);
        color: #ffd8df;
    }
