* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: white;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* 登录界面 */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-container h1 {
    font-size: 2em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    letter-spacing: 8px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-primary:active {
    transform: scale(0.98);
}

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: #ffebee;
    color: #c62828;
    border-radius: 6px;
    font-size: 0.9em;
}

/* 主界面 */
.main-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mobile-header {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 44px;
}

.room-info-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.room-code-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    min-width: 80px;
    text-align: center;
}

/* 菜单按钮 */
.mobile-menu-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 24px;
    color: #667eea;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-btn:active {
    transform: scale(0.9);
}

.menu-icon {
    font-size: 24px;
    line-height: 1;
}

.menu-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: #f44336;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 房间列表下拉菜单 */
.mobile-rooms-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 15px 20px;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dropdown-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 90%;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    flex-shrink: 0;
}

.dropdown-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
    flex: 1;
}

.dropdown-close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 10px;
}

.dropdown-close-btn:active {
    background: #f0f0f0;
    transform: scale(0.9);
}

.dropdown-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.mobile-room-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.mobile-room-item:last-child {
    border-bottom: none;
}

.mobile-room-item:active {
    background: #f5f5f5;
}

.mobile-room-item:hover {
    background: #fafafa;
}

.mobile-room-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mobile-room-item-title {
    font-weight: 600;
    color: #333;
    font-size: 1em;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.mobile-room-item-code {
    font-size: 0.85em;
    color: #667eea;
    font-weight: 600;
    background: #e8eaf6;
    padding: 4px 8px;
    border-radius: 4px;
}

.mobile-room-item-info {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

.mobile-room-item-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-room-item-empty {
    padding: 60px 20px;
    text-align: center;
    color: #999;
    font-size: 1em;
    background: white;
}

/* 下拉菜单滚动条样式 */
.dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.dropdown-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.room-code-label {
    font-size: 0.9em;
    color: #666;
}

.room-code-label strong {
    color: #667eea;
    font-size: 1.1em;
}

/* 视频名称显示（在视频下方，时间码上方） */
.video-name-display-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    width: 100%;
}

.video-name-text {
    color: #333;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    min-width: 0;
}

.video-mode-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.mobile-main {
    flex: 1;
    padding: 0;
    padding-bottom: 200px; /* 为底部固定的按钮预留空间 */
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    overflow-x: hidden;
}

/* 时间码显示（同步模式） */
.timecode-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 15px 20px;
}

.timecode-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.timecode-value {
    font-size: 2.5em;
    font-weight: 700;
    color: #667eea;
    font-variant-numeric: tabular-nums;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.play-status-mobile {
    font-size: 0.9em;
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
}

.play-status-mobile.playing {
    background: #4CAF50;
    color: white;
}

.play-status-mobile.paused {
    background: #ff9800;
    color: white;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 15px 20px 60px 20px;
    margin-top: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.action-buttons-watermark {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.06);
    font-weight: 300;
    letter-spacing: 4px;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

.action-btn {
    flex: 1;
    max-width: 180px;
    min-height: 120px;
    aspect-ratio: 1;
    border: none;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.action-btn:active {
    transform: scale(0.95);
}

.btn-like {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.btn-like:active {
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.btn-ok {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.btn-ok:active {
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

.btn-dislike {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.btn-dislike:active {
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

.icon-like,
.icon-ok,
.icon-dislike {
    font-size: 56px;
    line-height: 1;
}

/* 操作反馈 */
.action-feedback {
    position: fixed;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 24px;
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 200;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.action-feedback.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.action-feedback.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.3);
}

.action-feedback.info {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
}

/* 我的操作记录 */
.my-actions {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px 20px;
}

.my-actions h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
}

.action-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
}

.action-item.like {
    background: #e8f5e9;
}

.action-item.ok {
    background: #fff3e0;
}

.action-item.dislike {
    background: #ffebee;
}

.action-type {
    font-weight: 600;
}

.action-time {
    color: #666;
    font-variant-numeric: tabular-nums;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .timecode-value {
        font-size: 2em;
    }

    .action-btn {
        max-width: 140px;
        min-height: 100px;
        font-size: 16px;
    }

    .icon-like,
    .icon-ok,
    .icon-dislike {
        font-size: 48px;
    }
    
    .feedback-btn-compact {
        max-width: 120px;
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .feedback-icon-compact {
        font-size: 16px;
    }
    
    .timecode-value-inline {
        font-size: 1.1em;
    }
    
    .playback-notice {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .playback-notice-icon {
        font-size: 18px;
    }
}

/* 滚动条样式 */
.action-list::-webkit-scrollbar {
    width: 4px;
}

.action-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.action-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.action-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* 视频播放器区域 */
.video-player-section-mobile {
    width: 100%;
    max-width: 100vw;
    background: #000;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
}

/* 播放端在线提示 */
.playback-notice {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.playback-notice-icon {
    font-size: 20px;
    line-height: 1;
}

.playback-notice-text {
    flex: 1;
    line-height: 1.4;
}

#mobileVideoPlayer {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* 视频下方时间码显示 */
.video-timecode-mobile {
    padding: 12px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.timecode-display-mobile-inline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}

.timecode-value-inline {
    font-size: 1.3em;
    font-weight: 700;
    color: #667eea;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.play-status-mobile-inline {
    font-size: 0.7em;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 48px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.timecode-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 1;
    min-width: 0;
    text-align: right;
    margin-left: auto; /* 确保时间元数据在右侧 */
}

.time-meta-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.time-meta-label-row {
    font-size: 0.7em;
    color: #999;
    font-weight: 500;
    line-height: 1.2;
}

.time-meta-value-row {
    font-size: 0.8em;
    color: #666;
    font-weight: 500;
    line-height: 1.2;
}

.play-status-mobile-inline.playing {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.play-status-mobile-inline.paused {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

/* 等待播放状态的样式 */
.play-status-mobile-inline:not(.playing):not(.paused) {
    background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(158, 158, 158, 0.3);
}

/* 播放模式标记 */
.play-mode-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 12px;
    background: #e3f2fd;
    color: #1976d2;
    font-size: 0.8em;
    font-weight: 500;
}

.play-mode-badge.playback-mode {
    background: #fff3e0;
    color: #e65100;
}

.play-mode-icon {
    font-size: 14px;
    line-height: 1;
}

.play-mode-text {
    font-size: 0.85em;
}

/* 汇总统计区域 */
.summary-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.2em;
    text-align: center;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    border: 2px solid #e9ecef;
}

.stat-item .stat-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.stat-item .stat-value {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
}

/* 反馈按钮区域（紧凑横向设计） */
.feedback-buttons-compact {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.feedback-btn-compact {
    flex: 1;
    max-width: 150px;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.feedback-btn-compact:active {
    transform: scale(0.95);
}

.feedback-icon-compact {
    font-size: 18px;
    line-height: 1;
}

.feedback-text-compact {
    font-size: 13px;
}

.feedback-btn {
    flex: 1;
    max-width: 200px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.feedback-btn:active {
    transform: scale(0.95);
}

.btn-text-feedback {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.btn-text-feedback:active {
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.4);
}

.btn-voice-feedback {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.btn-voice-feedback:active {
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.4);
}

.feedback-icon {
    font-size: 32px;
    line-height: 1;
}

/* 反馈模态框 */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
}

.feedback-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.feedback-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    flex-shrink: 0;
}

.feedback-modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
    font-weight: 600;
}

.feedback-modal-close {
    background: transparent;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.feedback-modal-close:active {
    background: #f0f0f0;
    transform: scale(0.9);
}

.feedback-modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    min-height: 0;
}

.feedback-timecode-display {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 0.9em;
    color: #666;
}

.feedback-timecode-display strong {
    color: #667eea;
    font-size: 1.1em;
}

.feedback-input-group {
    margin-bottom: 10px;
}

.feedback-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s;
}

.feedback-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.feedback-char-count {
    text-align: right;
    margin-top: 5px;
    font-size: 0.85em;
    color: #999;
}

.feedback-modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: white;
    flex-shrink: 0;
}

.feedback-modal-footer .btn {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.feedback-modal-footer .btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.feedback-modal-footer .btn-secondary:active {
    background: #e0e0e0;
}

.feedback-modal-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feedback-modal-footer .btn-primary:active {
    transform: scale(0.98);
}

.feedback-modal-footer .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 语音录制控制 */
.voice-recording-controls {
    text-align: center;
}

.recording-status {
    margin-bottom: 20px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f44336;
    font-weight: 600;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: #f44336;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.recording-time {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    font-variant-numeric: tabular-nums;
}

.recording-buttons {
    margin-bottom: 20px;
}

.btn-record {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-record:active {
    transform: scale(0.98);
}

.btn-stop {
    background: #6c757d;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-stop:active {
    transform: scale(0.98);
}

.audio-preview-container {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
}

.audio-preview-container audio {
    width: 100%;
    margin-bottom: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .feedback-btn {
        max-width: 150px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .feedback-icon {
        font-size: 28px;
    }

    .feedback-modal-content {
        max-width: 100%;
        border-radius: 15px;
    }

    .feedback-modal-footer {
        flex-direction: column;
    }

    .feedback-modal-footer .btn {
        width: 100%;
    }
}

