* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 登录界面样式 */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 500px;
    text-align: center;
    animation: loginSlideIn 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
}

/* 登录区域优先级样式 */
.login-section {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.primary-section {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(238, 90, 111, 0.3);
}

.secondary-section {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.admin-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    opacity: 0.8;
    transform: scale(0.98);
}

.login-section:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
}

.section-title h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.priority-badge {
    background: rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.primary-section .priority-badge {
    background: rgba(255,255,255,0.4);
    animation: pulse 2s infinite;
}

.primary-login-btn {
    background: rgba(255,255,255,0.3);
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.primary-login-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.admin-login-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.admin-login-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

/* 联系信息样式 */
/* 独立联系信息框架 */
.contact-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(26, 32, 44, 0.95));
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    animation: slideUp 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-footer.collapsed {
    height: 40px;
}

.contact-footer.collapsed .contact-container {
    display: none;
}

.contact-toggle {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 50px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
    user-select: none;
}

.contact-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.toggle-arrow {
    font-size: 16px;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.contact-footer.collapsed .toggle-arrow {
    transform: rotate(180deg);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: white;
    font-size: 1.1em;
}

.contact-icon {
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

.contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.platform {
    font-size: 0.85em;
    font-weight: 500;
    margin-bottom: 3px;
}

.username {
    font-size: 0.9em;
    color: #ffd700;
    font-weight: bold;
}

.contact-qq {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
}

.qq-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.qq-link:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
    color: #ffed4e;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .contact-link {
        width: 100%;
        max-width: 200px;
    }

    .contact-title {
        font-size: 1em;
    }

    .contact-footer {
        padding: 10px 15px;
    }
}

@keyframes loginSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 三层安全验证样式 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    transition: all 0.3s ease;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step.active:not(:last-child)::after {
    background: linear-gradient(90deg, #28a745, #e9ecef);
    width: 100%;
}

.step.completed:not(:last-child)::after {
    background: #28a745;
    width: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 10px rgba(0,123,255,0.3);
    animation: stepPulse 2s infinite;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-title {
    font-size: 0.9em;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
}

.step.active .step-title {
    color: #007bff;
    font-weight: bold;
}

.step.completed .step-title {
    color: #28a745;
    font-weight: bold;
}

@keyframes stepPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0,123,255,0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 15px rgba(0,123,255,0.5);
    }
}

.security-step {
    animation: stepFadeIn 0.5s ease;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-content {
    margin-bottom: 20px;
}

.step-content h4 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.2em;
    text-align: center;
}

.security-questions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.step-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 10px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.password-strength::before {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.password-strength.weak::before {
    width: 33%;
    background: #dc3545;
}

.password-strength.medium::before {
    width: 66%;
    background: #ffc107;
}

.password-strength.strong::before {
    width: 100%;
    background: #28a745;
}

.login-header h1 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 2em;
}

.login-header p {
    color: #718096;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.login-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.login-error {
    background: #fed7d7;
    color: #c53030;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: bold;
}

.login-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.login-footer p {
    color: #718096;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.guest-btn {
    background: #718096;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guest-btn:hover {
    background: #4a5568;
    transform: translateY(-1px);
}

/* 主界面样式 */
.main-screen {
    min-height: 100vh;
}

/* 管理员栏样式 */
.admin-bar {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.admin-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-badge {
    background: #48bb78;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

#currentTime {
    color: #cbd5e0;
    font-size: 0.9em;
}

.change-password-btn {
    background: #4299e1;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.change-password-btn:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.logout-btn {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c53030;
    transform: translateY(-1px);
}

/* 访客模式样式 */
.guest-mode .upload-section {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.guest-mode .upload-section::after {
    content: "🔒 需要管理员权限";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(229, 62, 62, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1em;
    z-index: 10;
}

.guest-mode .create-vault-btn {
    opacity: 0.6;
    pointer-events: none;
}

.guest-mode .delete-btn,
.guest-mode .delete-vault-btn {
    opacity: 0.6;
    pointer-events: none;
}

.guest-banner {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
}

.guest-banner h3 {
    margin-bottom: 5px;
}

.guest-banner p {
    opacity: 0.9;
    font-size: 0.9em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.main-content {
    display: grid;
    gap: 30px;
}

/* 上传区域样式 */
.upload-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.upload-section h2 {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1.5em;
}

.upload-area {
    border: 3px dashed #cbd5e0;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f7fafc;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #667eea;
    background: #edf2f7;
    transform: translateY(-2px);
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.upload-content h3 {
    color: #4a5568;
    margin-bottom: 10px;
}

.upload-content p {
    color: #718096;
    margin-bottom: 20px;
}

#fileInput {
    display: none;
}

.upload-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 上传进度 */
.upload-progress {
    margin-top: 20px;
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #4a5568;
    font-weight: bold;
}

/* 音频列表区域 */
.audio-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h2 {
    color: #4a5568;
    font-size: 1.5em;
}

.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#searchInput,
#filterSelect {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
}

#searchInput {
    min-width: 200px;
}

#filterSelect {
    min-width: 120px;
}

.audio-list {
    min-height: 200px;
}

.audio-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.audio-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.audio-icon {
    font-size: 1.5em;
    margin-right: 15px;
}

.audio-info {
    flex: 1;
}

.audio-title {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
}

.audio-meta {
    font-size: 0.9em;
    color: #718096;
}

.audio-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.action-btn:hover {
    background: #667eea;
    border-color: #667eea;
    transform: scale(1.1);
}

/* 密码文件库区域 */
.vault-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 数据备份区域 */
.backup-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.backup-section h2 {
    color: #4a5568;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.backup-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.backup-info {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #4299e1;
}

.backup-info h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.backup-info p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.backup-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.backup-btn {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1em;
}

.backup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.4);
}

.restore-label {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1em;
    display: inline-block;
}

.restore-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.vault-section h2 {
    color: #4a5568;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.vault-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vault-controls input {
    flex: 1;
    min-width: 200px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
}

.create-vault-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.create-vault-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

.vault-list {
    min-height: 150px;
}

.vault-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #48bb78;
}

.vault-info h4 {
    color: #2d3748;
    margin-bottom: 5px;
}

.vault-info p {
    color: #718096;
    font-size: 0.9em;
}

.vault-actions {
    display: flex;
    gap: 8px;
}

.vault-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.access-vault-btn {
    background: #4299e1;
    color: white;
}

.delete-vault-btn {
    background: #f56565;
    color: white;
}

.vault-btn:hover {
    transform: scale(1.05);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.empty-icon {
    font-size: 3em;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #4a5568;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    color: #2d3748;
    margin: 0;
}

.close,
.close-vault {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #718096;
    transition: color 0.3s ease;
}

.close:hover,
.close-vault:hover {
    color: #2d3748;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

#favoriteBtn {
    background: #ed64a6;
    color: white;
}

#addToVaultBtn {
    background: #4299e1;
    color: white;
}

#deleteBtn {
    background: #f56565;
    color: white;
}

.modal-footer button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 音频播放器 */
audio {
    width: 100%;
    margin-bottom: 20px;
}

.audio-info p {
    margin-bottom: 8px;
    color: #4a5568;
}

/* 文件库访问 */
.vault-access {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.vault-access input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
}

.vault-access button {
    background: #4299e1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.vault-access button:hover {
    background: #3182ce;
    transform: translateY(-2px);
}

.vault-content h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 2em;
    }

    .section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .controls {
        justify-content: stretch;
    }

    #searchInput,
    #filterSelect {
        flex: 1;
        min-width: auto;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls input {
        min-width: auto;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .audio-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .audio-actions {
        width: 100%;
        justify-content: flex-end;
    }
}


/* --- Custom Video and Icon Styles --- */

#main-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 111.2%; /* Makes video wider to crop ~10% from the right (100/0.9) */
    min-height: 100%;
    height: auto;
    z-index: -100;
    object-fit: cover;
}

.main-bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    overflow: hidden;
    transition: opacity 1s ease;
}

.main-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.upload-section {
    position: relative; /* Needed for video positioning */
    overflow: hidden; /* To contain the video */
    background-color: rgba(255, 255, 255, 0.4); /* Reduced opacity to make video more visible */
}

.upload-section .section-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed to cover for better composition */
    object-position: center 10%; /* Position to show face area, adjusted down 10% */
    z-index: -1;
    opacity: 1.0; /* Changed to 100% opacity as requested */
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transition: opacity 1s ease;
}

.section-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.upload-area {
    position: relative; /* Needed for video positioning */
    overflow: hidden; /* To contain the video */
    background: rgba(247, 250, 252, 0.3); /* Made it more transparent */
    z-index: 0; /* Ensure it's a stacking context */
}

.upload-area .upload-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed to cover to fill the entire area */
    z-index: -1;
    opacity: 0.8;
}

.upload-content {
    position: relative;
    z-index: 1;
}

.section-icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    vertical-align: -8px; /* Adjust vertical alignment */
    border-radius: 50%; /* Make images circular */
    object-fit: cover; /* Ensure proper cropping */
}

/* Make main header more visible against video */
.header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 15px;
}

/* Adjust section backgrounds for better readability */
.audio-section, .vault-section {
    background-color: rgba(255, 255, 255, 0.85);
}

/* Remove original emoji icons */
.upload-icon {
    display: none;
}

/* 游客模式样式 */
.guest-audio-list {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
}

.guest-list-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.guest-list-header h3 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.guest-list-header p {
    color: #6c757d;
    font-size: 1em;
}

.locked-audio-list {
    max-height: 500px;
    overflow-y: auto;
}

.locked-audio-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #dc3545;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.locked-audio-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 1;
}

.locked-audio-item .audio-icon {
    font-size: 1.5em;
    margin-right: 15px;
    color: #dc3545;
}

.locked-audio-item .audio-info {
    flex: 1;
}

.locked-audio-item .audio-title {
    color: #495057;
    margin-bottom: 5px;
    font-size: 1.1em;
    font-weight: 500;
}

.locked-audio-item .audio-meta {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.vault-indicator {
    margin-top: 5px;
}

.vault-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.locked-actions {
    display: flex;
    gap: 8px;
}

.find-vault-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9em;
}

.find-vault-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* 搜索结果样式 */
.search-results-guest {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
}

.search-results-guest h3 {
    color: #495057;
    margin-bottom: 10px;
    text-align: center;
}

.search-results-guest > p {
    color: #6c757d;
    text-align: center;
    margin-bottom: 20px;
}

.search-audio-list {
    max-height: 400px;
    overflow-y: auto;
}

.search-audio-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
}

.search-audio-item .audio-info {
    margin-bottom: 15px;
}

.search-audio-item .audio-title {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.search-audio-item .audio-meta {
    color: #718096;
    font-size: 0.9em;
}

.vault-locations h4 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 1em;
}

.vault-location-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    margin-bottom: 8px;
    border-left: 3px solid #28a745;
}

.vault-name {
    color: #495057;
    font-weight: 500;
}

.access-vault-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85em;
}

.access-vault-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.no-vault {
    color: #dc3545;
    font-style: italic;
    margin: 0;
    text-align: center;
    padding: 10px;
    background: #f8d7da;
    border-radius: 6px;
}

/* 文件库内音频样式优化 */
.vault-audio-item {
    background: #e8f4fd;
    border-left: 4px solid #4299e1;
}

.vault-audio-item:hover {
    background: #d1e7fd;
    transform: translateX(3px);
}

.vault-download-btn {
    background: #28a745;
    color: white;
    border: none;
}

.vault-download-btn:hover {
    background: #218838;
    transform: scale(1.1);
}

/* 访问码管理样式 */
.invite-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 上传权限管理样式 */
.upload-permission-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7em;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-permission-btn:hover {
    background: #218838;
    transform: scale(1.1);
}

.invite-info-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.upload-permission-controls h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

.permission-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.permission-preset-btn {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.permission-preset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.custom-permission {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.custom-permission label {
    font-weight: 500;
    color: #4a5568;
}

.custom-permission input[type="number"] {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1em;
    width: 100px;
}

.custom-add-btn {
    background: #4299e1;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-add-btn:hover {
    background: #3182ce;
    transform: translateY(-1px);
}

.permission-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.permission-warning p {
    color: #856404;
    margin: 0;
    font-weight: 500;
}

.invite-section h2 {
    color: #4a5568;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.invite-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invite-info {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #805ad5;
}

.invite-info h3 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.invite-info p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.invite-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.invite-btn {
    background: linear-gradient(135deg, #805ad5, #6b46c1);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1em;
}

.invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 90, 213, 0.4);
}

.view-invites-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1em;
}

.view-invites-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* 访问码模态框样式 */
.invite-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invite-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-weight: 500;
    color: #4a5568;
}

.option-group select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1em;
    background: white;
}

.invite-code-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.invite-code-display h4 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.invite-url, .invite-code {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    margin-bottom: 10px;
    min-height: 20px;
    display: flex;
    align-items: center;
}

.copy-btn {
    background: #4299e1;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    margin-left: 10px;
}

.copy-btn:hover {
    background: #3182ce;
    transform: scale(1.05);
}

.share-methods {
    background: #e8f4f8;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.share-methods h4 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.invite-list {
    max-height: 400px;
    overflow-y: auto;
}

.invite-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #805ad5;
    transition: all 0.3s ease;
}

.invite-item:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.invite-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.invite-code-text {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #2d3748;
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
}

.invite-item-actions {
    display: flex;
    gap: 8px;
}

.invite-action-btn {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85em;
}

.invite-action-btn:hover {
    background: #c53030;
    transform: scale(1.05);
}

.invite-item-info {
    color: #718096;
    font-size: 0.9em;
    line-height: 1.4;
}

.invite-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
    margin-left: 8px;
}

.invite-status.active {
    background: #c6f6d5;
    color: #22543d;
}

.invite-status.expired {
    background: #fed7d7;
    color: #c53030;
}

.invite-status.used-up {
    background: #e2e8f0;
    color: #4a5568;
}

/* 失效音频样式 */
.disabled-audio {
    opacity: 0.6;
    background: #fff3cd !important;
    border-left: 4px solid #ffc107 !important;
}

.disabled-audio:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.reupload-badge {
    background: #dc3545;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7em;
    margin-left: 8px;
    font-weight: 500;
}

.reupload-btn {
    background: #ffc107 !important;
    color: #212529 !important;
}

.reupload-btn:hover {
    background: #e0a800 !important;
    transform: scale(1.1);
}

/* 背景音乐控制样式 */
.bg-music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1500;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.bg-music-control:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.music-icon {
    font-size: 1.2em;
    animation: musicIdle 3s ease-in-out infinite;
}

.bg-music-control.playing .music-icon {
    animation: musicSpin 2s linear infinite;
}

.bg-music-control.paused .music-icon {
    animation: musicPulse 1.5s ease-in-out infinite;
}

@keyframes musicIdle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
    }
}

@keyframes musicSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes musicPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.music-status {
    color: white;
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bg-music-control:hover .music-status {
    opacity: 1;
}

/* 自定义权限设置样式 */
.custom-permissions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #28a745;
    margin-top: 20px;
}

.custom-permissions h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.permission-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.permission-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.permission-group label {
    font-weight: 500;
    color: #4a5568;
    min-width: 120px;
}

.permission-group select,
.permission-group input[type="number"] {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1em;
    background: white;
    transition: border-color 0.3s ease;
}

.permission-group select:focus,
.permission-group input[type="number"]:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.permission-summary {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.permission-summary p {
    color: #2d3748;
    font-weight: bold;
    margin-bottom: 10px;
}

.permission-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.permission-summary li {
    padding: 5px 0;
    color: #4a5568;
    display: flex;
    justify-content: space-between;
}

.permission-summary span {
    font-weight: 500;
    color: #28a745;
}

/* 🎵 音频展示栏样式 */
.showcase-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.showcase-section h2 {
    color: #4a5568;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.showcase-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-info {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #ed8936;
}

.showcase-info h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.showcase-info p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.showcase-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.showcase-btn {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1em;
}

.showcase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 137, 54, 0.4);
}

.showcase-content {
    margin-top: 20px;
}

.showcase-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.showcase-filter select {
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    background: white;
    min-width: 150px;
}

.showcase-list {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

/* 🎵 右侧音频展示竖轮样式 */
.audio-showcase-sidebar {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 280px;
    max-height: 80vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
}

.audio-showcase-sidebar.collapsed {
    width: 60px;
}

.showcase-header {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.showcase-header h3 {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.audio-showcase-sidebar.collapsed .showcase-header h3 {
    opacity: 0;
    pointer-events: none;
}

.showcase-controls-mini {
    display: flex;
    gap: 8px;
}

.toggle-btn,
.refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.toggle-btn:hover,
.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.audio-showcase-sidebar.collapsed .toggle-btn {
    transform: rotate(180deg);
}

.showcase-wheel-container {
    height: calc(80vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
}

.audio-showcase-sidebar.collapsed .showcase-wheel-container {
    display: none;
}

.showcase-wheel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-audio-item {
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid #ed8936;
    position: relative;
    overflow: hidden;
}

.showcase-audio-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.showcase-audio-item.playing {
    background: linear-gradient(135deg, #fef5e7, #fdebd0);
    border-left-color: #e74c3c;
    animation: showcasePlaying 2s ease-in-out infinite;
}

@keyframes showcasePlaying {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(231, 76, 60, 0.3);
    }
}

.showcase-audio-rank {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #ed8936;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: bold;
}

.showcase-audio-rank.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
}

.showcase-audio-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #d8d8d8);
    color: #333;
}

.showcase-audio-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #daa520);
    color: white;
}

.showcase-audio-info {
    margin-left: 30px;
}

.showcase-audio-title {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showcase-audio-meta {
    font-size: 0.8em;
    color: #718096;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase-play-count {
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.75em;
    color: #4a5568;
    font-weight: 500;
}

.showcase-audio-vault {
    font-size: 0.75em;
    color: #805ad5;
    font-weight: 500;
}

.showcase-audio-controls {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.showcase-play-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75em;
    font-weight: 500;
    flex: 1;
}

.showcase-play-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
}

.showcase-play-btn.playing {
    background: #e53e3e;
}

.showcase-play-btn.playing:hover {
    background: #c53030;
}

.showcase-footer {
    background: #f7fafc;
    padding: 15px;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.audio-showcase-sidebar.collapsed .showcase-footer {
    padding: 8px;
}

.showcase-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: #4a5568;
}

.audio-showcase-sidebar.collapsed .showcase-stats {
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.showcase-stats span {
    font-weight: 500;
}

/* 竖轮滚动条样式 */
.showcase-wheel-container::-webkit-scrollbar {
    width: 6px;
}

.showcase-wheel-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.showcase-wheel-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
    border-radius: 3px;
}

.showcase-wheel-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #dd6b20, #c05621);
}

/* 音频展示项目样式 */
.showcase-item-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #ed8936;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

/* 响应式设计 - 移动端优化 */
@media (max-width: 768px) {
    .bg-music-control {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
    }

    .music-icon {
        font-size: 1em;
    }

    .music-status {
        display: none;
    }

    .step-indicator {
        padding: 15px 10px;
    }

    .step-title {
        font-size: 0.8em;
    }

    .permission-options {
        grid-template-columns: 1fr;
    }

    .permission-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .permission-group label {
        min-width: auto;
        margin-bottom: 5px;
    }

    .permission-group select,
    .permission-group input[type="number"] {
        width: 100%;
    }

    .contact-info {
        font-size: 0.7em;
    }

    .login-container {
        padding: 20px;
    }

    .section-title {
        padding: 10px;
    }

    .section-title h3 {
        font-size: 1.1em;
    }

    /* 移动端右侧竖轮适配 */
    .audio-showcase-sidebar {
        width: 90%;
        max-width: 320px;
        right: 5%;
        left: 5%;
        top: auto;
        bottom: 20px;
        transform: none;
        max-height: 50vh;
    }

    .audio-showcase-sidebar.collapsed {
        width: 60px;
        right: 10px;
        left: auto;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .showcase-wheel-container {
        height: calc(50vh - 120px);
    }
}

/* 🦊 新增功能样式 */

/* 文件库关联功能样式 */
.vault-selection-container {
    padding: 20px;
}

.vault-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.vault-checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vault-checkbox-item:hover {
    background-color: #f8f9fa;
    border-color: #4CAF50;
}

.vault-checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.vault-info {
    flex: 1;
}

.vault-name {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.vault-stats {
    font-size: 0.9rem;
    color: #666;
}

.creator-badge {
    background-color: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 8px;
}

.guest-badge {
    background-color: #2196F3;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 8px;
}

.no-vaults {
    text-align: center;
    color: #999;
    padding: 20px;
    font-style: italic;
}

.create-vault-prompt {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}

.create-first-vault-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
}

.vault-selection-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* 文件库管理样式 */
.vault-management-container {
    padding: 20px;
}

.create-vault-section,
.existing-vaults-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.create-vault-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.create-vault-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.vault-management-list {
    max-height: 400px;
    overflow-y: auto;
}

.vault-management-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    margin-bottom: 10px;
    background-color: #fafafa;
}

.vault-info h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.vault-stats {
    font-size: 0.9rem;
    color: #666;
}

.vault-stats span {
    margin-right: 15px;
}

.vault-actions {
    display: flex;
    gap: 5px;
}

/* 音频管理样式 */
.vault-audio-management {
    padding: 20px;
}

.add-audio-section,
.existing-audios-section {
    margin-bottom: 25px;
}

.add-audio-section h4,
.existing-audios-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.audio-selection {
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-selection select {
    flex: 1;
    height: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.vault-audio-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.vault-audio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.vault-audio-item:last-child {
    border-bottom: none;
}

.audio-info {
    flex: 1;
}

.audio-name {
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.audio-size {
    font-size: 0.9rem;
    color: #666;
}

.audio-actions {
    display: flex;
    gap: 5px;
}

/* 访问码管理样式 */
.search-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.search-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.search-controls input,
.search-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-controls input {
    flex: 1;
    min-width: 200px;
}

.access-codes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.access-codes-table th,
.access-codes-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.access-codes-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.code-text {
    font-family: monospace;
    font-weight: 600;
    color: #2196F3;
}

.btn-copy-code {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 8px;
}

.purpose-input {
    width: 150px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.saved-indicator {
    color: #4CAF50;
    margin-left: 8px;
    display: none;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active {
    background-color: #4CAF50;
    color: white;
}

.status-badge.inactive {
    background-color: #f44336;
    color: white;
}

.expired-badge {
    background-color: #FF9800;
    color: white;
    margin-left: 5px;
}

.usage-bar {
    position: relative;
    width: 100px;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.usage-progress {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.usage-text {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.permissions-display {
    font-size: 0.8rem;
    color: #666;
}

.permission-item {
    margin-bottom: 2px;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-small {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 权限管理模态框样式 */
.permission-management {
    padding: 20px;
}

.permission-item {
    margin-bottom: 20px;
}

.permission-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.permission-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.permission-controls input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.current-info {
    font-size: 0.9rem;
    color: #666;
}

.permission-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* 创建访问码表单样式 */
.create-access-code-form {
    padding: 20px;
}

.form-item {
    margin-bottom: 20px;
}

.form-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-item input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* 通用按钮样式 */
.btn-primary {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1976D2;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-success {
    background-color: #4CAF50;
    color: white;
}

.btn-success:hover {
    background-color: #45a049;
}

.btn-warning {
    background-color: #FF9800;
    color: white;
}

.btn-warning:hover {
    background-color: #F57C00;
}

.btn-danger {
    background-color: #f44336;
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

.btn-info {
    background-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .access-codes-table {
        font-size: 0.9rem;
    }

    .access-codes-table th,
    .access-codes-table td {
        padding: 8px 4px;
    }

    .code-text {
        font-size: 0.8rem;
    }

    .purpose-input {
        width: 100px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .vault-management-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vault-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

    .modal-content {
        width: 95%;
        max-width: none;
        margin: 10% auto;
    }
}

/* 动画效果 */
.modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vault-checkbox-item {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
    .vault-checkbox-item:hover {
        background-color: #37474f;
    }

    .create-vault-prompt {
        background-color: #37474f;
    }

    .vault-management-item {
        background-color: #37474f;
    }

    .search-section {
        background-color: #37474f;
    }

    .access-codes-table th {
        background-color: #37474f;
    }
}

    .admin-stats {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 15px;
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .admin-stats .stat-item {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 15px;
        text-align: center;
        min-width: 120px;
    }

    .admin-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
        border-radius: 8px;
        font-weight: bold;
        min-width: 200px;
    }

    .enhanced-access-modal {
        max-width: 95%;
    }
}

/* 🎵 上传音频区域样式 - 常显上传功能 */
.upload-section-audio {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #48bb78;
}

.upload-audio-header {
    margin-bottom: 20px;
}

.upload-audio-header h3 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-audio-header h3::before {
    content: "🎵";
    font-size: 1.1em;
}

.upload-hint {
    color: #718096;
    font-size: 0.95em;
    margin: 0;
    line-height: 1.5;
}

.upload-area-always {
    border: 3px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f7fafc;
    cursor: pointer;
}

.upload-area-always:hover {
    border-color: #48bb78;
    background: #edf7f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.15);
}

.upload-area-always.enabled {
    border-color: #48bb78;
    background: #edf7f0;
    cursor: pointer;
}

.upload-area-always.disabled {
    border-color: #e2e8f0;
    background: #f7fafc;
    cursor: not-allowed;
    opacity: 0.7;
}

.upload-area-always .upload-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.upload-area-always.enabled .upload-icon {
    color: #48bb78;
}

.upload-area-always h3 {
    color: #4a5568;
    margin-bottom: 8px;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.upload-area-always.enabled h3 {
    color: #2d3748;
}

.upload-area-always p {
    color: #718096;
    margin-bottom: 20px;
    font-size: 0.95em;
}

#fileInputAlways {
    display: none;
}

#uploadBtnAlways {
    background: linear-gradient(135deg, #cbd5e0, #a0aec0);
    color: #718096;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1em;
    cursor: not-allowed;
    transition: all 0.3s ease;
    font-weight: 500;
}

#uploadBtnAlways:not(:disabled) {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    cursor: pointer;
}

#uploadBtnAlways:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
}

/* 🎵 文件库选择器样式 - 我的音频功能 */
.vault-selector {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
}

.vault-selector h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vault-selector h3::before {
    content: "📁";
    font-size: 1.1em;
}

.vault-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1em;
    background: white;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vault-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.vault-select:hover {
    border-color: #667eea;
}

.selected-vault-info {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.vault-name-display {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1em;
}

.change-vault-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 500;
    margin-left: 10px;
}

.change-vault-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 文件库选择器空状态 */
.vault-select:disabled {
    background: #f7fafc;
    color: #a0aec0;
    cursor: not-allowed;
}

.vault-select option {
    padding: 10px;
}

/* 响应式设计 - 文件库选择器 */
@media (max-width: 768px) {
    .vault-selector {
        padding: 15px;
        margin-bottom: 20px;
    }

    .vault-selector h3 {
        font-size: 1.1em;
    }

    .selected-vault-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vault-name-display {
        margin-bottom: 5px;
    }

    .change-vault-btn {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* 🎵 当前文件库音频列表样式 */
.selected-vault-audios {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.vault-audios-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.vault-audios-header h4 {
    color: #2d3748;
    margin: 0;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vault-audios-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

#selectedVaultName {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1em;
}

.audio-count {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
}

.vault-audios-list {
    max-height: 400px;
    overflow-y: auto;
}

.vault-audio-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vault-audio-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.vault-audio-item .audio-icon {
    font-size: 1.5em;
    margin-right: 15px;
    color: #667eea;
}

.vault-audio-info {
    flex: 1;
}

.vault-audio-title {
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.vault-audio-meta {
    font-size: 0.9em;
    color: #718096;
    margin-bottom: 5px;
}

.vault-audio-actions {
    display: flex;
    gap: 8px;
}

.vault-action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vault-action-btn:hover {
    background: #667eea;
    border-color: #667eea;
    transform: scale(1.1);
    color: white;
}

.vault-action-btn.delete:hover {
    background: #e53e3e;
    border-color: #e53e3e;
}

/* 空状态样式 */
.vault-audios-empty {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.vault-audios-empty .empty-icon {
    font-size: 3em;
    margin-bottom: 15px;
    opacity: 0.5;
}

.vault-audios-empty h5 {
    margin-bottom: 10px;
    color: #4a5568;
    font-size: 1.1em;
}

.vault-audios-empty p {
    color: #718096;
    font-size: 0.95em;
    line-height: 1.5;
}

/* 响应式设计 - 音频列表 */
@media (max-width: 768px) {
    .vault-audios-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vault-audios-info {
        width: 100%;
        justify-content: space-between;
    }

    .vault-audio-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vault-audio-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* 📊 上传限制提示区域样式 */
.upload-limit-info {
    background: linear-gradient(135deg, #f0f9ff, #e6f7ff);
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    border-left: 4px solid #3182ce;
    border: 1px solid #bee3f8;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.1);
}

.limit-content {
    text-align: center;
}

.limit-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #3182ce;
    animation: limitPulse 2s ease-in-out infinite;
}

@keyframes limitPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.limit-content h3 {
    color: #2c5282;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.limit-details {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #bee3f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#uploadLimitText {
    font-size: 1.1em;
    color: #2c5282;
    margin-bottom: 10px;
    line-height: 1.5;
}

.limit-number {
    font-weight: bold;
    color: #3182ce;
    font-size: 1.2em;
    background: #ebf8ff;
    padding: 2px 8px;
    border-radius: 12px;
    animation: countUpdate 0.5s ease;
}

@keyframes countUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.limit-hint {
    color: #64748b;
    font-size: 0.95em;
    margin-bottom: 15px;
    line-height: 1.4;
}

.contact-hint {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.contact-hint span {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-hint span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    background: linear-gradient(135deg, #2c5282, #2a4e7c);
}

.contact-hint span::before {
    font-size: 1em;
}

/* 响应式设计 - 上传限制提示 */
@media (max-width: 768px) {
    .upload-limit-info {
        padding: 20px;
        margin-top: 20px;
    }

    .limit-details {
        padding: 15px;
    }

    .contact-hint {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .contact-hint span {
        width: 100%;
        justify-content: center;
    }
}


/* 🎵 管理员专属移除按钮样式 */
.remove-btn {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 50px;
    justify-content: center;
}

.remove-btn:hover {
    background: linear-gradient(135deg, #c53030, #9c2626);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(229, 62, 62, 0.3);
}

.remove-btn:active {
    transform: translateY(0);
}

/* 响应式设计 - 展示栏按钮 */
@media (max-width: 768px) {
    .showcase-audio-controls {
        flex-direction: column;
        gap: 6px;
    }

    .showcase-like-btn,
    .remove-btn {
        width: 100%;
        min-width: auto;
    }
}