:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --card-hover: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --border-color: #334155;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 16px 40px;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 32px;
    margin-top: 16px;
}

.app-header h1 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    background-clip: text;       
    -webkit-background-clip: text;  
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.app-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Sections */
.section-title {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 24px 0 12px 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: var(--text-secondary);
}

/* Audio Card */
.audio-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.audio-card:hover {
    border-color: #475569;
    transform: translateY(-1px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.card-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

.card-info {
    flex: 1;
    overflow: hidden;
}

.card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom Audio Player */
.audio-wrapper {
    display: flex;
    align-items: center;
    background-color: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

audio {
    width: 100%;
    height: 36px;
    outline: none;
    color-scheme: dark;
    border-radius: 6px;
}

/* 针对 Webkit 浏览器的播放器面板微调 */
audio::-webkit-media-controls-panel {
    background-color: transparent;
}
audio::-webkit-media-controls-play-button {
    background-color: var(--accent-color);
    border-radius: 50%;
}

.app-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #475569;
}