body {
    background-color: #121212;
    color: #D4AF37;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

h2 {
    letter-spacing: 2px;
    font-weight: 300;
}

#mic-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mic-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

#mic-btn.active {
    background: #D4AF37;
    box-shadow: 0 0 50px #D4AF37;
}

/* 容器内的转写区域 */
#transcript {
    min-height: 50px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #D4AF37;
    font-style: italic;
    color: #aaa;
    font-size: 0.95em;
    text-align: left;
}

/* 按钮样式：统一使用 SVG 图标 */
#recordBtn {
    background: transparent;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    color: #D4AF37;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
}

#recordBtn:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
}

/* 录音时的呼吸灯效果 */
.recording {
    background: rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    border-color: #fff !important;
    color: #fff !important;
}

#status {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 175, 55, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    /* 让长文本可以滚动 */
    max-height: 40vh;
    overflow-y: auto;
}

/* 简单的波动动画 */
.pulse {
    animation: pulse-animation 1.5s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}