textarea { resize: none !important; }

:root,
[data-bs-theme="dark"] {
    color-scheme: dark;

    --accent: #a875ff;
    --accent-hover: #bd99ff;
    --accent-soft: rgba(168, 117, 255, .15);

    --bg: #101116;
    --sidebar-bg: #15171e;
    --topbar-bg: #191b26;
    --surface: #1b1e28;
    --surface-hover: #252938;

    --text: #f5f5fa;
    --text-secondary: #a4a7b7;
    --text-muted: #777c8e;

    --border: rgba(255, 255, 255, .09);

    --sidebar-width: 270px;
    --topbar-height: 64px;

    --radius: 12px;
    --radius-lg: 18px;

    --transition: .2s ease;


        --black: #0c0c0c;
    --spotify-green: #805ad5;
    --spotify-black: #121212;
    --spotify-dark: #181818;
    --spotify-light: #282828;
    --spotify-hover: rgba(128, 90, 213, 0.5);
    --spotify-border: #333333;
    --spotify-text: #eeeeee;
    --spotify-dim: rgba(255, 255, 255, 0.4);
    --spotify-gray: #adb5bd;
    --spotify-btn-text: #ffffff;
    --spotify-alt-bg: #1c1c1c;


}

[data-theme="light"], [data-bs-theme="light"] {
    color-scheme: light;

    --accent: #7546c9;
    --accent-hover: #6135af;
    --accent-soft: rgba(117, 70, 201, .11);

    --bg: #f4f5f9;
    --sidebar-bg: #ffffff;
    --topbar-bg: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f0edf8;

    --text: #20212b;
    --text-secondary: #626678;
    --text-muted: #898d9b;

    --border: rgba(25, 25, 45, .10);

    --spotify-black: #eee;

    --spotify-dim: #626678;

}

/* =========================================
   8. MAIN
   ========================================= */

.guest-main {
    grid-column: 2;
    grid-row: 2;

    min-width: 0;
    padding-bottom: 40px;
}
    font-size: 19px;
    color: white;

.stat > i {
}

/* =========================================
   10. CONTENT
   ========================================= */

.content {
    padding: 0 28px;
}

.guest-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 12px;
}

.guest-panel-title h2 {
    margin: 0;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.3px;
}

/* =========================================
   12. RECENT ACTIVITY
   ========================================= */

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;

    border-radius: 7px;

    transition: background var(--transition);
}

.activity:hover {
    background: var(--surface-hover);
}

.activity img {
    width: 38px;
    height: 38px;

    border-radius: 6px;
    object-fit: cover;
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-info strong,
.activity-info span {
    display: block;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.activity-info strong {
    font-size: 11px;
    font-weight: 600;
}

.activity-info span {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
}

.activity > i {
    margin-right: 5px;
    color: var(--text-muted);
    font-size: 10px;
}

.guest-shared-card strong {
    margin-top: 8px;
    font-size: 12px;
}

.guest-shared-card span {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 10px;
}
.profile-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}
.profile-menu a:hover,
.profile-menu a:focus-visible { background: var(--surface-hover); color: var(--text); }
.profile-menu {
    position: absolute;
    inset: calc(100% + 4px) 0 auto auto;
    width: 218px;
    max-height: min(360px, calc(100dvh - var(--topbar-height) - 16px));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    background: var(--sidebar-bg);
    background-color: var(--sidebar-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,.30);
    opacity: 1;
    z-index: 1000;
}
.profile-menu > a { display: flex; flex-direction: row; align-items: center; width: 100%; flex: none; min-height: 40px; padding: 10px 12px; white-space: nowrap; }
@media (max-width: 768px) {
    .profile-menu {
        right: 0;
        top: calc(100% + 4px);
        width: min(218px, calc(100vw - 22px));
    }
}

.guest-alert-spinna-music{
    position: relative;

    --bs-alert-color: #e9d5ff;
    --bs-alert-bg: #2e1065;
    --bs-alert-border-color: #652de4;
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border: 2px solid var(--bs-alert-border-color);
}

/* RESPONSIVE MEDIA QUERIES */

/* Mobile */
@media (max-width: 568px) {
    .guest-track-header,
    .guest-track {
        grid-template-columns: 64px minmax(0, 1fr) 72px;
    }
}


/* ============================================================================
   SPINNA MUSIC — SHARED STYLESHEET
   Used by: login.html, dashboard.html, artist.html, release.html, my-xoxoxo.html.
   Keep global theme tokens and shared components here; page-specific rules are
   grouped below. Do not add a second stylesheet or inline layout overrides.
   ============================================================================ */

/* Spinna Music — one shared stylesheet for every page */
/* =========================================
   SPINNA MUSIC — COMPLETE STYLESHEET
   ========================================= */

/* =========================================
   1. THEME
   ========================================= */

:root {
    color-scheme: dark;

    --accent: #a875ff;
    --accent-hover: #bd99ff;
    --accent-soft: rgba(168, 117, 255, .15);

    --bg: #101116;
    --sidebar-bg: #15171e;
    --topbar-bg: #191b26;
    --surface: #1b1e28;
    --surface-hover: #252938;

    --text: #f5f5fa;
    --text-secondary: #a4a7b7;
    --text-muted: #777c8e;

    --border: rgba(255, 255, 255, .09);

    --sidebar-width: 270px;
    --topbar-height: 64px;

    --radius: 12px;
    --radius-lg: 18px;

    --transition: .2s ease;


        --black: #0c0c0c;
    --spotify-green: #805ad5;
    --spotify-black: #121212;
    --spotify-dark: #181818;
    --spotify-light: #282828;
    --spotify-hover: rgba(128, 90, 213, 0.5);
    --spotify-border: #333333;
    --spotify-text: #eeeeee;
    --spotify-dim: rgba(255, 255, 255, 0.4);
    --spotify-gray: #adb5bd;
    --spotify-btn-text: #ffffff;
    --spotify-alt-bg: #1c1c1c;

    --shared-badge-text: #fff;
    --shared-badge-bg: rgba(255, 255, 255, 0.05);
    --shared-badge-border: rgba(255, 255, 255, 0.35);
    --shared-badge-shadow: rgba(255, 255, 255, 0.15);
    --shared-badge-inset: rgba(255, 255, 255, 0.05);
    --shared-badge-shine: rgba(255, 255, 255, 0.8);
    --shared-badge-glow-border-min: rgba(255, 255, 255, 0.3);
    --shared-badge-glow-border-max: rgba(255, 255, 255, 0.9);
    --shared-badge-glow-strong: rgba(255, 255, 255, 0.45);

}

[data-theme="light"] {
    color-scheme: light;

    --accent: #7546c9;
    --accent-hover: #6135af;
    --accent-soft: rgba(117, 70, 201, .11);

    --bg: #f4f5f9;
    --sidebar-bg: #ffffff;
    --topbar-bg: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f0edf8;

    --text: #20212b;
    --text-secondary: #626678;
    --text-muted: #898d9b;

    --border: rgba(25, 25, 45, .10);
}

/* =========================================
   2. RESET
   ========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .25rem var(--accent-soft);
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

::selection {
    background: var(--accent);
    color: white;
}

/* =========================================
   3. APPLICATION LAYOUT
   ========================================= */

.app {
    display: grid;

    grid-template-columns:
        var(--sidebar-width)
        minmax(0, 1fr);

    grid-template-rows:
        var(--topbar-height)
        minmax(0, 1fr);

    min-height: 100vh;
}

/* =========================================
   4. SIDEBAR
   ========================================= */

.sidebar {
    grid-column: 1;
    grid-row: 1 / 3;

    position: sticky;
    top: 0;

    height: 100vh;
    min-height: 0;

    display: flex;
    flex-direction: column;

    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);

    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 78px;
    padding: 14px 22px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.brand-name span {
    color: var(--accent);
}

.brand-tagline {
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: .2px;
}

.sidebar-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 14px 20px;
    scrollbar-width: thin;
}

/* =========================================
   5. NAVIGATION
   ========================================= */

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nav-divider {
    height: 1px;
    background: var(--border);
    margin: 20px 10px;
}

.nav-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 41px;
    padding: 10px 14px;

    border-radius: 10px;

    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;

    transition:
        background var(--transition),
        color var(--transition);
}

.nav-link > i {
    width: 19px;
    text-align: center;
    font-size: 15px;
}

.nav-link:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.nav-link.active {
    background: var(--accent-soft);
    color: var(--text);
    font-weight: 600;
}

.nav-link.active::before {
    content: "";

    position: absolute;
    left: -14px;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 0 4px 4px 0;
    background: var(--accent);
}

.nav-badge {
    margin-left: auto;

    min-width: 22px;
    height: 22px;
    padding: 0 6px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background: var(--accent);
    color: white;

    font-size: 11px;
    font-weight: 700;
}

/* =========================================
   6. PLAYER — DESKTOP
   ========================================= */


.guest-icon-btn {
    display: inline-grid;
    place-items: center;
    padding: 0;
/*    width: 34px;
    height: 34px;*/
    border: 0;
    /*border-radius: 50%;*/
    background: transparent;
    color: var(--spotify-dim);
    transition: color var(--transition), background var(--transition);
}

.guest-icon-btn:hover {
    color: var(--accent);
    /*background: var(--accent-soft);*/
}

.menu-icon-btn {
    display: inline-grid;
    place-items: center;
    padding: 0;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--spotify-dim);
    transition: color var(--transition), background var(--transition);
    font-size: 18px;
}


/* =========================================
   7. TOP BAR
   ========================================= */

.topbar {
    grid-column: 2;
    grid-row: 1;

    position: sticky;
    top: 0;

    height: var(--topbar-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 0 28px;

    background: var(--topbar-bg);
    border-bottom: 1px solid var(--border);

    z-index: 90;
}

.mobile-menu-btn {
    display: none;
}

.search {
    position: relative;

    width: min(440px, 100%);
    margin: 0 auto;
}

.search > i {
    position: absolute;
    left: 16px;
    top: 50%;

    transform: translateY(-50%);
    color: var(--text-muted);
}

.search input {
    width: 100%;
    height: 40px;

    padding: 0 64px 0 43px;

    border: 1px solid var(--border);
    border-radius: 10px;

    outline: none;

    background: var(--bg);
    color: var(--text);
}

.search input:focus {
    border-color: var(--accent);
}

.search input::placeholder {
    color: var(--text-muted);
}

.search kbd {
    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    padding: 3px 6px;

    border: 1px solid var(--border);
    border-radius: 4px;

    color: var(--text-muted);
    font-size: 10px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}


.profile {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 4px 8px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: var(--text);
}

.profile:hover {
    background: var(--surface-hover);
}

.profile img {
    width: 31px;
    height: 31px;

    border-radius: 50%;
    object-fit: cover;
}

.profile span {
    font-size: 12px;
    font-weight: 600;
}

.profile > i {
    margin-left: 6px;
    color: var(--text-muted);
    font-size: 10px;
}

/* =========================================
   8. MAIN
   ========================================= */

.guest-main {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    padding-bottom: 40px;
}

/* =========================================
   9. HERO
   ========================================= */

.guest-hero {
    position: relative;
    isolation: isolate;

    min-height: 270px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(12, 12, 20, .96) 0%,
            rgba(12, 12, 20, .83) 38%,
            rgba(12, 12, 20, .18) 100%
        ),
        url("https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?w=1800&q=85")
        center / cover no-repeat;
}

.guest-hero::after {
    content: "";

    position: absolute;
    inset: auto 0 0;
    height: 60px;

    background: linear-gradient(
        transparent,
        var(--bg)
    );

    z-index: -1;
}

:is([data-theme="light"], [data-bs-theme="light"]) .home-hero {
    background:
        linear-gradient(90deg, rgba(250, 248, 255, .98), rgba(250, 248, 255, .85) 45%, rgba(250, 248, 255, .1)),
        url("../images/home-hero-light.svg") center / cover no-repeat;
}

:is([data-theme="light"], [data-bs-theme="light"]) .home-hero .hero-content {
    color: var(--text);
}

:is([data-theme="light"], [data-bs-theme="light"]) .home-hero h1 span,
:is([data-theme="light"], [data-bs-theme="light"]) .home-hero .stat > i {
    color: var(--accent);
}

:is([data-theme="light"], [data-bs-theme="light"]) .home-hero p,
:is([data-theme="light"], [data-bs-theme="light"]) .home-hero .stat span {
    color: var(--text-secondary);
}

:is([data-theme="light"], [data-bs-theme="light"]) .home-hero .hero-stats {
    border-color: var(--border);
    background: rgba(255, 255, 255, .75);
}

.hero-content {
    width: 100%;
    max-width: 850px;

    padding: 36px 44px;

    color: white;
}

.guest-hero h1 {
    margin: 0 0 8px;

    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.guest-hero h1 span {
    color: #b58aff;
}

.guest-hero p {
    max-width: 530px;
    margin: 0;

    color: #c4c2ce;
    font-size: 14px;
    line-height: 1.65;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 35px;

    width: fit-content;
    max-width: 100%;

    margin-top: 22px;
    padding: 14px 24px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;

    background: rgba(28, 30, 44, .75);
    backdrop-filter: blur(12px);
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat > i {
    font-size: 19px;
    color: white;
}

.stat strong,
.stat span {
    display: block;
}

.stat strong {
    font-size: 16px;
    font-weight: 800;
}

.stat span {
    color: #b9b8c7;
    font-size: 10px;
}

/* =========================================
   10. CONTENT
   ========================================= */

.dash-container {
    padding: 0 28px;

}

.content {
    padding: 0 28px;
    max-width: 1600px;
}


.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(300px, 1fr);

    gap: 20px;
}

.guest-panel {
    min-width: 0;
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--surface);
}

.guest-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.guest-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 0;
}

.guest-panel-title > i {
    color: var(--accent);
    font-size: 19px;
}

.guest-panel-title h2 {
    margin: 0;
    font-size:1.25rem;

    font-weight: 700;
    letter-spacing: -.3px;
}

.guest-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;

    color: var(--accent);
    font-size: 11px;
    font-weight: 600;
}

.guest-view-all:hover {
    color: var(--accent-hover);
}


/* =========================================
   13. SECTIONS
   ========================================= */

.guest-section {
    margin-top: 28px;
}

.guest-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 15px;
}

.guest-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.guest-section-heading > i {
    margin-top: 3px;
    color: var(--accent);
    font-size: 20px;
}

.guest-section-heading h2 {
    margin: 0;

    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.4px;
}

.guest-section-heading p {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.25;
}

/* =========================================
   14. MUSIC CARDS
   ========================================= */

.music-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;
}

.music-card {
    position: relative;
    isolation: isolate;

    min-width: 0;
    aspect-ratio: 1.65;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface);
}

.following-grid > .music-card {
    aspect-ratio: 1 / 1;
}

.music-card::after {
    content: "";

    position: absolute;
    inset: 30% 0 0;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, .88)
    );

    pointer-events: none;
}

.music-card > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.music-card:hover > img {
    transform: scale(1.06);
}

.card-menu {
    position: absolute;
    top: 10px;
    right: 10px;

    z-index: 2;

    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;

    background: rgba(20, 20, 30, .65);
    color: white;
}

.card-menu:hover {
    background: var(--accent);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    z-index: 1;

    padding: 12px;

    color: white;
}

.card-info strong,
.card-info span {
    display: block;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-info strong {
    font-size: 12px;
    font-weight: 700;
}

.card-info span {
    margin-top: 2px;
    color: #d3d0dc;
    font-size: 10px;
}

.card-type {
    position: absolute;
    right: 12px;
    bottom: 13px;

    z-index: 2;

    color: white;
    font-size: 13px;
}

/* =========================================
   15. SHARED CONTENT — SQUARE CARDS
   ========================================= */

.guest-shared-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}

.guest-shared-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 0;
    width: 100%;
    align-self: start;
    box-sizing: border-box;

    padding: 10px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: var(--surface);

    transition:
        background var(--transition),
        transform var(--transition);
}

.guest-shared-card:hover {
    background: var(--surface-hover);
    transform: translateY(-3px);
}

.guest-shared-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    flex: none;
}

.guest-shared-card img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;

    border-radius: 7px;
    object-fit: cover;
}

/* Artist images are circular; release artwork remains square */
.guest-shared-card img.guest-artist-list-image {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.guest-shared-card strong,
.guest-shared-card span {
    display: block;

    flex-shrink: 0;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.guest-shared-card strong {
    margin-top: 8px;
    font-size: 1rem;
}

.guest-shared-card span {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =========================================
   16. MOBILE OVERLAY
   ========================================= */

.sidebar-overlay {
    display: none;
}

/* =========================================
   17. LAPTOP
   ========================================= */

@media (max-width: 1300px) {
    :root {
        --sidebar-width: 235px;
    }

    .dashboard-grid {
        grid-template-columns:
        minmax(0, 1.3fr)
        minmax(270px, 1fr);
    }

    .music-grid {
        grid-template-columns:
        repeat(3, minmax(0, 1fr));
    }

    .guest-shared-grid {
        grid-template-columns:
        repeat(4, minmax(0, 1fr));
    }

    .hero-content {
        padding: 32px;
    }
}

/* =========================================
   18. TABLET
   ========================================= */

@media (max-width: 1050px) {
    .dashboard-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .music-grid {
        grid-template-columns:
        repeat(3, minmax(0, 1fr));
    }

    .guest-shared-grid {
        grid-template-columns:
        repeat(3, minmax(0, 1fr));
    }

    .guest-hero {
        min-height: 250px;
    }

    .hero-stats {
        gap: 24px;
    }
}

/* =========================================
   19. MOBILE
   ========================================= */

@media (max-width: 768px) {
    /* APP */
    .app {
        display: block;
    }

    /* SIDEBAR */
    .sidebar {
        position: fixed;
        inset: 0 auto 0 0;

        width: 270px;
        height: 100dvh;

        transform: translateX(-100%);
        transition: transform .25s ease;

        z-index: 200;
    }

    /* OVERLAY */
    .sidebar-overlay {
        position: fixed;
        inset: 0;

        display: block;

        background: rgba(0, 0, 0, .65);

        opacity: 0;
        visibility: hidden;

        transition:
        opacity .25s ease,
        visibility .25s ease;

        z-index: 190;
    }

    /* TOP BAR */
    .topbar {
        position: sticky;
        top: 0;

        padding: 0 15px;
        gap: 10px;
    }

    .mobile-menu-btn {
        display: inline-grid;
        flex-shrink: 0;
    }

    .search {
        flex: 1;
        min-width: 0;
    }

    .search input {
        height: 38px;
        padding-right: 12px;
        font-size: 12px;
    }

    .top-actions {
        gap: 4px;
    }


    .profile span,
    .profile > i {
        display: none;
    }

    .profile {
        padding: 2px;
    }

    /* MAIN */
    .guest-main {
        padding-bottom: calc(
        var(--mobile-player-height) +
        env(safe-area-inset-bottom) +
        24px
        );
    }

    /* HERO */
    .guest-hero {
        min-height: 250px;
        background-position: 60% center;
    }

    .hero-content {
        padding: 28px 20px;
    }

    .guest-hero h1 {
        font-size: 29px;
        letter-spacing: -.8px;
    }

    .guest-hero p {
        max-width: 420px;
        font-size: 12px;
    }

    .hero-stats {
        gap: 20px;
        padding: 12px 15px;
    }

    .stat {
        gap: 7px;
    }

    .stat > i {
        font-size: 15px;
    }

    .stat strong {
        font-size: 13px;
    }

    .stat span {
        font-size: 9px;
    }

    /* CONTENT */
    .content {
        padding: 0 15px;
    }

    .dashboard-grid {
        gap: 15px;
    }

    .music-grid {
        grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }

    .guest-shared-grid {
        grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }

    .guest-section {
        margin-top: 25px;
    }

    /* =====================================
    FIXED MOBILE PLAYER
    ===================================== */


/* The mobile player must remain above content but below the open drawer. */
    .sidebar-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

    .search kbd {
        display: none;
    }


}

/* =========================================
   20. SMALL PHONES
   ========================================= */

@media (max-width: 420px) {
    .guest-hero h1 {
        font-size: 25px;
    }

    .hero-stats {
        gap: 12px;
        padding: 10px;
    }

    .stat {
        gap: 6px;
    }

    .stat > i {
        font-size: 13px;
    }

    .stat strong {
        font-size: 12px;
    }

    .guest-panel {
        padding: 12px;
    }

    .guest-section-heading h2 {
        font-size: 15px;
    }

    .guest-section-heading p {
        font-size: 10px;
    }

    .guest-shared-card {
        padding: 8px;
    }

    .guest-shared-card strong {
        font-size: 11px;
        margin-top: 6px;
    }

    .guest-shared-card span {
        font-size: 9px;
    }


}

/* Desktop player: one instance outside the sidebar. */
@media (min-width: 769px) {
    .sidebar-scroll {
        padding-bottom: 205px;
    }


}

/* Shared account dropdown (dashboard and artist) */
.profile-menu-wrap { position: relative; flex-shrink: 0; }
.profile-menu-wrap .profile[aria-expanded="true"] { background: var(--surface-hover); }
.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 300;
    width: 205px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
}
.profile-menu[hidden] { display: none; }
.profile-menu a, .profile-menu-btn {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}
.profile-menu a:hover,
.profile-menu a:focus-visible,
.profile-menu-btn:hover,
.profile-menu-btn:focus-visible { background: var(--surface-hover); color: var(--text); }
.profile-menu a i { width: 17px; text-align: center; }

/* Account menu: each action occupies its own row. */
.profile-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.profile-menu > a {
    display: flex;
    width: 100%;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
    text-align: left;
}


/* ARTIST PAGE — additions to spinna-dashboard-fixed.css */
.artist-hero{min-height:350px;align-items:end;background:linear-gradient(90deg,rgba(13,12,22,.96),rgba(13,12,22,.66) 65%,rgba(13,12,22,.35)),radial-gradient(circle at 80% 20%,#68429c,#1b1e28 65%)}
.artist-hero .hero-content{max-width:none;padding:38px 44px 32px;position:relative;z-index:1}
.artist-identity{display:flex;align-items:end;gap:26px}
.artist-avatar{width:170px;height:170px;flex:none;border-radius:50%;object-fit:cover;background:#332746;border:4px solid rgba(255,255,255,.18);box-shadow:0 12px 35px #0006}
.artist-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;color:#d8c8f3;font-weight:700}
.artist-hero h1{font-size:clamp(32px,5vw,64px);margin:5px 0 10px}
.guest-artist-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:#d0cbdc;font-size:12px}
.guest-artist-meta span+span::before{content:'•';margin-right:12px;color:#a875ff}
.artist-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:22px}
.guest-artist-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:0 18px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-weight:700;font-size:12px}
.guest-artist-button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.guest-artist-button.follow-on{background:var(--accent);border-color:var(--accent);color:#fff}
.guest-artist-button.follow-off {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.24);
    color: #fff
}
.guest-artist-button:hover{filter:brightness(1.12)}
.guest-artist-button:disabled{opacity:.5;cursor:not-allowed}
.artist-page{padding-top:28px}
.artist-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.8fr);gap:20px;align-items:start}
.artist-layout .guest-section{margin-top:0}
.artist-layout .guest-section+.guest-section{margin-top:26px}
.artist-side{display:grid;gap:18px}
.artist-about{color:var(--text-secondary);font-size:13px;line-height:1.75;margin:0}


.artist-release-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.artist-release-grid .music-card{aspect-ratio:1/1}
.artist-release-grid .music-card .card-info{padding:14px}
.artist-release-grid .music-card .card-info strong{font-size:13px}
.guest-artist-track-head{display:grid;grid-template-columns:20px 40px 30px minmax(0,1fr) 45px 32px 28px;gap:10px;padding:0 0 8px;border-bottom:1px solid var(--border);color:var(--text-muted);font-size:10px}
.guest-artist-track-head .guest-artist-time{grid-column:5;text-align:right}


.artist-empty{padding:20px;color:var(--text-muted);font-size:12px;text-align:center}
@media (max-width: 1050px) {
    .artist-layout {
        grid-template-columns:minmax(0,1fr);
    }

    .artist-side {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 768px) {
    .sidebar.open {
        transform: translateX(0);
    }


.sidebar {
        overflow: hidden;
    }

    .artist-hero {
        min-height:0;
    }

    .artist-avatar {
        width:112px;
        height:112px;
    }

    .artist-identity {
        align-items:center;
        gap:15px;
    }

    .artist-hero h1 {
        font-size:clamp(26px,7vw,42px);
    }

    .artist-page {
        padding-top:20px;
    }

    .artist-side {
        grid-template-columns:minmax(0,1fr);
    }

    .artist-release-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 420px) {
    .music-card {
        aspect-ratio: 1.2;
    }

    .artist-avatar {
        width:80px;
        height:80px;
    }

    .guest-artist-meta {
        gap:5px;
        font-size:10px;
    }

    .guest-artist-button {
        padding:0 13px;
    }

    .guest-artist-track-head {
        display:none;
    }

    .artist-release-grid {
        gap:9px;
    }
}

/* Light mode: gentle image-free lavender gradient instead of the dark overlay. */
[data-theme="light"] .artist-hero {
    background: linear-gradient(110deg, #f5f1fb 0%, #e8def6 58%, #d7c5ed 100%);
    color: var(--text);
}
[data-theme="light"] .artist-hero h1,
[data-theme="light"] .artist-hero .hero-content { color: var(--text); }
[data-theme="light"] .artist-hero p,
[data-theme="light"] .artist-hero .guest-artist-meta { color: var(--text-secondary); }

/* Landing / login only. Load after spinna-dashboard-fixed.css. */
.auth-page{min-height:100svh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);background:var(--bg)}
.auth-showcase{position:relative;isolation:isolate;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:clamp(24px,4vw,62px);color:#fff;background:#15111f}
.auth-showcase::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(100deg,rgba(14,10,24,.92),rgba(18,12,29,.55) 55%,rgba(18,12,29,.15)),url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?w=1800&q=85') center/cover no-repeat}
.auth-showcase::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 25% 65%,rgba(168,117,255,.25),transparent 55%)}
.auth-brand{display:inline-flex;align-items:center;gap:12px;width:max-content;color:#fff}
.auth-brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:var(--accent);box-shadow:0 8px 30px rgba(0,0,0,.18);font-size:21px;font-weight:1000;}
.auth-brand strong{display:block;font-size:19px;letter-spacing:-.6px}.auth-brand small{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#d0c9dd}
.auth-pitch{max-width:670px;padding:90px 0 60px}
.auth-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:22px;padding:8px 12px;border:1px solid rgba(255,255,255,.25);border-radius:100px;background:rgba(255,255,255,.08);font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.auth-eyebrow i{color:#c9a9ff}
                                                                                                                                                                                                                                                                          .auth-pitch h1{margin:0;font-size:clamp(40px,5.5vw,80px);line-height:1.05;letter-spacing:-.065em;font-weight:800}
                                                                                                                                                                                                                                                                                                        .auth-pitch h1 em{font-style:normal;color:#c3a1ff}
                                                                                                                                                                                                                                                                                                                                                                                                                         .auth-pitch p{max-width:460px;margin:24px 0 0;color:#ded8e7;font-size:clamp(14px,1.25vw,17px);line-height:1.75}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                           .auth-features{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          .auth-features span{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(20,15,30,.42);font-size:12px}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .auth-features i{color:#c3a1ff}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .auth-showcase-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#bcb4ca;font-size:11px}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       .auth-showcase-footer a:hover{color:#fff}
.auth-side{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px clamp(24px,5vw,80px);background:var(--bg)}.auth-top-actions{position:absolute;top:26px;right:28px;display:flex;align-items:center;gap:8px}.auth-form-wrap{width:min(100%,420px)}.auth-mobile-brand{display:none}.auth-form-wrap h2{margin:0;font-size:clamp(27px,3vw,35px);letter-spacing:-.045em;line-height:1.15}.auth-intro{margin:12px 0 32px;color:var(--text-secondary);font-size:13px;line-height:1.7}.auth-field{margin-bottom:19px}.auth-field-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.auth-field label{display:block;font-size:12px;font-weight:700}.auth-field-header a{color:var(--accent);font-size:11px;font-weight:600}.auth-field-header a:hover{text-decoration:underline}.auth-input-wrap{position:relative}.auth-input-wrap>i{position:absolute;top:50%;left:15px;transform:translateY(-50%);color:var(--text-muted);font-size:14px}.auth-input{width:100%;height:49px;padding:0 46px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);outline:0;transition:border-color var(--transition),box-shadow var(--transition)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 .auth-input::placeholder{color:var(--text-muted)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  .auth-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   .auth-password-toggle{position:absolute;top:50%;right:7px;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:var(--text-muted)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .auth-password-toggle:hover{background:var(--surface-hover);color:var(--text)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .auth-submit{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:49px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-weight:700;transition:background var(--transition),transform var(--transition)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            .auth-submit:hover{background:var(--accent-hover);transform:translateY(-1px)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .auth-submit:active{transform:none}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     .auth-privacy{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:34px;color:var(--text-muted);font-size:11px}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .auth-privacy i{color:var(--accent)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            .auth-form-footer{margin-top:45px;text-align:center;color:var(--text-muted);font-size:11px}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .auth-form-footer a{color:var(--text-secondary)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           .auth-form-footer a:hover{color:var(--accent)}
[data-theme="light"] .auth-showcase{color:#fff} /* Photo panel intentionally remains dark in both themes for readable text. */
@media (max-width: 1000px) {
    .auth-page {
        grid-template-columns:minmax(0,1fr) minmax(360px,1fr);
    }

    .auth-showcase {
        padding:30px;
    }

    .auth-pitch h1 {
        font-size:clamp(38px,5vw,58px);
    }

    .auth-features {
        gap:7px;
    }

    .auth-features span {
        font-size:11px;
    }
}
@media (max-width: 760px) {
    .auth-showcase {
        min-height:0;
        padding:23px 24px 26px;
    }

    .auth-pitch {
        padding:16px 0 0;
    }

    .auth-pitch h1 {
        font-size:clamp(29px,7vw,42px);
        letter-spacing:-.05em;
    }

    .auth-pitch p {
        margin-top:10px;
        font-size:12px;
        line-height:1.55;
    }

    .auth-side {
        position:relative;
        min-height:calc(100svh - 210px);
        padding:70px 24px 30px;
        justify-content:flex-start;
    }

    .auth-top-actions {
        top:18px;
        right:24px;
    }
}
@media (max-width: 380px) {
    .auth-pitch h1 {
        font-size:29px;
    }

    .auth-side {
        padding-inline:18px;
    }

    .auth-top-actions {
        right:18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .auth-submit,.auth-input {
        transition:none;
    }
}

/* Refined mobile login: no showcase banner, simple branded sign-in. */
@media (max-width: 760px) {
    .auth-page {
        display:block;
    }

    .auth-showcase .auth-brand,.auth-showcase-footer,.auth-features {
        display:none;
    }

    .auth-eyebrow {
        margin-bottom:10px;
        font-size:10px;
    }

    .auth-mobile-brand {
        display:inline-flex;
        align-items:center;
        gap:9px;
        margin-bottom:35px;
        color:var(--text);
        font-weight:800;
        font-size:16px;
    }

    .auth-mobile-brand .auth-brand-mark {
        width:33px;
        height:33px;
        border-radius:9px;
        font-size:15px;
    }

    .auth-form-wrap h2 {
        font-size:29px;
    }

    .auth-intro {
        margin-bottom:25px;
    }

    .auth-form-footer {
        margin-top:35px;
    }

    .auth-page {
        min-height: 100svh;
        display: block;
    }

    .auth-showcase {
        display: none;
    }

    .auth-side {
        min-height: 100svh;
        padding: 24px 22px max(30px, env(safe-area-inset-bottom));
        justify-content: center;
    }

    .auth-top-actions {
        top: 22px;
        right: 22px;
    }


.auth-form-wrap {
        width: min(100%, 390px);
    }

    .auth-mobile-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-bottom: clamp(35px, 7vh, 64px);
        font-size: 19px;
        font-weight: 800;
    }

    .auth-mobile-brand .auth-brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 19px;
    }

    .auth-form-wrap h2 {
        font-size: clamp(27px, 7vw, 34px);
    }

    .auth-intro {
        margin: 10px 0 30px;
    }

    .auth-field {
        margin-bottom: 20px;
    }

    .auth-input {
        height: 52px;
        font-size: 16px;
    }

    .auth-submit {
        min-height: 52px;
    }

    .auth-form-footer {
        margin-top: clamp(30px, 6vh, 55px);
    }
}
@media (max-width: 380px) {
    .auth-side {
        padding-inline: 20px;
    }

    .auth-top-actions {
        right: 20px;
    }
}

/* Shared dashboard theme control: same .guest-icon-btn appearance and dimensions. */
.auth-top-actions .guest-icon-btn { flex-shrink: 0; }


/* Shared account dropdown: anchor directly below profile; opaque in both themes.
   The [hidden] rule must override display:flex so clicking outside can close it. */
.topbar { overflow: visible; }
.top-actions { min-width: 0; }
.profile-menu-wrap { position: relative; isolation: isolate; }
.profile-menu {
    position: absolute;
    inset: calc(100% + 4px) 0 auto auto;
    width: 125px;
    max-height: min(360px, calc(100dvh - var(--topbar-height) - 16px));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    background: var(--sidebar-bg);
    background-color: var(--sidebar-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0,0,0,.30);
    opacity: 1;
    z-index: 1000;
}
.profile-menu[hidden] { display: none !important; }
.profile-menu > a, .profile-menu-btn { display: flex; flex-direction: row; align-items: center; width: 100%; flex: none; min-height: 40px; padding: 10px 12px; white-space: nowrap; }
.profile-menu > a + a { margin-top: 0; }
@media (max-width: 768px) {
    .artist-hero .hero-content {
        padding:30px 20px;
    }

    .profile-menu {
        right: 0;
        top: calc(100% + 4px);
        width: min(125px, calc(100vw - 22px));
    }
}
/* RELEASE DETAIL — extends the shared hero, track and panel components. */
.release-hero { min-height: 325px; background: linear-gradient(115deg,#21192f,#423059 58%,#242536); }
.release-hero .hero-content { max-width: none; padding: 36px 44px; }
.release-identity { display: flex; align-items: end; gap: 28px; }
.release-cover { width: clamp(160px,23vw,230px); aspect-ratio: 1; object-fit: cover; border-radius: 12px; flex: none; box-shadow: 0 14px 38px #0006; background: var(--surface); }
.release-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: #ded0f1; font-weight: 700; }
.release-hero h1 { margin: 8px 0; font-size: clamp(32px,5vw,58px); }
.release-meta { color: #ded6e7; font-size: 12px; }
.release-summary-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: #ded6e7; font-size: 13px; line-height: 1.5; }
.release-summary-row .release-artist-line { color: inherit; font-size: inherit; }
.release-summary-row .release-artist-line:hover { text-decoration: underline; }
.release-summary-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.release-summary-item::before { content: "•"; opacity: .65; }
[data-theme="light"] .release-summary-row { color: var(--text-secondary); }
.release-page { padding-top: 26px; }
.release-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(250px,.8fr); gap: 20px; align-items: start; }
.release-layout .guest-section { margin-top: 12px; }
.release-side { display: grid; gap: 18px; }
.release-description { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.75; }
[data-theme="light"] .release-hero { background: linear-gradient(115deg,#f4effb,#e4d8f2 65%,#d7c5eb); }
[data-theme="light"] .release-hero .hero-content, [data-theme="light"] .release-hero h1 { color: var(--text); }
[data-theme="light"] .release-meta, [data-theme="light"] .release-eyebrow { color: var(--text-secondary); }
@media (max-width: 1050px) {
    :root {
        --sidebar-width: 215px;
    }

    .release-layout {
        grid-template-columns: minmax(0,1fr);
    }

    .release-side {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 768px) {
    .release-hero {
        min-height: 0;
    }

    .release-cover {
        width: 118px;
    }

    .release-identity {
        align-items: center;
        gap: 15px;
    }

    .release-listener-identity {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .release-listener-identity .release-cover {
        width: min(100%, 320px);
        align-self: center;
    }

    .release-listener-identity .artist-actions {
        justify-content: flex-start;
    }

    .release-listener-identity > div {
        width: min(100%, 320px);
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .release-listener-identity .release-summary-row {
        justify-content: flex-start;
    }

    .release-page {
        padding-top: 20px;
    }
}
@media (max-width: 420px) {
    .guest-artist-meta span+span::before {
        margin-right:5px;
    }

    .release-cover {
        width: 86px;
    }

    .release-hero h1 {
        font-size: 28px;
    }
}


/* =========================================================
   MY xoxoxo — shares Spinna Music's existing theme + shell
   ========================================================= */
.manager { max-width: 1140px; margin: 0 auto; padding-top: 34px; padding-bottom: 56px; }
.home-hero .hero-content {
    padding-inline-start: 36px;
}

@media (max-width: 768px) {
    .home-hero .hero-content {
        padding-inline-start: 23px;
    }
}
.manager-back { margin-bottom: 22px; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.back-link i { color: var(--accent); }
.back-link:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}
.back-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.manager-back .back-link { margin-bottom: 0; }
.back-link-inline { margin-bottom: 0; vertical-align: middle; }
.manager-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.manager-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.manager-eyebrow-dot { margin: 0 6px; color: var(--text-muted); }
.manager-heading h1 { display: flex; align-items: flex-start; gap: 10px; margin: 5px 0 8px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.055em; line-height: 1.2; }
.manager-count { margin-top: 4px; padding: 3px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 12px; letter-spacing: 0; }
.manager-heading p { margin: 0; color: var(--text-secondary); font-size: 13px; }
.primary-action,
.manager-actions .primary-action {
    --primary-action-text: #17121f;
    --bs-btn-active-bg: var(--accent-hover);
    --bs-btn-active-color: var(--primary-action-text);
    --bs-btn-active-border-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--accent);
    color: var(--primary-action-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px var(--accent-soft);
    transition: background var(--transition), box-shadow var(--transition);
}
:is([data-theme="light"], [data-bs-theme="light"]) .primary-action {
    --primary-action-text: #fff;
}
.primary-action:hover,
.manager-actions .primary-action:hover {
    border-color: transparent;
    background: var(--accent-hover);
    color: var(--primary-action-text);
}
.primary-action:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.primary-action:disabled,
.primary-action.disabled,
.primary-action[aria-disabled="true"] {
    opacity: .5;
    box-shadow: none;
    pointer-events: none;
}
.manager-panel { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.manager-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 22px; border-bottom: 1px solid var(--border); }
.manager-panel-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.manager-panel-head span { display: block; margin-top: 3px; color: var(--text-muted); font-size: 11px; }
.manager-total { padding: 5px 9px; border: 1px solid var(--border); border-radius: 8px; white-space: nowrap; }
.manager-table-scroll { width: 100%; overflow-x: auto; }
.manager-table { width: 100%; border-collapse: collapse; text-align: left; }
.manager-table th { padding: 15px 17px; background: var(--surface-hover); color: var(--text-secondary); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.5; white-space: normal; }
.manager-table td { padding: 18px 17px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 12px; line-height: 1.65; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.manager-table tbody tr:first-child td { border-top: 0; }
.manager-table tbody tr:hover { background: var(--accent-soft); }
.manager-identity { display: flex; align-items: center; gap: 12px; min-width: 140px; }
.manager-identity > div { min-width: 0; }
.manager-identity img { width: 56px; height: 56px; flex: none; border-radius: 8px; object-fit: cover; background: var(--surface-hover); }
.manager-name { display: block; color: var(--text); font-weight: 700; font-size: 13px; }
.manager-name:hover, .manager-artist:hover { color: var(--accent); }
.manager-subtitle { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; }
.manager-artist { color: var(--text-secondary); font-weight: 600; }
.manager-type { display: inline-block; padding: 5px 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-hover); color: var(--text); font-size: 11px; font-weight: 600; }
.manager-type-ep { background: var(--accent-soft); color: var(--accent); }
.manager-number { font-variant-numeric: tabular-nums; color: var(--text) !important; }
.manager-table time { color: var(--text); white-space: nowrap; }
.manager-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 140px; }
.manager-actions form { margin: 0; max-width: 100%; }
.manager-actions a, .manager-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; max-width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-hover); color: var(--text-secondary); font: inherit; font-size: 11px; font-weight: 600; line-height: 1.4; white-space: normal; text-align: center; cursor: pointer; }
.primary-action.compact-action {
    min-height: 28px;
    padding: 4px 8px;
    gap: 4px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: none;
}
.manager-actions a:hover, .manager-actions button:hover { border-color: var(--accent); color: var(--accent); }
.manager-actions .manager-delete { border-color: rgba(230,91,104,.25); background: rgba(230,91,104,.08); color: #ef8791; }
.manager-actions .manager-delete:hover { border-color: #e65b68; background: rgba(230,91,104,.16); color: #e65b68; }
[data-theme="light"] .manager-actions .manager-delete { color: #b83242; }
@media (max-width: 1200px) {
    .manager-table th, .manager-table td {
        padding-inline: 11px;
    }

    .manager-actions a, .manager-actions button {
        padding-inline: 8px;
    }
}
@media (max-width: 768px) {
    .topbar {
        z-index: 210;
    }

    .sidebar {
        z-index: 230;
    }

    .sidebar-overlay {
        z-index: 220;
    }

    .release-hero .hero-content {
        padding: 26px 20px;
    }

    .release-side {
        grid-template-columns: minmax(0,1fr);
    }

    .manager {
        padding-top: 22px;
    }

    .manager-heading {
        align-items: flex-start;
    }

    .manager-heading h1 {
        font-size: 29px;
    }

    .manager-heading p {
        max-width: 380px;
    }

    .manager-panel-head {
        padding: 15px;
    }

}
@media (max-width: 480px) {
    .manager-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .manager-heading .primary-action {
        align-self: flex-start;
    }

    .manager-back {
        margin-bottom: 14px;
    }
}

/* LOGIN — MVC integration: the view reuses login.html's .auth-* components.
   Keep layout and theme rules in the shared auth section above; these rules
   only add ASP.NET Core validation styling and fluid control sizing. */
.auth-page { --auth-control-height: clamp(46px, 4vw, 52px); }
.auth-form-footer .guest-footer {
    margin: 0;
    padding: 16px 0 0;
    gap: 12px;
}
.auth-form-footer .guest-bottom-links {
    gap: 10px;
}
.auth-page .auth-input { height: var(--auth-control-height); }
.auth-page .auth-submit { min-height: var(--auth-control-height); }
.auth-page .auth-validation:not(:empty) { margin-bottom: clamp(12px, 2vw, 20px); }
.auth-page .auth-field-error:not(:empty) { display: block; margin-top: 6px; font-size: 12px; }
.auth-page .auth-input.input-validation-error { border-color: var(--danger, #dc6464); }
.auth-page .auth-input.input-validation-error:focus { box-shadow: 0 0 0 3px rgba(220,100,100,.15); }


.manager-hero-content {
    max-width: 1140px;
    padding: 36px 28px;
    margin: 0 auto;
    width: 100%;
}


.btn-nav-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 41px;
    padding: 10px 14px;

    border-radius: 10px;

    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;

    transition:
        background var(--transition),
        color var(--transition);
}

.btn-nav-link > i {
    width: 19px;
    text-align: center;
    font-size: 15px;
}

.btn-nav-link:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.btn-nav-link.active {
    background: var(--accent-soft);
    color: var(--text);
    font-weight: 600;
}

.btn-nav-link.active::before {
    content: "";

    position: absolute;
    left: -14px;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 0 4px 4px 0;
    background: var(--accent);
}

.btn-nav-link .nav-badge {
    margin-left: auto;

    min-width: 22px;
    height: 22px;
    padding: 0 6px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background: var(--accent);
    color: white;

    font-size: 11px;
    font-weight: 700;
}


#trackList .drag-handle {
    cursor: grab;
    user-select: none;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--spotify-green);
}

#trackList .drag-handle:active {
    cursor: grabbing;
}

#trackList .track-position {
    width: 2rem;
    text-align: center;
}

.guest-track-play-btn {
    background: none;
    border: none;
    color: var(--spotify-green);
    cursor: pointer;
    font-size: 1.05rem;
}

.guest-track-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color:  var(--spotify-green);/* #b3b3b3;*/
    background: transparent;
    cursor: pointer;
    transition:
        color 150ms ease,
        background-color 150ms ease,
        transform 150ms ease,
        opacity 150ms ease;
}

.guest-track-favorite-btn:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.08);
}

.guest-track-favorite-btn.active {
    color: var(--spotify-green);
}

.guest-track-favorite-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}


/* MODALS */

.guest-artist-modal,
.guest-art-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.guest-art-modal.active {
    display: flex;
}

#artist-modal-toggle:checked ~ #artistModal,
#production-modal-toggle:checked ~ #productionModal,
#art-modal-toggle:checked ~ #artModal,
#merch-modal-toggle:checked ~ #merchModal {
    display: flex;
}

/* Glassmorphic overlay for cohesive dark-blend matching */
.guest-artist-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.guest-art-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

/* Modal Surface */
.guest-artist-modal-content {
    position: relative;
    z-index: 2;
    width: min(720px, 90vw);
    max-height: 85vh;
    background: #181818;
    border-radius: 16px;
    border: 1px solid #282828;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    overflow-x: hidden;
}

.guest-art-modal-content {
    position: relative;
    z-index: 2;
    width: min(1400px, 92vw);
    max-height: 90vh;
    overflow: auto;
}

/* Structured layout card inside the modal */
.guest-artist-modal-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Content Container with defensive padding */
.guest-artist-modal-text {
    padding: 32px;
}

.guest-artist-modal-text h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--spotify-text);
}

.guest-artist-modal-text p {
    margin: 0 0 16px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--spotify-dim);
}

.guest-artist-modal-text p:last-child {
    margin-bottom: 0;
}

/* Uniform Label Typography matching your sidebar themes */
.guest-art-label {
    color: var(--spotify-dim);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Image bounding constraints */
#artistModalImage {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #282828;
}

/* Clean UI Close Anchor matching Spotify design standards */
.guest-art-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: var(--spotify-text);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.guest-art-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.guest-art-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.guest-art-panel {
    background: #181818;
    border-radius: 18px;
    padding: 22px;
}

.guest-art-panel img {
    width: 100%;
    border-radius: 14px;
    display: block;
    background: #000;
}

/* PLAYER & FOOTER */

/*.guest-sm-app-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
}

.guest-sm-app-footer .guest-player {
    pointer-events: auto;
}*/

.guest-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;


    pointer-events: auto;
    background: var(--spotify-black);
    border-top: 1px solid var(--spotify-border);
    display: flex;
    flex-direction: column;
    padding: 12px 25px;
    gap: 14px;
    flex-shrink: 0;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.guest-player.active {
    transform: translateY(0);
    opacity: 1;
}

.guest-player-row-bottom {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.guest-player-left {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.guest-artist-card.guest-artist-card-bleed,
.guest-artist-card.guest-production-card {
    cursor: pointer;
}

.guest-player-left-cover {
    width: clamp(48px, 5vw, 64px);
    perspective: 400px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    aspect-ratio: 1 / 1;
}

.player-cover-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.guest-player-left-cover.flipped .player-cover-inner {
    transform: rotateY(180deg);
}

.player-cover-front,
.player-cover-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
}

.player-cover-front {
    transform: rotateY(0deg);
}

.player-cover-back {
    transform: rotateY(180deg);
}

.guest-player-left-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#playerCoverFrontImg,
#playerCoverBackImg {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#playerCoverFrontImg {
    display: none;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

#playerCoverButton {
    width: clamp(48px, 5vw, 64px);
    aspect-ratio: 1 / 1;
    perspective: 1000px;
}

#playerCoverInner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

#playerCoverButton.flipped #playerCoverInner {
    transform: rotateY(180deg);
}

#playerCoverFront,
#playerCoverBack {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#playerCoverFront {
    transform: rotateY(0deg);
}

#playerCoverBack {
    transform: rotateY(180deg);
}

.guest-player-track {
    min-width: 0;
}

.guest-player-track-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-player-track-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-track-action-btn {
    background: none;
    border: none;
    color: var(--spotify-dim);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 4px;
    transition: color 0.15s;
}

.guest-track-action-btn:hover {
    color: var(--spotify-text);
}

.guest-track-action-btn.active {
    color: var(--accent) !important;
}

.guest-player-track-artist {
    font-size: .85rem;
    color: var(--spotify-dim);
    margin-top: 4px;
}

.guest-player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 22px;
}

.guest-controls button {
    background: none;
    border: none;
    color: var(--spotify-text);
    cursor: pointer;
    font-size: 1.15rem;
}

.guest-controls button:hover {
    color: var(--accent);
}

.guest-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--accent) !important;
    color: var(--spotify-btn-text) !important;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-play-btn:hover {
    color: var(--spotify-text) !important;
    transform: scale(1.05);
}

.guest-wave-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 14px;
}

.guest-time {
    width: 45px;
    text-align: center;
    font-size: .78rem;
    color: var(--spotify-dim);
    font-variant-numeric: tabular-nums;
}

#waveform {
    flex: 1;
}

.guest-player-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}

.guest-player-right button {
    background: none;
    border: none;
    color: var(--spotify-dim);
    cursor: pointer;
    font-size: 1.05rem;
}

.guest-player-right button:hover {
    color: var(--spotify-text);
}

#downloadBtn {
    display: block;
}

#shuffleLargeBtn {
    color: var(--spotify-dim);
}

#shuffleLargeBtn.active {
    color: var(--accent);
}

.guest-volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

#volumeSlider {
    width: 110px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* TRACKLIST */

.guest-track-header {
    display: grid;
    grid-template-columns: 25px 50px 35px 1fr 50px 50px 50px;
    padding: 0 25px 12px 25px;
    color: var(--spotify-dim);
    font-size: .8rem;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 8px;
    flex-shrink: 0;
    gap: 10px;
}

.guest-track-list {
    padding: 0 0 20px 0;
}

.guest-track {
    display: grid;
    grid-template-columns: 25px 50px 35px 1fr 50px 50px 50px;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    cursor: pointer;
    transition: .15s;
}

.guest-track:hover {
    background: var(--spotify-hover);
}

.guest-track.active {
    background: #805ad522;
}

.guest-track-number,
.guest-track-header-number {
    color: var(--text-secondary);
    text-align: center;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guest-track-header-play-pause, .guest-track-play-pause {display:block}
.guest-track-header-favorite, .guest-track-favorite {display:block}


.guest-track-cover {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}

.guest-track-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-track-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.guest-track-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guest-track-artist {
    color: var(--spotify-dim);
    font-size: .9rem;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.guest-track-duration {
    text-align: right;
    color: var(--spotify-dim);
    font-size: .9rem;
    padding-right: 10px;
}

.guest-track-favorite {
    color: var(--accent);
    cursor: pointer;
    font-size: 1.5rem;
}

.guest-track-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #b3b3b3;
    background: transparent;
    cursor: pointer;
    font-size: 1.15rem;
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.guest-track-favorite-btn:hover {
    color: var(--spotify-text);
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.08);
}

.guest-track-favorite-btn.active {
    color: var(--accent);
}

.guest-track-favorite-btn:focus-visible {
    outline: 2px solid var(--spotify-text);
    outline-offset: 2px;
}

.guest-track-favorite-btn:disabled {
    cursor: wait;
    opacity: 0.55;
}

.guest-track-favorite-btn.loading {
    pointer-events: none;
}

.guest-track-actions {
    text-align: left;
    padding-left: 10px;
}

.guest-track-loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(18, 18, 18, .82);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    z-index: 200;
}

.guest-track-loading.active {
    display: flex;
}

.guest-track-loading-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .08);
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

.guest-track-loading-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.guest-track.guest-track-inactive {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(1);
}

.guest-track.guest-track-inactive .guest-track-play-btn {
    cursor: not-allowed;
}

.guest-track.guest-track-inactive .guest-track-title,
.guest-track.guest-track-inactive .guest-track-artist,
.guest-track.guest-track-inactive .guest-track-duration {
    color: var(--bs-secondary-color);
}

/* CARDS & CONTENT CONTAINERS */

.card {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.guest-production-card {
    margin-top: 18px;
}

.guest-production-preview {
    color: var(--spotify-dim);
    font-size: .95rem;
    line-height: 1.55;
}

.guest-production-modal-card {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin: 0 auto;
}

.guest-production-text {
    max-width: 720px;
}


/* ARTIST PAGE & HERO */

/* ARTIST PICK */

.guest-artist-pick-card {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: .75rem;
    background: rgba(128, 128, 128, .08);
    transition: background-color .2s ease, transform .2s ease;
}

.guest-artist-pick-card:hover {
    background: rgba(128, 128, 128, .14);
}

.artist-pick-image-wrapper {
    width: 100px;
    flex: 0 0 100px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: .5rem;
    background: rgba(128, 128, 128, .15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.artist-pick-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-pick-content {
    min-width: 0;
    flex-grow: 1;
    padding: .25rem 0;
}

.artist-pick-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.guest-artist-pick-posted {
    font-size: .85rem;
    font-weight: 650;
    color: var(--black);
    background-color: var(--spotify-text);
    border-radius: 0.25rem;
    padding: 0.25rem 0.75rem;
}

/* COLLECTIONS */


/* ARTIST MERCH */

.guest-artist-merch-card {
    padding: .75rem;
    border-radius: .6rem;
    transition: background-color .2s ease;
}

.guest-artist-merch-card:hover {
    background-color: rgba(128, 128, 128, .10);
}

.artist-merch-image-wrapper {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: .5rem;
    background: rgba(128, 128, 128, .15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.artist-merch-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.guest-artist-merch-card:hover .artist-merch-image {
    transform: scale(1.025);
}

/* ARTIST ABOUT */

.artist-about-card {
    min-height: 320px;
    background: #111;
    color: var(--spotify-text);
}

.artist-about-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .72) 45%, rgba(0, 0, 0, .30) 100%);
}

.artist-about-content {
    z-index: 2;
    max-width: 750px;
}

.artist-about-text {
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
}

/* HELP PAGE */


/* MERCH CARDS */

.guest-merch-card {
    display: block;
    height: 100%;
    color: inherit;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guest-merch-card:hover {
    color: inherit;
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.16);
}

.guest-merch-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bs-tertiary-bg);
}

.guest-merch-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.guest-merch-card:hover .guest-merch-image {
    transform: scale(1.05);
}

.guest-merch-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
}

.guest-merch-image-placeholder span {
    font-size: 4rem;
    opacity: 0.35;
}

.guest-merch-info {
    padding: 1rem 1.1rem 1.2rem;
}

.guest-merch-type {
    color: var(--bs-secondary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.guest-merch-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.guest-merch-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

.guest-merch-price small {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
}

.guest-merch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--accent);
    transition: background 0.2s ease, transform 0.2s ease;
}

.guest-merch-card:hover .guest-merch-arrow {
    background: var(--accent);
    color: white;
    transform: translateX(3px);
}

.guest-merch-stock-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.guest-merch-image-count {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}


.guest-merch-empty {
    background: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
}

/* BADGES & UTILITIES */

.guest-shared-badge {
    position: relative;
    overflow: hidden;
    color: var(--shared-badge-text);
    background: var(--shared-badge-bg);
    border: 1px solid var(--shared-badge-border);
    box-shadow: 0 0 6px var(--shared-badge-shadow), inset 0 0 6px var(--shared-badge-inset);
    animation: sharedBadgeGlow 6s ease-in-out infinite;
}

.guest-shared-badge::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -50%;
    width: 30%;
    height: 300%;
    background: linear-gradient(90deg, transparent, var(--shared-badge-shine), transparent);
    transform: rotate(25deg);
    animation: sharedBadgeShine 10s ease-in-out infinite;
}

@keyframes sharedBadgeGlow {
    0%, 100% {
        border-color: var(--shared-badge-glow-border-min);
        box-shadow: 0 0 5px var(--shared-badge-shadow);
    }
    50% {
        border-color: var(--shared-badge-glow-border-max);
        box-shadow: 0 0 10px var(--shared-badge-glow-strong), 0 0 20px var(--shared-badge-shadow);
    }
}

.artwork-image-card {
    position: relative;
}

.artwork-drag-handle {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    cursor: grab;
}

.artwork-drag-handle:active {
    cursor: grabbing;
}

.artwork-sort-ghost {
    opacity: 0.35;
}

.artwork-sort-chosen .artwork-image-card {
    transform: scale(1.02);
}

#saveStatus {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 250px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.4);
}

#saveStatus:not(:empty) {
    display: block;
}

.gslide-description .gslide-desc {
    display: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

@view-transition {
    navigation: auto;
}

::view-transition-group(root) {
    animation-duration: 0.5s;
    animation-timing-function: ease;
}

.guest-sm-artist-img-sm {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
}


textarea.sm-textarea-md {
    min-height: 10rem !important;
}


.sm-panel-feature {
    padding: 1rem;
}


.guest-alert-spinna-music{
    --bs-alert-color: #e9d5ff;
    --bs-alert-bg: #2e1065;
    --bs-alert-border-color: #652de4;
    color: var(--bs-alert-color);
    background-color: var(--bs-alert-bg);
    border: 2px solid var(--bs-alert-border-color);

    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    z-index: 1050;
}

/* LOG VIEWER */

.log-viewer {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    overflow: auto;
    max-height: calc(100vh - 180px);
    padding: 1rem;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.85rem;
    line-height: 1.5;
}

.log-line {
    white-space: pre-wrap;
    word-break: break-word;
    padding: 2px 6px;
}

.log-error {
    color: #ff6b6b;
    background: rgba(250, 0, 0, 0.08);
    border-left: 3px solid #dc3545;
}

.log-fatal {
    color: var(--spotify-text);
    background: rgba(220, 53, 69, 0.45);
    border-left: 3px solid #ff0000;
    font-weight: bold;
}

.log-warning {
    color: #ffc107;
}

.log-info {
    color: #d8d8d8;
}

.log-debug {
    color: #777;
}


.settings-form { display: grid; gap: 20px; }
.settings-validation:empty, .settings-validation.validation-summary-valid { display: none; }
.settings-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.settings-card-heading { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.settings-section-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 17px; }
.settings-card-heading h2 { margin: 0 0 4px; color: var(--text); font-size: 16px; font-weight: 700; }
.settings-card-heading p, .settings-preference p { margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 24px; }
:is(.settings-page, .settings-modal, .editor-form, .editor-results) .form-label,
.editor-form .auth-field-header label { display: block; margin-bottom: 8px; color: var(--text); font-size: 12px; font-weight: 600; }
:is(.settings-page, .settings-modal, .editor-form, .editor-results) :is(.form-control, .form-select),
.editor-form .auth-input { min-height: 44px; padding: 10px 13px; border-color: var(--border); border-radius: 10px; background-color: var(--bg); color: var(--text); font-size: 13px; }
:is(.settings-page, .settings-modal, .editor-form, .editor-results) :is(.form-control, .form-select):focus,
.editor-form .auth-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
:is(.settings-page, .editor-form, .editor-results) .form-control[readonly],
:is(.settings-page, .editor-form, .editor-results) .form-control:disabled { background-color: var(--surface-hover); color: var(--text-secondary); }
.settings-hint { display: block; margin-top: 8px; color: var(--text-muted); font-size: 11px; }
.settings-hint i { margin-right: 4px; }
.settings-page .field-validation-error { display: block; margin-top: 6px; font-size: 12px; }
.settings-preferences { padding: 0 24px; }
.settings-preference { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.settings-preference + .settings-preference { border-top: 1px solid var(--border); }
.settings-preference .form-label, .settings-role .form-label { margin: 0 0 4px; }
.settings-preference h3 { margin: 0 0 4px; color: var(--text); font-size: 12px; font-weight: 600; }
.settings-page .form-switch { flex: none; margin: 0; }
.settings-page .form-switch .form-check-input { width: 2.7em; height: 1.4em; cursor: pointer; }
.settings-page .form-switch .form-check-input:disabled { cursor: default; }
.settings-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-hover); color: var(--text); font-size: 12px; font-weight: 600; }
.settings-secondary:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.settings-secondary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.settings-readonly-badge { flex: none; margin-left: auto; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); font-size: 10px; white-space: nowrap; }
.settings-role { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); }
.settings-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 12px; }
.settings-save-bar p { margin: 0; color: var(--text-muted); font-size: 12px; }
.settings-modal { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.settings-modal .modal-header, .settings-modal .modal-footer { border-color: var(--border); padding: 20px 24px; }
.settings-modal .modal-body { padding: 24px; }
@media (max-width: 640px) {
    .settings-fields { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
    .settings-card-heading { padding: 18px; gap: 10px; flex-wrap: wrap; }
    .settings-preferences { padding: 0 18px; }
    .settings-preference { flex-wrap: wrap; gap: 14px; }
    .settings-save-bar { flex-wrap: wrap; }
}

.editor-page { max-width: 1080px; padding-top: 28px !important; }
.editor-page > .row > [class*="col-"] { width: 100%; max-width: 920px; }
.editor-form { min-width: 0; margin-bottom: 24px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.editor-form-sectioned { padding: 0; border: 0; background: transparent; }
.editor-form .editor-form-heading { flex-wrap: wrap; align-items: flex-start !important; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.editor-form h1, .editor-page > h1 { margin: 0; color: var(--text); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1.2; }
.editor-form .lead { color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.editor-form > .mb-3 { margin-bottom: 22px !important; }
.editor-form .card { overflow: hidden; border-color: var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.editor-form .card-header { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom-color: var(--border); background: transparent; }
.editor-form .card-header h2 { color: var(--text); font-size: 16px; font-weight: 700; }
.editor-form .card-body { padding: 24px; }
.editor-form .form-text, .editor-form small.text-muted { display: block; margin-top: 8px; color: var(--text-muted); font-size: 11px; line-height: 1.6; }
.editor-form .field-validation-error { display: block; margin-top: 6px; font-size: 12px; }
.editor-form .validation-summary-valid { display: none; }
.editor-form textarea.form-control { min-height: 120px; resize: none; }
.editor-form .auth-input { padding-left: 42px; }
.editor-form input[type="file"]::file-selector-button { margin: -10px 12px -10px -13px; padding: 12px 14px; border: 0; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.editor-form .form-check-label { color: var(--text); font-size: 12px; }
.editor-form .form-switch { padding-left: 3.3em; min-height: 24px; }
.editor-form .form-switch .form-check-input { width: 2.7em; height: 1.4em; cursor: pointer; }
.editor-form .form-switch .form-check-input { margin-left: -3.3em; }
.editor-form .form-check-input:disabled { cursor: default; }
.editor-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-hover); color: var(--text); font-size: 12px; font-weight: 600; }
.editor-secondary:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.editor-secondary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.editor-modal { overflow: hidden; border-color: var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.editor-modal .modal-header, .editor-modal .modal-footer { padding: 20px 24px; border-color: var(--border); }
.editor-modal .modal-body { padding: 24px; }
.editor-modal .editor-form { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
@media (max-width: 640px) {
    .editor-form { padding: 18px; }
    .editor-form-sectioned { padding: 0; }
    .editor-form .card-header, .editor-form .card-body,
    .editor-modal .modal-header, .editor-modal .modal-body, .editor-modal .modal-footer { padding: 18px; }
}

.message-list { display: grid; gap: 12px; margin: 0; padding: 16px; list-style: none; }
.message-item { min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.message-item-unread { border-left: 3px solid var(--accent); background: var(--accent-soft); }
.message-item-link { display: flex; align-items: flex-start; gap: 14px; color: var(--text); border-radius: 6px; }
.message-item-link:hover .message-subject { color: var(--accent); }
.message-item-link:focus-visible, .message-delete:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.message-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
.message-content { flex: 1; min-width: 0; }
.message-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.message-sender { color: var(--text-secondary); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.message-meta time { color: var(--text-muted); font-size: 11px; }
.message-subject-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.message-subject { margin: 0; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.message-item-unread .message-subject { font-weight: 800; }
.message-flag { padding: 3px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; overflow-wrap: anywhere; }
.message-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; margin: 8px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.message-item-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.message-delete { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text-muted); }
.message-delete:hover { border-color: #e65b68; background: rgba(230, 91, 104, .1); color: #e65b68; }
@media (max-width: 480px) {
    .message-list { padding: 10px; }
    .message-item { padding: 14px; }
    .message-avatar { width: 34px; height: 34px; border-radius: 9px; font-size: 15px; }
    .message-item-link { gap: 10px; }
}

.sm-message-unread {
    background: rgba(128, 90, 213, 0.08);
    border-left: 3px solid var(--accent) !important;
}

.sm-message-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.quickMessage,
.quickMessage-nonAjax {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--spotify-text);
    color: var(--spotify-black);
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    font-size: .95rem;
}

.quickMessage {
    display: none;
    animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

.guest-sm-modal {
    position: fixed;
    inset: 0;
    z-index: 9991050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.guest-sm-modal:target {
    display: flex;
}

.guest-sm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.guest-sm-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(700px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--spotify-black);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.guest-sm-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    color: #aaa;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
}

.guest-sm-modal-close:hover {
    color: #fff;
}

.sm-modal-image {
    display: block;
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.sm-modal-content {
    white-space: pre-line;
    line-height: 1.6;
    color: #ccc;
}


.list-group-item {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    border-color: var(--spotify-border);
}

.list-group-item.active {
    z-index: 2;
    color: var(--bs-list-group-active-color);
    background-color: var(--bs-list-group-active-bg);
    border-color: var(--spotify-border);
}

.guest-preserve-lines {
    white-space: pre-line;
}

/* RESPONSIVE MEDIA QUERIES */

/* Mobile */
@media (max-width: 568px) {
    html, body {
        overflow: auto;
    }

    .app {
        grid-template-columns: 1fr;
        overflow: visible;
    }


.guest-hero {
        padding: 12px 0;
    }

    .guest-hero-top {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        gap: 20px;
    }

    .guest-hero-top > div:last-child {
        width: 100%;
        max-width: 90vw;
        margin: 0 auto;
        padding-left: 20px;
    }

    .guest-hero-logo {
        width: 100%;
        height: auto;
        max-width: 90vw;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }

    .guest-album-meta {
        justify-content: flex-start;
        font-size: 0.8rem;
    }

    .guest-player {
        padding: 16px 14px;
        gap: 10px;
    }

    .guest-player-row-bottom {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .guest-player-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: start !important;
        width: 100% !important;
        height: 52px !important;
        gap: 14px !important;
    }


    .guest-player-left-cover {
        width: 52px !important;
        height: 52px !important;
    }

    .guest-player-track {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: 52px !important;
        text-align: left !important;
    }

    .guest-player-track-title {
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .guest-player-track-artist {
        line-height: 1.2 !important;
        margin: 0 !important;
        margin-top: 2px !important;
    }

    .guest-player-center {
        width: auto !important;
    }

    .guest-player-right,
    .guest-track-action-btn {
        display: none !important;
    }

    .guest-hero h1 {
        font-size: 2.25rem;
    }

    .guest-track-header,
    .guest-track {
        grid-template-columns: 50px minmax(0, 1fr) 25px 15px 25px;
        padding: 10px 0;
    }

    .guest-track-header {
        display: none !important;
    }

    .guest-track-header-number, .guest-track-number {
        display: none !important;
    }

    .guest-track-header-play-pause, .guest-track-play-pause {
        display: none !important;
    }

    .guest-track-header-favorite, .guest-track-favorite {
        font-size: 1rem;
    }

    .guest-shared-top-actions {
        display: none !important;
    }

    .guest-art-grid {
        grid-template-columns: 1fr;
    }

    .guest-album-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 26px;
    }
}

/* Tablet */
@media (min-width: 568px) and (max-width: 1000px) {
    html, body {
        overflow: auto;
    }

    .app {
        grid-template-columns: 1fr;
        overflow: visible;
    }


.guest-player {
        padding: 16px 14px;
        gap: 14px;
    }

    .guest-player-row-top {
        display: block !important;
    }

    .guest-player-row-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .guest-player-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: start !important;
        width: 100% !important;
        height: 52px !important;
        gap: 14px !important;
    }

    .guest-player-left-cover {
        width: 52px !important;
        height: 52px !important;
    }

    .guest-player-track {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: 52px !important;
        text-align: left !important;
    }

    .guest-player-track-title {
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .guest-player-track-artist {
        line-height: 1.2 !important;
        margin: 0 !important;
        margin-top: 2px !important;
    }

    .guest-player-center {
        width: auto !important;
    }

    .guest-art-grid {
        grid-template-columns: 1fr;
    }

    .guest-album-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 26px;
    }
}

@media (max-width: 768px) {
    :root {
        --topbar-height: 60px;
        --mobile-player-height: 82px;
    }

    .guest-artist-modal-text {
        padding: 22px;
    }

    .guest-artist-modal-text h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .artist-hero {
        height: 360px;
    }

    .artist-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .artist-track-position {
        width: 30px;
        flex-basis: 30px;
    }

    .artist-track-duration {
        width: 48px;
        flex-basis: 48px;
    }


    .guest-artist-merch-card {
        padding: .35rem;
    }


.guest-artist-pick-card {
        gap: 1rem;
        padding: .75rem;
    }

    .artist-pick-image-wrapper {
        width: 120px;
        flex-basis: 120px;
    }
}

@media (min-width: 768px) {
    .artist-hero-content {
        padding-left: 8rem;
    }
}


@media (max-width: 480px) {
    .artist-pick-image-wrapper {
        width: 96px;
        flex-basis: 96px;
    }
}


/* Spotify-style circular avatar design constraints */
.release-artist-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.release-hero h1 .release-work-status {
    position: static;
    vertical-align: super;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.guest-album-artist-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    flex-shrink: 0;
}

.guest-album-artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#modal-close {
    position: fixed;
    inset: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}


.guest-track-list-footer {
    display: flex;

    align-items: center;
    padding: 8px 0;
    font-size: 0.75em;
    color: var(--spotify-dim);
}


.guest-shared-card {
    position: relative;
}

.guest-shared-card-image > .guest-shared-card-play {
    position: absolute;
    inset: 0;
    transform: scale(.9);

    display: grid;
    place-items: center;
    margin: auto;
    z-index: 1;

    width: 76px;
    height: 76px;
    font-size: 2.2rem;


    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;

    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;

    transition: opacity .2s ease, transform .2s ease;
}

.guest-shared-card:hover .guest-shared-card-play,
.guest-shared-card:focus-within .guest-shared-card-play {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

@media (hover: none) {
    .guest-shared-card-image > .guest-shared-card-play {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }
}


.release-artwork-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.release-artist-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
}

.release-artist-card .artist-card-label {
    margin: 0;
    padding: 20px;
    font-size: 1rem;
    font-weight: 700;
}

.release-artist-card .artist-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.release-artist-card .artist-card-content-overlay {
    padding: 20px;
}

.release-artist-card .artist-card-title {
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
}

.release-artist-card .artist-card-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.6;
}

.release-artist-card .artist-card-more {
    margin-top: 16px;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
}

.app-footer-container {
    width: 100%;
    max-width: none;
}

.guest-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
    font-size: 0.85rem;
    color: var(--spotify-dim);
    border-top: 1px solid var(--border);
    margin: 32px 12px 20px 12px;
}

.guest-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;

}


.btn-spinna-music {
    background-color: var(--spotify-green);
    color: var(--spotify-btn-text);
    font-weight: 600;
}

.btn-spinna-music:hover {
    background-color: var(--spotify-hover) !important;
}

.btn-outline-spinna-music {
    color: var(--spotify-green);
    border: 1px solid var(--spotify-green);
    border-radius: 0.5rem;
}

.btn-outline-spinna-music:hover {
    color: var(--spotify-hover);
    border: 1px solid var(--spotify-green);
    border-radius: 0.5rem;
}
/*


guest styles */

:root {
    color-scheme: dark;

    --accent: #a875ff;
    --accent-hover: #bd99ff;
    --accent-soft: rgba(168, 117, 255, .15);

    --bg: #101116;
    --sidebar-bg: #15171e;
    --topbar-bg: #191b26;
    --surface: #1b1e28;
    --surface-hover: #252938;

    --text: #f5f5fa;
    --text-secondary: #a4a7b7;
    --text-muted: #777c8e;

    --border: rgba(255, 255, 255, .09);

    --sidebar-width: 270px;
    --topbar-height: 64px;

    --radius: 12px;
    --radius-lg: 18px;

    --transition: .2s ease;


        --black: #0c0c0c;
    --spotify-green: #805ad5;
    --spotify-black: #121212;
    --spotify-dark: #181818;
    --spotify-light: #282828;
    --spotify-hover: rgba(128, 90, 213, 0.5);
    --spotify-border: #333333;
    --spotify-text: #eeeeee;
    --spotify-dim: rgba(255, 255, 255, 0.4);
    --spotify-gray: #adb5bd;
    --spotify-btn-text: #ffffff;
    --spotify-alt-bg: #1c1c1c;


}

[data-theme="light"] {
    color-scheme: light;

    --accent: #7546c9;
    --accent-hover: #6135af;
    --accent-soft: rgba(117, 70, 201, .11);

    --bg: #f4f5f9;
    --sidebar-bg: #ffffff;
    --topbar-bg: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f0edf8;

    --text: #20212b;
    --text-secondary: #626678;
    --text-muted: #898d9b;

    --border: rgba(25, 25, 45, .10);
    --spotify-dim: #626678;
    --spotify-black: #eee;

}


.guest-shared-release-page {
    --share-width: 1380px;
    --share-left: minmax(280px, 510px);
    --share-gap: clamp(2rem, 5vw, 5rem);
    min-height: 100dvh;
    padding: 0.5rem clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 6rem);
    color: var(--text);
    background: radial-gradient(circle at 75% 8%, var(--accent-soft), transparent 32rem), var(--bg);
}

.guest-shared-release-page :is(.guest-share-release-shell, .guest-share-header) {
    width: min(100%, var(--share-width));
    margin-inline: auto;
}

/* Header */
.guest-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);
    border-bottom: 1px solid var(--border);
}
.guest-share-header-brand { display: flex; flex-direction: column; color: var(--text); text-decoration: none; }
.guest-share-header-brand > span { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.guest-share-header-brand b{ color: var(--accent); }
.guest-share-header-brand small{
    margin-top: .4rem;
    color: var(--text-muted);
    font-size: .62rem;
    font-weight: 650;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.guest-share-header-shared-by, .guest-share-view-more {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--text-secondary);
    font-size: .82rem;
    line-height: 1.2;
}
.guest-share-header-shared-by { white-space: nowrap; }
.guest-share-header-shared-by i { color: var(--accent); }
.guest-share-header-shared-by strong { color: var(--text); }

/* Independent desktop columns: right-hand content cannot push notes down. */
.guest-share-release-layout {
    display: grid;
    grid-template-columns: var(--share-left) minmax(0, 1fr);
    gap: var(--share-gap);
    align-items: start;
}
.guest-share-release-left, .guest-share-release-main, .guest-share-artist-content { min-width: 0; }
.guest-share-release-main { padding-top: clamp(0rem, 1.5vw, 1rem); }

/* Artwork and GLightbox trigger */
.guest-share-release-cover-area { width: 100%; }
.guest-share-release-cover-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: clamp(.75rem, 2vw, 1.25rem);
    color: inherit;
    cursor: zoom-in;
}
.guest-share-release-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: clamp(.75rem, 2vw, 1.25rem);
    background: var(--surface);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .22);
}
.guest-share-release-cover-link .guest-share-release-cover { height: 100%; margin: 0; transition: filter var(--transition), transform var(--transition); }
.guest-share-release-cover-link:hover .guest-share-release-cover { filter: brightness(.88); transform: scale(1.015); }
.guest-share-artwork-count, .guest-share-artwork-expand {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(0, 0, 0, .65);
    color: #fff;
    pointer-events: none;
    backdrop-filter: blur(8px);
}
.guest-share-artwork-count { right: 12px; bottom: 12px; padding: .4rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 650; }
.guest-share-artwork-expand { top: 12px; right: 12px; width: 36px; aspect-ratio: 1; border-radius: 50%; opacity: 0; transition: opacity var(--transition); }
.guest-share-release-cover-link:is(:hover, :focus-visible) .guest-share-artwork-expand { opacity: 1; }

/* Release heading, metadata and actions */
.guest-share-release-type {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .25rem .85rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.guest-share-release-main > h1 { margin: 0; font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.guest-share-release-artist-name { display: inline-flex; align-items: center; gap: 10px; margin-top: 1rem; color: var(--text); font-size: clamp(1.1rem, 2.5vw, 1.55rem); font-weight: 650; }
.guest-share-release-artist-name:hover { color: var(--accent); }
.guest-share-release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; margin-top: 1rem; color: var(--text-muted); font-size: .9rem; }
.guest-share-release-meta i { width: 4px; height: 4px; flex: none; border-radius: 50%; background: currentColor; }

.guest-share-release-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.guest-share-release-actions .guest-artist-button { color: var(--text); border-color: var(--border); background: var(--surface); }
.guest-share-release-actions .guest-artist-button:hover { background: var(--surface-hover); }
.guest-share-release-actions .guest-artist-button.follow-on { color: #fff; background: var(--accent); border-color: var(--accent); }

/* Tracks: reuse global .guest-panel, .guest-track-list and player-generated .guest-track rules. */
.guest-share-track-section { min-width: 0; margin-top: clamp(1rem, 2.5vw, 2rem); padding-top: clamp(1.25rem, 3vw, 2rem); border-top: 1px solid var(--border); }
.guest-share-track-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.guest-share-track-heading h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.guest-share-track-heading > span { color: var(--text-muted); font-size: .85rem; }
.guest-share-track-section .guest-panel { min-width: 0; }

/* Artist and production cards */
.guest-share-info-link { display: block; color: inherit; text-decoration: none; }
.guest-share-info-link:hover { color: inherit; }
.guest-share-artist-link { margin-top: clamp(1.75rem, 4vw, 3rem); }
.guest-share-production-link { margin-top: clamp(1rem, 2vw, 1.5rem); }
.guest-share-info-block { width: 100%; }
.guest-share-artist { display: grid; grid-template-columns: clamp(72px, 8vw, 105px) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); align-items: center; }
.guest-share-artist-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); }
.guest-share-kicker { display: block; margin-bottom: .4rem; color: var(--text-muted); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.guest-share-artist h2 { margin: 0 0 .6rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.guest-share-artist-text, .guest-share-production-text { margin: 0; color: var(--text-secondary); font-size: .95rem; line-height: 1.65; overflow-wrap: break-word; }
.guest-share-artist-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; white-space: normal; }
.guest-share-production { padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--border); }
.guest-share-production-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; white-space: normal; }
.guest-share-view-more { margin-top: 1rem; }
.guest-share-info-link:hover .guest-share-view-more { color: var(--accent); border-color: var(--accent); }

/* Optional production credits, if restored to the view. */


/* Footer */


/* One layout breakpoint: cover → release/tracks → artist → production. */
@media (max-width: 1050px) {
    .guest-share-release-layout {
        display: flex;
        flex-direction: column;
        gap: clamp(2rem, 6vw, 3.5rem);
    }

    .guest-share-release-left {
        display: contents;
    }

    .guest-share-release-cover-area {
        order: 1;
        width: min(100%, 510px);
        margin-inline: auto;
    }

    .guest-share-release-main {
        order: 2;
        width: 100%;
        padding-top: 0;
    }

    .guest-share-artist-link {
        order: 3;
    }

    .guest-share-production-link {
        order: 4;
    }

    .guest-share-artist-link, .guest-share-production-link {
        width: 100%;
        max-width: 510px;
        margin: 0 auto;
    }
}

@media (hover: none) {
    .guest-share-artwork-expand {
        opacity: 1;
    }
}
@media (max-width: 480px) {
    .guest-share-header-brand small {
        margin-top: 0.2rem;
    }

    .guest-share-header-shared-by {
        padding-inline: .65rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .guest-share-release-cover-link .guest-share-release-cover, .guest-share-artwork-expand {
        transition: none;
    }
}

.guest-shared-release-page .guest-shared-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 700px) {
    .guest-shared-release-page .guest-shared-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .guest-shared-release-page .guest-shared-grid {
        grid-template-columns: 1fr;
    }
}

.guest-share-play-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 46px;
  padding: .7rem clamp(1.25rem, 3vw, 2rem);
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
    font-weight: inherit;
    font-size: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}


/* =============================================
   SHARED ARTIST
   ============================================= */

.guest-shared-artist-page {
    --share-width: 1380px;
    --share-left: minmax(270px, 360px);
    --share-gap: clamp(2rem, 5vw, 5rem);

    min-height: 100dvh;
    padding:
        0.5rem
        clamp(1rem, 4vw, 3rem)
        clamp(3rem, 6vw, 6rem);

    color: var(--text);
    background: var(--bg);
}

.guest-share-artist-shell {
    width: min(100%, var(--share-width));
    margin-inline: auto;
}


/* =============================================
   HEADER
   ============================================= */

.guest-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    margin-bottom: clamp(1.25rem, 2.5vw, 2.75rem);
    padding-bottom: clamp(1rem, 2vw, 1.5rem);

    border-bottom: 1px solid var(--border);
}

.guest-share-header-brand {
    display: flex;
    flex-direction: column;

    min-width: 0;

    color: var(--text);
    text-decoration: none;
}

.guest-share-header-brand > span {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}

.guest-share-header-brand b {
    color: var(--accent);
}

.guest-share-header-brand small {
    margin-top: .4rem;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: var(--text-muted);

    font-size: clamp(.5rem, .8vw, .62rem);
    font-weight: 650;

    letter-spacing: .2em;
    text-transform: uppercase;
}

.guest-share-header-shared-by {
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    padding: .45rem .8rem;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: var(--accent-soft);
    color: var(--text-secondary);

    font-size: clamp(.72rem, 1vw, .82rem);
    white-space: nowrap;
}

.guest-share-header-shared-by i {
    color: var(--accent);
}

.guest-share-header-shared-by strong {
    color: var(--text);
}


/* =============================================
   HERO
   ============================================= */

.guest-share-artist-hero {
    display: grid;

    grid-template-columns:
        clamp(190px, 23vw, 330px)
        minmax(0, 1fr);

    gap: clamp(2rem, 5vw, 5rem);

    align-items: center;

    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.guest-share-artist-image-wrap {
    width: 100%;
}

.guest-share-artist-image {
    display: block;

    width: 100%;
    aspect-ratio: 1;

    object-fit: cover;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);

    box-shadow:
        0 1.5rem 4rem rgba(0, 0, 0, .25);
}

.guest-share-artist-identity {
    min-width: 0;
}

.guest-share-artist-type {
    display: inline-flex;
    align-items: center;

    margin-bottom: 1rem;
    padding: .25rem .85rem;

    border: 1px solid var(--accent);
    border-radius: 999px;

    color: var(--accent);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.guest-share-artist-identity h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 800;

    line-height: .92;
    letter-spacing: -.055em;
}


/* =============================================
   META
   ============================================= */

.guest-share-artist-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: .5rem .8rem;

    margin-top: 1.25rem;

    color: var(--text-muted);

    font-size: clamp(.82rem, 1.3vw, .95rem);
}

.guest-share-artist-meta i {
    display: block;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--text-muted);
}


/* =============================================
   ACTIONS
   ============================================= */

.guest-share-artist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;

    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.guest-share-artist-actions form {
    margin: 0;
}


/* =============================================
   MAIN LAYOUT
   ============================================= */

.guest-share-artist-layout {
    display: grid;

    grid-template-columns:
        var(--share-left)
        minmax(0, 1fr);

    gap: var(--share-gap);

    align-items: start;
}

.guest-share-artist-left,
.guest-share-artist-main {
    min-width: 0;
}


/* =============================================
   LEFT INFO
   ============================================= */

.guest-share-info-link {
    display: block;

    color: inherit;
    text-decoration: none;
}

.guest-share-info-block {
    padding-block: clamp(1.5rem, 3vw, 2rem);

    border-top: 1px solid var(--border);
}

.guest-share-info-link:first-child .guest-share-info-block {
    border-top: 0;
    padding-top: 0;
}

.guest-share-kicker {
    display: block;

    margin-bottom: .5rem;

    color: var(--text-muted);

    font-size: clamp(.62rem, 1vw, .75rem);
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.guest-share-about-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;

    margin: 0;

    overflow: hidden;

    color: var(--text-secondary);

    font-size: clamp(.82rem, 1.2vw, .95rem);
    line-height: 1.7;

    white-space: normal;
    overflow-wrap: break-word;
}

.guest-share-view-more {
    margin-top: .75rem;

    color: var(--accent);

    font-size: .82rem;
    font-weight: 650;
}


/* =============================================
   SECTIONS
   ============================================= */

.guest-share-section + .guest-share-section {
    margin-top: clamp(3rem, 6vw, 5rem);
}

.guest-share-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1rem;
}

.guest-share-section-header h2 {
    margin: 0;

    color: var(--text);

    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    font-weight: 750;

    letter-spacing: -.025em;
}


/* =============================================
   RELEASE CARDS
   Max 3 across
   ============================================= */

.guest-shared-artist-page .guest-shared-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1rem;
}


/* =============================================
   MERCH
   ============================================= */

.guest-share-merch-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1rem;
}


/* =============================================
   FOOTER
   ============================================= */


/* =============================================
   CSS MODAL CLOSE TARGET
   ============================================= */

#modal-close {
    position: fixed;

    inset: 0;

    width: 0;
    height: 0;

    pointer-events: none;
}


/* =============================================
   TABLET / MOBILE
   ============================================= */

@media (max-width: 900px) {
    .guest-share-artist-hero {
        grid-template-columns:
        clamp(150px, 30vw, 230px)
        minmax(0, 1fr);
    }

    .guest-share-artist-layout {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .guest-share-artist-main {
        order: 1;
        width: 100%;
    }

    .guest-share-artist-left {
        order: 2;
        width: 100%;
    }
}


/* =============================================
   SMALL MOBILE
   ============================================= */

@media (max-width: 600px) {
    .guest-shared-artist-page {
        padding-inline: 1rem;
    }

    .guest-share-header-brand small {
        margin-top: 0.3rem;
    }

    .guest-share-artist-hero {
        display: block;
    }

    .guest-share-artist-image-wrap {
        width: min(58vw, 230px);

        margin-inline: auto;
        margin-bottom: 1.75rem;
    }

    .guest-share-artist-identity {
        text-align: center;
    }

    .guest-share-artist-identity h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
    }

    .guest-share-artist-meta,
    .guest-share-artist-actions {
        justify-content: center;
    }

    .guest-shared-artist-page .guest-shared-grid,
    .guest-share-merch-grid {
        grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }
}


/* =============================================
   VERY SMALL
   ============================================= */

@media (max-width: 400px) {
    .guest-shared-artist-page .guest-shared-grid {
        grid-template-columns: 1fr;
    }

    .guest-bottom-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}


/* =============================================
   HERO
   ============================================= */

.guest-share-user-hero {
    display: grid;

    grid-template-columns:
        clamp(190px, 23vw, 330px)
        minmax(0, 1fr);

    gap: clamp(2rem, 5vw, 5rem);

    align-items: center;

    margin-bottom: clamp(3rem, 7vw, 6rem);
}

.guest-share-user-hero p {
    max-width: 60ch;
}

.guest-share-user-image-wrap {
    width: 100%;
}

.guest-share-user-image {
    display: block;

    width: 100%;
    aspect-ratio: 1;

    object-fit: cover;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--surface);

    box-shadow:
        0 1.5rem 4rem rgba(0, 0, 0, .25);
}

.guest-share-user-identity {
    min-width: 0;
}

.guest-share-user-type {
    display: inline-flex;
    align-items: center;

    margin-bottom: 1rem;
    padding: .25rem .85rem;

    border: 1px solid var(--accent);
    border-radius: 999px;

    color: var(--accent);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.guest-share-user-identity h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 800;

    line-height: 1.15;
    letter-spacing: -.055em;
}


/* =============================================
   TABLET / MOBILE
   ============================================= */

@media (max-width: 640px) {
    .guest-share-user-hero {
        grid-template-columns:
        1fr
    }

    .guest-share-user-image {
        display: none;
    }


}

.guest-shared-top-actions {
    display: none;
    align-items: center;
    justify-content: space-between;

    padding: 0 15px;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 12px;
    /*background-color: var(--accent);*/
}

.guest-secondary-ftr-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    padding: 12px 0;
    font-size: 0.85rem;
    color: var(--spotify-dim);
    /*margin-bottom: 12px;*/
    /*background-color: var(--accent);*/
}

.guest-secondary-ftr-actions a {
       display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
/*    width: 34px;
    height: 34px;
*/    border: 0;
    background: transparent;
    color: var(--spotify-dim);
    transition: color var(--transition), background var(--transition);
}

.guest-secondary-ftr-actions a:hover {
    color: var(--accent);
}


.guest-home-btn{
display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .45rem .8rem;
  color: var(--text-secondary);
  font-weight:600;
  }
.guest-track-list-footer,
.guest-album-footer .album-footer-left {
    font-size: .75rem;
    color: var(--text-muted);
}
