.audio-comparer-card {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    padding: 20px;
    border-radius: 16px;
    background-color: #1e1e24;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
    color: #fff;
    box-sizing: border-box;
}

.ac-main-layout {
    display: flex;
    gap: 20px;
    align-items: center;
}

.ac-cover-container {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.ac-cover-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.ac-player-body {
    flex-grow: 1;
}

.ac-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ac-meta {
    flex-grow: 1;
    padding-right: 15px;
}

.ac-title {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.ac-artist {
    font-size: 0.9rem;
    color: #a0a0ab;
}

.ac-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ac-spotify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #1db954;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.ac-spotify-btn:hover {
    transform: scale(1.08);
    background-color: #1ed760;
}

.ac-spotify-btn span {
    color: #fff !important;
}

.ac-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #1db954;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    font-size: 1rem;
}

.ac-play-btn:hover {
    transform: scale(1.05);
}

.ac-play-icon {
    margin-left: 2px;
}

.ac-progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ac-time {
    font-size: 0.8rem;
    color: #a0a0ab;
    width: 35px;
    text-align: center;
}

.ac-progress-bar {
    flex-grow: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.ac-progress-fill {
    width: 0%;
    height: 100%;
    background-color: #1db954;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}

.ac-progress-handle {
    width: 10px;
    height: 10px;
    background-color: #1db954;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 0;
    opacity: 0;
    transition: opacity 0.1s;
}

.ac-progress-bar:hover .ac-progress-handle {
    opacity: 1;
}

.ac-selectors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
}

.ac-btn-toggle {
    background: transparent;
    border: 1px solid transparent;
    color: #a0a0ab;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: center;
}

.ac-btn-toggle.active {
    background-color: #1db954;
    color: #ffffff;
}

.ac-btn-toggle:hover:not(.active) {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 480px) {
    .ac-main-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ac-header {
        flex-direction: column;
        gap: 12px;
    }
    .ac-meta {
        padding-right: 0;
    }
}
