/* Canlı Durum Panosu */

.dashboard-card {
    overflow: hidden;
    position: relative;
}

.dashboard-card--hero {
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
}

.dashboard-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.dashboard-hero__art-wrap {
    position: relative;
    width: min(100%, 22rem);
    margin: 0 auto;
}

.dashboard-hero__glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: var(--ambient-color, #1a1520);
    filter: blur(2.5rem);
    opacity: 0.55;
    z-index: 0;
    transition: background 0.8s ease;
}

.dashboard-hero__art {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1.1rem;
    overflow: hidden;
    background: rgba(12, 11, 16, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 1.5rem 3rem rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(243, 235, 224, 0.06);
}

.dashboard-hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-hero__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0 0.25rem;
}

.dashboard-hero__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    text-align: center;
}

.dashboard-hero__titles {
    text-align: center;
}

.dashboard-now__state {
    font-family: "DM Mono", monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
}

.dashboard-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.dash-badge {
    font-family: "DM Mono", monospace;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(243, 235, 224, 0.06);
    color: var(--cream-dim);
}

.dash-badge--mint {
    background: rgba(94, 228, 199, 0.12);
    color: var(--mint);
}

.dashboard-now__pulse {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(94, 228, 199, 0.45);
    animation: avlu-pulse 1.6s infinite;
}

.dashboard-now__title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.dashboard-now__artist {
    margin: 0.35rem 0 0;
    color: var(--cream-dim);
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    line-height: 1.35;
}

.dashboard-now__album {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
}

.dashboard-now__audio {
    margin: 0;
    font-size: 0.72rem;
    font-family: "DM Mono", monospace;
    text-align: center;
}

.dashboard-now__progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.dashboard-now__bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(243, 235, 224, 0.08);
    overflow: hidden;
}

.dashboard-now__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--violet), var(--mint));
    transition: width 0.8s linear;
    border-radius: inherit;
}

.dashboard-now__time {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    color: var(--cream-dim);
    text-align: center;
}

.dashboard-now__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-controls {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-updated {
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    color: rgba(154, 143, 130, 0.6);
    margin: 0;
    text-align: center;
}

.dash-track-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.dash-track-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.dash-track-list__art {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.45rem;
    object-fit: cover;
    flex-shrink: 0;
}

.dash-track-list__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dash-track-list__body strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-track-list__body .muted {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.dash-row-action {
    flex-shrink: 0;
}

.dash-row--empty {
    justify-content: center;
    background: transparent;
    border-color: transparent;
}

.page--spotify .dash-row--empty {
    border-bottom: none;
}

.page--spotify .dash-row--empty:hover {
    background: transparent;
    border-bottom-color: transparent;
}

.dash-tabs {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.dash-tab {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(243, 235, 224, 0.1);
    background: transparent;
    color: var(--cream-dim);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.dash-tab.is-active {
    border-color: rgba(94, 228, 199, 0.35);
    color: var(--mint);
    background: rgba(94, 228, 199, 0.08);
}

.dash-artists {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(243, 235, 224, 0.06);
}

.dash-artist {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem 0.35rem 0.35rem;
    border-radius: 999px;
    background: rgba(12, 11, 16, 0.45);
    border: 1px solid rgba(243, 235, 224, 0.06);
    text-decoration: none;
    color: inherit;
    font-size: 0.78rem;
    max-width: 100%;
}

.dash-artist span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-artist img {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dash-playlists {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.dash-playlist {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-decoration: none;
    color: inherit;
    padding: 0.55rem;
    border-radius: 0.65rem;
    background: rgba(12, 11, 16, 0.45);
    border: 1px solid rgba(243, 235, 224, 0.06);
    transition: border-color 0.15s;
    min-width: 0;
}

.dash-playlist:hover {
    border-color: rgba(94, 228, 199, 0.25);
}

.dash-playlist img,
.dash-playlist__ph {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.45rem;
    object-fit: cover;
    background: rgba(243, 235, 224, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dash-playlist__name {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dash-playlist__meta {
    font-size: 0.62rem;
    font-family: "DM Mono", monospace;
}

/* Hub widget */

.avlu-now--rich {
    display: grid;
    grid-template-columns: auto 3rem 1fr auto;
    gap: 0.75rem 1rem;
    align-items: center;
}

.avlu-now__art {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: rgba(12, 11, 16, 0.65);
}

.avlu-now__track {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.avlu-now__track strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avlu-now__track span {
    font-size: 0.78rem;
    color: var(--cream-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Spotify — mobil uygulama akışı */

.page--spotify {
    --ambient-color: #1a1520;
    --sp-accent: #1db954;
    --sp-line: rgba(243, 235, 224, 0.07);
    --sp-line-strong: rgba(243, 235, 224, 0.12);
}

.page.page--spotify {
    background: transparent;
    max-width: 100%;
    width: 100%;
    margin: 0;
    overflow-x: clip;
    box-sizing: border-box;
}

.dash-app {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding:
        max(0.65rem, env(safe-area-inset-top))
        max(1rem, env(safe-area-inset-right))
        1.5rem
        max(1rem, env(safe-area-inset-left));
}

.dash-app__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.dash-app__feed {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dash-app__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.55rem 0;
    margin-top: -0.35rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(
        180deg,
        rgba(12, 11, 16, 0.92) 0%,
        rgba(12, 11, 16, 0.78) 70%,
        rgba(12, 11, 16, 0) 100%
    );
}

.dash-app__brand {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin: 0;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dash-app__brand::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 0 rgba(94, 228, 199, 0.4);
    animation: avlu-pulse 1.8s infinite;
    flex-shrink: 0;
}

.page--spotify .dashboard-now__bar {
    height: 6px;
    background: rgba(243, 235, 224, 0.06);
}

.page--spotify .dashboard-now__fill {
    background: linear-gradient(90deg, var(--violet), var(--mint), var(--sp-accent));
    box-shadow: 0 0 12px rgba(94, 228, 199, 0.35);
}

.page--spotify .dash-playlist img,
.page--spotify .dash-playlist__ph {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.page--spotify .dash-playlist:hover img,
.page--spotify .dash-playlist:hover .dash-playlist__ph {
    transform: scale(1.02);
    border-color: rgba(94, 228, 199, 0.25);
}

/* Spotify tarzı profil bağlantısı */
.sp-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    max-width: min(100%, 16.5rem);
    padding: 0.4rem 0.65rem 0.4rem 0.4rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 20, 31, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--cream);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow:
        0 0.35rem 1.25rem rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.sp-profile-link:hover,
.sp-profile-link:focus-visible {
    border-color: rgba(29, 185, 84, 0.4);
    background: rgba(29, 185, 84, 0.08);
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        0 0.5rem 1.5rem rgba(29, 185, 84, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    outline: none;
}

.sp-profile-link__media {
    flex-shrink: 0;
}

.sp-profile-link__avatar {
    display: block;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    object-fit: cover;
}

.sp-profile-link__avatar--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(29, 185, 84, 0.35);
    color: #1db954;
}

.sp-profile-link__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    min-width: 0;
    flex: 1;
    line-height: 1.2;
}

.sp-profile-link__eyebrow {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1db954;
}

.sp-profile-link__title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sp-profile-link__action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-dim);
    transition: color 0.15s ease, transform 0.15s ease;
}

.sp-profile-link:hover .sp-profile-link__action,
.sp-profile-link:focus-visible .sp-profile-link__action {
    color: #1db954;
    transform: translate(1px, -1px);
}

/* Şu an çalıyor — büyük kapak, dikey */
.page--spotify .dash-now {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin: 0 0 0.25rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.page--spotify .dash-now__cover {
    width: 100%;
}

.page--spotify .dash-now__cover .dashboard-hero__art-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
}

.page--spotify .dash-now__cover .dashboard-hero__glow {
    inset: 5%;
    filter: blur(2.75rem);
    opacity: 0.5;
}

.page--spotify .dash-now__cover .dashboard-hero__art {
    width: 100%;
    max-width: none;
    aspect-ratio: 1;
    border-radius: 1.1rem;
    background: transparent;
    border: 1px solid var(--sp-line-strong);
    box-shadow:
        0 1.75rem 3.5rem rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.page--spotify .dash-now__panel {
    width: 100%;
    padding: 0;
    min-width: 0;
}

.page--spotify .dashboard-hero__head,
.page--spotify .dashboard-hero__titles,
.page--spotify .dashboard-now__audio,
.page--spotify .dashboard-now__time {
    text-align: left;
}

.page--spotify .dashboard-hero__head {
    justify-content: flex-start;
}

.page--spotify .dashboard-now__state {
    justify-content: flex-start;
}

.page--spotify .dashboard-badges,
.page--spotify .dashboard-now__actions,
.page--spotify .dashboard-controls {
    justify-content: flex-start;
}

.page--spotify .dashboard-now__title {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
    word-break: break-word;
    text-wrap: balance;
}

.page--spotify .dashboard-now__artist {
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.page--spotify .dashboard-now__album {
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.page--spotify .dashboard-now__actions {
    gap: 0.4rem;
}

.page--spotify .dashboard-now__actions .btn {
    flex: 0 1 auto;
    min-width: 0;
}

/* Bölümler — kaydırmalı feed */
.page--spotify .dash-section {
    position: relative;
    padding: 1.65rem 0 0;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.page--spotify .dash-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--sp-line) 15%,
        rgba(94, 228, 199, 0.2) 50%,
        var(--sp-line) 85%,
        transparent
    );
}

.page--spotify .dash-section:first-of-type::before {
    display: none;
}

.page--spotify .dash-section:first-of-type {
    padding-top: 1rem;
}

.page--spotify .dash-section__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.85rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.page--spotify .dash-section__title::before {
    content: "";
    width: 0.2rem;
    height: 1.05em;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--mint), var(--violet));
    flex-shrink: 0;
}

.page--spotify .dash-section__desc {
    font-size: 0.82rem;
    margin: -0.45rem 0 0.85rem;
    line-height: 1.45;
}

.page--spotify .dash-history__heading,
.page--spotify .dash-history__subtitle,
.page--spotify .dash-chart__title {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin: 0 0 0.55rem;
    display: block;
}

.page--spotify .card-desc {
    font-size: 0.82rem;
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.page--spotify .dash-row,
.page--spotify .dash-track-list li,
.page--spotify .dash-stat-list li {
    padding: 0.65rem 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(243, 235, 224, 0.06);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.page--spotify .dash-track-list li:last-child,
.page--spotify .dash-stat-list li:last-child {
    border-bottom: none;
}

.page--spotify .dash-row:hover,
.page--spotify .dash-track-list li:hover,
.page--spotify .dash-stat-list li:hover {
    background: rgba(243, 235, 224, 0.03);
    border-bottom-color: rgba(94, 228, 199, 0.2);
    border-radius: 0.5rem;
    margin-left: -0.35rem;
    margin-right: -0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

.page--spotify .dash-row--empty:hover {
    border-bottom-color: rgba(243, 235, 224, 0.06);
}

.page--spotify .dash-chart {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
}

.page--spotify .dash-history {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(243, 235, 224, 0.07);
}

.page--spotify .dash-playlists--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem 0.35rem;
    scrollbar-width: none;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 1.25rem,
        #000 calc(100% - 1.25rem),
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 1.25rem,
        #000 calc(100% - 1.25rem),
        transparent
    );
}

.page--spotify .dash-playlists--scroll::-webkit-scrollbar {
    display: none;
}

.page--spotify .dash-playlists--scroll .dash-playlist {
    flex: 0 0 7.25rem;
    scroll-snap-align: start;
    min-width: 0;
}

.page--spotify .dash-playlist {
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    padding: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.page--spotify .dash-playlist:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.page--spotify .dash-playlist img,
.page--spotify .dash-playlist__ph {
    border-radius: 0.5rem;
    border: 1px solid rgba(243, 235, 224, 0.08);
}

.page--spotify .dash-playlist__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
    font-size: 0.78rem;
}

.page--spotify .dash-artists--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.85rem;
    padding-bottom: 0.25rem;
    border-top: none;
    scrollbar-width: none;
}

.page--spotify .dash-artists--scroll::-webkit-scrollbar {
    display: none;
}

.page--spotify .dash-artists--scroll .dash-artist {
    flex-shrink: 0;
    max-width: 11rem;
}

.page--spotify .dash-artists--top {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
    overflow: visible;
    overscroll-behavior: auto;
    width: 100%;
    margin-top: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0;
    border-top: 1px solid var(--sp-line);
}

.page--spotify .dash-artists--top .dash-artist {
    flex-shrink: unset;
    max-width: none;
    width: 100%;
}

.page--spotify .dash-artist {
    background: transparent;
    border-color: rgba(243, 235, 224, 0.1);
}

.page--spotify .dash-artist--btn {
    background: transparent;
}

.page--spotify .dash-artist--btn:hover {
    background: transparent;
    border-color: rgba(94, 228, 199, 0.35);
    color: var(--mint);
}

.page--spotify .dash-tabs--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0.65rem;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.page--spotify .dash-tabs--scroll::-webkit-scrollbar {
    display: none;
}

.page--spotify .dash-tabs--scroll .dash-tab {
    flex-shrink: 0;
}

.page--spotify .dash-history__stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page--spotify .dash-section__hint {
    font-size: 0.72rem;
    line-height: 1.45;
    margin: -0.35rem 0 0.85rem;
}

/* 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;
}

.page--spotify #queueList .dash-row:hover {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    margin-left: -0.35rem;
    margin-right: -0.35rem;
}

.page--spotify .dash-tab {
    padding: 0.45rem 0.85rem;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.page--spotify .dash-tab:hover:not(.is-active) {
    border-color: rgba(243, 235, 224, 0.2);
    color: var(--cream);
}

.page--spotify .dash-playlist__meta {
    font-size: 0.68rem;
}

.page--spotify .dash-artist img {
    box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.25);
}

.page--spotify .dash-stat-list--ranked > .dash-row:not(.dash-row--empty) {
    align-items: flex-start;
}

.page--spotify .dash-stat-list .dash-track-list__body strong,
.page--spotify .dash-stat-list .dash-track-list__body .muted {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: unset;
}

.page--spotify .dashboard-now__progress {
    margin-top: 0.15rem;
}

.page--spotify .dashboard-controls-wrap {
    margin-top: 0.65rem;
}

.page--spotify .dashboard-now__progress + .dashboard-controls-wrap {
    margin-top: 0.75rem;
}

.page--spotify .dashboard-controls {
    gap: 0.2rem;
    padding: 0.3rem 0.45rem;
    border-radius: 999px;
    background: rgba(243, 235, 224, 0.04);
    border: 1px solid var(--sp-line);
    width: fit-content;
    max-width: 100%;
}

.page--spotify .dashboard-controls .btn {
    min-width: 2.45rem;
    min-height: 2.45rem;
    border-radius: 50%;
    border-color: transparent;
    background: transparent;
}

.page--spotify .dashboard-controls .btn:hover:not(:disabled) {
    background: rgba(243, 235, 224, 0.08);
    border-color: transparent;
}

.page--spotify .dashboard-controls .btn[data-action="play"],
.page--spotify .dashboard-controls .btn[data-action="pause"] {
    min-width: 2.65rem;
    background: rgba(94, 228, 199, 0.14);
    border-color: rgba(94, 228, 199, 0.22);
    color: var(--mint);
}

.page--spotify .dashboard-controls .btn[data-action="play"]:hover:not(:disabled),
.page--spotify .dashboard-controls .btn[data-action="pause"]:hover:not(:disabled) {
    background: rgba(94, 228, 199, 0.22);
    border-color: rgba(94, 228, 199, 0.35);
}

.page--spotify .dashboard-controls--readonly {
    opacity: 0.72;
    cursor: not-allowed;
}

.page--spotify .dashboard-controls--readonly .btn {
    cursor: not-allowed;
}

.page--spotify .dashboard-controls--readonly .btn:disabled {
    opacity: 1;
}

.page--spotify .sp-profile-link {
    box-shadow:
        0 0.35rem 1.25rem rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page--spotify .dash-track-list__art {
    box-shadow: 0 0.2rem 0.65rem rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.page--spotify .dash-row--top:nth-child(-n+3) {
    background: linear-gradient(90deg, rgba(94, 228, 199, 0.07), transparent 85%);
    border-radius: 0.5rem;
    margin-left: -0.35rem;
    margin-right: -0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    border-bottom-color: rgba(94, 228, 199, 0.12);
}

.page--spotify .dash-chart__fill {
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, var(--mint) 0%, rgba(157, 122, 255, 0.35) 100%);
}

.page--spotify .dash-lyrics {
    border-radius: 0.75rem;
    background: rgba(243, 235, 224, 0.03);
}

.page--spotify .dash-section--top #topArtists::before {
    content: "Sanatçılar";
    display: block;
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin-bottom: 0.45rem;
}

.page--spotify .dash-tab {
    background: transparent;
    border-color: rgba(243, 235, 224, 0.1);
}

.page--spotify .dash-tab.is-active {
    background: rgba(94, 228, 199, 0.1);
    border-color: rgba(94, 228, 199, 0.4);
    color: var(--mint);
    box-shadow: 0 0 0 1px rgba(94, 228, 199, 0.08);
}

.page--spotify .dash-badge {
    background: transparent;
    border: 1px solid rgba(243, 235, 224, 0.1);
}

.page--spotify .dash-badge--mint {
    background: transparent;
    border-color: rgba(94, 228, 199, 0.25);
}

.page--spotify .dash-lyrics {
    background: transparent;
    border: 1px solid rgba(243, 235, 224, 0.08);
}

.page--spotify .dash-modal__panel {
    background: var(--ink);
    border: 1px solid rgba(243, 235, 224, 0.1);
    box-shadow: none;
}

.page.page--spotify .page-footer {
    opacity: 1;
    margin-top: 0;
}

.page--spotify .btn--ghost {
    border-radius: 999px;
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-now__art--crossfade {
    position: relative;
}

.dashboard-now__art-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.dashboard-now__art-layer.is-active {
    opacity: 1;
}

.dashboard-now__art-ph {
    font-size: 3rem;
}

.dash-lyrics {
    padding: 0.75rem;
    border-radius: 0.65rem;
    background: rgba(12, 11, 16, 0.55);
    max-height: 12rem;
    overflow: auto;
    width: 100%;
}

.dash-lyrics__text {
    margin: 0;
    white-space: pre-wrap;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--cream-dim);
    font-family: "DM Mono", monospace;
}

.dash-chart {
    margin-top: 0.85rem;
}

.dash-chart__title {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin: 0 0 0.5rem;
}

.dash-chart__bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 4.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dash-chart__bars::-webkit-scrollbar {
    display: none;
}

.dash-chart--days .dash-chart__bars {
    gap: 0.35rem;
}

.dash-chart__bar {
    flex: 1;
    min-width: 0.55rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    height: 100%;
    justify-content: flex-end;
}

.dash-chart__fill {
    width: 100%;
    min-height: 4px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(180deg, var(--mint), rgba(94, 228, 199, 0.25));
}

.dash-chart__label {
    font-size: 0.48rem;
    font-family: "DM Mono", monospace;
    color: var(--cream-dim);
}

.dash-artist--btn {
    border: none;
    cursor: pointer;
    background: rgba(243, 235, 224, 0.04);
    font: inherit;
    color: inherit;
    text-align: left;
}

.dash-artist--btn:hover {
    background: rgba(94, 228, 199, 0.1);
}

.dash-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.dash-modal[hidden] {
    display: none;
}

.dash-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.dash-modal__panel {
    position: relative;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    background: #14121a;
    border: 1px solid rgba(243, 235, 224, 0.08);
    border-radius: 1rem 1rem 0 0;
    padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
}

.dash-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    color: var(--cream-dim);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.dash-modal__title {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    padding-right: 2rem;
}

.dash-history {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(243, 235, 224, 0.06);
}

.dash-history__heading {
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin: 0 0 0.35rem;
}

.dash-history__total {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    margin: 0.35rem 0 0.75rem;
}

.dash-history__subtitle {
    font-family: "DM Mono", monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-dim);
    margin: 0 0 0.45rem;
}

.dash-history__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dash-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.dash-stat-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.dash-stat-list__count {
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    color: var(--mint);
    flex-shrink: 0;
}

.page--spotify .dash-stat-list__count {
    min-width: 2rem;
    text-align: right;
}

.page--spotify .dash-stat-list--ranked {
    counter-reset: dash-rank;
}

.page--spotify .dash-stat-list--ranked > .dash-row:not(.dash-row--empty) {
    counter-increment: dash-rank;
}

.page--spotify .dash-stat-list--ranked > .dash-row:not(.dash-row--empty)::before {
    content: counter(dash-rank);
    font-family: "DM Mono", monospace;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--cream-dim);
    width: 1.35rem;
    flex-shrink: 0;
    text-align: center;
    opacity: 0.85;
}

.page--spotify .dash-stat-list--ranked > .dash-row:not(.dash-row--empty):nth-child(-n+3)::before {
    color: var(--mint);
    opacity: 1;
}

.page--spotify .dash-row--artist .dash-track-list__body strong {
    font-size: 0.92rem;
    font-weight: 600;
}

.page--spotify .dash-history__total {
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
}

.page--spotify .dash-tab {
    border-color: var(--sp-line-strong);
}

.page--spotify .dash-stat-list--artists .dash-row--artist {
    gap: 0.65rem;
}

/* ── Tablet+ ── */
@media (min-width: 640px) and (max-width: 899px) {
    .dash-app {
        max-width: 36rem;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }

    .page--spotify .dash-history__stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

/* ── Desktop ── */
@media (min-width: 900px) {
    .dash-app {
        max-width: 76rem;
        padding:
            max(1.5rem, env(safe-area-inset-top))
            2.5rem
            2.5rem
            2.5rem;
    }

    .dash-app__bar {
        margin-bottom: 1.5rem;
    }

    .dash-app__brand {
        font-size: 0.7rem;
    }

    .sp-profile-link {
        max-width: 20rem;
        padding: 0.5rem 0.85rem 0.5rem 0.5rem;
        gap: 0.75rem;
    }

    .sp-profile-link__avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .sp-profile-link__title {
        font-size: 0.88rem;
    }

    .dash-app__layout {
        display: grid;
        grid-template-columns: minmax(300px, 22rem) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }

    .dash-app__feed {
        padding-left: 2.5rem;
        border-left: 1px solid var(--sp-line);
        min-height: 12rem;
    }

    .dash-app__bar {
        margin-top: 0;
        padding-top: 0.25rem;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .page--spotify .dash-playlists--scroll {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .page--spotify .dash-now {
        position: sticky;
        top: 1.5rem;
        margin: 0;
    }

    .page--spotify .dash-now__cover .dashboard-hero__art {
        border-radius: 1.15rem;
    }

    .page--spotify .dashboard-now__title {
        font-size: 1.75rem;
    }

    .page--spotify .dashboard-now__actions .btn {
        flex: 0 1 auto;
    }

    .page--spotify .dash-section {
        padding-top: 2rem;
    }

    .page--spotify .dash-section__title {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }

    .page--spotify .dash-app__feed > .dash-section:first-child {
        padding-top: 0;
        border-top: none;
    }

    .page--spotify .dash-playlists--scroll {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
        gap: 1.25rem;
        overflow: visible;
        margin: 0;
        padding: 0;
        scroll-snap-type: none;
    }

    .page--spotify .dash-playlists--scroll .dash-playlist {
        flex: unset;
        scroll-snap-align: unset;
    }

    .page--spotify .dash-artists--scroll {
        flex-wrap: wrap;
        overflow: visible;
        gap: 0.65rem;
    }

    .page--spotify .dash-artists--scroll .dash-artist {
        max-width: none;
    }

    .page--spotify .dash-tabs--scroll {
        flex-wrap: wrap;
        overflow: visible;
    }

    .page--spotify .dash-tabs--scroll .dash-tab {
        flex-shrink: unset;
    }

    .page--spotify .dash-history__stack {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .page--spotify .dash-section--top {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(220px, 17rem);
        grid-template-areas:
            "title title"
            "tabs tabs"
            "tracks artists";
        gap: 0 2.5rem;
        align-items: start;
    }

    .page--spotify .dash-section--top .dash-section__title {
        grid-area: title;
    }

    .page--spotify .dash-section--top #topTabs {
        grid-area: tabs;
        margin-bottom: 0.85rem;
    }

    .page--spotify .dash-section--top #topList {
        grid-area: tracks;
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .page--spotify .dash-track-list--top .dash-track-list__art {
        width: 3.15rem;
        height: 3.15rem;
    }

    .page--spotify .dash-section--top #topArtists {
        grid-area: artists;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .page--spotify .dash-chart__bars {
        height: 5.5rem;
    }

    .dash-modal {
        align-items: center;
        padding: 2rem;
    }

    .dash-modal__panel {
        max-width: 32rem;
        border-radius: 1rem;
    }
}

.dashboard-last-played {
    font-family: "DM Mono", monospace;
    font-size: 0.68rem;
    text-align: center;
    margin: 0;
    line-height: 1.45;
}

.dash-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(30, 215, 96, 0.22);
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.14), rgba(30, 215, 96, 0.04));
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 0.35rem 1.2rem rgba(30, 215, 96, 0.08);
    -webkit-tap-highlight-color: transparent;
}

.dash-profile-btn:hover,
.dash-profile-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(30, 215, 96, 0.45);
    box-shadow: 0 0.5rem 1.5rem rgba(30, 215, 96, 0.14);
}

.dash-profile-btn__avatar,
.dash-profile-btn__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: rgba(12, 11, 16, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.dash-profile-btn__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

.dash-profile-btn__label {
    font-family: "DM Mono", monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1ed760;
}

.dash-profile-btn__name {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-profile-btn__arrow {
    font-size: 1.2rem;
    color: #1ed760;
    flex-shrink: 0;
}

.dash-profile-btn--solo {
    max-width: 24rem;
    margin: 0 auto;
}

.dash-open-card {
    text-align: center;
}

.dash-profile-link {
    border-color: rgba(30, 215, 96, 0.18);
}

@media (min-width: 640px) {
    .dashboard-last-played,
    .dash-profile-btn {
        text-align: left;
    }
}

@media (max-width: 639px) {
    .dash-app {
        padding-top: 0;
    }

    body[data-module="dashboard"] .page--spotify.page--minimal {
        padding-top: 0;
    }

    .dash-app__bar {
        margin-left: calc(-1 * max(1rem, env(safe-area-inset-left, 0px)));
        margin-right: calc(-1 * max(1rem, env(safe-area-inset-right, 0px)));
        margin-top: calc(-1 * max(0.65rem, env(safe-area-inset-top, 0px)));
        padding:
            max(0.6rem, env(safe-area-inset-top, 0px))
            max(1rem, env(safe-area-inset-right, 0px))
            0.7rem
            max(1rem, env(safe-area-inset-left, 0px));
        margin-bottom: 1rem;
        background: rgba(12, 11, 16, 0.9);
        border-bottom: 1px solid var(--sp-line);
        backdrop-filter: blur(18px) saturate(1.2);
        -webkit-backdrop-filter: blur(18px) saturate(1.2);
    }

    .dash-app__brand {
        flex-shrink: 0;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        max-width: 5.5rem;
        line-height: 1.25;
    }

    .dash-app__brand::before {
        width: 0.4rem;
        height: 0.4rem;
    }

    .sp-profile-link {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        padding: 0.32rem 0.5rem 0.32rem 0.32rem;
        gap: 0.45rem;
    }

    .sp-profile-link__avatar,
    .sp-profile-link__avatar--ph {
        width: 1.85rem;
        height: 1.85rem;
    }

    .sp-profile-link__eyebrow {
        font-size: 0.52rem;
    }

    .sp-profile-link__title {
        font-size: 0.72rem;
    }

    .sp-profile-link__action {
        margin-left: -0.15rem;
    }

    .sp-profile-link__action svg {
        width: 15px;
        height: 15px;
    }

    .page--spotify .sp-profile-link {
        box-shadow: none;
    }

    .page--spotify .dash-tab {
        flex-shrink: 0;
    }

    .dashboard-now__actions .btn,
    .dashboard-controls .btn {
        min-height: 2.75rem;
    }

    .page--spotify .dash-row,
    .page--spotify .dash-track-list li,
    .page--spotify .dash-stat-list li {
        padding: 0.6rem 0;
    }

    .avlu-now--rich {
        grid-template-columns: auto 2.5rem 1fr;
    }

    .avlu-now__art {
        width: 2.5rem;
        height: 2.5rem;
    }
}
