/* 基础重置 */
html, body {
    margin: 0; padding: 0; height: 100vh; width: 100%;
    overflow: hidden; background: #121212;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
}

.card {
    width: 100%; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; padding: 20px; gap: 30px;
    transition: background 0.8s ease, flex-direction 0.5s ease;
}

.cover {
    border-radius: 8px; object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: all 0.5s ease;
    background: #282828; /* 占位色 */
}

.info {
    flex: 1; min-width: 0; max-width: 500px;
    display: flex; flex-direction: column;
}

.title {
    color: white; margin: 0 0 5px 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.artist {
    color: rgba(255,255,255,0.6); margin: 0 0 20px 0; font-size: 16px;
}

audio {
    width: 100%; height: 35px;
    filter: invert(1) hue-rotate(180deg) brightness(1.5);
    margin-bottom: 15px;
}

.nav-buttons {
    display: flex; gap: 20px;
}

.nav-buttons button {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: white; border-radius: 50%; width: 40px; height: 40px;
    cursor: pointer; transition: all 0.2s; font-size: 18px;
}

.nav-buttons button:hover {
    background: rgba(255,255,255,0.1); border-color: white;
}

/* --- 响应式断点 --- */
@media (max-height: 180px) {
    .card { flex-direction: row; padding: 10px 20px; gap: 15px; }
    .cover { width: 60px; height: 60px; }
    .artist { display: none; }
    .nav-buttons { display: none; }
}

@media (min-height: 181px) and (max-height: 400px) {
    .card { flex-direction: row; }
    .cover { width: 180px; height: 180px; }
}

@media (min-height: 401px) {
    .card { flex-direction: column; text-align: center; }
    .cover { width: 300px; height: 300px; }
    .info { align-items: center; }
}