:root {
    color-scheme: dark;
    --page: #171914;
    --sidebar: #12140f;
    --surface: #20221c;
    --surface-raised: #262820;
    --surface-soft: #2d2f26;
    --text: #f2f0e8;
    --muted: #a5a397;
    --subtle: #77776b;
    --border: rgba(229, 224, 204, 0.1);
    --accent: #d78056;
    --accent-strong: #e39268;
    --accent-soft: rgba(215, 128, 86, 0.14);
    --green: #9bb777;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    --sticky-height: 18px;
}

body[data-theme="light"] {
    color-scheme: light;
    --page: #f4f1eb;
    --sidebar: #fffdf9;
    --surface: #fffdf9;
    --surface-raised: #f8f5ee;
    --surface-soft: #eeeadf;
    --text: #292a24;
    --muted: #68685e;
    --subtle: #89877c;
    --border: rgba(53, 49, 38, 0.1);
    --accent: #b95f37;
    --accent-strong: #a94f2c;
    --accent-soft: rgba(185, 95, 55, 0.11);
    --green: #58743e;
    --shadow: 0 16px 42px rgba(49, 43, 31, 0.08);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 72% 4%, rgba(132, 106, 57, 0.08), transparent 34rem),
        var(--page);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    transition: background-color 0.2s, color 0.2s;
}

body::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background-image: url("../assets/music-background.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    content: "";
    opacity: 0.48;
    pointer-events: none;
}

body[data-theme="light"]::before {
    opacity: 0.24;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 620px;
    padding: 34px 20px 26px;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    padding: 0 8px;
    color: var(--text);
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
}

body[data-theme="dark"] .brand-logo {
    filter: brightness(0) invert(0.94);
}

.brand-name {
    align-self: flex-end;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -0.55px;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
}

.sidebar-menu {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.primary-nav {
    display: grid;
    gap: 8px;
    margin-top: 66px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 48px;
    padding: 0 13px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

a.nav-link,
button.nav-link {
    transition: color 0.18s, background 0.18s;
}

a.nav-link:hover,
button.nav-link:hover {
    color: var(--text);
    background: var(--surface);
}

a.nav-link,
button.nav-link {
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.nav-link.is-active {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.about-button {
    width: 100%;
    margin-top: auto;
}

.nav-icon {
    display: grid;
    width: 24px;
    place-items: center;
    font-size: 20px;
}

.nav-link.is-disabled {
    cursor: default;
    opacity: 0.56;
}

.soon-label {
    margin-left: auto;
    color: var(--subtle);
    font-size: 9px;
    letter-spacing: 0;
    text-transform: none;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    margin-top: 0;
    padding: 0 9px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-align: left;
}

.theme-icon {
    width: 20px;
    color: var(--accent-strong);
    font-size: 18px;
    text-align: center;
}

.toggle-track {
    display: flex;
    align-items: center;
    width: 34px;
    height: 19px;
    margin-left: auto;
    padding: 3px;
    border-radius: 99px;
    background: var(--surface-soft);
    transition: background 0.2s;
}

.toggle-track > span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform 0.2s, background 0.2s;
}

body[data-theme="dark"] .toggle-track {
    background: var(--accent);
}

body[data-theme="dark"] .toggle-track > span {
    background: #fffaf5;
    transform: translateX(15px);
}

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
    align-items: start;
    gap: clamp(24px, 3.2vw, 48px);
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: 48px clamp(24px, 4.1vw, 62px) 40px;
}

.workspace.about-view,
.workspace.legal-view {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 100vh;
}

.about-content {
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.about-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.about-heading .eyebrow {
    margin-bottom: 10px;
}

.about-heading h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1.3px;
    line-height: 1.16;
}

.about-intro {
    display: grid;
    gap: 12px;
}

.about-intro p,
.about-pillars p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.about-pillars section {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface-raised);
}

.about-pillars h2 {
    margin: 0 0 9px;
    font-size: 18px;
}

.about-signoff {
    margin: 28px 0 0;
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 700;
}

.legal-content-panel {
    width: min(100%, 960px);
    margin: 0 auto;
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.legal-view .legal-heading h1 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1.3px;
    line-height: 1.16;
}

.legal-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: -8px 0 24px;
}

.legal-section-nav a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.legal-section-nav a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.main-column,
.activity-column {
    min-width: 0;
}

.welcome {
    position: relative;
    margin-bottom: 25px;
}

.help-control {
    position: fixed;
    z-index: 30;
    top: 22px;
    right: 28px;
}

.help-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--surface);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.mobile-checkout-button {
    display: none;
}

.help-button:hover,
.help-button[aria-expanded="true"] {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.help-button:hover {
    transform: translateY(-1px);
}

.help-button > span:first-child {
    font-size: 19px;
    line-height: 1;
}

.search-hint.is-helping {
    width: min(520px, calc(100vw - 24px));
}

.search-hint.is-helping .search-hint-character {
    width: 132px;
    height: 132px;
}

.welcome .eyebrow {
    font-size: 12px;
}

.eyebrow {
    margin: 0 0 7px;
    color: var(--accent-strong);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.45px;
}

.welcome h1 {
    margin: 0;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 650;
    letter-spacing: -1.15px;
    line-height: 1.2;
}

.welcome > p:last-child {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.promo-card {
    position: relative;
    display: flex;
    min-height: 203px;
    align-items: center;
    justify-content: space-between;
    isolation: isolate;
    overflow: hidden;
    padding: 26px 30px;
    border: 1px solid rgba(225, 180, 126, 0.22);
    border-radius: 20px;
    background:
        radial-gradient(ellipse at 78% 60%, rgba(206, 137, 79, 0.35), transparent 28%),
        linear-gradient(115deg, #37372b 0%, #4d3828 55%, #67412e 100%);
    box-shadow: var(--shadow);
}

.mobile-queue-toggle {
    display: none;
}

body[data-theme="light"] .promo-card {
    background:
        radial-gradient(ellipse at 78% 60%, rgba(231, 180, 117, 0.5), transparent 30%),
        linear-gradient(115deg, #ece5d5 0%, #e5d3ba 58%, #dfb991 100%);
}

.promo-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: space-between;
    width: 100%;
    max-width: none;
    padding-right: 70px;
}

.promo-track-info {
    min-width: 0;
}

.promo-tag {
    display: inline-block;
    margin-bottom: 9px;
    color: #e6bd8a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

body[data-theme="light"] .promo-tag {
    color: #8e4e2f;
}

.promo-copy h2 {
    margin: 0;
    color: #fff7eb;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 650;
    letter-spacing: -0.65px;
    line-height: 1.18;
}

body[data-theme="light"] .promo-copy h2 {
    color: #36271e;
}

.promo-track-title {
    margin: 0;
    color: #fff7eb;
    font-weight: 700;
    letter-spacing: -0.65px;
    line-height: 1.18;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promo-track-artist {
    margin: 5px 0 0;
    color: rgba(255, 247, 235, 0.78);
    font-size: 16px;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-theme="light"] .promo-track-title {
    color: #36271e;
}

body[data-theme="light"] .promo-track-artist {
    color: #655346;
}

.promo-progress {
    display: grid;
    gap: 6px;
    width: min(100%, 380px);
}

.promo-progress-times {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 247, 235, 0.82);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

body[data-theme="light"] .promo-progress-times {
    color: #655346;
}

.promo-progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 247, 235, 0.25);
}

.promo-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: #f1bd83;
    transition: width 0.3s linear;
}

body[data-theme="light"] .promo-progress-fill {
    background: #a94f2c;
}

.promo-art {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 9%;
    width: 180px;
    height: 180px;
    transform: translateY(-50%);
}

.promo-disc {
    position: absolute;
    top: 11px;
    left: 12px;
    width: 158px;
    height: 158px;
    border: 1px solid rgba(255, 241, 208, 0.38);
    border-radius: 50%;
    background:
        radial-gradient(circle, #d99960 0 8%, #453b2f 9% 13%, transparent 14%),
        repeating-radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 1px, transparent 2px 8px),
        linear-gradient(135deg, #574b38, #20241f 75%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.32);
    opacity: 0.84;
}

.promo-note {
    position: absolute;
    right: 3px;
    bottom: 0;
    color: rgba(255, 225, 184, 0.8);
    font-size: 55px;
    transform: rotate(13deg);
}

.promo-sparkle {
    position: absolute;
    top: 6px;
    right: 9px;
    color: #f3c58e;
    font-size: 25px;
}

.catalog-section {
    margin-top: 32px;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.catalog-heading h2,
.card-heading h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.25px;
}

.catalog-heading h2 {
    font-size: 22px;
    line-height: 1.2;
}

.catalog-heading .eyebrow {
    margin-bottom: 4px;
}

.catalog-count {
    flex-shrink: 0;
    padding-bottom: 2px;
    color: var(--subtle);
    font-size: 11px;
}

.search-sticky-slot {
    position: relative;
    width: 100%;
    min-height: 49px;
}

.search-sticky-slot::after {
    display: none;
}

.search-box {
    position: sticky;
    top: var(--sticky-height, 18px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 49px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-box.is-guided {
    position: relative;
    z-index: 21;
    border-color: var(--accent);
    outline: 3px solid var(--accent-strong);
    outline-offset: 3px;
    box-shadow:
        0 0 0 8px var(--accent-soft),
        0 0 32px rgba(215, 128, 86, 0.68);
    animation: search-guidance-pulse 1.2s ease-in-out infinite;
}

.search-hint {
    position: fixed;
    right: 24px;
    bottom: 20px;
    z-index: 40;
    display: flex;
    width: min(520px, calc(100vw - 24px));
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
}

.search-hint-bubble {
    position: relative;
    display: grid;
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
    padding: 14px 17px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-raised);
    color: var(--text);
    box-shadow: var(--shadow);
    font-size: 15px;
    line-height: 1.5;
    animation: search-guidance-enter 0.35s ease-out both;
    pointer-events: auto;
}

body[data-theme="dark"] .search-hint-bubble {
    border-color: #e8e3d8;
    background: #f4f1eb;
    color: #292a24;
}

body[data-theme="light"] .search-hint-bubble {
    border-color: #383a31;
    background: #20221c;
    color: #f2f0e8;
}

.search-hint-close {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 1;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 18px;
    line-height: 1;
    pointer-events: auto;
}

body[data-theme="dark"] .search-hint-close {
    background: #e5e0d5;
    color: #55564d;
}

body[data-theme="light"] .search-hint-close {
    background: #36382f;
    color: #cbc8bc;
}

.search-hint-close:hover {
    background: var(--accent-soft);
    color: var(--text);
}

.search-hint-bubble::after {
    position: absolute;
    bottom: -8px;
    right: 28px;
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: inherit;
    content: "";
}

body[data-theme="dark"] .search-hint-bubble::after {
    border-color: #e8e3d8;
}

body[data-theme="light"] .search-hint-bubble::after {
    border-color: #383a31;
}

.search-hint-character {
    position: relative;
    z-index: 1;
    width: 126px;
    height: 126px;
    flex: 0 0 auto;
    object-fit: contain;
    filter:
        drop-shadow(0 3px 2px rgba(255, 249, 235, 0.8))
        drop-shadow(0 0 10px rgba(255, 249, 235, 0.7))
        drop-shadow(0 8px 9px rgba(255, 249, 235, 0.62));
    animation: search-guide-bounce 1.3s ease-in-out infinite;
}

body[data-theme="dark"] .search-hint-character {
    filter:
        drop-shadow(0 3px 2px rgba(0, 0, 0, 0.8))
        drop-shadow(0 0 12px rgba(0, 0, 0, 0.72))
        drop-shadow(0 8px 9px rgba(0, 0, 0, 0.58));
}

.search-hint-bubble strong {
    color: var(--accent-strong);
    font-size: 18px;
}

#search-hint-message {
    white-space: pre-line;
}

@keyframes search-guidance-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 6px var(--accent-soft),
            0 0 22px rgba(215, 128, 86, 0.48);
    }

    50% {
        box-shadow:
            0 0 0 11px var(--accent-soft),
            0 0 38px rgba(215, 128, 86, 0.82);
    }
}

@keyframes search-guidance-enter {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes search-guide-bounce {
    from {
        transform: translateY(0) rotate(-2deg);
    }

    to {
        transform: translateY(-6px) rotate(2deg);
    }
}

.search-box > span {
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
}

.search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 12px;
}

.search-box input:focus-visible {
    outline: 0;
}

.search-box input::placeholder {
    color: var(--subtle);
}

.clear-search,
.text-button {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: var(--accent-strong);
    font-size: 10px;
    font-weight: 700;
}

.clear-search:hover,
.text-button:hover {
    text-decoration: underline;
}

.selection-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 14px;
    min-height: 48px;
    color: var(--muted);
    font-size: 16px;
}

.selection-summary .text-button {
    font-size: 15px;
}

.selection-summary .text-button:disabled {
    opacity: 0.4;
    cursor: default;
    text-decoration: none;
}

.catalog-list {
    display: grid;
    gap: 6px;
    max-height: min(48vh, 470px);
    overflow-y: auto;
    padding: 2px 3px 4px 0;
    overscroll-behavior: contain;
    scrollbar-color: var(--surface-soft) transparent;
    scrollbar-width: thin;
}

.catalog-list::-webkit-scrollbar,
.queue-content::-webkit-scrollbar {
    width: 7px;
}

.catalog-list::-webkit-scrollbar-thumb,
.queue-content::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 99px;
    background: var(--surface-soft);
    background-clip: padding-box;
}

.catalog-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px 0 0;
    padding: 20px 18px;
    border: 1px dashed var(--accent);
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--text);
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
}

.catalog-prompt::before {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    background:
        radial-gradient(
            circle,
            transparent 5px,
            var(--accent-strong) 6px 7px,
            transparent 8px
        ) 0 0 / 16px 16px no-repeat,
        linear-gradient(
            45deg,
            transparent 40%,
            var(--accent-strong) 41% 60%,
            transparent 61%
        ) 14px 14px / 9px 9px no-repeat;
    content: "";
    animation: search-prompt-nudge 1.8s ease-in-out infinite;
}

.search-prompt-arrows {
    display: none;
}

.workspace.has-started-search .search-prompt-arrows {
    display: none;
}

@keyframes search-prompt-nudge {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.song-row {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 53px;
    padding: 7px 9px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.song-row:hover {
    transform: translateY(-1px);
    border-color: rgba(215, 128, 86, 0.35);
}

.song-row.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.song-row.is-unavailable {
    opacity: 0.58;
}

.song-number {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.song-row.is-selected .song-number {
    background: var(--accent);
    color: #fffaf5;
}

.song-info {
    display: grid;
    flex: 1;
    min-width: 0;
    gap: 1px;
}

.song-info strong,
.song-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.song-info strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
}

.song-info span {
    color: var(--muted);
    font-size: 10px;
}

.song-info span.is-unavailable-label {
    color: var(--accent-strong);
}

.song-action {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-raised);
    color: var(--text);
    font-size: 18px;
    transition: background 0.15s, color 0.15s;
}

.song-action:hover,
.song-row.is-selected .song-action {
    border-color: var(--accent);
    background: var(--accent);
    color: #fffaf5;
}

.song-action:disabled {
    cursor: not-allowed;
}

.empty-catalog {
    padding: 28px 14px;
    border: 1px dashed var(--border);
    border-radius: 13px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.checkout-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 17px;
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border));
    border-radius: 15px;
    background: color-mix(in srgb, var(--accent-soft) 42%, var(--surface-raised));
    box-shadow: var(--shadow);
}

.checkout-info {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.checkout-label,
.checkout-unit {
    color: var(--muted);
    font-size: 16px;
}

.checkout-info strong {
    font-size: 42px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.checkout-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 100px;
    padding: 20px 22px;
    border: 0;
    border-radius: 11px;
    background: var(--accent);
    color: #fffaf5;
    text-align: left;
    transition: transform 0.15s, background 0.15s;
}

.checkout-button:not(:disabled):hover {
    transform: translateY(-1px);
    background: var(--accent-strong);
}

.checkout-button:disabled {
    opacity: 0.78;
    cursor: not-allowed;
}

.checkout-button-icon {
    font-size: 34px;
}

.checkout-button strong,
.checkout-button small {
    display: block;
    overflow-wrap: anywhere;
}

.checkout-button strong {
    font-size: 22px;
    line-height: 1.2;
}

.checkout-button small {
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.3;
    opacity: 0.83;
}

.checkout-button > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.checkout-tooltip {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    z-index: 8;
    width: min(300px, calc(100vw - 40px));
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--text);
    color: var(--page);
    box-shadow: var(--shadow);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.checkout-button:not(:disabled):hover .checkout-tooltip,
.checkout-button:not(:disabled):focus-visible .checkout-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.activity-column {
    display: grid;
    gap: 16px;
    padding-top: 80px;
}

.activity-column .checkout-bar {
    display: grid;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 0;
    padding: 26px;
}

.activity-column .checkout-info {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
}

.checkout-selection {
    display: grid;
    gap: 3px;
    grid-column: 1;
}

.activity-column .checkout-info strong {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(30px, 3vw, 40px);
    text-align: right;
}

.activity-column .checkout-unit {
    justify-self: center;
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.activity-column .checkout-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.checkout-count {
    color: var(--text);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.activity-column .checkout-button {
    width: 100%;
}

.activity-column .queue-panel {
    grid-row: 2;
}

.queue-panel .card-heading {
    gap: 12px;
}

.queue-panel .card-heading .eyebrow {
    margin-bottom: 2px;
    font-size: 10px;
}

.queue-panel .card-heading h2 {
    font-size: 18px;
    line-height: 1.25;
}

.activity-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.card-heading > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.card-heading .eyebrow {
    margin-bottom: 3px;
    font-size: 8px;
}

.card-heading h2 {
    font-size: 14px;
}

.heading-icon {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 19px;
}

.queue-heading-icon {
    background: var(--surface-soft);
    color: var(--muted);
}

.live-indicator {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent);
}

.muted,
.empty-state {
    color: var(--muted);
    font-size: 11px;
}

.empty-state {
    margin: 0;
    padding: 16px 0;
}

.queue-content {
    max-height: 360px;
    margin-top: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--surface-soft) transparent;
    scrollbar-width: thin;
}

.queue-list {
    display: grid;
    gap: 8px;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-raised);
}

.queue-number {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 750;
}

.queue-track {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.queue-track strong,
.queue-track span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.queue-track strong {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.queue-track span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.count-badge {
    display: grid;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    place-items: center;
    border-radius: 9px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
}

.notice {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    max-width: min(400px, calc(100% - 40px));
    padding: 14px 17px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-raised);
    color: var(--text);
    box-shadow: var(--shadow);
    font-size: 12px;
}

.legal-page {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.legal-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid var(--border);
    background: var(--sidebar);
}

.legal-page-brand,
.legal-page-header nav {
    display: flex;
    align-items: center;
}

.legal-page-brand {
    gap: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-page-brand img {
    display: block;
    width: 150px;
    height: auto;
}

body[data-theme="dark"] .legal-page-brand img {
    filter: brightness(0) invert(0.94);
}

.legal-page-header nav {
    flex-wrap: wrap;
    gap: 12px 22px;
}

.legal-page-header nav a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.legal-page-header nav a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page-main {
    width: min(100%, 960px);
    margin: 0 auto;
    padding: 44px 28px 30px;
}

.legal-page-main {
    flex: 1;
}

.legal-page .legal-section {
    scroll-margin-top: 28px;
    margin: 0;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
}

.legal-page .site-footer {
    width: min(100%, 960px);
    margin: auto;
    padding: 16px 28px 24px;
}

.site-footer {
    grid-column: 1 / -1;
}

.legal-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.legal-heading .eyebrow {
    margin-bottom: 8px;
}

.legal-heading h1 {
    margin: 0;
    font-size: 26px;
}

.legal-heading > p:last-child,
.legal-content p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.legal-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.legal-content > section {
    scroll-margin-top: 28px;
}

.legal-content h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

.legal-content p {
    margin: 0 0 12px;
}

.legal-review-note {
    grid-column: 1 / -1;
    padding: 13px 15px;
    border-left: 3px solid var(--accent);
    border-radius: 0 9px 9px 0;
    background: var(--accent-soft);
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 4px 2px 0;
    color: var(--subtle);
    font-size: 11px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1120px) {
    .app-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .workspace {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
        gap: 22px;
        padding-right: 26px;
        padding-left: 26px;
    }

    .promo-art {
        right: 2%;
        opacity: 0.2;
    }

    .promo-copy {
        padding-right: 0;
    }

    .promo-copy h2 {
        font-size: clamp(20px, 2.2vw, 24px);
    }
}

@media (min-width: 901px) {
    .activity-column {
        position: sticky;
        top: 28px;
        align-self: start;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--surface-soft) transparent;
    }

    .search-sticky-slot {
        position: sticky;
        top: 28px;
        z-index: 20;
        background: var(--page);
    }

    .search-sticky-slot.is-stuck::before {
        position: absolute;
        right: 0;
        bottom: calc(100% - 1px);
        left: 0;
        z-index: 1;
        height: 28px;
        background: var(--page);
        content: "";
        pointer-events: none;
    }

    .search-sticky-slot.is-stuck::after {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        z-index: 3;
        height: 100px;
        background: linear-gradient(
            to bottom,
            var(--page) 0%,
            var(--page) 18%,
            color-mix(in srgb, var(--page) 78%, transparent) 48%,
            color-mix(in srgb, var(--page) 32%, transparent) 74%,
            transparent 100%
        );
        display: block;
        content: "";
        pointer-events: none;
    }

    .search-box {
        position: relative;
        top: auto;
        z-index: 2;
    }

    .catalog-list {
        max-height: none;
        overflow: visible;
    }

    .catalog-section {
        padding-bottom: 160px;
    }
}

@media (max-width: 900px) {
    .workspace {
        grid-template-columns: minmax(0, 1fr);
        max-width: 720px;
        padding: 34px 28px;
    }

    .activity-column {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        padding-top: 0;
    }

    .activity-column .checkout-bar {
        grid-column: 1;
    }

    .activity-column .queue-panel {
        grid-column: 1;
        grid-row: 2;
    }

}

@media (max-width: 620px) {
    .app-shell {
        --mobile-control-top: max(12px, env(safe-area-inset-top, 0px));
        --mobile-header-height: calc(var(--mobile-control-top) + 60px);
        display: block;
        padding-top: var(--mobile-header-height);
    }

    .sidebar {
        position: fixed;
        z-index: 30;
        top: 0;
        right: 0;
        left: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto;
        align-items: center;
        gap: 10px 12px;
        width: 100%;
        height: var(--mobile-header-height);
        min-height: var(--mobile-header-height);
        padding: var(--mobile-control-top) 16px 6px;
        background: var(--sidebar);
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .mobile-menu-toggle {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        padding: 0;
        border: 1px solid var(--border);
        border-radius: 11px;
        background: var(--surface);
        color: var(--text);
        font-size: 24px;
        line-height: 1;
    }

    .mobile-menu-toggle[aria-expanded="true"] {
        border-color: var(--accent);
        background: var(--accent-soft);
        color: var(--accent-strong);
    }

    .sidebar-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1;
        display: none;
        padding: 12px 16px 16px;
        border-bottom: 1px solid var(--border);
        background: var(--sidebar);
        box-shadow: var(--shadow);
    }

    .sidebar.is-menu-open .sidebar-menu {
        display: flex;
    }

    .primary-nav {
        display: grid;
        grid-column: auto;
        grid-row: auto;
        gap: 4px;
        margin: 0;
    }

    .sidebar-menu .nav-link {
        width: 100%;
        min-height: 42px;
        gap: 12px;
        padding: 0 12px;
        border-radius: 9px;
        font-size: 12px;
        letter-spacing: 0.3px;
    }

    .sidebar-menu .nav-icon {
        width: 22px;
        font-size: 18px;
    }

    .sidebar-menu .soon-label {
        display: inline;
    }

    .sidebar-menu .about-button {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        margin: 4px 0 0;
    }

    .sidebar-menu .theme-toggle {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 8px;
        padding: 0 12px;
        border-top: 1px solid var(--border);
        font-size: 12px;
    }

    .sidebar-menu .toggle-track {
        margin-left: auto;
    }

    .legal-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .legal-page-brand img {
        width: 126px;
    }

    .legal-page-header nav {
        gap: 10px 16px;
    }

    .legal-page-main {
        padding: 24px 16px;
    }

    .legal-page .legal-section {
        padding: 22px 18px;
    }

    .legal-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .legal-content > section {
        scroll-margin-top: calc(var(--sticky-height, 18px) + 16px);
    }

    .legal-review-note {
        grid-column: 1;
    }

    .site-footer,
    .legal-page .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer nav {
        gap: 9px 14px;
    }

    .brand {
        width: 150px;
        align-items: flex-start;
        gap: 2px;
        padding: 0;
    }

    .brand-name {
        display: none;
    }

    .primary-nav {
        display: flex;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        grid-row: 2;
        gap: 7px;
        margin: 0;
    }

    .about-button {
        grid-column: 1;
        grid-row: 3;
        width: max-content;
        min-height: 34px;
        margin: 0;
    }

    .nav-link {
        min-height: 34px;
        gap: 7px;
        padding: 0 10px;
        border-radius: 9px;
        font-size: 9px;
        letter-spacing: 0.25px;
    }

    .nav-icon {
        width: auto;
        font-size: 15px;
    }

    .soon-label {
        display: none;
    }

    .theme-toggle {
        grid-column: 2;
        grid-row: 3;
        width: auto;
        min-height: 34px;
        gap: 6px;
        margin: 0;
        padding: 0 2px;
        font-size: 0;
    }

    .theme-icon {
        font-size: 18px;
    }

    .toggle-track {
        width: 31px;
        height: 18px;
        margin-left: 0;
    }

    body[data-theme="dark"] .toggle-track > span {
        transform: translateX(12px);
    }

    .workspace {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px 16px calc(112px + env(safe-area-inset-bottom, 0px));
    }

    .workspace > .main-column,
    .workspace > .activity-column {
        display: contents;
    }

    .workspace .welcome {
        order: 0;
        margin: 0;
    }

    .workspace .activity-column .checkout-bar {
        position: fixed;
        z-index: 20;
        right: max(12px, calc((100vw - 596px) / 2));
        bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
        left: max(12px, calc((100vw - 596px) / 2));
        order: 5;
        grid-row: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "info button"
            "unit button";
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0 12px;
        min-height: 60px;
        margin: 0;
        padding: 7px 10px;
        border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
        border-radius: 13px;
        background: var(--surface-raised);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    }

    .workspace .promo-card {
        order: 2;
    }

    .workspace .queue-panel {
        order: 3;
        grid-row: auto;
    }

    .workspace .catalog-section {
        order: 4;
    }

    .workspace .site-footer {
        order: 6;
    }

    .search-hint {
        left: auto;
        right: 12px;
        bottom: 12px;
        width: min(430px, calc(100vw - 24px));
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        transform: none;
    }

    .search-hint.is-helping {
        width: min(430px, calc(100vw - 40px));
    }

    .search-hint-character {
        width: 96px;
        height: 96px;
    }

    .search-hint-bubble {
        width: 100%;
        padding: 14px 16px;
        font-size: 13px;
    }

    .workspace.about-view,
    .workspace.legal-view {
        min-height: calc(100vh - var(--sticky-height, 18px));
        align-items: start;
        padding-top: 26px;
    }

    .about-content {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .legal-content-panel {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .about-heading {
        margin-bottom: 18px;
    }

    .about-heading h1 {
        font-size: 28px;
    }

    .about-intro p,
    .about-pillars p {
        font-size: 13px;
    }

    .about-pillars {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
        margin-top: 22px;
    }

    .about-pillars section {
        padding: 16px;
    }

    .welcome {
        margin-bottom: 0;
    }

    .welcome h1 {
        font-size: 25px;
    }

    .help-control {
        position: fixed;
        z-index: 31;
        display: flex;
        align-items: center;
        gap: 8px;
        top: calc(var(--mobile-control-top) + 6px);
        right: 66px;
    }

    .mobile-checkout-button {
        display: flex;
        min-width: 88px;
        min-height: 42px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 4px 8px;
        border: 1px solid var(--accent);
        border-radius: 11px;
        background: var(--accent);
        color: #fffaf5;
        text-align: center;
        cursor: pointer;
    }

    .mobile-checkout-button:disabled {
        cursor: not-allowed;
        opacity: 0.72;
    }

    .mobile-checkout-button strong,
    .mobile-checkout-button small {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-checkout-button strong {
        font-size: 10px;
        line-height: 1.15;
    }

    .mobile-checkout-button small {
        color: #fffaf5;
        font-size: 9px;
        font-weight: 700;
        line-height: 1.15;
    }

    .help-button {
        width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 11px;
    }

    .help-button-label {
        display: none;
    }

    .promo-card {
        min-height: 0;
        padding: 12px;
        border-radius: 13px;
    }

    .promo-copy {
        justify-content: flex-start;
        gap: 7px;
        padding-right: 0;
    }

    .promo-track-info {
        padding-right: 92px;
    }

    .promo-tag {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .promo-copy h2 {
        font-size: 18px;
    }

    .promo-track-artist {
        margin-top: 3px;
        font-size: 13px;
    }

    .promo-progress {
        max-width: 100%;
    }

    .promo-progress-times {
        font-size: 10px;
    }

    .promo-art {
        display: none;
    }

    .mobile-queue-toggle {
        position: absolute;
        z-index: 3;
        top: 12px;
        right: 12px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        min-height: 32px;
        padding: 0 9px;
        border: 1px solid rgba(255, 247, 235, 0.24);
        border-radius: 9px;
        background: rgba(32, 36, 31, 0.42);
        color: #fff7eb;
        font: inherit;
        font-size: 10px;
        font-weight: 700;
        cursor: pointer;
    }

    body[data-theme="light"] .mobile-queue-toggle {
        border-color: rgba(54, 39, 30, 0.2);
        background: rgba(255, 250, 245, 0.6);
        color: #36271e;
    }

    .mobile-queue-toggle:focus-visible {
        outline: 2px solid var(--accent-strong);
        outline-offset: 2px;
    }

    .workspace .queue-panel.is-mobile-collapsed {
        display: none;
    }

    .queue-panel {
        width: 100%;
    }

    .queue-content {
        max-height: 220px;
    }

    .workspace .checkout-bar .checkout-info {
        grid-area: info;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .workspace .checkout-bar .checkout-selection {
        display: block;
        min-width: 0;
    }

    .workspace .checkout-bar .checkout-label,
    .workspace .checkout-bar .checkout-button-icon {
        display: none;
    }

    .workspace .checkout-bar .checkout-unit {
        grid-area: unit;
        display: block;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .workspace .checkout-bar .checkout-count {
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .workspace .checkout-bar .checkout-info strong {
        font-size: 18px;
        white-space: nowrap;
    }

    .workspace .checkout-bar .checkout-button {
        grid-area: button;
        width: auto;
        min-height: 42px;
        padding: 6px 10px;
    }

    .workspace .checkout-bar .checkout-button strong {
        font-size: 11px;
        white-space: nowrap;
    }

    .workspace .checkout-bar .checkout-button small {
        margin-top: 1px;
        font-size: 9px;
        white-space: nowrap;
    }

    .catalog-section {
        margin-top: 0;
    }

    .search-sticky-slot {
        position: sticky;
        top: var(--mobile-header-height);
        z-index: 8;
        background: var(--page);
    }

    .catalog-section {
        position: relative;
        isolation: isolate;
    }

    .search-prompt-arrows {
        position: absolute;
        z-index: 50;
        top: 68px;
        left: 42%;
        display: block;
        width: 72px;
        margin: 0;
        animation: search-prompt-nudge 1.8s ease-in-out infinite;
        pointer-events: none;
    }

    .search-prompt-arrows img {
        display: block;
        width: 100%;
        height: auto;
    }

    .search-box {
        position: relative;
        top: auto;
        z-index: 2;
    }

    .catalog-heading h2 {
        font-size: 20px;
    }

    .selection-summary {
        min-height: 32px;
        justify-content: flex-end;
    }

    .selection-summary #selection-count {
        display: none;
    }

    .selection-summary .text-button {
        font-size: 11px;
    }

    .clear-search {
        padding: 5px 0 5px 5px;
        font-size: 9px;
    }

    .catalog-list {
        max-height: 44vh;
    }

    .song-row {
        gap: 8px;
        min-height: 51px;
        padding: 6px;
    }

    .song-number {
        width: 31px;
        height: 31px;
    }

    .song-info strong {
        font-size: 11px;
    }

    .song-info span {
        font-size: 9px;
    }

    .queue-track strong {
        font-size: 16px;
    }

    .queue-track span {
        font-size: 14px;
    }

    .activity-card {
        padding: 15px;
    }

    .checkout-count {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .help-control {
        gap: 5px;
        right: 62px;
    }

    .mobile-checkout-button {
        min-width: 78px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .primary-nav {
        gap: 4px;
    }

    .primary-nav .nav-link {
        gap: 5px;
        padding-right: 7px;
        padding-left: 7px;
    }

    .search-hint {
        gap: 2px;
    }

    .search-hint-character,
    .search-hint.is-helping .search-hint-character {
        width: 76px;
        height: 76px;
    }

    .search-hint-bubble {
        padding: 10px 12px;
        font-size: 11px;
    }

    .search-hint-bubble strong {
        font-size: 16px;
    }
}

@media (max-width: 360px) and (max-height: 800px) {
    .search-hint {
        top: 12px;
        bottom: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
