:root {
    color-scheme: dark;
    --app-background: #0a0a17;
    --chrome: #0f0f1f;
    --card: #1a1a21;
    --card-alt: #1a1a2b;
    --card-secondary: #141426;
    --sheet: #1c1c24;
    --playback-card: #1c1c33;
    --cell-selected: #242438;
    --pill-background: #292933;
    --round-button-bg: #0d0d11;
    --gradient-top: #16213a;
    --gradient-mid: #0e1118;
    --gradient-bottom: #0b1121;
    --tape-overlay: rgba(255, 255, 255, 0.022);
    --text-primary: #ffffff;
    --text-high: rgba(255, 255, 255, 0.85);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-body: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-label: rgba(255, 255, 255, 0.55);
    --text-dim: rgba(255, 255, 255, 0.5);
    --text-disabled: rgba(255, 255, 255, 0.45);
    --text-faint: rgba(255, 255, 255, 0.4);
    --separator: rgba(255, 255, 255, 0.08);
    --separator-faint: rgba(255, 255, 255, 0.05);
    --line: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --control-border: rgba(255, 255, 255, 0.3);
    --track-background: rgba(255, 255, 255, 0.15);
    --accent: #3a8cf7;
    --accent-glow: rgba(58, 140, 247, 0.22);
    --nav-tint: #eaf2f5;
    --brand-slate: #7a8da0;
    --waveform: rgba(255, 255, 255, 0.42);
    --waveform-dim: rgba(255, 255, 255, 0.16);
    --destructive: #ff453a;
    --warning: #ffd60a;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    --radius-card: 16px;
    --radius-row: 14px;
    --radius-cover: 14px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--app-background);
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background:
        repeating-linear-gradient(to bottom, var(--tape-overlay) 0 1px, transparent 1px 5px) fixed,
        linear-gradient(155deg, var(--gradient-top) 0%, var(--gradient-mid) 50%, var(--gradient-bottom) 100%) fixed,
        var(--app-background);
    color: var(--text-primary);
    font: 400 1rem/1.5 var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.boot {
    margin: 40vh 0 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.page {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    padding: max(1rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right))
        max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.75rem;
    padding: 0.25rem 0 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.06em;
    font-size: 1.25rem;
    line-height: 1;
}

.brand-wordmark {
    display: block;
    width: auto;
    height: 0.98em;
}

.brand-drop {
    color: var(--brand-slate);
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.drop {
    flex: 1;
}

.drop-head {
    margin-bottom: 1.25rem;
}

.drop-head.has-artwork {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cover {
    position: relative;
    isolation: isolate;
    flex: none;
    width: min(100%, 18rem);
    aspect-ratio: 1;
    margin: 0.25rem 0 1.5rem;
    border-radius: var(--radius-cover);
    background: var(--card-secondary);
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-cover);
    pointer-events: none;
}

.cover-image,
.cover-glow {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-cover);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cover-image {
    position: relative;
}

.cover-glow {
    position: absolute;
    z-index: -1;
    top: 12%;
    left: 8%;
    width: 84%;
    height: 94%;
    filter: blur(28px) saturate(1.2);
    transform: translateZ(0);
}

.cover.is-loaded .cover-image {
    opacity: 1;
}

.cover.is-loaded .cover-glow {
    opacity: 0.45;
}

.drop-title {
    margin: 0;
    font-size: clamp(1.75rem, 7.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.drop-artist {
    margin: 0.375rem 0 0;
    color: var(--text-high);
    font-size: clamp(1.125rem, 4.8vw, 1.375rem);
    font-weight: 600;
    line-height: 1.25;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.drop-details {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.45;
    text-wrap: balance;
}

.drop-meta {
    margin: 0.375rem 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
    text-wrap: balance;
}

.drop-details .meta-item {
    white-space: normal;
}

.nowrap,
.meta-item {
    white-space: nowrap;
}

.meta-item.is-line-end .meta-sep {
    visibility: hidden;
}

.player {
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%), var(--playback-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}

.player-head {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.player-head-text {
    flex: 1;
    min-width: 0;
}

.share {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s var(--ease);
}

.share svg {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
}

.share:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--nav-tint);
}

.share:active {
    transform: scale(0.92);
}

.share-drop {
    margin-right: -0.625rem;
    color: var(--nav-tint);
}

.share-track {
    margin: -0.5rem -0.625rem 0 0;
}

.share-row {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.5rem;
    color: var(--text-label);
}

.share-row svg {
    width: 1.125rem;
    height: 1.125rem;
}

.now-index {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.now-title {
    margin: 0.2rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.waveform {
    position: relative;
    height: 5.5rem;
    cursor: pointer;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 6px;
}

.waveform-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.waveform.is-loading .waveform-canvas {
    animation: breathe 1.6s ease-in-out infinite;
}

.waveform.is-scrubbing {
    cursor: grabbing;
}

.times {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.times .time:first-child {
    color: var(--text-high);
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    margin-top: 0.75rem;
}

.control {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--control-border);
    border-radius: 50%;
    background: var(--round-button-bg);
    color: var(--nav-tint);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s var(--ease), background-color 0.15s ease, border-color 0.2s ease, box-shadow 0.25s ease,
        opacity 0.15s ease;
}

.control svg {
    display: block;
}

.control:active {
    transform: scale(0.94);
}

.control:disabled {
    opacity: 0.35;
    cursor: default;
}

.control:not(:disabled):hover {
    background: var(--cell-selected);
}

.control-skip {
    width: 3.25rem;
    height: 3.25rem;
}

.control-skip svg {
    width: 1.375rem;
    height: 1.375rem;
}

.control-play {
    width: 4.5rem;
    height: 4.5rem;
}

.control-play svg {
    width: 1.875rem;
    height: 1.875rem;
}

.is-playing .control-play {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.control-play.is-buffering svg {
    animation: breathe 1s ease-in-out infinite;
}

.status {
    min-height: 0;
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-high);
    text-wrap: balance;
}

.status:not(:empty) {
    margin-top: 0.875rem;
}

.download,
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    min-height: 2.75rem;
    padding: 0.5rem 1.15rem;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    background: var(--round-button-bg);
    color: var(--nav-tint);
    font: 600 0.9375rem/1.2 var(--font);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, transform 0.12s var(--ease);
}

.download {
    margin: 1.125rem auto 0;
}

.download[hidden] {
    display: none;
}

.download svg {
    width: 1.125rem;
    height: 1.125rem;
}

.download:hover,
.button:hover {
    background: var(--cell-selected);
}

.download:active,
.button:active {
    transform: scale(0.97);
}

.button:disabled {
    color: var(--text-disabled);
    cursor: progress;
    transform: none;
}

.tracks {
    margin-top: 1.25rem;
}

.tracklist {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--card-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-row);
}

.tracklist li + li {
    border-top: 1px solid var(--separator);
}

.notes {
    margin-top: 1.25rem;
    padding: 1rem 1.125rem 1.125rem;
    background: var(--card-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-row);
}

.notes-heading {
    margin: 0 0 0.5rem;
    color: var(--text-high);
    font-size: 1.0625rem;
    font-weight: 700;
}

.notes-text {
    color: var(--text-body);
    font-size: 0.9375rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.notes-text.is-collapsed {
    max-height: calc(1.55em * 8);
    overflow: hidden;
}

.notes-text.is-clipped {
    -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
    mask-image: linear-gradient(to bottom, #000 65%, transparent);
}

.notes-text a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.notes-more {
    margin: 0.5rem 0 0;
    padding: 0.25rem 0;
    border: 0;
    background: none;
    color: var(--accent);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
}

.notes-more[hidden] {
    display: none;
}

.track-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    transition: background-color 0.15s ease;
}

.track-item:hover,
.track-item.is-current {
    background: var(--cell-selected);
}

.row {
    display: grid;
    grid-template-columns: 1.5rem 1fr auto;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    min-height: 3.75rem;
    padding: 0.7rem 0.5rem 0.7rem 1rem;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.row:focus-visible {
    outline-offset: -3px;
}

.row-marker {
    position: relative;
    display: grid;
    place-items: center;
    height: 1.25rem;
    color: var(--text-label);
    font-size: 0.875rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.eq {
    position: absolute;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    padding: 0.2rem 0;
}

.eq i {
    display: block;
    width: 3px;
    height: 40%;
    border-radius: 1.5px;
    background: var(--accent);
}

.row.is-current .row-number {
    visibility: hidden;
}

.row.is-current .eq {
    display: flex;
}

.is-playing .row.is-current .eq i {
    animation: bounce 0.9s ease-in-out infinite;
}

.is-playing .row.is-current .eq i:nth-child(2) {
    animation-delay: -0.3s;
}

.is-playing .row.is-current .eq i:nth-child(3) {
    animation-delay: -0.6s;
}

.row-body {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.row-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.row-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.row-duration {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2.5rem 0 0.5rem;
}

.report-link {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 0;
    background: none;
    color: var(--text-dim);
    font: 500 0.8125rem/1.2 var(--font);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease;
}

.report-link:hover {
    color: var(--text-high);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.quartz-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    color: var(--text-primary);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.12s var(--ease);
}

.quartz-badge:hover {
    border-color: var(--control-border);
    background: var(--sheet);
}

.quartz-badge:active {
    transform: scale(0.98);
}

.quartz-badge-icon {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5625rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.quartz-badge-text {
    display: grid;
    line-height: 1.2;
}

.quartz-badge-kicker {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.quartz-badge-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.quartz-badge-store {
    margin-left: 0.5rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--pill-background);
    color: var(--nav-tint);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.message {
    position: relative;
    isolation: isolate;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 2rem 0 3rem;
    text-align: center;
}

.message::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(20rem, 78vw);
    aspect-ratio: 1;
    transform: translate(-50%, -54%);
    background: url("/brand/quartz-mono-white.svg") center / contain no-repeat;
    opacity: 0.045;
    pointer-events: none;
}

.message h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.625rem, 7vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.message p {
    margin: 0;
    color: var(--text-body);
    font-size: 1rem;
    text-wrap: balance;
}

.message .button {
    margin-top: 1.5rem;
}

.toast {
    position: fixed;
    z-index: 10;
    left: 50%;
    bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 0.75rem));
    padding: 0.65rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--sheet);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    font: 600 0.9375rem/1.2 var(--font);
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 0.5rem);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s var(--ease);
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

html.has-sheet {
    overflow: hidden;
}

.sheet {
    width: min(100%, 30rem);
    max-width: 100%;
    max-height: calc(100dvh - 2rem);
    margin: auto auto 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: var(--sheet);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}

.sheet[open] {
    animation: sheet-up 0.28s var(--ease);
}

.sheet::backdrop {
    background: rgba(5, 5, 12, 0.6);
}

.sheet-body {
    padding: 1.375rem max(1.25rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
}

.sheet-body[hidden] {
    display: none;
}

.sheet-title {
    margin: 0 0 1.125rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.sheet-text {
    margin: 0;
    color: var(--text-body);
    font-size: 1rem;
}

.sheet-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.field {
    min-width: 0;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
}

.field-label {
    display: block;
    margin: 0 0 0.375rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
}

.field-control {
    display: block;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-secondary);
    color: var(--text-primary);
    font: 400 1rem/1.4 var(--font);
    transition: border-color 0.15s ease;
}

textarea.field-control {
    min-height: 6rem;
    resize: vertical;
}

select.field-control {
    appearance: none;
    padding-right: 2.25rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
            right 0.875rem center / 0.75rem no-repeat,
        var(--card-secondary);
}

.field-control:focus {
    border-color: var(--accent);
    outline: none;
}

.field-control[aria-invalid="true"],
.field[aria-invalid="true"] .report-reasons {
    border-color: var(--destructive);
}

.report-reasons {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-secondary);
}

.report-reason {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.875rem;
    padding: 0.5rem 0.875rem;
    font-size: 1rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.report-reason + .report-reason {
    border-top: 1px solid var(--separator);
}

.report-reason:has(:checked) {
    background: var(--cell-selected);
}

.report-reason input {
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    accent-color: var(--accent);
}

.field-note {
    margin: 0.375rem 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.field-error {
    margin: 0;
    color: var(--destructive);
    font-size: 0.8125rem;
    font-weight: 500;
}

.field-error:not(:empty) {
    margin-top: 0.375rem;
}

.report-hint {
    margin: 0 0 1rem;
    padding: 0.625rem 0.75rem;
    border-radius: 10px;
    background: var(--pill-background);
    color: var(--text-high);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.report-hint[hidden] {
    display: none;
}

.report-alert {
    margin: 0;
    color: var(--destructive);
    font-size: 0.875rem;
    font-weight: 500;
    text-wrap: balance;
}

.report-alert:not(:empty) {
    margin-bottom: 0.25rem;
}

.button-report {
    color: var(--destructive);
}

.button-report[hidden] {
    display: none;
}

.button-plain {
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--text-secondary);
    font: 600 0.9375rem/1.2 var(--font);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.button-plain:hover {
    color: var(--text-primary);
}

@keyframes sheet-up {
    from {
        transform: translateY(1.5rem);
        opacity: 0;
    }
}

@keyframes breathe {
    50% {
        opacity: 0.45;
    }
}

@keyframes bounce {
    0%,
    100% {
        height: 25%;
    }
    50% {
        height: 100%;
    }
}

@media (hover: none) {
    .track-item:not(.is-current):hover {
        background: transparent;
    }

    .share:hover {
        background: transparent;
    }

    .share-drop:hover {
        color: var(--nav-tint);
    }

    .share-track:hover {
        color: var(--text-secondary);
    }

    .share-row:hover {
        color: var(--text-label);
    }

    .download:hover,
    .button:hover,
    .button:disabled:hover,
    .control:not(:disabled):hover {
        background: var(--round-button-bg);
    }

    .quartz-badge:hover {
        border-color: var(--border);
        background: var(--card);
    }

    .report-link:hover {
        color: var(--text-dim);
        text-decoration: none;
    }

    .button-plain:hover {
        color: var(--text-secondary);
    }
}

@media (min-width: 40rem) {
    .page {
        padding-top: 1.5rem;
    }

    .site-header {
        padding-bottom: 2.5rem;
    }

    .drop-head {
        margin-bottom: 1.5rem;
    }

    .drop-head.has-artwork {
        flex-direction: row;
        align-items: flex-end;
        gap: 1.5rem;
        text-align: left;
    }

    .cover {
        width: 11.5rem;
        margin: 0;
    }

    .drop-head-text {
        min-width: 0;
        padding-bottom: 0.25rem;
    }

    .player {
        padding: 1.75rem 1.75rem 1.5rem;
    }

    .waveform {
        height: 6.5rem;
    }

    .tracks,
    .notes {
        margin-top: 1.5rem;
    }

    .notes {
        padding: 1.25rem 1.5rem 1.375rem;
    }

    .sheet {
        margin: auto;
        border-bottom: 1px solid var(--border);
        border-radius: var(--radius-card);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    }

    .sheet-body {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
