/**
 * 我想听页面样式 - 与个人中心风格一致
 * 冥想风格、精致紧凑、主题色调统一
 */

/* ===== 基础布局 ===== */
.wishlist-page {
    min-height: calc(100vh - 86px);
    background: var(--bg-page);
    padding-bottom: 60px;
}

/* ===== Banner - 冥想风格头部（与个人中心一致）===== */
.wishlist-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 24px 20px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 背景装饰 - 月亮光晕 */
.wishlist-banner::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: moon-glow 4s ease-in-out infinite;
}

.wishlist-banner::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    box-shadow: 
        60px 10px 0 rgba(255,255,255,0.4),
        100px -5px 0 rgba(255,255,255,0.3),
        150px 15px 0 rgba(255,255,255,0.5),
        200px 5px 0 rgba(255,255,255,0.2);
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes moon-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.wishlist-banner h1,
.banner-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.wishlist-banner p,
.banner-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

/* 统计卡片 - 与个人中心stat-card一致 */
.banner-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 14px 18px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 90px;
}

.stat-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.wishlist-banner .stat-value,
.banner-stats .stat-value {
    font-size: 22px;
    font-weight: 600;
    color: #fff !important;
    display: block;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
    line-height: 1.2;
}

.stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.95);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== 开发路线图 - 紧凑布局 ===== */
.roadmap-section {
    background: var(--bg-content);
    padding: 20px 16px;
    margin-bottom: 12px;
}

.roadmap-container {
    max-width: 600px;
    margin: 0 auto;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 20px;
}

.roadmap-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.roadmap-badge {
    padding: 2px 10px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 12px;
    text-transform: uppercase;
}

.roadmap-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.roadmap-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.85;
}

.roadmap-timeline {
    position: relative;
    padding-left: 28px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 30%, transparent) 100%);
    border-radius: 2px;
}

.roadmap-item {
    position: relative;
    margin-bottom: 14px;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-marker {
    position: absolute;
    left: -28px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    border: 3px solid var(--bg-content);
    box-shadow: 0 0 0 2px rgba(139, 115, 85, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.marker-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, rgba(139, 115, 85, 0.3) 0%, rgba(139, 115, 85, 0.1) 100%);
    margin-top: 2px;
}

.roadmap-item:last-child .marker-line {
    display: none;
}

.roadmap-card {
    background: var(--bg-page);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.12);
}

.roadmap-date {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.25);
}

.date-month {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.date-day {
    font-size: 15px;
    font-weight: 700;
}

.roadmap-content {
    flex: 1;
    min-width: 0;
}

.roadmap-item-title,
.roadmap-content h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px;
    line-height: 1.4;
}

.roadmap-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 2px;
}

.meta-votes {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #ff6b9d;
}

.roadmap-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 14px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
}

/* ===== 筛选栏 - 修复布局 ===== */
.wishlist-main {
    padding: 16px 12px 0;
    max-width: 600px;
    margin: 0 auto;
}

.wishlist-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 12px;
    margin-left: -12px;
    margin-right: -12px;
    background: var(--bg-content);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-dropdown {
    position: relative;
    flex: 0 0 auto;
    min-width: 100px;
}

.filter-dropdown-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 12px;
    cursor: pointer;
    color: var(--text-normal);
    transition: all 0.3s ease;
}

.filter-dropdown-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-dropdown-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: #fff;
}

.filter-dropdown-btn svg {
    flex-shrink: 0;
}

.filter-count {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.filter-dropdown-btn.active .filter-count {
    color: rgba(255, 255, 255, 0.9);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    min-width: 160px;
    background: var(--bg-content);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 100;
    overflow: hidden;
}

.filter-dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.filter-option {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border: none;
    background: none;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    color: var(--text-normal);
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: linear-gradient(90deg, rgba(139, 115, 85, 0.1) 0%, transparent 100%);
}

.filter-option.active {
    background: linear-gradient(90deg, rgba(139, 115, 85, 0.15) 0%, transparent 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.opt-count {
    color: var(--text-muted);
    font-size: 11px;
}

.filter-select {
    flex: 0 0 auto;
    min-width: 90px;
    padding: 8px 32px 8px 12px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-page);
    color: var(--text-normal);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
}

/* ===== 列表容器 ===== */
.wishlist-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== 话题卡片 ===== */
.topic-card {
    background: var(--bg-content);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.3s ease;
}

.topic-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.topic-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--border-light);
}

/* 状态标签 - 专业设计 */
.topic-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    border: 1px solid currentColor;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.topic-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.topic-author-level {
    font-size: 12px;
}

.topic-author-name {
    color: var(--text-normal);
}

.topic-time {
    opacity: 0.7;
}

.topic-card-body {
    padding: 14px;
}

.topic-content {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.topic-attachment {
    margin-top: 12px;
}

.topic-attachment-image {
    max-width: 100%;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.topic-attachment-file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    color: var(--text-normal);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.topic-attachment-file:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* 官方回复 */
.topic-reply-collapsed {
    margin: 0 14px;
    padding: 12px;
    background: linear-gradient(90deg, rgba(139, 115, 85, 0.08) 0%, transparent 100%);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.reply-content p {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--text-normal);
    line-height: 1.6;
}

.reply-date {
    font-size: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

/* 卡片底部 */
.topic-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--bg-page);
    border-top: 1px solid var(--border-light);
}

.topic-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-vote-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-normal);
    cursor: pointer;
    transition: all 0.25s ease;
}

.topic-vote-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

.topic-vote-btn.voted {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(139, 115, 85, 0.08);
}

.vote-count {
    font-weight: 600;
}

.vote-label {
    font-size: 10px;
    opacity: 0.8;
}

.topic-comment-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topic-comment-btn:hover {
    color: var(--primary-color);
}

/* 评论区 */
.topic-comments {
    padding: 14px;
    background: var(--bg-page);
    border-top: 1px solid var(--border-light);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
}

.comment-level {
    font-size: 14px;
}

.comment-author {
    font-weight: 600;
    color: var(--text-dark);
}

.comment-text {
    flex: 1;
    color: var(--text-normal);
    min-width: 100px;
}

.comment-time {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.7;
}

.no-comments {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    padding: 20px 0;
}

.view-all-comments {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: var(--bg-content);
    border: none;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-all-comments:hover {
    background: var(--primary-light);
}

.comment-input-area {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.comment-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    background: var(--bg-content);
    color: var(--text-normal);
    outline: none;
}

.comment-input:focus {
    border-color: var(--primary-color);
}

.comment-submit {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.25);
}

/* ===== 浮动按钮 ===== */
.fab-submit {
    position: fixed;
    right: 20px;
    bottom: 60px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(139, 115, 85, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
}

.fab-submit::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    animation: fab-ripple 2s ease-out infinite;
    z-index: -1;
}

@keyframes fab-ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.fab-submit:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(139, 115, 85, 0.45);
}

.fab-submit:hover::before {
    animation-play-state: paused;
    opacity: 0;
}

.fab-submit svg {
    transition: transform 0.3s ease;
}

.fab-submit:hover svg {
    transform: scale(1.1);
}

.fab-text {
    display: none;
}

/* ===== 提交模态框 ===== */
.submit-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.submit-modal.show {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.submit-modal-content {
    position: relative;
    background: var(--bg-content);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.submit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.submit-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--bg-page);
    color: var(--text-dark);
}

.submit-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    background: var(--bg-page);
    color: var(--text-normal);
    resize: vertical;
    min-height: 120px;
    outline: none;
    box-sizing: border-box;
}

.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.char-count {
    display: block;
    text-align: right;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.attachment-group {
    margin-top: 16px;
}

.attachment-label {
    display: block;
}

.attachment-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-normal);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.attachment-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.attachment-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.attachment-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--bg-page);
    border-radius: var(--radius-md);
}

.attachment-preview .file-name {
    font-size: 12px;
    color: var(--text-normal);
}

.remove-attachment {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.remove-attachment:hover {
    color: #f44336;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-prompt {
    padding: 40px 20px;
    text-align: center;
}

.login-prompt p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.btn-login {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.25);
}

/* ===== 评论弹窗 ===== */
.comment-modal {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.comment-modal.show {
    display: flex;
}

.comment-modal .modal-content {
    position: relative;
    background: var(--bg-content);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

.comment-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.comment-modal .modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-page);
    color: var(--text-dark);
}

.comment-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-modal .modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-page);
}

#commentForm {
    display: flex;
    gap: 8px;
}

#commentForm textarea {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 12px;
    background: var(--bg-content);
    color: var(--text-normal);
    resize: none;
    outline: none;
}

#commentForm textarea:focus {
    border-color: var(--primary-color);
}

.btn-comment {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-comment:hover {
    transform: translateY(-1px);
}

.login-tip {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* ===== Toast 提示 ===== */
.wishlist-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--bg-content);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wishlist-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.wishlist-toast.success .toast-icon {
    color: #4caf50;
}

.wishlist-toast.error .toast-icon {
    color: #f44336;
}

.toast-icon {
    font-size: 16px;
    font-weight: 700;
}

.toast-message {
    font-size: 13px;
    color: var(--text-dark);
}

/* ===== 空状态 ===== */
.wishlist-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-content);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

.empty-icon {
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
}

.wishlist-empty p {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.empty-hint {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== 加载更多 ===== */
.load-more-wrap {
    text-align: center;
    padding: 20px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-normal);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.loading-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner.large {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== 加载状态 ===== */
.loading-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-state p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.loading-comments {
    text-align: center;
    padding: 20px;
}

/* ===== 响应式优化 ===== */
@media (max-width: 480px) {
    .wishlist-banner {
        padding: 20px 16px 28px;
    }
    
    .wishlist-banner h1,
    .banner-title {
        font-size: 16px;
    }
    
    .banner-stats {
        gap: 10px;
    }
    
    .stat-item {
        padding: 12px 14px;
        min-width: 80px;
    }
    
    .wishlist-banner .stat-value,
    .banner-stats .stat-value {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .roadmap-section {
        padding: 16px 12px;
    }
    
    .roadmap-title {
        font-size: 15px;
    }
    
    .roadmap-timeline {
        padding-left: 24px;
    }
    
    .wishlist-filters {
        padding: 6px 10px;
        gap: 6px;
    }
    
    .filter-dropdown-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .fab-submit {
        width: 48px;
        height: 48px;
        right: 16px;
        bottom: 50px;
    }
}
