body {
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #f5f5f5;
}

.container {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container {
    max-width: 600px;
    margin: 100px auto 0;
    padding: 0 20px;
    transition: inherit;
}

.search-box {
    display: flex;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 32px;
    background: white;
    transition: inherit;
}

#searchInput {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 32px 0 0 32px;
    font-size: 16px;
    outline: none;
    transition: inherit;
}

#searchBtn {
    padding: 0 20px;
    white-space: nowrap; /* 防止文字换行 */
    border: none;
    background: #007aff;
    color: white;
    border-radius: 0 32px 32px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.search-active .search-container {
    margin-top: 20px;
    transform: translateY(-30px);
}

.results-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}

.search-active .results-container {
    opacity: 1;
    transform: translateY(0);
}

.result-list {
    max-width: 800px;
    margin: 0 auto;
}

.result-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s;
}

.result-item:hover {
    transform: translateY(-2px);
}

.disk-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

/* 修改标题行布局 */
.result-title {
    margin: 0;
    line-height: 1.4;
}

/* 新增标题头部容器 */
.title-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

/* 主标题样式 */
.title-main {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    flex: 1;
    margin-right: 10px;
    word-break: break-word;
}

/* 网盘标签样式 */
.result-tag {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

.result-title-sub {
    color: #666;
    font-size: 14px;
    font-weight: normal;
    width: 100%;
    margin: 4px 0;
}

.result-url {
    color: #007bff;
    font-size: 14px;
    margin-top: 8px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.result-time {
    color: #999;
    font-size: 12px;
    margin-left: 8px;
}

.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 16px;
    color: #007aff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1002;
}

.search-active .back-btn {
    opacity: 1;
}

.searchTitle {
    padding: 20px 40px;
    text-align: center;
    font-size: 24px;
    color: #333;
}

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 300px;
    text-align: center;
}

.confirm-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 4px;
    cursor: pointer;
}

.confirm-btn:hover {
    background: #45a049;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}
.disk-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    padding: 0 20px;
}

.disk-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.disk-btn:hover {
    border-color: #007aff;
    color: #007aff;
    transform: translateY(-2px);
}

.disk-btn.active {
    background: #007aff;
    color: white;
    border-color: #007aff;
}

.loader {
    border: 16px solid #f3f3f3; /* 浅灰色边框 */
    border-top: 16px solid #3498db; /* 蓝色边框 */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top:150px ;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 时间信息容器 - 优化移动端显示 */
.time-info {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin: 8px 0;
    flex-wrap: wrap;
    gap: 4px 8px;
}

/* 时间项 */
.time-item {
    display: flex;
    align-items: center;
}

/* 分隔符 */
.separator {
    color: #ccc;
    display: none;
}

/* 时间图标 */
.icon-clock,
.icon-calendar {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-clock {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67V7z"/></svg>');
}

.icon-calendar {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 20a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>');
}

/* 现代风格模态框 */
.modern-modal {
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modern-modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.modern-modal-header {
    padding: 16px 20px;
    background-color: #4a6bff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.modern-close {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.modern-close:hover {
    transform: scale(1.2);
}

.modern-modal-body {
    padding: 20px;
}

.modern-modal-image {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.modern-modal-footer {
    padding: 16px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.modern-btn {
    background-color: #4a6bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.modern-btn:hover {
    background-color: #3a5bef;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#noData {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #888;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .time-info {
        margin-top: 8px;
    }

    .title-header {
        flex-direction: column;
    }

    .title-main {
        margin-bottom: 8px;
        margin-right: 0;
    }

    .result-tag {
        align-self: flex-start;
    }
    
    /* 移动端反馈按钮调整 */
    .feedback-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .feedback-modal-content {
        width: 95%;
    }
}

/* 用户反馈按钮样式 */
.feedback-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 99;
    transition: all 0.3s ease;
}

.feedback-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.feedback-btn svg {
    margin-right: 2px;
}

/* 用户反馈弹窗样式 */
.feedback-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
    animation: fadeIn 0.3s ease-out;
}

.feedback-modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.feedback-modal-header {
    padding: 16px 20px;
    background-color: #007aff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.feedback-close {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.feedback-close:hover {
    transform: scale(1.2);
}

.feedback-modal-body {
    padding: 20px;
}

.feedback-modal-body p {
    margin-top: 0;
    color: #555;
}

.feedback-type {
    display: flex;
    gap: 16px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.feedback-type label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #333;
}

#feedbackContent {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

#feedbackContent:focus {
    border-color: #007aff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.feedback-contact {
    margin-bottom: 10px;
}

.feedback-contact input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.feedback-contact input:focus {
    border-color: #007aff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.feedback-modal-footer {
    padding: 16px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.feedback-submit-btn {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.feedback-submit-btn:hover {
    background-color: #0056b3;
}

.feedback-submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
