 :root {
                --teal: #136b66;
                --orange: #e8892b;
                --black: #0a0c0d;
                --white: #f7f3ec;
                --card: #161a1c
            }

            html {
                scroll-behavior: smooth;
            }

            body {
                background-color: var(--black);
                color: var(--white);
                font-family: Arial, sans-serif;
                margin: 0;
            }

            header {
                text-align: center;
                padding: 30px 20px;
            }

            header img {
                width: 120px;
            }

            .slogan {
                color: var(--orange);
                font-style: italic;
            }

           nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background-color: var(--teal);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 20px;
}

nav a:hover {
    background-color: var(--orange);
    color: var(--black);
}

            section {
                padding: 20px 30px;
                scroll-margin-top: 80px;
            }

            h2 {
                color: var(--orange);
            }

            .cards {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;
            }

            .song {
                background-color: var(--card);
                padding: 15px;
                border-radius: 12px;
                width: 220px;
                transition: 0.03s;
            }

            .song:hover {
                transform: translateY(-8px);
                box-shadow: 0 8px 20px rgba(232, 137, 43, 0.4);
            }

            .song img {
                width: 100%;
                border-radius: 8px;
            }

            .song h3 {
                margin: 10px 0 5px 0;
            }

            .artist {
                color: #aaaaaa;
                margin: 0 0 10px 0;
            }

            .song audio {
                width: 100%;
            }

            .buy {
                background-color: var(--orange);
                color: var(--black);
                border: none;
                padding: 10px 15px;
                border-radius: 8px;
                font-weight: bold;
                cursor: pointer;
                margin-top: 10px;
                width: 100%;
            }

            .buy:hover {
                background-color: var(--teal);
                color: var(--white);
            }

            #search {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 0 auto 25px auto;
    padding: 12px 18px;
    border-radius: 25px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
}

#search:focus {
    outline: none;
    border-color: var(--orange);
}

.chart {
    padding-left: 30px;
}

.chart li {
    padding: 12px 0;
    border-bottom: 1px solid var(--teal);
}

.chart a {
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
}

.chart a:hover {
    text-decoration: underline;
}

.buy.owned {
    background-color: var(--teal);
    color: var(--white);
    cursor: default;
}

section {
    scroll-margin-top: 80px;
}

.chart-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.chart-box {
    flex: 1;
    min-width: 280px;
}

.artist a {
    color: inherit;
    text-decoration: none;
}

.artist a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.artist-link {
    color: var(--orange);
    font-weight: bold;
    text-decoration: none;
}

.artist-link:hover {
    text-decoration: underline;
}

.artist-page h1 {
    color: var(--orange);
    font-size: 40px;
    margin-bottom: 5px;
}

#artist-stats {
    color: #aaaaaa;
}

.artist-song {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.artist-song img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
}

.artist-song-info {
    flex: 1;
}

.artist-song-info h3 {
    margin: 0 0 5px 0;
}

.artist-song-info p {
    margin: 0;
    color: #aaaaaa;
}

.listen {
    background-color: var(--orange);
    color: var(--black);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 8px;
}

.listen:hover {
    background-color: var(--teal);
    color: var(--white);
}

#account-bar {
    text-align: right;
    padding: 10px 20px;
    font-size: 14px;
    color: #aaaaaa;
}

#account-bar a {
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
}

.account-page {
    max-width: 420px;
    margin: 0 auto;
}

.account-page label {
    display: block;
    margin: 15px 0 5px 0;
    font-weight: bold;
}

.account-page input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
}

.account-page input:focus {
    outline: none;
    border-color: var(--orange);
}

.account-button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background-color: var(--orange);
    color: var(--black);
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.account-button.alt {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--teal);
}

#account-message {
    color: var(--orange);
    min-height: 24px;
}

.role-choice {
    border: 2px solid var(--teal);
    border-radius: 8px;
    margin: 20px 0 0 0;
    padding: 10px 14px 14px 14px;
}

.role-choice legend {
    padding: 0 8px;
    font-weight: bold;
}

.account-page .role-option {
    display: flex;
    align-items: center;
    margin: 10px 0 0 0;
    font-weight: normal;
    cursor: pointer;
}

.account-page input[type="radio"] {
    width: auto;
    margin: 0 10px 0 0;
    padding: 0;
    accent-color: var(--orange);
}

.genre {
    color: #3fb5ac;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.studio-page {
    max-width: 640px;
    margin: 0 auto;
}

.studio-page label {
    display: block;
    margin: 15px 0 5px 0;
    font-weight: bold;
}

.studio-page input[type="text"],
.studio-page input[type="number"],
.studio-page input[type="datetime-local"],
.studio-page select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
}

.studio-page input[type="file"] {
    width: 100%;
    color: var(--white);
}

.studio-page input:focus,
.studio-page select:focus {
    outline: none;
    border-color: var(--orange);
}

.studio-hint {
    color: #aaaaaa;
    font-size: 13px;
    margin: 4px 0 0 0;
}

.release-choice {
    border: 2px solid var(--teal);
    border-radius: 8px;
    margin: 20px 0 0 0;
    padding: 10px 14px 14px 14px;
}

.release-choice legend {
    padding: 0 8px;
    font-weight: bold;
}

.studio-page .release-option {
    display: flex;
    align-items: center;
    margin: 12px 0 0 0;
    font-weight: normal;
    cursor: pointer;
}

.studio-page input[type="radio"],
.studio-page input[type="checkbox"] {
    width: auto;
    margin: 0 10px 0 0;
    accent-color: var(--orange);
}

#upload-status,
#songs-status {
    color: var(--orange);
    min-height: 24px;
}

.my-song {
    display: flex;
    gap: 15px;
    background-color: var(--card);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.my-song img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.my-song-info {
    flex: 1;
}

.my-song-info h3 {
    margin: 0 0 5px 0;
}

.my-song-info p {
    margin: 0 0 6px 0;
    color: #aaaaaa;
    font-size: 14px;
}

.my-song-info .my-song-status {
    font-weight: bold;
}

.my-song-info .status-live {
    color: #3fb5ac;
}

.my-song-info .status-scheduled {
    color: var(--orange);
}

.my-song-info .status-removed {
    color: #e05555;
}

.my-song-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.my-song-actions input {
    width: 90px;
    padding: 8px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--black);
    color: var(--white);
}

.my-song-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background-color: var(--teal);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.my-song-actions button.danger {
    background-color: #8a2f2f;
}

            @media (max-width: 600px) {
                nav {
                    gap: 15px;
                }
                .cards {
                    justify-content: center;
                }
            }

            /* Search under the menu */
.search-wrap {
    padding: 16px 20px 4px 20px;
}

.search-wrap #search {
    margin: 0 auto;
}

/* New Releases as small tiles */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.song {
    width: auto;
    padding: 10px;
    box-sizing: border-box;
    scroll-margin-top: 90px;
}

.song:target {
    outline: 2px solid var(--orange);
}

.tile-cover {
    position: relative;
}

.song img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.tile-play {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background-color: var(--orange);
    color: var(--black);
    font-size: 16px;
    cursor: pointer;
}

.song h3 {
    font-size: 15px;
    margin: 8px 0 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song .artist {
    font-size: 13px;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song .genre {
    font-size: 12px;
    margin: 0 0 6px 0;
}

.song .buy {
    padding: 7px 10px;
    font-size: 13px;
    margin-top: 6px;
}

/* One big Top Charts box, with rows that scroll sideways */
.charts-panel {
    background-color: var(--card);
    border-radius: 16px;
    padding: 4px 20px 20px 20px;
}

.chart-section {
    margin-top: 18px;
}

.chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.chart-head h3 {
    margin: 0;
    font-size: 17px;
}

.see-all {
    background: none;
    border: 1px solid var(--teal);
    color: var(--white);
    border-radius: 16px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
}

.see-all:hover {
    background-color: var(--teal);
}

.scroll-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 2px 12px 2px;
    scroll-snap-type: x proximity;
}

.chart-tile {
    flex: 0 0 130px;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--white);
}

.chart-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.rank {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--orange);
    font-weight: bold;
    font-size: 13px;
    border-radius: 6px;
    padding: 2px 8px;
}

.chart-tile strong {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-tile .sub {
    display: block;
    font-size: 12px;
    color: #aaaaaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-empty {
    color: #aaaaaa;
    font-size: 14px;
    margin: 10px 0 4px 0;
}

.charts-note {
    color: #aaaaaa;
    font-size: 13px;
    margin: 20px 0 0 0;
}

.profile-top {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--teal);
}

.follow-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin: 8px 0;
}

#followers-count {
    font-weight: bold;
}

.follow-button {
    padding: 8px 20px;
    border-radius: 20px;
    border: 2px solid var(--orange);
    background-color: var(--orange);
    color: var(--black);
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
}

.follow-button.following {
    background-color: transparent;
    color: var(--white);
    border-color: var(--teal);
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 14px;
}

.social-links a:hover {
    background-color: var(--orange);
    color: var(--black);
}

.about-text {
    white-space: pre-line;
    line-height: 1.6;
    max-width: 70ch;
}

.verified {
    color: #3fb5ac;
    font-size: 0.45em;
    font-weight: normal;
}

.studio-page input[type="url"],
.studio-page textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.studio-page input[type="url"]:focus,
.studio-page textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.verified-tick {
    color: #3fb5ac;
    font-weight: bold;
    margin-left: 4px;
}

.bar-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px;
}

.verified-tick {
    color: #3fb5ac;
    font-weight: bold;
    margin-left: 4px;
}

.tile-like {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}

.tile-like.liked,
.lib-like.liked {
    color: #ff5c7a;
}

/* Library */
.library-page {
    max-width: 900px;
    margin: 0 auto;
}

.library-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.wallet-box {
    text-align: right;
}

#wallet-balance {
    font-weight: bold;
    font-size: 18px;
    color: var(--orange);
}

.wallet-button {
    margin-top: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 16px;
    background-color: var(--orange);
    color: var(--black);
    font-weight: bold;
    cursor: pointer;
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.tab {
    padding: 9px 18px;
    border: 2px solid var(--teal);
    border-radius: 20px;
    background: none;
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.tab.active {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--black);
}

#lib-status {
    color: var(--orange);
    min-height: 22px;
}

.lib-controls {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.lib-controls select,
.lib-controls input[type="text"],
.lib-add {
    padding: 8px 10px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 14px;
}

.lib-row {
    display: flex;
    gap: 12px;
    align-items: center;
    background-color: var(--card);
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.lib-row img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.lib-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lib-info strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lib-info span {
    font-size: 13px;
    color: #aaaaaa;
}

.lib-info a {
    color: inherit;
    text-decoration: none;
}

.lib-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lib-like,
.lib-play {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
}

.lib-play {
    background-color: var(--orange);
    color: var(--black);
}

.lib-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background-color: var(--teal);
    color: var(--white);
    font-weight: bold;
    cursor: pointer;
}

.lib-btn.small {
    padding: 6px 10px;
    font-size: 13px;
}

.lib-btn.danger {
    background-color: #8a2f2f;
}

.playlist-card {
    background-color: var(--card);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.playlist-head {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.playlist-title {
    flex: 1;
    text-align: left;
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 0;
}

.playlist-rows {
    margin-top: 10px;
}

.padi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.padi-card {
    background-color: var(--card);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.padi-card .profile-photo {
    width: 84px;
    height: 84px;
}

button.listen {
    border: none;
    cursor: pointer;
    font-size: 14px;
}

/* The shining verified star */
.verified-star {
    display: inline-block;
    color: #ffd24a;
    text-shadow: 0 0 6px rgba(255, 210, 74, 0.9);
    animation: star-shine 2.4s ease-in-out infinite;
}

@keyframes star-shine {
    0%, 100% {
        text-shadow: 0 0 4px rgba(255, 210, 74, 0.6);
        transform: scale(1);
    }

    50% {
        text-shadow: 0 0 10px rgba(255, 235, 150, 1), 0 0 18px rgba(255, 210, 74, 0.8);
        transform: scale(1.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .verified-star {
        animation: none;
    }
}

/* Clickable chart headings */
.chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    text-align: left;
}

.chart-head:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.chart-title {
    font-size: 17px;
    font-weight: bold;
}

.chart-more {
    color: var(--orange);
    font-size: 13px;
    white-space: nowrap;
}

/* The list window */
.sheet {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.65);
}

.sheet[hidden] {
    display: none;
}

.sheet-card {
    width: min(760px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    background-color: var(--black);
    border: 2px solid var(--teal);
    border-radius: 16px 16px 0 0;
    padding: 16px 16px 24px 16px;
}

@media (min-width: 700px) {
    .sheet {
        align-items: center;
    }

    .sheet-card {
        border-radius: 16px;
    }
}

.sheet-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.sheet-top h2 {
    margin: 0;
}

#sheet-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

.sheet-rank {
    width: 30px;
    text-align: center;
    font-weight: bold;
    color: var(--orange);
}

body.sheet-open {
    overflow: hidden;
}

.song h3 a {
    color: inherit;
    text-decoration: none;
}

a.lib-btn {
    display: inline-block;
    text-decoration: none;
}

.type-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.release-page {
    max-width: 900px;
    margin: 0 auto;
}

.release-top {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 20px;
}

.release-cover {
    width: min(260px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
}

.release-info {
    flex: 1;
    min-width: 240px;
}

.release-info h1 {
    margin: 8px 0 4px 0;
}

.release-info p {
    margin: 4px 0;
}

.release-info a {
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
}

.release-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
}

.release-actions .buy {
    width: auto;
    margin-top: 0;
    padding: 10px 22px;
}

details.credits {
    margin-top: 6px;
    font-size: 13px;
    color: #aaaaaa;
}

details.credits summary {
    cursor: pointer;
    color: var(--orange);
}

details.credits p {
    margin: 4px 0 0 0;
}

.track-block {
    background-color: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin-top: 14px;
}

.track-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-page details {
    margin-top: 10px;
}

.studio-page details summary {
    cursor: pointer;
    color: var(--orange);
    font-weight: bold;
}

.studio-page details input[type="text"] {
    margin-top: 8px;
}

.my-song-info .my-song-top {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Name suggestions in the Studio */
.suggest-box {
    margin-top: 4px;
    background-color: var(--card);
    border: 2px solid var(--orange);
    border-radius: 8px;
    overflow: hidden;
}

.suggest-box[hidden] {
    display: none;
}

.suggest-box button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    text-align: left;
    font-size: 15px;
    cursor: pointer;
}

.suggest-box button:last-child {
    border-bottom: none;
}

.suggest-box button:hover {
    background-color: var(--teal);
}

.role-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 10px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    vertical-align: middle;
}

.artist-song-info a,
.lib-info a {
    color: inherit;
    text-decoration: none;
}

.artist-song-info a:hover,
.lib-info a:hover,
.song .artist a:hover,
.release-info a:hover {
    color: var(--orange);
    text-decoration: underline;
}

/* The artist dashboard */
.dash-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 20px;
    background-color: var(--card);
    border-bottom: 2px solid var(--teal);
}

.dash-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.dash-who {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.dash-who img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--teal);
}

.dash-who strong {
    display: block;
}

.dash-who span {
    font-size: 13px;
    color: #aaaaaa;
}

.dash-links {
    font-size: 14px;
    color: #aaaaaa;
}

.dash-links a {
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
}

.dash-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background-color: var(--teal);
    position: sticky;
    top: 0;
    z-index: 10;
}

.dash-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 22px;
    border-radius: 20px;
}

.dash-nav a:hover {
    background-color: var(--orange);
    color: var(--black);
}

.dash-nav a.active {
    background-color: var(--orange);
    color: var(--black);
}

.dash-search {
    padding: 14px 20px 0 20px;
}

.dash-search input {
    display: block;
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
    padding: 12px 18px;
    border-radius: 25px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
}

.dash-search input:focus {
    outline: none;
    border-color: var(--orange);
}

.dash-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 20px 40px 20px;
}

.dash-pad {
    padding: 10px 20px 40px 20px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.stat-card {
    background-color: var(--card);
    border-radius: 12px;
    padding: 14px;
}

.stat-card span {
    display: block;
    font-size: 13px;
    color: #aaaaaa;
}

.stat-card strong {
    display: block;
    margin-top: 4px;
    font-size: 22px;
    color: var(--orange);
}

.proj-row {
    display: flex;
    gap: 14px;
    background-color: var(--card);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.proj-row img {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    object-fit: cover;
}

.proj-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proj-title {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.proj-title a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
}

.proj-title a:hover {
    color: var(--orange);
}

.proj-meta {
    font-size: 13px;
    color: #aaaaaa;
}

.proj-state {
    font-size: 13px;
    font-weight: bold;
}

.proj-state.status-live {
    color: #3fb5ac;
}

.proj-state.status-scheduled {
    color: var(--orange);
}

.proj-state.status-removed {
    color: #e05555;
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    color: var(--white);
    text-decoration: none;
}

.rank-row:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.rank-row img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.rank-num {
    width: 22px;
    text-align: center;
    font-weight: bold;
    color: var(--orange);
}

.rank-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-value {
    font-size: 13px;
    color: #aaaaaa;
    white-space: nowrap;
}

.test-banner {
    background-color: rgba(232, 137, 43, 0.15);
    border: 1px solid var(--orange);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.revenue-hero {
    background-color: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
}

.revenue-hero span {
    color: #aaaaaa;
}

.revenue-hero strong {
    display: block;
    font-size: 36px;
    color: var(--orange);
    margin: 4px 0;
}

.tx-wrap {
    overflow-x: auto;
}

.tx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tx-table th,
.tx-table td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.tx-table th {
    color: #aaaaaa;
    font-weight: normal;
}

.tx-table a {
    color: var(--orange);
    text-decoration: none;
}

#tx-status {
    color: var(--orange);
}

#projects-status {
    color: var(--orange);
    min-height: 22px;
}

.wallet-link {
    display: block;
    margin: 6px 0 0 auto;
    padding: 0;
    background: none;
    border: none;
    color: var(--orange);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

#e-status {
    color: var(--orange);
    min-height: 22px;
}

.split-box {
    margin-top: 14px;
}

.split-box summary {
    cursor: pointer;
    color: var(--orange);
    font-weight: bold;
}

.split-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 8px;
}

.studio-page .split-row input.s-name {
    flex: 1 1 200px;
    width: auto;
}

.studio-page .split-row input.s-percent {
    width: 90px;
}

.split-row .suggest-box {
    flex-basis: 100%;
    order: 10;
}

.split-you {
    background-color: var(--card);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 10px 0;
}

.split-you strong {
    color: var(--orange);
}

.preview-picker {
    margin-top: 10px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.preview-picker audio {
    width: 100%;
    margin: 6px 0 10px 0;
}

.preview-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.preview-start {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
}

.studio-page .preview-start input.t-start {
    width: 90px;
    padding: 8px;
}

.proj-wait {
    font-size: 13px;
    color: var(--orange);
}

.tab-badge {
    display: inline-block;
    min-width: 20px;
    padding: 1px 6px;
    margin-left: 4px;
    border-radius: 10px;
    background-color: #e05555;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.inv-row audio {
    width: 100%;
    margin: 6px 0;
}

.missing-row {
    opacity: 0.6;
    border: 1px dashed rgba(255, 255, 255, 0.25);
}

.report-box {
    margin-top: 26px;
    padding: 10px 14px;
    background-color: var(--card);
    border-radius: 10px;
}

.report-box summary {
    cursor: pointer;
    color: #aaaaaa;
}

.report-box select,
.report-box textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--black);
    color: var(--white);
    font-size: 15px;
    font-family: Arial, sans-serif;
}

.report-card input.report-note {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--black);
    color: var(--white);
}

.report-details {
    margin: 6px 0;
    padding: 8px 10px;
    border-left: 3px solid var(--orange);
    color: #dddddd;
}

.ly-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 12px 0;
}

.ly-buttons .account-button {
    width: auto;
    margin-top: 0;
    padding: 12px 22px;
}

#ly-audio {
    width: 100%;
    margin: 8px 0;
}

#ly-status,
#ly-list-status {
    color: var(--orange);
    min-height: 22px;
}

.ly-line {
    display: grid;
    grid-template-columns: 72px 1fr 78px;
    gap: 8px;
    align-items: center;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.ly-line.next {
    border-color: var(--orange);
    background-color: rgba(232, 137, 43, 0.08);
}

.ly-line.now {
    background-color: rgba(19, 107, 102, 0.45);
}

.ly-seek {
    padding: 6px 4px;
    border: none;
    border-radius: 6px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
}

.ly-seek:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: #888888;
    cursor: default;
}

.studio-page input.ly-nudge {
    width: 100%;
    padding: 6px;
    font-size: 13px;
}

.ly-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.12);
    color: #cccccc;
}

.ly-chip.synced {
    background-color: var(--teal);
    color: var(--white);
}

.ly-chip.words {
    background-color: rgba(232, 137, 43, 0.25);
    color: var(--orange);
}

.dl-meter {
    margin: 10px 0;
}

.dl-bar {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

#dl-fill {
    height: 100%;
    width: 0;
    background-color: var(--orange);
}

#dl-meter-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #aaaaaa;
}

.dl-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0;
}

#dl-status {
    color: var(--orange);
    min-height: 22px;
}

[hidden] {
    display: none !important;
}

.dl-meter {
    margin: 10px 0;
}

.dl-bar {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

#dl-fill {
    height: 100%;
    width: 0;
    background-color: var(--orange);
}

#dl-meter-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #aaaaaa;
}

.dl-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0;
}

#dl-status {
    color: var(--orange);
    min-height: 22px;
}

/* The old page headers are replaced by the top bar */
body > header {
    display: none;
}

/* The top bar: logo on the left, profile picture on the right, both the same size */
#account-bar.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 16px;
    text-align: left;
    font-size: 14px;
    color: var(--white);
}

.topbar-logo img {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.topbar-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--teal);
    border-radius: 50%;
    background-color: var(--card);
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    overflow: hidden;
    cursor: pointer;
}

.topbar-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#account-bar a.topbar-login {
    color: var(--orange);
    font-weight: bold;
    text-decoration: none;
}

/* The menu that opens from the profile picture */
.account-menu {
    position: absolute;
    right: 12px;
    top: 62px;
    z-index: 70;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 8px;
    background-color: var(--card);
    border: 2px solid var(--teal);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.account-menu[hidden] {
    display: none;
}

.menu-section-title {
    padding: 8px 10px 4px 10px;
    font-size: 12px;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-account {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--white);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.menu-account:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.menu-account.current {
    background-color: rgba(19, 107, 102, 0.35);
}

.menu-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--black);
    overflow: hidden;
}

.menu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-account-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.menu-account-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-account-text span {
    font-size: 12px;
    color: #aaaaaa;
}

.menu-check {
    color: var(--orange);
    font-weight: bold;
}

.menu-note {
    padding: 4px 10px;
    font-size: 13px;
    color: var(--orange);
}

#account-bar .account-menu .menu-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 10px;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--white);
    font-size: 15px;
    font-weight: normal;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

#account-bar .account-menu .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

#account-bar .account-menu .menu-item.danger {
    color: #ff8a8a;
}

.menu-divider {
    height: 1px;
    margin: 6px 0;
    background-color: rgba(255, 255, 255, 0.1);
}

/* The sign-in page */
.landing-page {
    padding: 36px 20px 40px 20px;
    text-align: center;
}

.landing-logo {
    width: 140px;
    height: auto;
}

.landing-page .slogan {
    margin: 10px 0 24px 0;
    font-size: 20px;
}

.landing-page form {
    text-align: left;
}

.landing-links {
    margin-top: 24px;
    font-size: 14px;
}

.landing-links a {
    color: #aaaaaa;
}

.saved-accounts {
    margin-bottom: 18px;
    text-align: left;
}

.saved-accounts h3 {
    margin: 0 0 8px 0;
}

.saved-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.saved-account {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 2px solid var(--teal);
    border-radius: 12px;
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
    text-align: left;
    cursor: pointer;
}

.saved-remove {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

/* The settings and privacy pages */
.studio-page input[type="email"],
.studio-page input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--card);
    color: var(--white);
    font-size: 16px;
}

.studio-page input[type="email"]:focus,
.studio-page input[type="password"]:focus {
    outline: none;
    border-color: var(--orange);
}

.set-status {
    min-height: 22px;
    color: var(--orange);
}

.studio-page li {
    margin: 8px 0;
    line-height: 1.5;
}

/* Clickable song names */
a.song-link {
    cursor: pointer;
}

a.song-link:hover {
    color: var(--orange);
    text-decoration: underline;
}

.cover-link {
    display: block;
}

.chart-tile > a {
    display: block;
}

.chart-tile a {
    color: inherit;
    text-decoration: none;
}

.chart-tile a:hover {
    color: var(--orange);
    text-decoration: underline;
}

/* The add-to-playlist window */
.pl-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.65);
}

.pl-card {
    width: min(420px, 100%);
    max-height: 80vh;
    overflow-y: auto;
    padding: 16px;
    background-color: #0a0c0d;
    border: 2px solid #136b66;
    border-radius: 16px 16px 0 0;
    color: #f7f3ec;
    font-family: Arial, sans-serif;
}

@media (min-width: 700px) {
    .pl-modal {
        align-items: center;
    }

    .pl-card {
        border-radius: 16px;
    }
}

.pl-card h3 {
    margin: 0 0 10px 0;
    font-size: 17px;
}

.pl-row {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background-color: #161a1c;
    color: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.pl-row:hover {
    border-color: #e8892b;
}

.pl-row.added {
    opacity: 0.65;
}

.pl-new {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pl-new input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #136b66;
    background-color: #161a1c;
    color: #f7f3ec;
    font-size: 15px;
}

.pl-new button {
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background-color: #e8892b;
    color: #0a0c0d;
    font-weight: bold;
    cursor: pointer;
}

.pl-close {
    width: 100%;
    margin-top: 12px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #f7f3ec;
    font-weight: bold;
    cursor: pointer;
}

.pl-note {
    min-height: 20px;
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #e8892b;
}

.pl-hint {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #aaaaaa;
}

/* The E badge */
.e-badge {
    display: inline-block;
    min-width: 16px;
    padding: 0 4px;
    margin-left: 5px;
    border-radius: 3px;
    background-color: #bbbbbb;
    color: #0a0c0d;
    font-size: 11px;
    font-weight: bold;
    font-style: normal;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;
}

.explicit-choice {
    margin: 12px 0 0 0;
    padding: 4px 12px 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.explicit-choice legend {
    padding: 0 6px;
    font-size: 14px;
    font-weight: bold;
}

/* The ranking under the profile picture */
.profile-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.rank-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8892b, #ffd24a);
    color: #0a0c0d;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

/* Songs in the Library: cover, text, and round icon buttons */
.song-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    background-color: var(--card);
    border-radius: 12px;
}

.song-cover img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.song-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.song-title,
.song-artist,
.song-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-title {
    font-size: 15px;
}

.song-title a {
    color: inherit;
    text-decoration: none;
}

.song-artist,
.song-sub {
    font-size: 13px;
    color: #aaaaaa;
}

.song-artist a {
    color: inherit;
    text-decoration: none;
}

.song-artist a:hover,
.song-title a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.song-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}

.icon-btn.primary {
    background-color: var(--orange);
    color: var(--black);
}

.icon-btn.liked {
    color: #ff5c7a;
}

.icon-btn.danger {
    background-color: #8a2f2f;
}

.icon-btn:disabled {
    opacity: 0.5;
}

/* On phones the icons sit on a line under the text, so nothing is squeezed */
@media (max-width: 520px) {
    .song-row {
        grid-template-columns: 52px minmax(0, 1fr);
        row-gap: 8px;
    }

    .song-cover img {
        width: 52px;
        height: 52px;
    }

    .song-actions {
        grid-column: 2;
        gap: 10px;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
    }
}

/* The controls at the top of every playlist */
.plist-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 8px 0 4px 0;
}

.ctl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    border: none;
    border-radius: 23px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.ctl-btn.primary {
    background-color: var(--orange);
    color: var(--black);
}

.ctl-btn.on {
    background-color: var(--teal);
}

.ctl-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.plist-edit {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0;
}

.plist-edit input {
    flex: 1 1 180px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid var(--teal);
    background-color: var(--black);
    color: var(--white);
    font-size: 15px;
}

/* Phones: roomier lists, with the buttons under the text */
@media (max-width: 600px) {
    section {
        padding: 16px 14px;
    }

    /* The menu buttons: one row you can slide sideways */
    nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 8px;
        padding: 8px 10px;
    }

    nav a {
        flex: none;
        padding: 7px 14px;
        font-size: 14px;
        white-space: nowrap;
    }

    /* Songs on an artist's page */
    .artist-song {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 12px;
    }

    .artist-song img {
        width: 64px;
        height: 64px;
    }

    .artist-song-info {
        flex: 1 1 0;
        min-width: 0;
    }

    .artist-song-info h3 {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .artist-song-info p {
        margin-top: 3px;
        font-size: 13px;
    }

    .artist-song .listen {
        flex: 1 1 100%;
        padding: 10px 14px;
        text-align: center;
    }

    /* Tracks, chart lists, downloads and wallet history */
    .lib-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .lib-row .lib-info {
        flex: 1 1 0;
        min-width: 0;
    }

    .lib-row .lib-info span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* A row with two or more buttons puts them on a line under the text */
    .lib-row .lib-actions:has(> :nth-child(2)) {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    /* Rows on the artist and label dashboards */
    .proj-row {
        gap: 10px;
        padding: 10px;
    }

    .proj-row img {
        width: 64px;
        height: 64px;
    }
}

/* In the top bar, between the logo and your picture */
.topbar-info {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 44px;
    margin: 0 10px;
    padding: 0 12px;
    border: none;
    border-radius: 22px;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--white);
    font-size: 13px;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
}

.topbar-info[hidden] {
    display: none;
}

.topbar-info-text {
    display: inline-block;
    white-space: nowrap;
    line-height: 44px;
}

.topbar-info.scrolling .topbar-info-text {
    animation: topbar-slide var(--duration, 12s) linear 1.5s infinite alternate;
}

@keyframes topbar-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--shift, 0));
    }
}

/* The information line in the top bar glows softly */
.topbar-info {
    border: 1px solid rgba(232, 137, 43, 0.65);
    box-shadow: 0 0 8px rgba(232, 137, 43, 0.5), 0 0 18px rgba(232, 137, 43, 0.25);
    animation: topbar-glow 2.8s ease-in-out infinite;
}

.topbar-info-text {
    text-shadow: 0 0 8px rgba(255, 210, 120, 0.6);
}

@keyframes topbar-glow {
    0%, 100% {
        box-shadow: 0 0 6px rgba(232, 137, 43, 0.45), 0 0 14px rgba(232, 137, 43, 0.2);
    }

    50% {
        box-shadow: 0 0 14px rgba(255, 190, 90, 0.95), 0 0 30px rgba(232, 137, 43, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-info {
        animation: none;
    }
}

/* Sign-in page: agreeing to the terms, and the password link */
.account-page input[type="checkbox"] {
    width: auto;
    margin: 0 10px 0 0;
    padding: 0;
    accent-color: var(--orange);
}

.terms-row {
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.4;
}

.terms-row input {
    flex: none;
    margin-top: 3px;
}

.terms-row a,
.forgot-row a {
    color: var(--orange);
}

.forgot-row {
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 14px;
}

/* The pilot guide */
.pilot-box {
    padding: 12px 14px;
    margin: 14px 0;
    border: 1px solid var(--orange);
    border-radius: 12px;
    background-color: rgba(232, 137, 43, 0.1);
}

.pilot-box ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.studio-page details.task-group {
    margin: 12px 0;
}

.studio-page details.task-group > summary {
    padding: 12px 14px;
    border-radius: 12px;
    background-color: var(--card);
    font-size: 16px;
}

.task-count {
    font-weight: normal;
    font-size: 13px;
    color: #aaaaaa;
}

.task-list {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}

.studio-page .task-list label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0;
    padding: 12px;
    border-radius: 10px;
    background-color: var(--card);
    font-weight: normal;
    line-height: 1.45;
    cursor: pointer;
}

.studio-page .task-list input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
}

.task-list input:checked + span {
    color: #888888;
    text-decoration: line-through;
}