.page {
    min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
    padding: 1.25rem;
    display: flex;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 600px;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    height: fit-content;
}

.cardHeader {
    padding: 1.25rem 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 1rem;
}

.cardTitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.refreshBtn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 240, 238, 0.5);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.85rem;
}

.refreshBtn:hover {
    color: var(--secondary);
    background: var(--accent);
    transform: rotate(90deg);
}

/* ── Search ────────────────────────────────────── */
.searchWrapper {
    position: relative;
    padding: 1rem 1.25rem 0;
    display: flex;
    align-items: center;
}

.searchWrapper>i {
    position: absolute;
    left: 2rem;
    color: rgba(245, 240, 238, 0.4);
    font-size: 0.85rem;
    pointer-events: none;
}

.searchInput {
    width: 100%;
    padding: 0.65rem 0.75rem 0.65rem 2.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.searchInput::placeholder {
    color: rgba(245, 240, 238, 0.35);
}

.searchInput:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.09);
}

/* ── List ─────────────────────────────────────── */
.list {
    padding: 0.75rem 1.25rem 1.25rem;
}

.loading {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
}

.skeletonItem {
    height: 68px;
    width: 100%;
}

.errorMsg,
.emptyMsg {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: rgba(245, 240, 238, 0.45);
}

.errorMsg {
    color: #f87171;
}

/* ── Item ─────────────────────────────────────── */
.item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--card-border);
}

.item:last-child {
    border-bottom: none;
}

.itemPosition {
    flex-shrink: 0;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nowBadge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.85rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.posNumber {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(245, 240, 238, 0.3);
}

.itemInfo {
    flex: 1;
    min-width: 0;
}

.itemTop {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 0.25rem;
}

.itemName {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.itemSong {
    font-size: 0.85rem;
    color: rgba(245, 240, 238, 0.6);
}

.firstBadge {
    font-size: 0.7rem;
    font-weight: 700;
    background: #eab308;
    color: #1a1a1a;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

.itemMeta {
    font-size: 0.8rem;
    color: rgba(245, 240, 238, 0.45);
}

.itemEta {
    color: rgba(245, 240, 238, 0.3);
}