/* 多网盘下载卡片样式 - 无图标、无下划线 */
.pan-card {
    margin: 20px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* 文件信息行 */
.pan-file-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.pan-file-icon {
    font-size: 20px;
}

.pan-file-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.pan-file-size {
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 20px;
}

.pan-file-date {
    font-size: 12px;
    color: #9ca3af;
    margin-left: auto;
}

/* 分割线 */
.pan-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 12px 0 16px 0;
}

/* 网盘项目 - 无图标 */
.pan-item {
    margin-bottom: 16px;
    padding: 8px 0;
}

.pan-item:last-child {
    margin-bottom: 0;
}

.pan-item-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* 下载按钮 - 无下划线 */
.pan-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    flex-shrink: 0;
}

.pan-download-btn:hover {
    background: #2563eb;
    text-decoration: none;
    color: #ffffff;
}

/* 提取码区域 */
.pan-code-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pan-code-label {
    font-size: 13px;
    color: #6b7280;
}

.pan-code-value {
    font-weight: 600;
    color: #1f2937;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1px;
}

.pan-copy-btn {
    background: #f3f4f6;
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    color: #4b5563;
    transition: all 0.2s;
    text-decoration: none;
}

.pan-copy-btn:hover {
    background: #e5e7eb;
    text-decoration: none;
}

/* 错误提示 */
.pan-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #fecaca;
}

/* ========== 响应式布局 ========== */

/* 桌面端（>768px）- 按钮和提取码同一行 */
@media (min-width: 769px) {
    .pan-item-row {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .pan-download-btn {
        width: auto;
    }
    
    .pan-file-date {
        margin-left: auto;
    }
}

/* 平板端（481px - 768px） */
@media (min-width: 481px) and (max-width: 768px) {
    .pan-card {
        padding: 18px;
    }
    
    .pan-item-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }
    
    .pan-download-btn {
        width: auto;
        min-width: 180px;
        justify-content: center;
    }
    
    .pan-file-row {
        gap: 8px;
    }
}

/* 手机端（≤480px）- 全部居中，按钮全宽 */
@media (max-width: 480px) {
    .pan-card {
        padding: 16px;
        text-align: center;
    }
    
    /* 文件信息居中 */
    .pan-file-row {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .pan-file-icon {
        font-size: 24px;
    }
    
    .pan-file-name {
        font-size: 16px;
    }
    
    .pan-file-size {
        display: inline-block;
    }
    
    .pan-file-date {
        margin-left: 0;
        width: 100%;
    }
    
    /* 分割线 */
    .pan-divider {
        margin: 12px 0;
    }
    
    /* 网盘项目居中 */
    .pan-item {
        text-align: center;
    }
    
    .pan-item-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    /* 按钮全宽 */
    .pan-download-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    /* 提取码区域居中 */
    .pan-code-box {
        justify-content: center;
    }
}