/* ============================================
   热门搜索侧边栏
   ============================================ */
.hero-aside {
    flex-shrink: 0;
    width: 340px;
    position: relative;
    z-index: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* hero-aside 直接包含热门搜索元素 */
.hero-aside .wordcloud-header {
    border-bottom-color: rgba(15, 148, 136, 0.1);
    margin-bottom: 8px;
    padding-bottom: 6px;
    flex-shrink: 0;
}

.hero-aside .tag-cloud-wrap {
    height: 120px;
    padding: 4px 0;
    flex: 1;
    overflow: hidden;
}

#tagCloud {
    width: 100%;
    height: 100%;
}

.hero-aside .hot-tagcloud {
    width: 100% !important;
    height: 100% !important;
}

.hero-aside .wordcloud-placeholder {
    height: 160px;
}

/* ============================================
   热词云图区域
   ============================================ */
.wordcloud-section {
    margin-bottom: 28px;
}

.wordcloud-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(15, 148, 136, 0.08), 0 2px 4px rgba(15, 148, 136, 0.04);
    border: 1px solid var(--border-light);
    overflow: hidden;
    min-height: 360px;
}

.wordcloud-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 148, 136, 0.08);
}

.wordcloud-header i {
    color: #f59e0b;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes progressAnimation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.wordcloud-header span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tag-cloud-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    display: block;
    cursor: default;
}

.tag-cloud-wrap:empty {
    display: none;
}

.hot-tagcloud {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    will-change: transform;
}

.hot-tagcloud-item {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateZ(0);
    will-change: transform, opacity;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    user-select: none;
    white-space: nowrap;
}

.hot-tagcloud-item:hover {
    opacity: 1 !important;
    z-index: 100;
}

.wordcloud-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 320px;
    padding: 20px;
    text-align: center;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 148, 136, 0.1) 0%, rgba(245, 158, 11, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 148, 136, 0.1);
}

.placeholder-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.wordcloud-placeholder p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.wordcloud-placeholder .placeholder-hint {
    margin-top: 6px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* 响应式适配 - 词云图 & 布局 */
@media (max-width: 768px) {
    .hero-row {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-aside {
        width: 100%;
        box-sizing: border-box;
    }

    .wordcloud-section {
        margin-bottom: 24px;
    }
    
    .wordcloud-container {
        padding: 16px;
        border-radius: 16px;
        min-height: 300px;
    }
    
    .tag-cloud-wrap {
        height: 260px;
    }
    
    .wordcloud-placeholder {
        height: 260px;
    }
    
    .placeholder-icon {
        width: 56px;
        height: 56px;
    }
    
    .placeholder-icon i {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 24px 18px;
    }
    
    .hero-content {
        padding-left: 4px;
    }
    
    .hero-badge {
        font-size: 10px;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .hero-feature {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-shape {
        width: 80px;
        height: 80px;
        right: 5%;
        bottom: 5%;
    }
}

@media (max-width: 640px) {
    .hero-aside {
        display: none;
    }
}

/* ============================================
   英雄区域 + 热门搜索 - 采纳 PanHub 设计
   ============================================ */
.hero-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    background: linear-gradient(145deg, rgba(15, 148, 136, 0.12) 0%, rgba(15, 148, 136, 0.04) 35%, rgba(245, 158, 11, 0.06) 70%, rgba(15, 148, 136, 0.08) 100%);
    border-radius: 20px;
    box-shadow: 0 4px 20px -4px rgba(15, 148, 136, 0.15);
    overflow: hidden;
    margin-bottom: 28px;
    min-height: 190px;
}

.hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    z-index: 0;
}

.hero-section {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 12px 28px;
    z-index: 1;
    overflow: hidden;
}

.hero-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #0d9488 0%, #f59e0b 50%, #0d9488 100%);
    opacity: 1;
    z-index: 3;
    margin-left: 0;
    padding-left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 12px;
}

.hero-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
    padding: 5px 10px;
    background: rgba(15, 148, 136, 0.12);
    border: 1px solid rgba(15, 148, 136, 0.25);
    border-radius: 8px;
    animation: heroReveal 0.6s ease-out both;
    animation-delay: 0.05s;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 560px;
    animation: heroReveal 0.6s ease-out both;
    animation-delay: 0.12s;
}

.hero-title-line {
    display: block;
}

.hero-title-line--accent {
    background: linear-gradient(120deg, var(--primary) 0%, #0d9488 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0 0 8px;
    line-height: 1.5;
    max-width: 520px;
    animation: heroReveal 0.6s ease-out both;
    animation-delay: 0.2s;
}

.hero-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}

.hero-feature {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 148, 136, 0.2);
    border-radius: 10px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    animation: heroReveal 0.6s ease-out both;
}

.hero-feature:nth-child(1) { animation-delay: 0.28s; }
.hero-feature:nth-child(2) { animation-delay: 0.34s; }
.hero-feature:nth-child(3) { animation-delay: 0.4s; }

.hero-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 148, 136, 0.15);
    border-color: rgba(15, 148, 136, 0.35);
}

.hero-shape {
    position: absolute;
    right: 8%;
    bottom: 10%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(15, 148, 136, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   搜索栏
   ============================================ */
.search-area {
    margin-bottom: 28px;
}

.input-group-custom {
    max-width: 100%;
    margin: 0;
    box-shadow: 0 4px 16px rgba(15, 148, 136, 0.08), 0 2px 4px rgba(15, 148, 136, 0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow var(--transition-normal), transform var(--transition-fast), width var(--transition-normal);
}

.input-group-custom.expanded {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(15, 148, 136, 0.15), 0 4px 8px rgba(15, 148, 136, 0.08);
}

.input-group-custom:hover {
    box-shadow: 0 6px 20px rgba(15, 148, 136, 0.12), 0 3px 6px rgba(15, 148, 136, 0.06);
}

#searchInput {
    height: 56px;
    border: 2px solid transparent;
    background: white;
    padding: 0 20px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border-color var(--transition-normal), padding var(--transition-normal);
}

#searchInput::placeholder {
    color: var(--text-tertiary);
    transition: color var(--transition-normal);
}

#searchInput:focus {
    box-shadow: none;
    outline: none;
    border-color: var(--primary);
    padding-left: 24px;
}

#searchInput:focus::placeholder {
    color: var(--text-secondary);
}

/* 搜索按钮 */
#searchButton {
    width: 72px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: white;
    padding: 0;
    height: 56px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

#searchButton:hover:not(.searching) {
    filter: brightness(1.05);
    box-shadow: 0 4px 12px rgba(15, 148, 136, 0.3);
}

#searchButton i {
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

/* 纸飞机动画 */
@keyframes fly-animate {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(3px, -3px) rotate(15deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

#searchButton.is-flying i {
    animation: fly-animate 0.8s ease-in-out infinite;
}

/* ============================================
   网盘颜色
   ============================================ */
.bg-purple { background-color: #8c5dff !important; color: white !important; }
.bg-orange { background-color: #f09516 !important; color: white !important; }
.bg-teal { background-color: #32a8a8 !important; color: white !important; }
.bg-mid-blue { background-color: #4f74d9 !important; color: white !important; }
.bg-light-green { background-color: #99cc33 !important; color: white !important; }
.bg-salmon { background-color: #ff8c64 !important; color: white !important; }
.bg-slate-blue { background-color: #4e749c !important; color: white !important; }
.bg-deep-violet { background-color: #6a3de8 !important; color: white !important; }
.bg-coral { background-color: #ff6b6b !important; color: white !important; }
.bg-navy-blue { background-color: #2c3e50 !important; color: white !important; }
.bg-rose { background-color: #e64a73 !important; color: white !important; }
.bg-dark-mint { background-color: #2da885 !important; color: white !important; }
.bg-warm-gold { background-color: #d9a426 !important; color: white !important; }
.bg-olive { background-color: #708238 !important; color: white !important; }
.bg-grape { background-color: #6e5d7e !important; color: white !important; }
.bg-terracotta { background-color: #c05a44 !important; color: white !important; }

/* ============================================
   初始提示区域
   ============================================ */
.initial-prompt-area {
    padding-top: 60px;
    padding-bottom: 60px;
    color: var(--text-secondary);
}

.initial-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 148, 136, 0.1) 0%, rgba(245, 158, 11, 0.06) 100%);
    margin-bottom: 18px;
    border: 1px solid rgba(15, 148, 136, 0.1);
}

.initial-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary);
}

.initial-prompt-area h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   网盘过滤栏
   ============================================ */
#netdisk-filter-bar {
    padding: 12px 8px;
    margin-bottom: 18px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
}

.filter-btn {
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 148, 136, 0.25);
}

/* ============================================
   搜索结果容器
   ============================================ */
#scrollableResults {
    max-height: 80vh;
    overflow-y: auto;
    background: white;
    padding: 0 24px;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
}

/* 结果行样式 */
.result-item {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(15, 148, 136, 0.05);
}

.result-item:last-child {
    border-bottom: none;
}

.result-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.result-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.result-datetime {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.result-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-url-line {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Hot 资源定制样式 */
.result-item.hot-result .result-title,
.result-item.hot-result .result-url-line a {
    font-size: 1rem;
    font-weight: 700;
}

.result-item.hot-result .result-title {
    color: var(--text-primary) !important;
}

/* 网盘名称徽章 */
.netdisk-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.open-button {
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    flex-shrink: 0;
    font-weight: 600;
    height: auto !important;
    line-height: 1.5 !important;
    min-width: auto !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

/* 链接有效性标签 */
.validity-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    font-weight: 600;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.valid-link {
    background-color: #28a745 !important;
    color: white !important;
}

.invalid-link {
    background-color: #dc3545 !important;
    color: white !important;
}

.checking-link {
    background-color: #ffc107 !important;
    color: white !important;
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 768px) {
    body {
        padding: 5px;
        font-size: 14px;
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .container-fluid-custom {
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-row {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* 英雄区域适配 */
    .hero-section {
        padding: 24px 18px;
        margin-bottom: 0;
        border-radius: 16px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 180px;
        box-sizing: border-box;
        flex-shrink: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 8px 0 14px;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 180px;
        box-sizing: border-box;
        overflow: visible;
        position: relative;
        z-index: 2;
        word-break: break-word;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    

    
    .hero-badge {
        display: inline-block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #0d9488;
        margin-bottom: 6px;
        padding: 5px 10px;
        background: rgba(15, 148, 136, 0.12);
        border: 1px solid rgba(15, 148, 136, 0.25);
        border-radius: 8px;
        word-wrap: break-word;
        align-self: flex-start;
    }
    
    .hero-title {
        font-size: 28px;
        max-width: 100%;
        word-wrap: break-word;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 16px;
        max-width: 100%;
        word-wrap: break-word;
        line-height: 1.4;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 8px;
        max-width: 100%;
        display: flex;
        list-style: none;
        margin: 10px 0 0;
        padding: 0;
    }
    
    .hero-feature {
        font-size: 11px;
        padding: 5px 10px;
        flex-shrink: 1;
        white-space: nowrap;
        color: #0f766e;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(15, 148, 136, 0.2);
        border-radius: 10px;
        transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    }
    
    .hero-shape {
        width: 80px;
        height: 80px;
        right: 5%;
        bottom: 5%;
    }
    
    /* 搜索栏适配 */
    .search-area {
        margin-bottom: 20px;
    }
    
    .input-group-custom {
        max-width: 100%;
        margin: 0;
        border-radius: 20px;
    }
    
    #searchInput {
        height: 52px;
        font-size: 0.95rem;
        padding: 0 16px;
    }
    
    #searchButton {
        width: 64px;
        height: 52px;
    }
    
    /* 过滤栏适配 */
    #netdisk-filter-bar {
        padding: 10px 0;
        gap: 8px;
        margin-bottom: 14px;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
    
    /* 结果计数适配 */
    .result-count {
        display: block !important;
        text-align: center;
        font-size: 0.9rem;
        padding: 10px 15px;
        margin: 0 0 15px;
        background: var(--bg-secondary);
        border-radius: 12px;
        color: var(--text-secondary);
    }
    
    /* 结果容器适配 */
    #scrollableResults {
        max-height: 70vh;
        padding: 0 12px;
        border-radius: 14px;
        margin: 0;
    }
    
    /* 结果行适配 */
    .result-item {
        padding: 14px 0;
    }
    
    .result-title {
        font-size: 0.95rem;
        line-height: 1.4;
        font-weight: 600;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* 初始提示区域适配 */
    .initial-prompt-area {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .initial-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .initial-icon-wrapper i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 16px;
    }
    
    .hero-content {
        padding-left: 6px;
    }
    
    .hero-badge {
        display: inline-block;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #0d9488;
        margin-bottom: 8px;
        padding: 5px 10px;
        background: rgba(15, 148, 136, 0.12);
        border: 1px solid rgba(15, 148, 136, 0.25);
        border-radius: 8px;
        word-wrap: break-word;
        align-self: flex-start;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 12px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .hero-features {
        gap: 6px;
    }
    
    .hero-feature {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .input-group-custom {
        border-radius: 18px;
    }
    
    #searchInput {
        height: 48px;
        font-size: 0.9rem;
    }
    
    #searchButton {
        width: 56px;
        height: 48px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
}

/* ============================================
   进度条样式
   ============================================ */
/* ============================================ */
/* 加载 spinner 样式 */
/* ============================================ */

/* 加载按钮样式 */
.progress-button {
    width: 65px !important;
    height: 20px !important;
    padding: 2px 6px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background-color: transparent !important;
    min-width: 65px !important;
    max-width: 65px !important;
    position: relative !important;
    z-index: 1000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: var(--bs-body-color) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;
    border-radius: var(--bs-border-radius) !important;
    transition: none !important;
}

/* 禁用状态的加载按钮 */
.progress-button:disabled {
    pointer-events: auto !important;
    filter: none !important;
    opacity: 1 !important;
}

/* 调整 spinner 大小和位置 */
.progress-button .spinner-border {
    width: 16px !important;
    height: 16px !important;
    border-width: 2px !important;
    margin: 0 !important;
}

/* 移动设备加载按钮样式 */
@media (max-width: 768px) {
    /* 加载按钮样式 */
    .open-button.progress-button {
        width: 65px !important;
        height: 20px !important;
        padding: 2px 6px !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        background-color: transparent !important;
        min-width: 65px !important;
        max-width: 65px !important;
        position: relative !important;
        z-index: 1000 !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important;
        vertical-align: middle !important;
    }
    
    /* 调整移动设备 spinner 大小 */
    .open-button.progress-button .spinner-border {
        width: 16px !important;
        height: 16px !important;
        border-width: 2px !important;
        margin: 0 !important;
    }
}
.douban-section {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(15, 148, 136, 0.08), 0 2px 4px rgba(15, 148, 136, 0.04);
    border: 1px solid var(--border-light);
}

.douban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 148, 136, 0.08);
}

.douban-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.douban-title i {
    color: #0d9488;
    font-size: 1.1rem;
}

.douban-tabs {
    display: flex;
    gap: 8px;
}

.douban-tab {
    padding: 6px 16px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-secondary);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.douban-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(15, 148, 136, 0.05);
}

.douban-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(15, 148, 136, 0.25);
}

.douban-movies-container {
    position: relative;
    min-height: 180px;
}

.douban-skeleton-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.douban-skeleton-item {
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: doubanShimmer 1.5s ease-in-out infinite;
}

@keyframes doubanShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.douban-movie-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.douban-movie-list::-webkit-scrollbar {
    height: 6px;
}

.douban-movie-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.douban-movie-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.douban-movie-list::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.douban-movie-card {
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: calc((100% - 60px) / 6);
    min-width: 140px;
}

.douban-movie-card:hover {
    transform: translateY(-4px);
}

.douban-movie-poster {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.douban-movie-card:hover .douban-movie-poster {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.douban-movie-info {
    margin-top: 8px;
}

.douban-movie-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.douban-movie-rating {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #f59e0b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.douban-movie-rating i {
    font-size: 0.75rem;
}

/* 豆瓣榜单动画效果 */
.douban-movies-container {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    height: 260px;
    display: flex;
    align-items: flex-start;
}

.douban-movie-list {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.douban-movie-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.douban-movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.douban-tab {
    transition: all 0.3s ease;
}

.douban-tab:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.douban-tab.active {
    transform: translateY(-2px);
}

/* 骨架屏动画 */
.douban-skeleton-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
}

.douban-skeleton-item {
    width: calc((100% - 60px) / 6);
    min-width: 140px;
    height: 240px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 响应式适配 - 豆瓣榜单 */
@media (max-width: 1024px) {
    .douban-movie-card {
        width: calc((100% - 36px) / 4);
    }
    
    .douban-skeleton-item {
        width: calc((100% - 36px) / 4);
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .douban-section {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 24px;
    }
    
    .douban-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .douban-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .douban-tab {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .douban-movie-card {
        width: calc((100% - 24px) / 3);
        min-width: 120px;
    }
    
    .douban-skeleton-item {
        width: calc((100% - 24px) / 3);
        min-width: 120px;
    }
    
    .douban-movies-container {
        min-height: 240px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .douban-movie-card {
        width: calc((100% - 16px) / 3);
        min-width: 110px;
    }
    
    .douban-movie-title {
        font-size: 0.8rem;
    }
    
    .douban-skeleton-item {
        width: calc((100% - 16px) / 3);
        min-width: 110px;
    }
    
    .douban-movies-container {
        min-height: 220px;
        height: 220px;
    }
}
