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

.page--spotify .dashboard-now__album {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
}

.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:not(.dash-artist--modal-card) 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-progress-glow: rgba(255, 255, 255, 0.2);
    --sp-accent: #1db954;
    --sp-accent-bright: #1ed760;
    --sp-text: #ffffff;
    --sp-text-sub: #b3b3b3;
    --sp-surface: rgba(255, 255, 255, 0.06);
    --sp-surface-hover: rgba(255, 255, 255, 0.1);
    --sp-line: rgba(255, 255, 255, 0.08);
    --sp-line-strong: rgba(255, 255, 255, 0.14);
    --sp-ambient-r: 26;
    --sp-ambient-g: 21;
    --sp-ambient-b: 32;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.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;
}

.page--spotify .dash-app__feed > .dash-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 320px;
}

.dash-app__bar {
