* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}
body {
    font-family: KaiTi, SimKai, "楷体", serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background-color: #722f37;
    transition: background-color 0.3s ease;
}
@media (prefers-color-scheme: dark) {
    body.theme-eyeball {
        background-color: #5a2a2a !important;
    }
    body.theme-bouncing {
        background-color: #0f101f !important;
    }
}
@media (prefers-color-scheme: light) {
    body.theme-eyeball {
        background-color: #722f37 !important;
    }
    body.theme-bouncing {
        background-color: #1a1b2f !important;
    }
}
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}
.site-title {
    position: fixed;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 10;
    font-family: KaiTi, SimKai, "楷体", serif;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.control-panel {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    max-width: 15vw;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 0 20px 20px 0;
    padding: 15px;
    color: white;
    z-index: 20;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    font-family: KaiTi, SimKai, "楷体", serif;
}
.control-panel.collapsed {
    transform: translateX(-100%) translateY(-50%);
}
.panel-toggle {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none;
}
.panel-toggle::before {
    content: "◀";
}
.control-panel.collapsed .panel-toggle::before {
    content: "▶";
}
.panel-item {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.panel-item label {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
input[type="range"] {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, #aaa, #fff);
    border-radius: 2px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.theme-options {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}
.theme-option {
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.2s;
    font-size: 13px;
}
.theme-option.active {
    background: white;
    color: #1a1b2f;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}
/* 其他样式保持不变，以下仅列出麦克风图标相关新增/修改部分 */
.mic-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}
.mic-icon::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 18px;
    background: white;
    border-radius: 6px;
    bottom: 4px;
    left: 6px;
}
.mic-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 4px;
    left: 8px;
}
.mic-icon.active::before {
    background: #ff6b6b;
}
.mic-icon.active::after {
    background: #ff6b6b;
}
.mic-icon.muted::after {
    content: "✕";
    color: red;
    font-size: 18px;
    font-weight: bold;
    top: 2px;
    left: 6px;
    background: transparent;
    width: auto;
    height: auto;
    border-radius: 0;
}

.volume-bars {
    display: inline-flex;
    gap: 3px;
    margin-left: 8px;
    align-items: center;
}
.volume-bar {
    width: 4px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    transition: height 0.05s ease;
}
.btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: transform 0.1s, background 0.2s;
}
.btn:active {
    transform: scale(0.96);
}
.task-card {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 15vw;
    max-width: 250px;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 15;
    font-family: KaiTi, SimKai, "楷体", serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.task-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 8px;
}
.task-type {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 8px 0;
}
.task-content {
    font-size: 14px;
    line-height: 1.4;
    max-height: 200px;
    overflow-y: auto;
}
.progress-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    z-index: 20;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00c6ff, #ff8c00);
    border-radius: 4px;
    transition: width 0.2s linear;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.modal-content {
    background: white;
    color: #333;
    border-radius: 30px;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    font-family: KaiTi, SimKai, "楷体", serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.modal-content button {
    margin-top: 20px;
    background: #ff8c00;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 16px;
    cursor: pointer;
    color: white;
}
canvas {
    pointer-events: none;
}
.control-panel,
.task-card,
.progress-container {
    pointer-events: auto;
}