/* Spotify Top sırası (#1–#10, dinleme geçmişine göre) */
.dash-rank {
    font-family: "DM Mono", monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cream-dim);
    width: 1.75rem;
    flex-shrink: 0;
    text-align: center;
}

.dash-rank--sm {
    font-size: 0.65rem;
    width: 1.35rem;
}

.page--spotify .dash-row--top:nth-child(-n+3) .dash-rank {
    color: var(--mint);
}

.page--spotify .dash-track-list--top {
    margin-top: 0;
    gap: 0;
}

.page--spotify .dash-track-list--top .dash-track-list__art {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.45rem;
}

.page--spotify .dash-row--top {
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0;
}

.page--spotify .dash-track-list__body--wrap strong,
.page--spotify .dash-track-list__body--wrap .muted {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: unset;
    word-break: break-word;
}

.page--spotify .dash-track-list__body--wrap strong {
    -webkit-line-clamp: 2;
    line-height: 1.3;
}

.page--spotify .dash-track-list__body--wrap .muted {
    -webkit-line-clamp: 2;
    margin-top: 0.15rem;
    line-height: 1.35;
}

.page--spotify .dash-section--top .dash-row-action {
    align-self: center;
    padding: 0.35rem 0.5rem;
}

.page--spotify .dash-section--top {
    overflow: visible;
}

.page--spotify .dash-section--top .dash-row {
    max-width: 100%;
}

.page--spotify .dash-artist--top {
    width: 100%;
    justify-content: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    text-align: left;
    border-radius: 0.65rem;
    border: 1px solid var(--sp-line);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.page--spotify .dash-artist--top:hover {
    background: rgba(243, 235, 224, 0.04);
    border-color: rgba(94, 228, 199, 0.28);
}

.page--spotify .dash-artist--top .dash-artist__name {
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    min-width: 0;
    flex: 1;
    text-align: left;
}

/* ── Bileşen cilası ── */
.page--spotify .dash-row {
    align-items: center;
}

.page--spotify #queueList .dash-track-list__art,
.page--spotify #queueList .dash-row {
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

/* —— Sırada (queue) —— */
.page--spotify .dash-section--queue .dash-section__head--queue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.page--spotify .dash-queue-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(30, 215, 96, 0.14);
    border: 1px solid rgba(30, 215, 96, 0.28);
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--sp-accent-bright, #1ed760);
    vertical-align: middle;
}

.page--spotify .dash-section--queue .dash-section__hint {
    margin-top: -0.45rem;
}

.page--spotify .dash-track-list--queue {
    gap: 0;
    margin-top: 0.65rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.page--spotify .dash-row--queue {
    padding: 0.62rem 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    margin: 0;
    align-items: center;
    gap: 0.65rem;
}

.page--spotify .dash-row--queue:last-child {
    border-bottom: none;
}

.page--spotify .dash-row--queue:hover {
    background: rgba(255, 255, 255, 0.04);
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    border-bottom-color: rgba(30, 215, 96, 0.14);
}

.page--spotify .dash-row--queue-next {
    background: linear-gradient(
        90deg,
        rgba(30, 215, 96, 0.1) 0%,
        rgba(30, 215, 96, 0.03) 42%,
        transparent 100%
    );
}

.page--spotify .dash-row--queue-next:hover {
    background: linear-gradient(
        90deg,
        rgba(30, 215, 96, 0.14) 0%,
        rgba(30, 215, 96, 0.05) 42%,
        rgba(255, 255, 255, 0.03) 100%
    );
}

.dash-queue-rank {
    flex-shrink: 0;
    width: 2rem;
    font-family: "DM Mono", monospace;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: var(--sp-text-sub, #b3b3b3);
}

.dash-queue-rank--next {
    width: auto;
    min-width: 4.25rem;
}

.dash-queue-rank__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(30, 215, 96, 0.16);
    border: 1px solid rgba(30, 215, 96, 0.32);
    font-family: "DM Mono", monospace;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sp-accent-bright, #1ed760);
    white-space: nowrap;
}

.page--spotify .dash-track-list--queue .dash-track-art,
.page--spotify .dash-track-list--queue .dash-queue-art-ph {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.45rem;
}

.page--spotify .dash-row--queue-next .dash-track-art,
.page--spotify .dash-row--queue-next .dash-queue-art-ph {
    width: 3rem;
    height: 3rem;
    box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.32);
}

.dash-queue-art-ph {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1rem;
}

.page--spotify .dash-track-list--queue .dash-track-list__body strong {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--sp-text, #fff);
}

.page--spotify .dash-row--queue-next .dash-track-list__body strong {
    font-weight: 700;
}

.page--spotify .dash-track-list--queue .dash-track-list__body .muted {
    font-size: 0.74rem;
    color: var(--sp-text-sub, #b3b3b3);
}

.page--spotify .dash-track-list--queue .dash-row-action--open {
    opacity: 0.72;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.page--spotify .dash-row--queue:hover .dash-row-action--open {
    opacity: 1;
    transform: translateX(1px);
}

.page--spotify .dash-stat-list--history .dash-row-action--open {
    opacity: 0.72;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.page--spotify .dash-row--history:hover .dash-row-action--open,
.page--spotify .dash-row--history:focus-within .dash-row-action--open {
    opacity: 1;
    transform: translateX(1px);
}

.page--spotify .dash-row--track-btn {
    cursor: pointer;
}

.page--spotify .dash-row--track-btn:focus-visible {
    outline: 2px solid rgba(30, 215, 96, 0.45);
    outline-offset: -2px;
}

.dash-modal--under {
    pointer-events: none;
}

.dash-modal__back {
    position: absolute;
    top: 0.55rem;
    left: 0.65rem;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: var(--sp-text-sub, #b3b3b3);
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dash-modal__back:hover,
.dash-modal__back:focus-visible {
    color: var(--sp-text, #fff);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

.dash-modal__artist-link {
    display: inline;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--sp-text-sub, #b3b3b3);
    font: inherit;
    text-align: left;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: rgba(30, 215, 96, 0.35);
    text-underline-offset: 0.15em;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.dash-modal__artist-link:hover,
.dash-modal__artist-link:focus-visible {
    color: var(--sp-accent-bright, #1ed760);
    text-decoration-color: rgba(30, 215, 96, 0.8);
}

