:root {
    --teal: #136b66;
    --orange: #e8892b;
    --black: #0a0c0d;
    --card: #161a1c;
    --white: #f7f3ec;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background-color: var(--black);
    color: var(--white);
    font-family: Arial, sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}

#stage {
    flex: 1;
    min-width: 0;
    min-height: 0;
}

#view {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background-color: var(--black);
}

/* The player: a full-screen sheet on a phone held upright */
#player {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    padding: 12px 20px 28px 20px;
    overflow-y: auto;
    background: linear-gradient(180deg, #0f2f2d 0%, var(--black) 55%);
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0s 0.3s;
}

#player.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s;
}

#player-close {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    padding: 0 8px;
}

.player-empty {
    margin: auto;
    text-align: center;
    color: #aaaaaa;
}

.player-empty img {
    width: 90px;
}

#player-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

#p-cover {
    display: block;
    width: min(80%, 42vh);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.p-text {
    text-align: center;
    width: 100%;
}

#p-title {
    margin: 0;
    font-size: 22px;
}

#p-artist {
    margin: 4px 0 0 0;
    color: #aaaaaa;
}

#p-notice {
    margin: 6px 0 0 0;
    min-height: 16px;
    color: var(--orange);
    font-size: 13px;
}

.p-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 12px;
    color: #aaaaaa;
}

.p-progress input {
    flex: 1;
    accent-color: var(--orange);
}

.p-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.p-controls button {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.p-controls button.on {
    background-color: var(--teal);
}

.p-controls #b-play {
    width: 64px;
    height: 64px;
    background-color: var(--orange);
    color: var(--black);
    font-size: 26px;
}

.p-queue {
    width: 100%;
    margin-top: 8px;
}

.p-queue h3 {
    margin: 0 0 6px 0;
    font-size: 15px;
    color: #aaaaaa;
}

.p-queue ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-queue button {
    width: 100%;
    padding: 9px 6px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: none;
    color: var(--white);
    text-align: left;
    font-size: 14px;
    cursor: pointer;
}

.p-queue button.now {
    color: var(--orange);
    font-weight: bold;
}

/* The small bar at the bottom of a phone held upright */
#mini {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 12px;
    background-color: var(--card);
    border-top: 2px solid var(--teal);
    cursor: pointer;
}

#mini-progress {
    position: absolute;
    top: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange);
}

#mini img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
}

.mini-text {
    flex: 1;
    min-width: 0;
}

.mini-text strong,
.mini-text span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-text span {
    font-size: 12px;
    color: #aaaaaa;
}

#mini button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--orange);
    color: var(--black);
    font-size: 16px;
    cursor: pointer;
}

/* Wide or sideways screens: the player becomes a big panel on the left */
@media (orientation: landscape) {
    #app {
        flex-direction: row;
    }

    #player {
        position: static;
        flex: none;
        width: clamp(290px, 34vw, 460px);
        transform: none;
        visibility: visible;
        border-right: 2px solid var(--teal);
        transition: none;
    }

    #mini,
    #player-close {
        display: none !important;
    }
}

.p-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 320px);
    color: #aaaaaa;
}

.p-volume input {
    flex: 1;
    accent-color: var(--orange);
}

/* Artist and label accounts have no player */
.studio-mode #player,
.studio-mode #mini {
    display: none !important;
}

.p-lyrics {
    position: relative;
    width: 100%;
    max-height: 190px;
    overflow-y: auto;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.p-lyrics h3 {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #aaaaaa;
}

.p-lyrics p {
    margin: 6px 0;
    font-size: 15px;
    color: #aaaaaa;
}

.p-lyrics p.lyric-plain {
    white-space: pre-line;
    text-align: left;
    color: var(--white);
}

.p-lyrics p.now {
    color: var(--orange);
    font-size: 17px;
    font-weight: bold;
}

#install-bar {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 16px);
    padding: 8px 12px;
    background-color: var(--card);
    border: 2px solid var(--orange);
    border-radius: 14px;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

#install-bar button {
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
}

#install-button {
    padding: 8px 14px;
    background-color: var(--orange);
    color: var(--black);
}

#install-close {
    padding: 4px 8px;
    background: none;
    color: var(--white);
    font-size: 20px;
}

[hidden] {
    display: none !important;
}

/* The player only appears once someone taps a song */
#app:not(.has-song) #player {
    display: none;
}

/* The + and download buttons above and below play */
.p-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.p-controls .p-center button {
    width: 38px;
    height: 38px;
    font-size: 18px;
}

.p-controls .p-center #b-play {
    width: 64px;
    height: 64px;
    font-size: 26px;
}

.p-controls .p-center button:disabled {
    opacity: 0.6;
}

@media (max-width: 380px) {
    .p-controls {
        gap: 8px;
    }

    .p-controls button {
        width: 40px;
        height: 40px;
    }

    .p-controls .p-center #b-play {
        width: 58px;
        height: 58px;
    }
}

/* Names in the player that open a page */
.p-name {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.p-name:hover {
    color: var(--orange);
    text-decoration: underline;
}

#p-title.link {
    cursor: pointer;
}

#p-title.link:hover {
    color: var(--orange);
}

/* 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;
}

.e-badge {
    display: inline-block;
    min-width: 16px;
    padding: 0 4px;
    margin-left: 6px;
    border-radius: 3px;
    background-color: #bbbbbb;
    color: #0a0c0d;
    font-size: 11px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;
}

/* The boxes under the controls: lyrics, up next */
.p-box {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--white);
    text-align: left;
    cursor: pointer;
}

.p-box[hidden],
.p-info[hidden] {
    display: none;
}

.p-box h3,
.p-info h3 {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: bold;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#p-lyrics {
    text-align: center;
}

#p-lyrics p {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.3;
    color: #aaaaaa;
}

#p-lyrics p.now {
    color: var(--orange);
    font-size: 17px;
    font-weight: bold;
}

#p-upnext ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

#p-upnext li.un-more,
.un-more {
    margin-top: 6px;
    font-size: 12px;
    color: var(--orange);
    text-align: center;
}

#p-upnext li:not(.un-more) {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 7px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#p-upnext li:first-child {
    border-top: none;
}

.un-num {
    width: 18px;
    flex: none;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: var(--orange);
}

.un-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.un-text strong,
.un-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.un-text span {
    font-size: 12px;
    color: #aaaaaa;
}

/* About this single, EP or album */
.p-info {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    text-align: left;
}

.p-note {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
}

.p-facts {
    margin: 0;
}

.p-facts .fact {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.p-facts dt {
    flex: none;
    color: #aaaaaa;
}

.p-facts dd {
    min-width: 0;
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.credit-label {
    color: #aaaaaa;
}

.p-copy {
    margin: 12px 0 0 0;
    font-size: 12px;
    color: #aaaaaa;
    text-align: center;
}

#player-main {
    padding-bottom: 30px;
}

/* The Up next list (up to 40 songs) */
.un-sheet {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.65);
}

.un-sheet[hidden] {
    display: none;
}

.un-card {
    width: min(520px, 100%);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    background-color: var(--black);
    border: 2px solid var(--teal);
    border-radius: 16px 16px 0 0;
}

@media (min-width: 700px) {
    .un-sheet {
        align-items: center;
    }

    .un-card {
        border-radius: 16px;
    }
}

.un-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 4px 16px;
}

.un-head h2 {
    margin: 0;
    font-size: 18px;
}

#un-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.un-sub {
    margin: 0;
    padding: 0 16px 8px 16px;
    font-size: 13px;
    color: #aaaaaa;
}

#un-list {
    margin: 0;
    padding: 0 10px 20px 10px;
    list-style: none;
    overflow-y: auto;
}

.un-heading {
    padding: 12px 6px 4px 6px;
    font-size: 12px;
    font-weight: bold;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.un-row {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--white);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.un-row:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.un-row img {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background-color: var(--card);
}

/* The lyrics screen, on top of the cover art */
.lyrics-screen {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: flex;
    flex-direction: column;
    background-color: #0a0c0d;
    color: #ffffff;
}

.lyrics-screen[hidden] {
    display: none;
}

.ls-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ls-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.8));
}

.ls-top,
.ls-lines,
.ls-bottom {
    position: relative;
}

.ls-top {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
}

#ls-close {
    flex: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.ls-title {
    min-width: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.ls-title strong,
.ls-title span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ls-title span {
    font-size: 13px;
    color: #dddddd;
}

.ls-lines {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 22px 40vh 22px;
    text-align: center;
}

.ls-line {
    margin: 18px 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.55);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    cursor: pointer;
    transition: color 0.25s, transform 0.25s;
}

.ls-line.now {
    color: #ffffff;
    transform: scale(1.04);
}

.ls-plain {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.7;
    white-space: pre-line;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.ls-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom)) 16px;
}

#ls-play {
    flex: none;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background-color: var(--orange);
    color: var(--black);
    font-size: 22px;
    cursor: pointer;
}

.ls-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

#ls-bar-fill {
    width: 0;
    height: 100%;
    background-color: var(--orange);
}

.p-info {
    border: 1px solid rgba(232, 137, 43, 0.35);
    box-shadow: 0 0 14px rgba(232, 137, 43, 0.18);
}

/* The share buttons in the player and the lyrics screen */
#player-share,
#ls-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

#player-share {
    position: absolute;
    top: 12px;
    right: 16px;
}

#ls-share {
    flex: none;
    order: 3;
    margin-left: auto;
}

@media (orientation: landscape) {
    #player {
        position: relative;
    }
}

/* The share window */
.sh-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.sh-modal[hidden] {
    display: none;
}

.sh-card {
    width: min(480px, 100%);
    max-height: 94vh;
    overflow-y: auto;
    padding: 14px 16px 22px 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) {
    .sh-modal {
        align-items: center;
    }

    .sh-card {
        border-radius: 16px;
    }
}

.sh-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sh-head h2 {
    margin: 0;
    font-size: 18px;
}

#sh-close {
    background: none;
    border: none;
    color: #f7f3ec;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.sh-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin: 8px 0;
    font-size: 14px;
    color: #aaaaaa;
}

.sh-preview canvas {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 42vh;
    border-radius: 12px;
}

.sh-formats {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 8px 0;
}

.sh-formats button {
    padding: 8px 16px;
    border: 2px solid #136b66;
    border-radius: 18px;
    background: none;
    color: #f7f3ec;
    font-weight: bold;
    cursor: pointer;
}

.sh-formats button.on {
    background-color: #e8892b;
    border-color: #e8892b;
    color: #0a0c0d;
}

.sh-lines {
    max-height: 170px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.sh-line {
    display: block;
    width: 100%;
    margin: 2px 0;
    padding: 9px 10px;
    border: none;
    border-radius: 8px;
    background: none;
    color: #bbbbbb;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.sh-line.on {
    background-color: rgba(232, 137, 43, 0.25);
    color: #ffffff;
}

.sh-hint {
    margin: 8px 0 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #aaaaaa;
}

.sh-status {
    min-height: 20px;
    margin: 8px 0 0 0;
    font-size: 14px;
    color: #e8892b;
    overflow-wrap: anywhere;
}

.sh-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.sh-actions button {
    padding: 12px 10px;
    border: none;
    border-radius: 10px;
    background-color: #136b66;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.sh-actions button.primary {
    grid-column: 1 / -1;
    background-color: #e8892b;
    color: #0a0c0d;
}

.sh-actions button:disabled {
    opacity: 0.5;
    cursor: default;
}

/* The orange "Test version" strip above every page */
#stage {
    display: flex;
    flex-direction: column;
}

#view {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
}

#test-bar {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 10px;
    background-color: #e8892b;
    color: #0a0c0d;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

#test-bar button {
    padding: 3px 12px;
    border: none;
    border-radius: 12px;
    background-color: #0a0c0d;
    color: #f7f3ec;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

/* The feedback window */
.fb-kinds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}

.fb-kinds label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
}

.fb-kinds input {
    accent-color: #e8892b;
}

.sh-card textarea,
.sh-card .fb-contact {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 2px solid #136b66;
    background-color: #161a1c;
    color: #f7f3ec;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

.fb-x {
    background: none;
    border: none;
    color: #f7f3ec;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

/* ---- Fancy round icon buttons (share, download, playlist, like, settings) ---- */
.fx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1.5px solid rgba(232, 137, 43, 0.6) !important;
    background: radial-gradient(circle at 30% 22%, #23a198 0%, #136b66 55%, #0b3e3b 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 0.12s, box-shadow 0.12s;
}

.fx:hover {
    box-shadow: 0 0 0 3px rgba(232, 137, 43, 0.28), 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.fx:active {
    transform: scale(0.9);
}

.fx svg {
    width: 20px;
    height: 20px;
    display: block;
}

.fx.liked {
    color: #ff6b87 !important;
    border-color: #ff6b87 !important;
}

.fx.on {
    border-color: #e8892b !important;
    color: #e8892b !important;
}

.fx:disabled {
    opacity: 0.6;
}

#player-share.fx,
#ls-share.fx {
    width: 44px;
    height: 44px;
}

/* Seven controls in one row: like, shuffle, previous, play, next, repeat, settings */
.p-controls {
    gap: 6px;
}

.p-controls button {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.p-controls button.fx svg {
    width: 19px;
    height: 19px;
}

.p-controls .p-center button.fx {
    width: 36px;
    height: 36px;
}

@media (max-width: 430px) {
    .p-controls {
        gap: 4px;
    }

    .p-controls button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .p-controls .p-center button.fx {
        width: 34px;
        height: 34px;
    }

    .p-controls .p-center #b-play {
        width: 56px;
        height: 56px;
    }
}

/* ---- The settings window ---- */
#st-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.st-body {
    padding: 4px 16px 22px 16px;
    overflow-y: auto;
}

.st-group {
    margin: 0 0 18px 0;
    padding: 12px 14px;
    border: 1px solid rgba(19, 107, 102, 0.6);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.03);
}

.st-group h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0;
    font-size: 15px;
    color: var(--orange);
}

.st-value {
    padding: 2px 10px;
    border-radius: 10px;
    background-color: var(--teal);
    color: var(--white);
    font-size: 12px;
}

.st-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.st-row select {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--teal);
    background-color: var(--black);
    color: var(--white);
}

.st-bands {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 12px;
}

.st-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    font-size: 11px;
    color: #aaaaaa;
}

.st-band input[type="range"] {
    writing-mode: vertical-lr;
    direction: rtl;
    height: 120px;
    width: 28px;
    margin: 0;
    accent-color: var(--orange);
}

.st-band strong {
    color: var(--white);
    font-weight: normal;
}

#st-speed,
#st-overlap {
    width: 100%;
    accent-color: var(--orange);
}

.st-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 6px 0;
}

.st-quick button {
    padding: 6px 12px;
    border: 1px solid var(--teal);
    border-radius: 14px;
    background: none;
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
}

.st-quick button.on {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--black);
    font-weight: bold;
}

.st-reset {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--teal);
    border-radius: 12px;
    background: none;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

#settings-sheet {
    z-index: 160;
}

.un-sheet .un-card {
    overflow: hidden;
}
