﻿/* 搜索结果项整体样式 */
.am-list-news-default .am-list .am-list-item {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.am-list-news-default .am-list .am-list-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #0e90d2;
}

.video-score {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 18px;
    color: #f72;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(247, 34, 34, 0.2);
}
.video-score:first-letter {
    font-size: 22px;
    font-weight: 800;
}

/* 搜索表单（简洁版） */
.search-form-box {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 14px 16px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.search-form-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}


.search-keyword-input {
    flex: 1 1 220px;
    min-width: 0;
    font-size: 15px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.search-keyword-input:focus {
    border-color: #0e90d2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 144, 210, 0.1);
    background: #fafafa;
}

.search-keyword-input::placeholder {
    color: #999;
    font-size: 15px;
}

.search-submit-btn-simple {
    min-width: 96px;
    flex: 0 0 auto;
}
/* 卡片左右布局优化 */
.am-list-news-default .am-list .am-list-item-thumb-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* 封面左侧区域 */
.am-list-news-default .am-list .am-list-item-thumb-left .am-list-thumb {
    padding-left: 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
    width: 200px;
    min-width: 200px;
}

/* 图片尺寸，居中 */
.am-list-news-default .am-list .am-list-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* 内容区域优化 */
.am-list-news-default .am-list .am-list-item-thumb-left .am-list-main {
    flex: 1;
    min-width: 0;
    padding: 0;
}

.am-list-news-default .am-list .am-list-item:hover .am-list-thumb img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 图片遮罩层 */
.am-list-news-default .am-list .am-list-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px;
    pointer-events: none;
}

.am-list-news-default .am-list .am-list-item:hover .am-list-thumb::after {
    opacity: 1;
}
/* 文字右侧边距 */
.am-list-news-default .am-list .am-list-item-text {
    -webkit-line-clamp: 10; 
    max-height: none; 
    line-height: 1.6em;
    margin-right: 10px;
}
/* 电影标题 */
.am-list-item-hd {
    position: relative;
}

.am-list-item-hd a {
    font-size: 150%;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    background: linear-gradient(120deg, #333 0%, #555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.am-list-item-hd a:hover {
    color: #0e90d2;
    background: linear-gradient(120deg, #0e90d2 0%, #0e7cc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media only screen and (max-width: 640px) {
    /* 小屏图片展示完全 */
    .am-list-news-default .am-list-item-thumb-left .am-list-thumb {
        max-height: none;
}
    /* 右侧描述 */
    .am-list-news-default .am-list .am-list-item-text {
    -webkit-line-clamp: 3;
        max-height: 3.9em; 
        line-height: 1.3em;
    }
    /* 电影标题 */
    .am-list-item-hd a {
        font-size: 100%;
    }
}

/* 按钮 */
.am-list .am-list-item-desced .am-btn, .am-list .am-list-item-thumbed .am-btn {
    margin-top: 10px;
    padding: .5em 1em;
}


/* 加载动画美化 */
.search-loading-wrapper {
    text-align: center;
    padding: 80px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 4px;
    margin: 20px 0;
}

.search-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #0e90d2;
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: -0.45s;
    border-top-color: #0e90d2;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
    border-top-color: #0a7bb8;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.15s;
    border-top-color: #086699;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.search-loading-text {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
    animation: pulse-text 2s ease-in-out infinite;
}

.search-loading-hint {
    font-size: 14px;
    color: #999;
    margin: 0;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
}
}

/* 搜索结果容器对齐 */
.search-results-container {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

/* 标签页样式 */
.search-tabs {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-tabs-nav {
    display: flex;
    border-bottom: 2px solid #eaeaea;
    background: #fafafa;
    border-radius: 4px 4px 0 0;
    padding: 0 15px;
}

.search-tab-item {
    position: relative;
    padding: 15px 20px;
    cursor: pointer;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #666;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-tab-item:hover {
    color: #0e90d2;
    background: rgba(14, 144, 210, 0.05);
}

.search-tab-item.active {
    color: #0e90d2;
    border-bottom-color: #0e90d2;
    font-weight: 600;
}

.search-tab-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    background: #0e90d2;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.search-tab-item.active .search-tab-badge {
    background: #ff4757;
}

.search-tabs-content {
    position: relative;
}

.search-tab-pane {
    display: none !important;
    padding: 20px 0;
    animation: fadeIn 0.3s ease;
}

.search-tab-pane.active {
    display: block !important;
}

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

.search-tab-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.search-tab-loading .am-icon-spinner {
    font-size: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.search-tab-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.search-tab-empty-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.search-tab-empty-text {
    font-size: 16px;
    margin-bottom: 10px;
}

/* 云盘搜索结果样式 */
.pan-search-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e8ecf0;
    border-radius: 4px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pan-search-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0e90d2 0%, #5fb3f0 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 4px 0 0 4px;
}

.pan-search-item:hover {
    box-shadow: 0 6px 20px rgba(14, 144, 210, 0.15);
    border-color: #0e90d2;
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.pan-search-item:hover::before {
    opacity: 1;
}

.pan-search-item .am-list-main {
    position: relative;
    padding-left: 0;
}

.pan-item-clickable {
    user-select: none;
}

.pan-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 30px;
    background: linear-gradient(135deg, #f8f9fb 0%, #eef2f6 100%);
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(14, 144, 210, 0.1);
}

.pan-type-icon-quark {
    background-image: url(../fonts/f7935231228f4ad69c27862caa614eb2.woff);
    background-color: transparent;
}

.pan-type-icon-uc {
    background-image: url(../fonts/1c64cb57ad7f4ed6b7268f382a10be41.woff);
    background-color: transparent;
}

.pan-search-item:hover .pan-type-icon {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 6px 12px rgba(14, 144, 210, 0.2);
    border-color: rgba(14, 144, 210, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.pan-item-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8ecf0;
}

.pan-item-actions .am-btn {
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pan-item-actions .am-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pan-item-actions .am-btn:active {
    transform: translateY(0);
}

.pan-transfer-result {
    margin-top: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ecf9ff 0%, #d6f2ff 100%);
    border-left: 5px solid #0e90d2;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(14, 144, 210, 0.12);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 144, 210, 0.15);
}

.pan-transfer-result::before {
    content: '✓';
    position: absolute;
    top: 14px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: #0e90d2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.pan-transfer-result .am-btn {
    margin-right: 8px;
    margin-top: 8px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pan-transfer-result .am-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pan-transfer-result .am-btn-primary {
    background: linear-gradient(135deg, #0e90d2 0%, #0d7db8 100%);
    border: none;
}

.pan-transfer-result .am-btn-primary:hover {
    background: linear-gradient(135deg, #0d7db8 0%, #0c6ba3 100%);
}


/* 移动端标签页优化 */
@media screen and (max-width: 640px) {
    .search-tabs-nav {
        padding: 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .search-tab-item {
        padding: 12px 15px;
    font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .search-tab-badge {
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        padding: 0 5px;
    }
    
    /* 云盘搜索结果移动端优化 */
    .pan-search-item {
        padding: 16px 18px;
        margin-bottom: 14px;
        border-radius: 4px;
    }
    
    .pan-search-item .pan-item-clickable {
        gap: 12px !important;
    }
    
    .pan-type-icon {
        width: 44px;
        height: 44px;
        font-size: 26px;
        border-radius: 4px;
    }
    
    .pan-type-icon-quark {
        background-size: 28px 28px;
    }
    
    .pan-type-icon-baidu {
        background-size: 28px 28px;
    }
    
    .pan-type-icon-uc {
        background-size: 28px 28px;
    }
    
    .pan-type-icon-xunlei {
        background-size: 28px 28px;
    }
    
    .pan-search-item .am-list-item-hd {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    .pan-item-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
    }
    
    .pan-item-actions .am-btn {
        width: 100%;
        padding: 10px 16px !important;
        font-size: 14px;
    }
    
    .pan-transfer-result {
        padding: 14px 16px;
        margin-top: 12px !important;
    }
    
    .pan-transfer-result .am-btn {
        width: 100%;
        margin-top: 8px !important;
        margin-right: 0 !important;
    }
}

/* 搜索结果标题区域美化 */
.search-results-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 24px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.search-results-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-results-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

.title-icon {
    font-size: 24px;
    display: inline-block;
    animation: bounce-in 0.6s ease-out;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.result-count {
    color: #0e90d2;
    font-size: 26px;
    font-weight: 700;
    margin: 0 4px;
}

.search-keyword-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 4px;
    border: 1px solid #bbdefb;
    font-size: 14px;
}

.keyword-label {
    color: #666;
    font-weight: 500;
}

.keyword-value {
    color: #0e90d2;
    font-weight: 600;
    font-size: 15px;
}

.search-debug-info {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    display: inline-block;
}

/* 警告提示框美化 */
.search-alert-wrapper {
    margin-bottom: 24px;
    animation: slide-down 0.4s ease-out;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-alert {
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-left: 4px solid #ffc107;
    padding: 16px 20px;
    margin: 0;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-text {
    color: #856404;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.alert-close {
    color: #856404;
    opacity: 0.6;
    font-size: 20px;
    font-weight: 300;
    transition: all 0.2s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(133, 100, 4, 0.1);
    transform: rotate(90deg);
}

/* 标题区域优化 */
.am-list-item-hd {
    margin-bottom: 12px;
    padding-right: 80px; /* 为评分留出空间 */
    padding-bottom: 8px;
    border-bottom: 1px dashed #e8e8e8;
    position: relative;
}

.am-list-item:hover .am-list-item-hd {
    border-bottom-color: #0e90d2;
}

/* 徽章样式优化 */
.am-list-item-hd .am-badge {
    margin-left: 8px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.am-list-item-hd .am-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 资源站名称徽章（红色） */
.am-list-item-hd .api-name-badge {
    background-color: #dd514c;
    color: #fff;
    border: none;
}

.am-list-item-hd .api-name-badge:hover {
    background-color: #c9302c;
}

/* 官方徽章（绿色） */
.am-list-item-hd .official-badge {
    background-color: #5eb95e;
    color: #fff;
    border: none;
    margin-left: 8px;
}

.am-list-item-hd .official-badge:hover {
    background-color: #4a9d4a;
}

/* 元信息容器样式 */
.search-item-meta-container {
    margin-bottom: 12px;
}

.meta-row {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.7;
}

.meta-row-basic {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-label {
    color: #999;
    font-weight: 600;
    margin-right: 6px;
    white-space: nowrap;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    background: #f5f5f5;
    border-radius: 4px;
    display: inline-block;
}

.meta-value {
    color: #333;
    font-weight: 600;
    padding: 2px 0;
}

.meta-content {
    color: #555;
    word-break: break-all;
    line-height: 1.6;
}

.meta-separator {
    color: #ddd;
    margin: 0 8px;
    font-weight: normal;
}

.meta-row-actors,
.meta-row-directors {
    display: flex;
    align-items: flex-start;
}

.meta-row-actors .meta-content,
.meta-row-directors .meta-content {
    flex: 1;
    margin-left: 4px;
}

/* 描述区域样式 */
.search-item-description {
    margin: 16px 0;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-left: 4px solid #0e90d2;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}



.search-item-description::after {
    content: '"';
    position: absolute;
    top: 8px;
    left: 20px;
    font-size: 32px;
    color: #0e90d2;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.am-list-item:hover .search-item-description {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.search-item-description p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.9;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* 操作区域样式 */
.search-item-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 2px solid #f0f0f0;
    position: relative;
}

.search-item-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #0e90d2, transparent);
}

.search-play-btn {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(14, 144, 210, 0.2);
}

.search-play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.search-play-btn:hover::before {
    width: 300px;
    height: 300px;
}

.search-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 144, 210, 0.4);
}

.search-item-pv {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 12px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-item-pv:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-color: #0e90d2;
    color: #0e90d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.search-item-pv i {
    margin-right: 5px;
    font-size: 14px;
    color: #0e90d2;
}

.pv-value {
    font-weight: 600;
    color: inherit;
}

/* 空结果页面美化 */
.search-empty {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 4px;
    margin: 40px 0;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-empty-icon {
    font-size: 100px;
    margin-bottom: 24px;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

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

.search-empty-text {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.search-empty-keyword {
    color: #0e90d2;
    font-weight: 700;
    font-size: 22px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 4px;
    display: inline-block;
    margin: 0 4px;
    box-shadow: 0 2px 4px rgba(14, 144, 210, 0.2);
}

.search-empty-hint {
    margin-top: 32px;
    position: relative;
    z-index: 1;
    color: #666;
    font-size: 15px;
}

.search-empty-hint p {
    margin: 0 0 12px 0;
    font-weight: 500;
    color: #333;
}

.search-suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
    background: #fff;
    border-radius: 4px;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-suggestions li {
    color: #666;
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.search-suggestions li::before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 16px;
}

.search-empty-keyword {
    color: #0e90d2;
    font-weight: 700;
    font-size: 22px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 4px;
    display: inline-block;
    margin: 0 4px;
    box-shadow: 0 2px 4px rgba(14, 144, 210, 0.2);
}

/* 响应式优化 - 手机端布局美化（保持左右布局） */
@media only screen and (max-width: 640px) {
    /* 卡片整体优化 */
    .am-list-news-default .am-list .am-list-item {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .am-list-news-default .am-list .am-list-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* 保持左右布局，优化间距 */
    .am-list-news-default .am-list .am-list-item-thumb-left {
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
    }
    
    /* 封面图片优化 - 缩小尺寸适应手机 */
    .am-list-news-default .am-list .am-list-item-thumb-left .am-list-thumb {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        flex-shrink: 0;
        margin: 0;
        border-radius: 4px;
        overflow: hidden;
    }
    
    .am-list-news-default .am-list .am-list-thumb img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        min-height: 160px;
        object-fit: cover;
    }
    
    /* 内容区域优化 */
    .am-list-news-default .am-list .am-list-item-thumb-left .am-list-main {
        flex: 1;
        min-width: 0;
        padding: 0;
    }
    
    /* 标题区域优化 */
    .am-list-item-hd {
        padding-right: 50px;
        padding-bottom: 6px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .am-list-item-hd a {
        font-size: 15px;
        line-height: 1.4;
        display: block;
        word-break: break-word;
        font-weight: 600;
    }
    
    /* 评分优化 */
    .video-score {
        font-size: 14px;
        right: 6px;
        top: -2px;
        padding: 3px 6px;
        border-radius: 4px;
    }
    
    .video-score:first-letter {
        font-size: 18px;
    }
    
    /* 搜索表单（简洁版） - 手机端 */
    .search-form-box {
        padding: 16px 8px;
        margin-bottom: 16px;
        border-radius: 4px;
    }
    
    .search-form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        padding: 0 4px;
    }
    
    .search-keyword-input,
    .search-submit-btn-simple {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        display: block;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    /* 手机端输入框优化 - 主要输入区域 */
    .search-keyword-input {
        font-size: 16px !important; /* 至少16px，避免iOS自动缩放 */
        padding: 13px 16px !important;
        height: auto !important;
        min-height: 48px !important; /* 提供足够的触摸区域 */
        border: 1.5px solid #d0d0d0 !important;
        border-radius: 4px !important;
        background: #fff !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        transition: all 0.2s ease !important;
        line-height: 1.5 !important;
    }
    
    .search-keyword-input:focus {
        border-color: #0e90d2 !important;
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(14, 144, 210, 0.12) !important;
        background: #fff !important;
    }
    
    .search-keyword-input::placeholder {
        color: #999 !important;
        font-size: 16px !important;
        opacity: 1 !important;
    }
    
    /* 手机端按钮优化 - 主要操作按钮 */
    .search-submit-btn-simple {
        font-size: 16px !important;
        padding: 13px 20px !important;
        height: auto !important;
        min-height: 48px !important;
        border-radius: 4px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        width: 100% !important;
        background: linear-gradient(135deg, #0e90d2 0%, #0a7bb8 100%) !important;
        border: none !important;
        color: #fff !important;
        box-shadow: 0 2px 8px rgba(14, 144, 210, 0.3) !important;
        transition: all 0.2s ease !important;
    }
    
    .search-submit-btn-simple:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(14, 144, 210, 0.4) !important;
    }
    
    /* 徽章优化 */
    .am-list-item-hd .am-badge {
        margin-left: 4px;
        margin-top: 2px;
        padding: 2px 6px;
        font-size: 9px;
        display: inline-block;
        line-height: 1.2;
    }
    
    /* 资源站名称徽章（红色）- 移动端 */
    .am-list-item-hd .api-name-badge {
        background-color: #dd514c;
        color: #fff;
    }
    
    /* 官方徽章（绿色）- 移动端 */
    .am-list-item-hd .official-badge {
        background-color: #5eb95e;
        color: #fff;
    }
    
    /* 元信息容器优化 */
    .search-item-meta-container {
        margin-bottom: 8px;
    }
    
    .meta-row {
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 1.5;
    }
    
    .meta-row-basic {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .meta-separator {
        display: inline;
        margin: 0 4px;
        font-size: 10px;
    }
    
    .meta-label {
        font-size: 10px;
        padding: 2px 5px;
        margin-right: 3px;
        display: inline-block;
    }
    
    .meta-value {
        font-size: 12px;
        display: inline;
    }
    
    .meta-content {
        font-size: 12px;
        line-height: 1.5;
        display: inline;
        word-break: break-all;
    }
    
    .meta-row-actors,
    .meta-row-directors {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    
    .meta-row-actors .meta-content,
    .meta-row-directors .meta-content {
        margin-left: 3px;
        margin-top: 0;
        flex: 1;
        min-width: 0;
    }
    
    /* 描述区域优化 */
    .search-item-description {
        padding: 8px 10px;
        margin: 10px 0;
        border-radius: 4px;
        border-left-width: 3px;
    }
    
    .search-item-description::after {
        font-size: 20px;
        left: 12px;
        top: 6px;
    }
    
    .search-item-description p {
        font-size: 12px;
        line-height: 1.6;
        text-align: left;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 操作区域优化 */
    .search-item-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .search-play-btn {
        flex: 1;
        min-width: 0;
        text-align: center;
        padding: 8px 12px;
        font-size: 13px;
        font-weight: 600;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(14, 144, 210, 0.25);
    }
    
    .search-play-btn i {
        margin-right: 4px;
        font-size: 14px;
    }
    
    .search-item-pv {
        flex-shrink: 0;
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 4px;
    }
    
    .search-item-pv i {
        font-size: 12px;
        margin-right: 4px;
    }
    
    /* 内容区域文字优化 */
    .am-list-news-default .am-list .am-list-item-text {
        margin-right: 0;
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* 文字右侧边距优化 */
    .am-list-news-default .am-list .am-list-item-text {
        -webkit-line-clamp: 8;
        max-height: none;
        line-height: 1.5em;
        margin-right: 0;
}

    /* 空结果页面优化 */
.search-empty {
        padding: 50px 20px;
        margin: 30px 0;
        margin-left: 0;
        margin-right: 0;
        border-radius: 4px;
}

.search-empty-icon {
    font-size: 64px;
        margin-bottom: 16px;
}

.search-empty-text {
    font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.6;
}

    
    /* 搜索表单优化 */
    .am-panel-bd {
        padding: 12px;
    }
    
    .am-input-group {
    margin-bottom: 10px;
}

    /* 搜索栏手机端优化 */
    .search-bar-wrapper {
        max-width: 100%;
    }
    
    #search-form .am-input-group {
        flex-direction: column;
        gap: 0;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
    }
    
    #search-form .am-input-group-btn {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
        height: 44px;
        padding: 0 16px;
        font-size: 15px;
        border-top: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .search-input:focus {
        background: #fafafa;
    }
    
    .search-submit-btn {
        width: 100%;
        height: 48px;
        padding: 0 20px;
        font-size: 16px;
        border-radius: 0 0 4px 4px;
        min-width: auto;
    }
    
    .search-submit-btn:hover {
        transform: none;
    }
    
    .search-btn-text {
        display: inline;
    }
    
    /* 标题栏优化 */
    .am-list-news-hd h2 {
        font-size: 18px;
        line-height: 1.4;
    }
    
    /* 列表项间距优化 */
    .am-list-news-default .am-list > li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .am-list-news-default .am-list > li:last-child {
        border-bottom: none;
    }
}

/* 加载更多按钮样式 */
.load-more-item {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.load-more-wrapper {
    text-align: center;
    padding: 20px;
}

.load-more-btn {
    min-width: 200px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    background: linear-gradient(135deg, #0e90d2 0%, #0a7bb8 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(14, 144, 210, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #fff;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #0d7db8 0%, #0c6ba3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 144, 210, 0.35);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(14, 144, 210, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hidden-results-data {
    display: none !important;
}

/* 移动端加载更多按钮优化 */
@media screen and (max-width: 640px) {
    .load-more-wrapper {
        padding: 16px;
    }
    
    .load-more-btn {
        width: 100%;
        min-width: 0;
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 搜索列表图片加载骨架屏效果 */
.am-list-news-default .am-list .am-list-thumb {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    position: relative;
}

/* 图片加载中的占位图标 */
.am-list-news-default .am-list .am-list-thumb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ccc'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

/* 图片加载中的闪烁动画 */
.am-list-news-default .am-list .am-list-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
    animation: skeleton-loading 1.5s infinite;
    z-index: 2;
    pointer-events: none;
}

/* 图片加载完成后隐藏占位图标和闪烁动画 */
.am-list-news-default .am-list .am-list-thumb.loaded::before,
.am-list-news-default .am-list .am-list-thumb.loaded::after {
    display: none;
}

/* 图片初始隐藏，加载完成后显示 */
.am-list-news-default .am-list .am-list-thumb img {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 3;
}

.am-list-news-default .am-list .am-list-thumb img.loaded {
    opacity: 1;
}

/* 移动端适配 */
@media (max-width: 640px) {
    .am-list-news-default .am-list .am-list-thumb::before {
        width: 40px;
        height: 40px;
    }
}
