* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'SimHei', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* 背景装饰 */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(200, 200, 200, 0.03) 35px, rgba(200, 200, 200, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(200, 200, 200, 0.03) 35px, rgba(200, 200, 200, 0.03) 70px);
    opacity: 0.5;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(200, 30, 30, 0.05) 0%, 
        rgba(30, 60, 120, 0.05) 50%, 
        rgba(218, 165, 32, 0.05) 100%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(200, 30, 30, 0.1);
}

.stage {
    display: none;
    position: relative;
}

.stage.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

/* 高管讨论阶段（银行办公室场景） */
.discussion-stage {
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.discussion-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%); /* 图片加载失败时的底色 */
    background-image: url('https://images.unsplash.com/photo-1560472355-536de3962603?w=1200&q=80'); /* 银行办公室讨论场景，可替换为本地图片如 url('images/bank-office.jpg') */
    background-size: cover;
    background-position: center;
}

.discussion-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
}

.discussion-overlay {
    position: relative;
    z-index: 2;
    padding: 40px 24px 50px;
    max-width: 600px;
    margin: 0 auto;
}

.discussion-content {
    max-height: 55vh;
    overflow-y: auto;
    margin-bottom: 28px;
}

.discussion-line {
    margin-bottom: 16px;
}

.discussion-scene {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 17px;
    font-style: italic;
    padding: 12px 0;
}

.discussion-dialogue {
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #c81e1e;
}

.discussion-dialogue .comment-role {
    font-weight: 600;
    color: #c81e1e;
    margin-right: 6px;
}

.discussion-dialogue .comment-text {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.discussion-btn,
.discussion-overlay .btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 16px;
}

/* 小红书账号信息 */
.xiaohongshu-account {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    text-align: right;
}

.xiaohongshu-text {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    font-weight: 400;
}

.btn-coaching-intro {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-coaching-intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.35);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 标题样式 */
.header-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #c81e1e;
    position: relative;
}

.header-logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.logo-icon {
    font-size: 64px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

h1 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #c81e1e 0%, #1e3c72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    display: block;
    font-size: 18px;
    color: #666;
    font-weight: 400;
    margin-top: 8px;
    -webkit-text-fill-color: #666;
}

h2 {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    border-bottom: 2px solid #c81e1e;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 24px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.form-row .form-col {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

.form-group-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

select:hover {
    border-color: #c81e1e;
    background: #fff;
    box-shadow: 0 2px 8px rgba(200, 30, 30, 0.1);
}

select:focus {
    outline: none;
    border-color: #c81e1e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.1);
}

input[type="text"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fafafa;
    transition: all 0.3s;
    color: #333;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

input[type="text"]:hover,
textarea:hover {
    border-color: #c81e1e;
    background: #fff;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #c81e1e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.1);
}

/* 简历上传组件 */
.resume-upload-group {
    position: relative;
    z-index: 11;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px dashed #e0e0e0;
    transition: all 0.3s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 6px 12px;
}

.resume-upload-group:hover {
    border-color: #c81e1e;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.resume-upload-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.resume-upload-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    align-self: center;
}

.resume-upload-group .btn-secondary {
    padding: 5px 14px;
    font-size: 13px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.resume-upload-label-btn {
    cursor: pointer;
    margin: 0;
}

.resume-upload-label-btn.parsing {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.resume-upload-group .resume-file-name:empty,
.resume-upload-group .resume-parse-status:empty {
    display: none;
}

.resume-upload-group .resume-file-name:not(:empty),
.resume-upload-group .resume-parse-status:not(:empty) {
    width: 100%;
    margin: 0;
    flex-basis: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.upload-icon {
    font-size: 18px;
}

.resume-file-name {
    color: #666;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.resume-parse-status {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.resume-parse-status.parsing {
    background: #e7f3ff;
    color: #0066cc;
}

.resume-parse-status.success {
    background: #d4edda;
    color: #155724;
}

.resume-parse-status.error {
    background: #f8d7da;
    color: #721c24;
}

.resume-parse-tips {
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fff8e7 0%, #fffbf0 100%);
    border: 1px solid #ffe4b3;
    border-radius: 8px;
    font-size: 14px;
    color: #856404;
    line-height: 1.6;
    animation: fadeIn 0.4s ease-out;
}

/* 面试前提示弹窗 */
.interview-prep-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.interview-prep-content {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 480px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.interview-prep-content h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #c81e1e;
    text-align: center;
}

.interview-prep-tips {
    margin: 0 0 24px 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.9;
    color: #333;
}

.interview-prep-tips li {
    margin-bottom: 8px;
}

.interview-prep-content .btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.form-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* 按钮样式 */
.btn {
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    color: white;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(200, 30, 30, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 30, 30, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* 面试头部 */
.interview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.interview-icon {
    font-size: 32px;
}

.progress {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    color: #c81e1e;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-label {
    color: #666;
    font-size: 14px;
}

/* 面试进行中：标题 + 进度条（位于三个面试官上方） */
.interview-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.interview-status-header .interview-icon {
    font-size: 28px;
}

.interview-status-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #c81e1e;
}

.interview-progress-wrap {
    margin-bottom: 20px;
}

.interview-progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.interview-progress-fill {
    height: 100%;
    width: 0%;
    min-width: 4px;
    background: linear-gradient(90deg, #c81e1e 0%, #e63939 100%);
    border-radius: 5px;
    transition: width 0.5s ease-out;
}

/* 面试场景 */
.interview-scene {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.desk {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, #8b7355 0%, #a0826d 100%);
    border-top: 3px solid #6b5d4f;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.interviewers-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px 0 80px 0;
    position: relative;
    z-index: 1;
}

.interviewer-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    position: relative;
}

.interviewer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #c81e1e;
}

.interviewer-avatar {
    margin-bottom: 12px;
}

.avatar-emoji {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 8px;
    transition: all 0.3s;
    display: inline-block;
}

.avatar-emoji.happy {
    animation: bounce 0.5s ease-out;
}

.avatar-emoji.sad {
    animation: shake 0.5s ease-out;
}

.avatar-emoji.neutral {
    animation: pulse 0.5s ease-out;
}

@keyframes emojiChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.avatar-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
}

.favor-bar {
    margin-top: 10px;
}

.favor-bar-bg {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.favor-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ffa500 50%, #4ecdc4 100%);
    border-radius: 4px;
    transition: width 0.8s ease-out;
    position: relative;
}

.favor-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.favor-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.favor-change {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 18px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 10;
}

.favor-change.positive {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.favor-change.negative {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

@keyframes favorChangeAnim {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(1);
    }
}

/* 问题容器 */
.question-container {
    margin-bottom: 30px;
}

.interviewer {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    gap: 20px;
}

.avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.avatar {
    font-size: 56px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    border: 3px solid #c81e1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.speech-bubble {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 24px;
    border-radius: 16px;
    position: relative;
    flex: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #ffffff;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.05));
}

.bubble-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.bubble-icon {
    font-size: 20px;
}

.bubble-title {
    font-size: 14px;
    color: #c81e1e;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#questionText {
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.8;
    font-weight: 400;
    min-height: 1.8em; /* 防止布局跳动 */
}

/* 打字机效果样式 */
#questionText.typing {
    position: relative;
}

#questionText.typing::after {
    content: '|';
    display: inline-block;
    color: #c81e1e;
    font-weight: 700;
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* 答案选项 */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.answer-option {
    padding: 20px 24px;
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    position: relative;
}

.answer-option strong {
    font-weight: 600;
    color: #c81e1e;
    background: linear-gradient(135deg, rgba(200, 30, 30, 0.1) 0%, rgba(200, 30, 30, 0.05) 100%);
    padding: 2px 4px;
    border-radius: 3px;
}

.answer-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    border-radius: 10px 0 0 10px;
    transition: all 0.3s;
}

.answer-option:hover {
    border-color: #c81e1e;
    background: #fff;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.15);
}

.answer-option:hover::before {
    background: #c81e1e;
}

.answer-option.selected {
    border-color: #c81e1e;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(200, 30, 30, 0.2);
}

/* 面试结束：左右两个选项 */
.answer-options.closing-options {
    flex-direction: row;
    gap: 16px;
}

.answer-options.closing-options .closing-option {
    flex: 1;
    text-align: center;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
}

.answer-options.closing-options .closing-option:hover {
    transform: translateY(-4px);
}

.closing-option-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
    font-weight: normal;
}

.answer-options.closing-options .closing-option.selected .closing-option-hint {
    color: #a01818;
}

@media (max-width: 640px) {
    .answer-options.closing-options {
        flex-direction: column;
    }
}

.answer-option.selected::before {
    background: #c81e1e;
    width: 5px;
}

/* 输入模式切换 */
.input-mode-switcher {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
}

.mode-btn {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mode-btn:hover {
    border-color: #c81e1e;
    background: #fff;
    color: #c81e1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.15);
}

.mode-btn.active {
    border-color: #c81e1e;
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.3);
}

.mode-btn span {
    font-size: 18px;
}

/* 语音输入容器 */
.voice-input-container {
    margin-top: 20px;
    animation: fadeIn 0.3s ease-in;
}

.voice-input-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.voice-input-label {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.voice-input-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #e7f3ff;
    border-radius: 8px;
    margin-bottom: 16px;
    color: #0066cc;
    font-size: 14px;
}

.hint-icon {
    font-size: 18px;
}

.hint-text {
    flex: 1;
}

#voiceInputText {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    resize: vertical;
    margin-bottom: 16px;
    transition: all 0.3s;
    line-height: 1.6;
}

#voiceInputText:focus {
    outline: none;
    border-color: #c81e1e;
    box-shadow: 0 0 0 3px rgba(200, 30, 30, 0.1);
}

.voice-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

/* 手动输入按钮：次要样式，与语音按钮区分 */
.btn-voice-manual {
    background: #fff !important;
    color: #c81e1e !important;
    border: 2px solid #c81e1e !important;
    box-shadow: 0 2px 8px rgba(200, 30, 30, 0.15) !important;
}

.btn-voice-manual:hover {
    background: #fef2f2 !important;
    transform: translateY(-2px);
}

.btn-voice {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(200, 30, 30, 0.3);
}

.btn-voice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 30, 30, 0.4);
}

.btn-voice:active {
    transform: translateY(0);
}

.btn-voice-stop {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-voice-stop:hover {
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.btn-voice-submit {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
    box-shadow: 0 4px 12px rgba(81, 207, 102, 0.3);
}

.btn-voice-submit:hover {
    box-shadow: 0 6px 16px rgba(81, 207, 102, 0.4);
}

.btn-voice.recording {
    animation: pulse-recording 1.5s ease-in-out infinite;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

@keyframes pulse-recording {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

.voice-icon {
    font-size: 20px;
}

.voice-status {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
    min-height: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.voice-status.listening {
    background: #e7f3ff;
    color: #0066cc;
}

.voice-status.processing {
    background: #fff3cd;
    color: #856404;
}

.voice-status.success {
    background: #d4edda;
    color: #155724;
}

.voice-status.error {
    background: #f8d7da;
    color: #721c24;
}

.voice-status.matched {
    background: #d1ecf1;
    color: #0c5460;
}

.voice-status.hint {
    background: #e7f3ff;
    color: #0066cc;
}

/* 评价容器 */
.evaluation-container {
    margin-top: 20px;
}

.evaluation-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.evaluation-actions .btn {
    flex: 1;
    margin: 0;
}

.evaluation-actions .btn-share {
    white-space: normal;
    line-height: 1.4;
    min-height: 48px;
}

@media (max-width: 640px) {
    .evaluation-actions {
        flex-direction: column;
    }
}

/* 面试小人格 */
.interview-personality {
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(200, 30, 30, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.interview-personality::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: personalityGlow 3s ease-in-out infinite;
}

@keyframes personalityGlow {
    0%, 100% {
        transform: rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.6;
    }
}

.personality-badge {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.personality-icon {
    font-size: 80px;
    margin-bottom: 15px;
    display: inline-block;
    animation: personalityBounce 2s ease-in-out infinite;
}

@keyframes personalityBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.personality-type {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.personality-name {
    font-size: 24px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 20px;
}

.personality-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 评价报告页右上角辅导链接 */
.evaluation-stage-with-link {
    position: relative;
}

/* 辅导按钮：箭头动画 */
@keyframes coaching-arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@keyframes coaching-pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(200, 30, 30, 0.4); }
    50% { box-shadow: 0 4px 22px rgba(200, 30, 30, 0.55); }
}

@keyframes coaching-pulse-glow-gold {
    0%, 100% { box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45); }
    50% { box-shadow: 0 4px 24px rgba(212, 175, 55, 0.6); }
}

.evaluation-top-coaching-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    padding: 10px 20px 10px 16px;
    background: linear-gradient(135deg, #c81e1e 0%, #e63939 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(200, 30, 30, 0.4);
    animation: coaching-pulse-glow 2s ease-in-out infinite;
}

.evaluation-top-coaching-btn::after {
    content: '→';
    font-size: 16px;
    font-weight: 700;
    animation: coaching-arrow-bounce 1.2s ease-in-out infinite;
}

.evaluation-top-coaching-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 30, 30, 0.5);
    animation: none;
}

.evaluation-top-coaching-btn:hover::after {
    animation: coaching-arrow-bounce 0.5s ease-in-out infinite;
}

.btn-score-coaching {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 28px;
    text-align: center;
    background: linear-gradient(135deg, #d4af37 0%, #f0c14b 100%);
    color: #2d1810;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
    animation: coaching-pulse-glow-gold 2.5s ease-in-out infinite;
}

.btn-score-coaching::after {
    content: '→';
    font-size: 18px;
    font-weight: 800;
    color: #2d1810;
    animation: coaching-arrow-bounce 1.2s ease-in-out infinite;
}

.btn-score-coaching:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.55);
    animation: none;
}

.btn-score-coaching:hover::after {
    animation: coaching-arrow-bounce 0.5s ease-in-out infinite;
}

.evaluation-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 3px solid #c81e1e;
}

.evaluation-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.evaluation-header h1 {
    margin-bottom: 0;
    -webkit-text-fill-color: #1a1a1a;
}

.user-info-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-info-summary p {
    margin-bottom: 12px;
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.user-info-summary p strong {
    color: #c81e1e;
    font-weight: 600;
    margin-right: 8px;
}

.evaluation-result {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#evaluationContent {
    line-height: 2;
    color: #444;
    margin-bottom: 25px;
    font-size: 16px;
    white-space: pre-line;
}

.score {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 6px 20px rgba(200, 30, 30, 0.3);
    position: relative;
    overflow: hidden;
}

/* 得分明细 */
.score-breakdown {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.score-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.score-item.total {
    background: linear-gradient(135deg, #c81e1e 0%, #a01515 100%);
    color: white;
    border: none;
    font-weight: 600;
    margin-top: 10px;
}

.score-item.total .score-label,
.score-item.total .score-value,
.score-item.total .score-unit {
    color: white;
}

.score-label {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.score-item.total .score-label {
    color: white;
}

.score-value {
    font-size: 28px;
    font-weight: 700;
    color: #c81e1e;
}

.score-value.positive {
    color: #28a745;
}

.score-value.negative {
    color: #dc3545;
}

.score-item.total .score-value {
    font-size: 32px;
    color: white;
}

.score-unit {
    font-size: 16px;
    color: #666;
    margin-left: 5px;
}

.score-item.total .score-unit {
    color: white;
}

.score::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.score h4 {
    color: white;
    border: none;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

#totalScore {
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-top: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 20px;
    }
    
    .form-row .form-col {
        margin-bottom: 25px;
    }
    
    .form-row .form-col:last-child {
        margin-bottom: 0;
    }
    
    .xiaohongshu-account {
        top: 10px;
        right: 10px;
        text-align: right;
    }
    
    .xiaohongshu-text {
        font-size: 10px;
    }
    
    .btn-coaching-intro {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .evaluation-top-coaching-btn {
        top: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 12px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    /* 得分明细响应式 */
    .score-breakdown {
        padding: 15px;
        gap: 15px;
    }
    
    .score-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .score-label {
        font-size: 14px;
    }
    
    .score-value {
        font-size: 24px;
    }
    
    .score-item.total .score-value {
        font-size: 28px;
    }
    
    .score-unit {
        font-size: 14px;
    }
    
    .interview-status-header h2 {
        font-size: 18px;
    }
    
    .interview-progress-bar {
        height: 8px;
    }
    
    .discussion-overlay {
        padding: 30px 16px 40px;
    }
    
    .discussion-content {
        max-height: 50vh;
    }
    
    .discussion-dialogue {
        padding: 12px 14px;
    }
    
    .discussion-dialogue .comment-text {
        font-size: 14px;
    }
    
    .interviewer {
        flex-direction: column;
        align-items: center;
    }
    
    .speech-bubble::before {
        left: 50%;
        top: -12px;
        transform: translateX(-50%);
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
        border-top: none;
        border-bottom: 12px solid #ffffff;
    }
    
    /* 答题区：确保「自定义输入」与「文字选择」两个模式按钮在手机上都能看到 */
    .input-mode-switcher {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .mode-btn {
        padding: 10px 16px;
        font-size: 14px;
        min-width: 0;
    }
    
    .voice-controls {
        gap: 10px;
    }
    
    .btn-voice, .btn-voice-manual {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .voice-input-label {
        font-size: 14px;
    }
    
    .interviewers-panel {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        gap: 10px;
        padding: 15px 0 70px 0;
    }
    
    .avatar-emoji {
        font-size: 36px;
    }
    
    .avatar-name {
        font-size: 12px;
    }
    
    .favor-bar-bg {
        height: 6px;
    }
    
    .favor-value {
        font-size: 12px;
    }
}

/* AI 评价相关样式 */
.loading-text {
    color: #666;
    font-style: italic;
}

.ai-summary {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #c81e1e;
}

.ai-scores {
    margin-bottom: 20px;
}

.ai-scores ul {
    list-style: none;
    padding: 0;
}

.ai-scores li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dim-name {
    color: #333;
}

.dim-score {
    color: #c81e1e;
    font-weight: 600;
    margin-right: 8px;
}

.dim-level {
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.ai-section {
    margin-bottom: 15px;
}

.ai-section h4 {
    margin-bottom: 8px;
    color: #1e3c72;
    font-size: 16px;
}

.ai-section ul {
    margin-left: 20px;
    padding-left: 0;
}

.ai-section li {
    margin-bottom: 5px;
}

/* 得分榜单样式 */
.ranking-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ranking-section h3 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    font-size: 24px;
}

.ranking-container {
    min-height: 100px;
}

.ranking-loading,
.ranking-empty {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 16px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 50px 1fr 160px 100px;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ranking-item.top-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-color: #ffd700;
    font-weight: 600;
}

.ranking-item.top-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    border-color: #c0c0c0;
    font-weight: 600;
}

.ranking-item.top-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a55d 100%);
    border-color: #cd7f32;
    font-weight: 600;
}

.ranking-rank {
    font-size: 20px;
    font-weight: 700;
    color: #c81e1e;
    text-align: center;
}

.ranking-item.top-1 .ranking-rank,
.ranking-item.top-2 .ranking-rank,
.ranking-item.top-3 .ranking-rank {
    color: #1a1a1a;
}

.ranking-school {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.ranking-time {
    font-size: 13px;
    color: #666;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.time-duration {
    font-weight: 500;
    color: #555;
}

.time-date {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.ranking-score {
    font-size: 18px;
    font-weight: 700;
    color: #c81e1e;
    text-align: right;
}

.ranking-item.top-1 .ranking-score,
.ranking-item.top-2 .ranking-score,
.ranking-item.top-3 .ranking-score {
    color: #1a1a1a;
}

/* 响应式：榜单 */
@media (max-width: 768px) {
    .ranking-item {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .ranking-rank {
        grid-row: 1 / 4;
        font-size: 18px;
    }
    
    .ranking-school {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
    }
    
    .ranking-time {
        grid-column: 2;
        grid-row: 2;
        font-size: 12px;
        text-align: left;
        align-items: flex-start;
    }
    
    .ranking-score {
        grid-column: 2;
        grid-row: 3;
        font-size: 16px;
        text-align: left;
        margin-top: 4px;
    }
}

/* 用户排名信息 */
.ranking-user-info {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.user-rank-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.rank-label {
    opacity: 0.9;
}

.rank-value {
    font-weight: 700;
    font-size: 18px;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rank-separator {
    opacity: 0.6;
    margin: 0 5px;
}

.rank-percent {
    color: #ffd700;
    font-weight: 600;
}

/* 响应式：用户排名信息 */
@media (max-width: 768px) {
    .ranking-user-info {
        padding: 12px 15px;
    }
    
    .user-rank-info {
        font-size: 14px;
        flex-direction: column;
        gap: 8px;
    }
    
    .rank-value {
        font-size: 16px;
    }
    
    .rank-separator {
        display: none;
    }
}
