:root {
    --primary-color: #4482FA;
    --title-color: #D9B96B;
    --text-color: #2F3542;
    --bg-white: #FFFFFF;
    --highlight-bg: #F8F3ED;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-white);
    color: var(--text-color);
    line-height: 1.6;
}

audio {
    display: none;
}

/* Toast 提示样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    z-index: 9999;
    animation: fadeInOut 2s ease-in-out;
    pointer-events: none;
    white-space: nowrap;
    max-width: 90%;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
}
