footer {
        background-color: #f8f8f8;
    }
body.catalog-modal-pending .public-shell,
    body.catalog-modal-pending footer {
        opacity: 0;
    }
.workspace-return-helper {
        position: absolute;
        max-width: 146px;
        padding: 0.9rem 1rem 1rem;
        border: 1px solid rgba(31, 30, 28, 0.18);
        border-radius: 4px;
        background: #fffdf8;
        font-family: "Georgia", "Times New Roman", serif;
        font-size: 0.95rem;
        line-height: 1.4;
        color: #393129;
        box-shadow: 0 18px 40px rgba(21, 17, 14, 0.18);
        transform: translateY(4px) scale(0.98);
        opacity: 0;
        pointer-events: auto;
        transition: opacity 0.45s ease, transform 0.45s ease;
        z-index: 40;
    }
.workspace-return-helper.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
}

.workspace-return-helper::after {
    content: "";
    position: absolute;
    top: -10px;
    right: 32px;
    width: 18px;
    height: 18px;
    background: #fffdf8;
    border-left: 1px solid rgba(31, 30, 28, 0.18);
    border-top: 1px solid rgba(31, 30, 28, 0.18);
    border-radius: 2px;
    transform: rotate(45deg);
}

.workspace-return-helper p {
    margin: 0 0 0.6rem;
}

.workspace-return-dismiss {
    border: none;
    background: transparent;
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #6b6661;
    cursor: pointer;
    padding: 0;
}

.workspace-return-dismiss:focus-visible {
    outline: 2px solid rgba(31, 30, 28, 0.3);
    outline-offset: 2px;
}
.public-shell {
        max-width: 980px;
        margin: 0 auto;
        padding: 1rem 1.5rem 4.2rem;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        color: #1f1e1c;
}
.selected-shell {
    max-width: 980px;
    margin: 0 0.5rem;
    padding: 1.5rem 1.5rem 4rem;
    display: grid;
    gap: 2.2rem;
    color: #1f1e1c;
}
.selected-playlist-block {
    display: grid;
    gap: 1rem;
    position: relative;
}
.selected-playlist-block + .selected-playlist-block {
    margin-top: 1.6rem;
}
.curator-playlist-grid {
    display: grid;
    gap: 1.6rem;
}
.playlist-card {
    position: relative;
    --playlist-art: none;
}
.playlist-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.playlist-card-link:focus-visible {
    outline: 2px solid rgba(31, 30, 28, 0.35);
    outline-offset: 4px;
}
.selected-hero {
    --hero-art-width: 140px;
    display: grid;
    grid-template-columns: var(--hero-art-width) minmax(0, 1fr);
    border: 1px solid #dcd3c1;
    background: rgba(255, 252, 246, 0.82);
    min-height: var(--hero-art-width);
    overflow: hidden;
    align-items: center;
    min-width: 400px;
    position: relative;
    box-shadow: 0 14px 28px rgba(20, 16, 12, 0.033);
}
.selected-hero > * {
    position: relative;
    z-index: 1;
}
.curator-room-actions {
    position: absolute;
    top: 0.17rem;
    right: 0.1rem;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}
.curator-room-actions.is-open {
    z-index: 30;
}
.curator-room-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: #3f3c39;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}
.curator-room-toggle:hover,
.curator-room-toggle:focus-visible {
    background: rgba(31, 30, 28, 0.08);
    border-color: rgba(31, 30, 28, 0.18);
    outline: none;
}
.curator-room-menu {
        position: absolute;
        right: 0;
        top: calc(100% + 0.45rem);
        background: #fbf9f5;
        border: 1px solid #dcd6cb;
        box-shadow: 0 18px 32px rgba(24, 22, 20, 0.12);
        min-width: 190px;
        padding: 0.4rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.18s ease, transform 0.18s ease;
        z-index: 40;
        pointer-events: none;
}
.curator-room-actions.is-open .curator-room-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.curator-room-menu-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 1.1rem;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.64rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #3f3c39;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
}
.curator-room-menu-link:hover,
.curator-room-menu-link:focus-visible {
    background: #dedbd4;
    color: #1f1e1c;
    outline: none;
}
.curator-room-menu .curator-room-menu-copy {
    width: 100%;
    border-radius: 0;
    padding: 0.55rem 1.1rem;
    font-size: 0.64rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #3f3c39;
}
.selected-hero-art {
    padding: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.selected-hero-art img,
.selected-hero-placeholder {
    width: calc(var(--hero-art-width) - 1.6rem);
    height: calc(var(--hero-art-width) - 1.6rem);
    border: 1px solid #d9d4cb;
    object-fit: cover;
}
.selected-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a8279;
}
.selected-hero-volume {
    padding: 1rem 1.5rem;
    padding-left: 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
}
.selected-hero-volume-number {
        margin: 0;
        font-family: "Georgia", "Times New Roman", serif;
        font-weight: 600;
        font-size: 1.8rem;
        letter-spacing: -0.033em;
        color: #1f1e1c;
        font-style: italic;
        overflow-wrap: anywhere;
    }
.selected-hero-volume-meta {
        margin: 0;
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 0.7rem;
        letter-spacing: 0.28em;
        text-transform: uppercase;
        color: #7a6f61;
}
.selected-hero-link {
    display: flex;
    justify-content: center;
}
.selected-hero-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.1rem 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #dcd3c2;
    background: #fffcf6;
    text-decoration: none;
    color: #1f1e1c;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: 0.4rem;
}
.selected-hero-link-pill:hover, 
.selected-hero-link-pill:focus-visible {
    background: #dcd2c0;
    color: #0f0f0f;
    outline: none;
}
.selected-hero-link-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.selected-hero-link-icon svg {
    width: 100%;
    height: 100%;
    color: currentColor;
}
.selected-empty {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1rem;
    color: #6c6864;
}

.public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(1rem, 2vw, 2rem);
    padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 4vw, 2.3rem);
    background: #fbf9f5;
    position: relative;
}
body.hero-style-polaroid .public-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
    position: relative;
    gap: 1.2rem;
}
body.hero-style-polaroid .hero-polaroid {
    max-width: 320px;
    margin: 0 auto;
    perspective: 1600px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
}
body.hero-style-polaroid .hero-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(47, 39, 31, 0.28);
    background: #fffcf5;
    box-shadow: 0 22px 46px rgba(18, 15, 11, 0.10);
    transition: border-color 0.18s ease, background 0.18s ease;
    border-radius: 2px;
    overflow: hidden;
}
body.hero-style-polaroid .hero-card:hover,
body.hero-style-polaroid .hero-card:focus-within {
    border-color: rgba(47, 39, 31, 0.55);
}
body.hero-style-polaroid .hero-card-inner {
    position: relative;
    width: clamp(220px, 42vw, 320px);
    margin: 0 auto;
    display: grid;
    grid-template-areas: "hero-card";
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}
body.hero-style-polaroid .hero-card-inner:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 30, 28, 0.25);
    border-radius: 4px;
}
body.hero-style-polaroid .hero-card-inner.is-flipped {
    transform: rotateY(180deg);
}
body.hero-style-polaroid .hero-card-face {
    grid-area: hero-card;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}
body.hero-style-polaroid .hero-card-front {
    position: relative;
    z-index: 2;
}
body.hero-style-polaroid .hero-card-back {
    position: relative;
    transform: rotateY(180deg);
    background: #fffcf5;
    color: #1f1e1c;
    border-color: rgba(47, 39, 31, 0.28);
    display: flex;
    flex-direction: column;
    z-index: 1;
}
body.hero-style-polaroid .hero-card-main {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 1.4rem 1.5rem 1.35rem;
    color: inherit;
    text-decoration: none;
    flex: 1 1 auto;
}
body.hero-style-polaroid .hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.35rem;
}
body.hero-style-polaroid .hero-artwork {
    width: 100%;
    border: 1px solid rgba(31, 30, 28, 0.12);
    border-radius: 1px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0ede6 0, #f0ede6 12px, #e3ddd2 12px, #e3ddd2 24px);
    position: relative;
    margin: 0;
}
body.hero-style-polaroid .hero-artwork::before {
    content: "";
    display: block;
    padding-top: 100%;
}
body.hero-style-polaroid .hero-artwork img,
body.hero-style-polaroid .hero-artwork-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}
 .public-hero-name {
        margin: 0;
        font-family: "Georgia", "Times New Roman", serif;
        font-size: 1.275rem;
        letter-spacing: -0.02em;
        color: #2f2d2a;
}
.public-hero-name.hero-name--long {
        font-size: 1.15rem;
        letter-spacing: -0.01em;
    }
body.hero-style-polaroid .hero-name.hero-name--long {
        font-size: 1.2rem;
        letter-spacing: -0.01em;
    }


@media (max-width: 640px) {
.catalog-import-actions {
    flex-wrap: wrap;
    justify-content: center;
    }

.catalog-import-status {
    flex: 1 1 100%;
    margin-right: 0;
}
body.hero-style-polaroid .hero-name.hero-name--long {
font-size: 1rem;
letter-spacing: -0.01em;
}
.public-hero-name.hero-name--long {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
}

.listener-notes-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 15, 12, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 160;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.listener-notes-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.listener-notes-overlay-card {
    background: #fdf9f1;
    border: 1px solid rgba(43, 35, 29, 0.18);
    border-radius: 16px;
    padding: 1.2rem 1.25rem 1.4rem;
    width: min(420px, 90vw);
    box-shadow: 0 28px 68px rgba(22, 16, 12, 0.34);
    display: flex;
    flex-direction: column;
    position: relative;
}

.listener-notes-overlay-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #7a6d62;
}

.listener-notes-overlay-logo {
    width: 100%;
    margin-top: -2.6rem;
}

.listener-notes-overlay-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.listener-notes-overlay-intro {
    margin: 0 0 0.2rem;
    font-size: 1.2rem;
    color: #857463;
    font-style: italic;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.listener-notes-overlay-list {
    margin: -0.6rem 0 1rem;
    padding-left: 0;
    list-style: none;
}

.listener-notes-overlay-list li {
    margin-bottom: 0.55rem;
    font-size: 0.94rem;
    color: #2b251f;
    display: flex;
    gap: 0.6rem;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.listener-notes-overlay-bullet {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #937254;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0.55rem;
}

.listener-notes-overlay-bullet svg {
    width: 100%;
    height: 100%;
    display: block;
}

.listener-notes-overlay-footer {
    border-top: 1px solid rgba(152, 139, 125, 0.3);
    margin-top: 0.8rem;
    padding-top: 0.7rem;
}

.listener-notes-overlay-premium {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #5a4d43;
    margin-bottom: 0.75rem;
    font-family: Georgia, "Times New Roman", Times, serif;
    justify-content: center;
}

.listener-notes-overlay-premium-logo img {
    width: 80px;
    height: auto;
    display: block;
    margin-bottom: 0.33rem;
}

.listener-notes-overlay-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.listener-notes-overlay-button {
    border: 0;
    background: #2f2721;
    color: #fefbf7;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.5rem 1.4rem;
    cursor: pointer;
    border-radius: 3.75px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.listener-notes-overlay-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.listener-notes-overlay-button:hover,
.listener-notes-overlay-button:focus-visible {
    background: #1f1a16;
    outline: none;
}

body.dark-mode .listener-notes-overlay {
    background: rgba(5, 5, 6, 0.6);
}

body.dark-mode .listener-notes-overlay-card {
    background: #1f1f23;
    border-color: rgba(240, 231, 201, 0.2);
    box-shadow: 0 30px 70px rgba(3, 3, 4, 0.6);
}

body.dark-mode .listener-notes-overlay-close {
    color: rgba(240, 231, 201, 0.72);
}

body.dark-mode .listener-notes-overlay-intro {
    color: rgba(240, 231, 201, 0.72);
}

body.dark-mode .listener-notes-overlay-list li {
    color: #f0e7c9;
}

body.dark-mode .listener-notes-overlay-bullet {
    color: #d0bca3;
}

body.dark-mode .listener-notes-overlay-footer {
    border-top-color: rgba(240, 231, 201, 0.24);
}

body.dark-mode .listener-notes-overlay-premium {
    color: rgba(240, 231, 201, 0.82);
}

body.dark-mode .listener-notes-overlay-button {
    background: #f0e7c9;
    color: #222126;
}

body.dark-mode .listener-notes-overlay-button:hover,
body.dark-mode .listener-notes-overlay-button:focus-visible {
    background: #fff2cd;
}
