@font-face { font-family: Barlow; src: url('/fonts/Barlow-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; } @font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-Bold.ttf') format('truetype'); font-weight: 700 900; font-display: swap; } /* Design tokens ---------------------------------------------------------- */ :root { color-scheme: dark; --bg: #000; --fg: #f2f2f2; --muted: #b5b5b8; --faint: #96969a; --accent: #a5d601; --accent-hover: #b2e51a; --danger: #ff8585; --panel: rgba(18, 18, 20, 0.94); --line: #ffffff1f; --line-strong: #333; --scrim: #000b; --glass: rgba(255, 255, 255, 0.1); --glass-strong: rgba(255, 255, 255, 0.2); --radius-s: 8px; --radius-m: 14px; --radius-l: 18px; --shadow: 0 16px 40px #000a; --font: Barlow, system-ui, sans-serif; --font-display: "Barlow Condensed", "Arial Narrow", sans-serif; --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1); --fast: 0.15s; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font: 15px/1.4 var(--font); overflow: hidden; -webkit-tap-highlight-color: transparent; } a { color: inherit; } button, input { font: inherit; color: inherit; } button { cursor: pointer; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; padding: 0.35em 0.9em; } [hidden] { display: none !important; } :focus { outline: none; } :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .sprite { position: absolute; width: 0; height: 0; overflow: hidden; } /* Header ----------------------------------------------------------------- */ #bar { position: fixed; inset: 0 0 auto 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; padding: 0.6rem 1rem; padding-top: max(0.6rem, env(safe-area-inset-top)); background: linear-gradient(#000c, #0000); } body.zen #bar { display: none; } .logo { font-weight: 600; display: inline-flex; align-items: center; gap: 0.4em; white-space: nowrap; justify-self: start; } .logo b { color: var(--accent); font-weight: 700; } .logo svg { width: 1.3em; height: 1.3em; color: var(--accent); flex: none; } .bar-end { justify-self: end; display: flex; align-items: center; gap: 0.4rem; } #discovery-options, #active-filters { position: fixed; z-index: 11; left: 50%; transform: translateX(-50%); } #discovery-options { top: 4.2rem; display: flex; gap: 0.5rem; align-items: center; } #discovery-options label { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.75rem; } #discovery-options select { color: var(--fg); background: #18181b; border: 1px solid #ffffff40; border-radius: 8px; padding: 0.45rem; font: inherit; } #active-filters { top: 7.3rem; padding: 0.35rem 0.7rem; background: #19191de8; border-radius: 8px; font-size: 0.75rem; white-space: nowrap; } body:has(#discovery-options[hidden]) #active-filters { top: 4.3rem; } body.zen :is(#discovery-options, #active-filters) { display: none; } /* Feed modes as segmented tabs, the middle of the bar. */ #mode-tabs { display: flex; gap: 0.2rem; padding: 0.2rem; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); } #mode-tabs button { border: none; background: none; padding: 0.35em 0.95em; font-size: 0.85rem; color: var(--muted); white-space: nowrap; transition: background var(--fast), color var(--fast); } #mode-tabs button:hover { color: var(--fg); } #mode-tabs button[aria-pressed="true"] { background: var(--fg); color: #000; font-weight: 600; } .icon-btn { width: 2.3rem; height: 2.3rem; padding: 0; display: grid; place-items: center; border: none; background: var(--glass); transition: background var(--fast); } .icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--glass-strong); } .icon-btn svg { width: 1.1rem; height: 1.1rem; } #filters-btn { position: relative; } #filters-btn.active::after { content: ""; position: absolute; top: 0.35rem; right: 0.35rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); } .avatar-btn { width: 2.3rem; height: 2.3rem; padding: 0; border: 2px solid #fff3; font-weight: 700; color: #000; } #volume { display: flex; align-items: center; gap: 0.3rem; margin-right: 0.3rem; } /* A slim track filled up to --v (main.ts), and a small round thumb. */ #volume-slider { --v: 100%; width: 5.5rem; height: 1rem; margin: 0; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, var(--fg) var(--v), #ffffff30 var(--v)) center / 100% 4px no-repeat; border-radius: 999px; cursor: pointer; } #volume-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 3px #0006; transition: transform var(--fast); } #volume-slider::-moz-range-thumb { width: 0.75rem; height: 0.75rem; border: none; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 3px #0006; transition: transform var(--fast); } #volume-slider:hover::-webkit-slider-thumb { transform: scale(1.25); } #volume-slider:hover::-moz-range-thumb { transform: scale(1.25); } #mode-chip { max-width: 16rem; display: inline-flex; align-items: center; gap: 0.45em; padding-left: 0.3em; white-space: nowrap; border: none; background: color-mix(in oklab, var(--accent) 40%, transparent); } #mode-chip .chip-label { overflow: hidden; text-overflow: ellipsis; } .chip-avatar { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; font-size: 0.8em; background: #0006 center / cover no-repeat; } .chip-avatar svg { width: 0.9em; height: 0.9em; color: var(--accent); } /* Sheets (sheet.ts): a drawer on the right, a bottom sheet on phones. ------- */ .scrim { position: fixed; inset: 0; z-index: 24; background: #0008; backdrop-filter: blur(2px); animation: fade 0.2s ease; } .sheet { position: fixed; z-index: 25; top: 0; right: 0; bottom: 0; width: min(26rem, 100vw); overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem 1.3rem; padding-top: max(1.2rem, env(safe-area-inset-top)); background: var(--panel); border-left: 1px solid var(--line-strong); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.9rem; animation: drawer 0.3s var(--ease-out); } .sheet:focus-visible { outline: none; } @keyframes drawer { from { transform: translateX(100%); } } .sheet-handle { display: none; } .sheet h2 { margin: 0; font: 800 1.25rem/1.2 var(--font-display); } .sheet fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 0.6rem; } .sheet legend, .sheet h3 { padding: 0; margin-bottom: 0.4rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); } #sleep-left { text-transform: none; letter-spacing: 0; color: var(--accent); } #spikes-setting legend small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; } .sheet-actions { display: flex; align-items: center; gap: 1rem; } .setting-note { margin: 0; color: var(--muted); font-size: 0.8rem; } .settings-divider { border-top: 1px solid var(--line-strong); padding-top: 1rem; } .settings-divider h3 { margin: 0 0 0.25rem; color: var(--fg); } .sheet-tools { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; } .sheet-tools input[type=search] { flex: 1 1 10rem; min-width: 0; padding: 0.55em 0.9em; border-radius: 999px; border: 1px solid var(--line-strong); background: #111; } .modes { flex-direction: row !important; flex-wrap: wrap; gap: 0.4rem !important; } .modes legend { flex-basis: 100%; } .modes label { cursor: pointer; } .modes input { position: absolute; opacity: 0; pointer-events: none; } .modes label:has(input) { padding: 0.3em 0.9em; border-radius: 999px; border: 1px solid #ffffff40; font-size: 0.85rem; transition: background var(--fast); } .modes label:has(input:checked) { background: var(--accent); border-color: transparent; color: #000; font-weight: 600; } .modes label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; } /* A checkbox drawn as a switch. */ .switch { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; } .switch input { appearance: none; flex: none; width: 2.6rem; height: 1.5rem; margin: 0; border-radius: 999px; background: #ffffff26; position: relative; cursor: pointer; transition: background var(--fast); } .switch input::after { content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease-out); } .switch input:checked { background: var(--accent); } .switch input:checked::after { transform: translateX(1.1rem); } .switch.small input { transform: scale(0.85); } /* The BPM range: two sliders on one track; --lo and --hi come from main.ts. */ .bpm-head { display: flex; justify-content: space-between; font-size: 0.9rem; } .bpm-head output { color: var(--accent); font-weight: 600; } .range2 { --lo: 0%; --hi: 100%; position: relative; height: 1.6rem; margin: 0.2rem 0; } .range2::before { content: ""; position: absolute; inset: 50% 0 auto; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(90deg, #ffffff26 var(--lo), var(--accent) var(--lo) var(--hi), #ffffff26 var(--hi)); } .range2 input { position: absolute; inset: 0; width: 100%; margin: 0; appearance: none; background: none; pointer-events: none; } .range2 input::-webkit-slider-thumb { appearance: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 45%, transparent); pointer-events: auto; cursor: grab; } .range2 input::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 45%, transparent); pointer-events: auto; cursor: grab; } .presets { display: flex; gap: 0.4rem; } .presets button { font-size: 0.8rem; padding: 0.25em 0.8em; } .presets button[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: #111; } /* Likes and history: artwork that plays, title, artist. */ .track-list { margin: 0; padding: 0; list-style: none; color: var(--muted); } .track-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0; border-bottom: 1px solid #ffffff10; animation: fade 0.3s ease; } .track-row:last-child { border-bottom: none; } .track-row .meta { min-width: 0; flex: 1; } .track-row .meta a { display: block; overflow-wrap: anywhere; text-decoration: none; color: var(--fg); } .track-row .meta a:hover { text-decoration: underline; } .track-row .meta span { font-size: 0.8rem; } .row-play { flex: none; position: relative; width: 2.8rem; height: 2.8rem; padding: 0; border: none; border-radius: var(--radius-s); background: #222 center / cover no-repeat; display: grid; place-items: center; overflow: hidden; } .row-play::before { content: ""; position: absolute; inset: 0; background: #000a; opacity: 0.75; transition: opacity var(--fast); } .row-play svg { position: relative; width: 1rem; height: 1rem; opacity: 1; transition: opacity var(--fast); } .row-play:hover::before, .row-play:focus-visible::before, .row-play:hover svg, .row-play:focus-visible svg { opacity: 1; } @media not ((hover: hover) and (pointer: fine)) { .row-play::before { opacity: 0.6; } .row-play svg { opacity: 1; } } .row-unlike { flex: none; color: var(--accent); background: none; } .row-unlike:hover { background: var(--glass); } #account { align-items: flex-start; } #stats { margin: -0.5rem 0 0; color: var(--muted); font-size: 0.8rem; } #account a { font-size: 0.85rem; color: var(--muted); } #sync { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid #ffffff14; } #sync h3 { margin: 0; } #sync-status { margin: 0; font-size: 0.85rem; color: var(--muted); } #sync-status.on::before { content: "● "; color: #3ddc84; } #delete-form { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; } #delete-form label { color: var(--muted); font-size: 0.85rem; } #delete-form input { padding: 0.4em 0.6em; border-radius: 8px; border: 1px solid #444; background: #111; } .link.danger { color: var(--accent); } button.danger:not(.link) { background: var(--accent); border: none; color: #fff; font-weight: 600; } .legal-links a { color: inherit; } /* Feed ------------------------------------------------------------------- */ /* The pager (pager.ts) places cards with transforms and sets --away (0 in place, 1 a full page away); the visualizer sets --energy (0..1, bass level) on the playing card; --card-accent comes from the artist image. */ #feed { position: fixed; inset: 0; overflow: hidden; touch-action: none; overscroll-behavior: none; } .card { --card-accent: var(--accent); --energy: 0; --away: 0; position: absolute; inset: 0; will-change: transform; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; cursor: pointer; } .bg { position: absolute; inset: -40px; background: #111 center / cover no-repeat; filter: blur(40px) brightness(0.45) saturate(1.3); } /* Already blurred and darkened (color.ts): a CSS blur over the whole screen would be worked out again whenever anything on top of it moves. */ .bg.baked { filter: none; } .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 40% at 50% 40%, color-mix(in oklab, var(--card-accent) 55%, transparent), transparent 70%); opacity: calc(0.18 + var(--energy) * 0.55); will-change: opacity; } .content { position: relative; /* Cards shrink and dim a little as they leave, for depth while swiping. */ transform: scale(calc(1 - var(--away) * 0.08)); opacity: calc(1 - var(--away) * 0.55); width: min(34rem, calc(100vw - 5.5rem)); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; } .art { position: relative; width: min(16rem, 42vh, 70vw); aspect-ratio: 1; /* Round, so the static artwork matches the liquid drop (blob/) it turns into. */ border-radius: 50%; background: #222 center / cover no-repeat; box-shadow: 0 20px 60px #000a, 0 0 calc(10px + var(--energy) * 70px) color-mix(in oklab, var(--card-accent) calc(15% + var(--energy) * 45%), transparent); display: grid; place-items: center; margin-bottom: 0.6rem; /* Pulse on the beat through `scale`; `transform` is left to the pause animation. */ scale: calc(1 + var(--energy) * 0.045); transition: transform 0.25s var(--ease-out), filter 0.25s ease; } .initial { font-size: 4rem; font-weight: 700; color: #fff6; } /* The liquid drop spills past the art slot; taps go through it to the card. */ .liquid-canvas { position: absolute; inset: -50%; width: 200%; height: 200%; pointer-events: none; } /* A halo stays behind the drop and pulses with it; the text sits on top where the drop spills over it. The drop shows play and pause on itself (blob/shaders.ts). */ .card.liquid .art { z-index: 0; background-image: none !important; background-color: transparent; box-shadow: none; scale: 1; } .card.liquid .art::before { content: ""; position: absolute; inset: -65%; background: radial-gradient(closest-side, color-mix(in oklab, var(--card-accent) 83%, transparent), transparent); /* Pulses through transform and opacity only, so it never has to be painted again. */ transform: scale(calc(0.87 + var(--energy) * 0.13)); opacity: calc(0.34 + var(--energy) * 0.66); will-change: transform, opacity; pointer-events: none; } .card.liquid .content > :not(.art) { position: relative; z-index: 1; } .card.liquid .title { text-shadow: 0 2px 16px #000b; } /* The drop shows loading as a ring of its own. */ .card.liquid .initial, .card.liquid .paused-badge, .card.liquid .spinner { display: none; } /* Hidden, not removed: it takes itself away when its animation ends. */ .card.liquid .flash { visibility: hidden; } @media (pointer: fine) { .card.liquid .art { cursor: grab; } .card.turning, .card.turning .art { cursor: grabbing; } } .paused-badge, .spinner { z-index: 1; } .audio-debug { position: fixed; left: 0.7rem; bottom: 0.7rem; z-index: 30; border-radius: var(--radius-s); background: var(--scrim); pointer-events: none; } .drop-debug { margin: 0; padding: 0.4rem 0.5rem; max-width: calc(100vw - 1.4rem); font: 10px/1.35 ui-monospace, monospace; color: #fffc; white-space: pre-wrap; } .card.paused .art { transform: scale(0.96); filter: brightness(0.7); } .paused-badge { position: absolute; inset: 0; margin: auto; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #000a; display: grid; place-items: center; opacity: 0; transition: opacity 0.2s; pointer-events: none; } .paused-badge svg { width: 2rem; height: 2rem; margin-left: 0.2rem; } .card.paused .paused-badge { opacity: 1; } .spinner { position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem; border-radius: 50%; border: 3px solid #ffffff33; border-top-color: #fff; opacity: 0; pointer-events: none; animation: spin 0.8s linear infinite; } .card.buffering .spinner { opacity: 1; } .card.buffering .paused-badge { opacity: 0; } @keyframes spin { to { transform: rotate(360deg); } } .title { font: 800 clamp(1.3rem, 4.2vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -0.01em; margin: 0; overflow-wrap: anywhere; text-wrap: balance; font-stretch: condensed; } .why { margin: 0; min-height: 0; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklab, var(--card-accent) 70%, #fff); } .why:empty { display: none; } .byline { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; } .artist-avatar { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; background: var(--card-accent) center / cover no-repeat; box-shadow: 0 0 0 2px #0008; } .artist { color: var(--fg); font-weight: 600; text-decoration: none; } .artist:hover { text-decoration: underline; } .pill { display: inline-flex; align-items: center; gap: 0.3em; font-size: 0.75rem; padding: 0.2em 0.75em 0.2em 0.55em; border-radius: 999px; border: 1px solid #ffffff40; background: transparent; transition: background var(--fast), border-color var(--fast); } .pill svg { width: 0.95em; height: 0.95em; } .pill:hover { background: var(--glass); } .follow.on { background: color-mix(in oklab, var(--card-accent) 25%, transparent); border-color: transparent; } .chips { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; } .chips span { font-size: 0.75rem; padding: 0.1em 0.6em; border-radius: 999px; background: rgba(255, 255, 255, 0.12); } .chips .free { background: #1f7a4d; } .chips .new { background: var(--fg); color: #000; font-weight: 700; } .chips span:first-child { background: color-mix(in oklab, var(--card-accent) 35%, transparent); } .chips .preview { background: #6a4b16; } .chips .tag { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--card-accent) 60%, transparent); } .desc { margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; color: var(--muted); font-size: 0.85rem; } .wave-wrap { position: relative; width: 100%; margin-top: 0.6rem; } .wave { display: block; width: 100%; height: 64px; cursor: pointer; touch-action: none; } .wave-tip { position: absolute; bottom: calc(100% + 4px); transform: translateX(-50%); padding: 0.1em 0.45em; border-radius: 6px; background: #000c; font-size: 0.75rem; pointer-events: none; opacity: 0; transition: opacity 0.1s; } .wave-wrap.hover .wave-tip { opacity: 1; } /* Timed comments: dots in the reflection under the waveform, lit once played, and bubbles that grow out of a dot when the music gets there. */ .wave-comments { position: absolute; inset: auto 0 0; height: 28%; pointer-events: none; } .wc-dot { position: absolute; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #ffffffa0; transition: background 0.3s, box-shadow 0.3s; animation: wc-sprout 0.5s calc(var(--x) * 0.7s) cubic-bezier(.2, .9, .3, 1.5) both; } .wc-dot.past { background: var(--card-accent); box-shadow: 0 0 6px var(--card-accent); } .wc-dot.hit { animation: wc-ping 0.7s ease-out; } @keyframes wc-sprout { from { transform: scale(0); opacity: 0; } } @keyframes wc-ping { 0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in oklab, var(--card-accent) 80%, transparent); } 25% { transform: scale(2.2); } 100% { transform: scale(1); box-shadow: 0 0 0 10px transparent; } } .wc-bubble { position: absolute; z-index: 3; bottom: calc(100% + 8px); width: max-content; max-width: min(17rem, 100%); pointer-events: none; translate: 0 calc(-1 * var(--lift, 0px)); transition: translate 0.4s ease, opacity 0.2s; } /* A spark running up from the dot to the bubble as it opens. */ .wc-bubble::before { content: ""; position: absolute; top: 100%; left: calc(var(--tail) - 1px); width: 2px; height: var(--reach, 3rem); border-radius: 1px; background: linear-gradient(to top, var(--card-accent), transparent); animation: wc-spark 0.9s ease-out both; } .wc-in { position: relative; display: flex; gap: 0.45rem; align-items: flex-start; padding: 0.35rem 0.7rem 0.4rem 0.35rem; border-radius: 14px; background: #000000d0; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--card-accent) 45%, transparent), 0 6px 22px #0008, 0 0 18px color-mix(in oklab, var(--card-accent) 22%, transparent); font-size: 0.78rem; line-height: 1.25; text-align: left; animation: wc-fade 4.6s linear both; } /* The tail, pointing down at the dot. */ .wc-in::after { content: ""; position: absolute; top: 100%; left: calc(var(--tail) - 6px); width: 12px; height: 6px; background: #000000d0; clip-path: polygon(0 0, 100% 0, 50% 100%); } .wc-avatar { flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: center / cover #333; color: #000; font-size: 0.75rem; font-weight: 700; } .wc-text { display: flex; flex-direction: column; min-width: 0; } .wc-text b { overflow: hidden; color: var(--card-accent); font-size: 0.7rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; } .wc-text span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; } /* Only opacity: no filter, scale or blur, which made the text soft and the bubble stutter in over the moving waveform. */ @keyframes wc-fade { 0% { opacity: 0; } 8%, 88% { opacity: 1; } 100% { opacity: 0; } } @keyframes wc-spark { 0%, 100% { opacity: 0; } 25% { opacity: 1; } } .wc-bubble.out { opacity: 0; } /* Peeking with the mouse: above the time tip, no spark, no fading out. */ .wc-bubble.peek { bottom: calc(100% + 1.9rem); } .wc-bubble.peek::before { display: none; } .wc-bubble.peek .wc-in { animation: wc-peek 0.15s ease-out both; } @keyframes wc-peek { from { opacity: 0; } } .wave-wrap:has(.wc-bubble.peek) .wc-bubble:not(.peek) { opacity: 0; } body.no-wave-comments :is(.wave-comments, .wc-bubble), body.zen :is(.wave-comments, .wc-bubble) { display: none; } .time { width: 100%; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; } .counts { opacity: 0.8; } .to-drop { display: inline-flex; align-items: center; gap: 0.2em; margin-right: auto; padding: 0.05em 0.6em; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--fg); font-size: inherit; } .to-drop svg { width: 0.9em; height: 0.9em; } .to-drop:hover { border-color: var(--card-accent, var(--accent)); color: var(--card-accent, var(--accent)); } .actions { position: absolute; right: 0.8rem; bottom: 16vh; display: flex; flex-direction: column; gap: 0.7rem; } /* A round button with a small count or label under it. */ .act { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 0; border: none; background: none; border-radius: 0; text-decoration: none; font-size: 0.7rem; color: var(--fg); } .act .ring { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.16); transition: background var(--fast), transform var(--fast); } .act:hover .ring { background: rgba(255, 255, 255, 0.2); } .act:active .ring { transform: scale(0.9); } .act .n { text-shadow: 0 1px 4px #000; min-height: 1em; } .act svg { width: 1.3rem; height: 1.3rem; } .act.like.on .ring { color: var(--card-accent); background: color-mix(in oklab, var(--card-accent) 22%, transparent); } .act.like.pop svg { animation: pop 0.35s ease; } .act.like.pop .ring { animation: ring-out 0.5s ease-out; } @keyframes ring-out { from { box-shadow: 0 0 0 0 color-mix(in oklab, var(--card-accent) 70%, transparent); } to { box-shadow: 0 0 0 1rem transparent; } } @keyframes pop { 50% { transform: scale(1.4); } } /* Feedback overlays ------------------------------------------------------ */ .flash { position: absolute; z-index: 2; top: 50%; left: 50%; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; border-radius: 50%; background: #000a; display: grid; place-items: center; pointer-events: none; animation: flash 0.6s ease forwards; } .flash svg { width: 2.4rem; height: 2.4rem; } @keyframes flash { from { opacity: 1; transform: scale(0.7); } to { opacity: 0; transform: scale(1.3); } } .burst { position: absolute; z-index: 3; width: 6rem; height: 6rem; margin: -3rem 0 0 -3rem; color: var(--card-accent); pointer-events: none; filter: drop-shadow(0 6px 20px color-mix(in oklab, var(--card-accent) 55%, transparent)); animation: burst 0.8s cubic-bezier(.2, .9, .3, 1.3) forwards; } @keyframes burst { 0% { opacity: 0; transform: scale(0.3) rotate(var(--tilt)); } 25% { opacity: 1; transform: scale(1.15) rotate(var(--tilt)); } 60% { opacity: 1; transform: scale(1) rotate(var(--tilt)); } 100% { opacity: 0; transform: translateY(-3rem) scale(0.9) rotate(var(--tilt)); } } #toast { position: fixed; z-index: 40; left: 50%; /* Above the up-next pill. */ bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 3.4rem); transform: translate(-50%, 1rem); padding: 0.6em 1.1em; border-radius: 999px; background: #222e; border: 1px solid #ffffff22; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: calc(100vw - 2rem); overflow-wrap: anywhere; text-align: center; } #toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.has-action { pointer-events: auto; display: flex; align-items: center; gap: 0.8rem; } #toast button { border: none; padding: 0.2em 0.7em; background: var(--fg); color: #000; font-weight: 700; font-size: 0.8rem; } #toast:not(.show) button { pointer-events: none; } /* What plays next, at the bottom; a tap skips to it. */ #up-next { position: fixed; z-index: 6; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: min(24rem, calc(100vw - 2rem)); display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0.9rem 0.3rem 0.3rem; border: none; background: #0008; backdrop-filter: blur(12px); text-align: left; animation: rise 0.35s var(--ease-out); opacity: 0.85; transition: opacity var(--fast); } #up-next:hover { opacity: 1; } /* Phones redo a backdrop blur on every frame the card under it pulses: a denser fill instead. */ @media (pointer: coarse) { #mode-tabs { backdrop-filter: none; background: rgba(28, 28, 32, 0.72); } #up-next { backdrop-filter: none; background: #000b; } } .up-next-avatar { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; background: #222 center / cover no-repeat; } .up-next-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; } .up-next-text small { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); } .up-next-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.85rem; } #up-next > svg { flex: none; width: 1rem; height: 1rem; color: var(--muted); } body.zen #up-next { display: none; } #feed-status { position: fixed; z-index: 5; left: 50%; bottom: max(6rem, calc(env(safe-area-inset-bottom) + 5rem)); transform: translateX(-50%); width: min(26rem, calc(100vw - 2rem)); margin: 0; color: var(--muted); text-align: center; pointer-events: none; } #feed:empty + #feed-status { bottom: 50%; } #start { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: var(--scrim); cursor: pointer; } .start-play { width: 6rem; height: 6rem; padding: 0; display: grid; place-items: center; border: none; background: var(--accent); color: #000; box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); animation: beckon 1.8s ease-out infinite; } .start-play svg { width: 2.6rem; height: 2.6rem; } @keyframes beckon { to { box-shadow: 0 0 0 2rem transparent; } } .start-track { margin: 0.4rem 0 0; font-weight: 700; font-size: 1.1rem; text-align: center; padding: 0 1rem; } .start-hint { margin: 0; color: var(--muted); font-size: 0.85rem; } /* First visit: the overlay is the welcome, and the logo and the way to sign in show. */ .start-logo, .start-welcome { display: none; } #start.welcome .start-logo { display: flex; align-items: center; gap: 0.3em; margin: 0 0 1rem; font-size: 2rem; } .start-logo svg { width: 1em; height: 1em; } .start-logo b { color: var(--accent); } #start.welcome .start-welcome { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; position: absolute; bottom: max(1.5rem, env(safe-area-inset-bottom)); max-width: 32rem; padding: 0 1.2rem; text-align: center; cursor: default; } .start-welcome a { color: inherit; } /* A guest's account button says what it is for. */ .avatar-btn.guest { width: auto; padding: 0 0.9rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; color: var(--fg); } /* Radio sheet: a bottom sheet on phones, a centred box elsewhere. */ #station { position: fixed; inset: 0; z-index: 26; display: grid; place-items: center; padding: 1rem; background: var(--scrim); animation: fade 0.2s ease; } .station-box { position: relative; width: min(26rem, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius-l); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; animation: rise 0.35s var(--ease-out); } @keyframes rise { from { transform: translateY(2rem); opacity: 0; } } #station-back { align-self: flex-start; } #station-close { position: absolute; top: 0.8rem; right: 0.8rem; } .icon-btn { width: 2.2rem; height: 2.2rem; padding: 0; display: grid; place-items: center; } .icon-btn svg { width: 1rem; height: 1rem; } .station-head { display: flex; gap: 1rem; align-items: center; } .station-head h2 { margin: 0; font: 800 1.4rem/1.1 var(--font-display); overflow-wrap: anywhere; } .station-kicker { margin: 0 0 0.2rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); } #station-sub { margin: 0.3rem 0 0.4rem; color: var(--muted); font-size: 0.85rem; } #station-tags { justify-content: flex-start; } #station-tags span { background: rgba(255, 255, 255, 0.12); } .station-avatar { flex: none; width: 5.5rem; height: 5.5rem; border-radius: 50%; display: grid; place-items: center; background: #222 center / cover no-repeat; box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 60%, transparent), 0 10px 30px #000a; } .station-avatar .initial { font-size: 2rem; } .station-avatar.small { width: 3.4rem; height: 3.4rem; box-shadow: none; } .station-avatar.small .initial { font-size: 1.2rem; } .station-box h3 { margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); } #station-neighbours { list-style: none; margin: 0 -1.4rem; padding: 0 1.4rem 0.3rem; display: flex; gap: 0.7rem; overflow-x: auto; scrollbar-width: none; color: var(--muted); font-size: 0.85rem; } #station-neighbours li { animation: fade 0.5s ease; } #station-neighbours button { width: 4.2rem; padding: 0; border: none; background: none; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--fg); } #station-neighbours button > span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } #station-neighbours button:hover .station-avatar { box-shadow: 0 0 0 2px var(--accent); } #station-exploring { margin: 0; color: var(--muted); font-size: 0.85rem; animation: breathe 1.4s ease-in-out infinite; } @keyframes breathe { 50% { opacity: 0.35; } } button.primary { background: var(--accent); border: none; color: #111; font-weight: 600; padding: 0.7em 1.2em; display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; } button.primary svg { width: 1em; height: 1em; } button.primary:disabled { opacity: 0.35; cursor: default; } /* The end of an artist radio, over its last card. */ #radio-end { position: fixed; z-index: 6; left: 50%; bottom: max(6rem, calc(env(safe-area-inset-bottom) + 5rem)); transform: translateX(-50%); width: min(24rem, calc(100vw - 2rem)); padding: 1rem; border-radius: var(--radius-m); background: var(--panel); border: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; text-align: center; animation: rise 0.35s var(--ease-out); } #radio-end p { flex-basis: 100%; margin: 0 0 0.3rem; color: var(--muted); font-size: 0.9rem; } @keyframes fade { from { opacity: 0; } } .help-box h2 { margin: 0 0 0.8rem; } .help-box dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; margin: 0; } .help-box dt { font-family: ui-monospace, monospace; font-size: 0.85rem; color: var(--accent); } .help-box dd { margin: 0; } .help-box p { color: var(--muted); font-size: 0.85rem; margin: 1rem 0; } .help-box button { width: 100%; background: var(--accent); border: none; color: #fff; padding: 0.6em; font-weight: 600; } @media (hover: hover) and (pointer: fine) { .touch-only { display: none !important; } } @media not ((hover: hover) and (pointer: fine)) { .pointer-only { display: none !important; } } /* Sign-in ---------------------------------------------------------------- */ #login { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 1rem; background: radial-gradient(60rem 40rem at 20% 10%, #a5d60120, transparent 60%), radial-gradient(50rem 40rem at 90% 90%, #a5d6010c, transparent 60%), #050507; } .login-box { width: min(24rem, 100%); display: flex; flex-direction: column; gap: 0.9rem; } .login-box h1 { margin: 0; font-size: 2.4rem; display: flex; align-items: center; gap: 0.3em; } .login-box h1 b { color: var(--accent); } /* A wheel up: the plate is pulled back once, then rests. */ .login-mark { width: 1.2em; height: 1.2em; color: var(--accent); flex: none; animation: wheel-up 1.1s 0.3s cubic-bezier(0.3, 0, 0.2, 1) both; } @keyframes wheel-up { from { transform: rotate(0); } to { transform: rotate(-720deg); } } .tagline { margin: 0 0 0.8rem; color: var(--muted); } .login-box form { display: flex; flex-direction: column; gap: 0.6rem; } .login-box label { color: var(--muted); font-size: 0.9rem; } .login-box input { padding: 0.7em 0.9em; border-radius: 10px; border: 1px solid var(--line-strong); background: #111; } #code { font-family: ui-monospace, monospace; font-size: 1.4rem; letter-spacing: 0.5em; text-align: center; } .login-box button[type=submit] { background: var(--accent); border: none; color: #fff; padding: 0.7em; font-weight: 600; } /* Listening without an account comes first; signing in is the quieter way below. */ .login-box .or { margin: 0; color: var(--muted); font-size: 0.85rem; } .login-box button[disabled] { opacity: 0.6; cursor: wait; } .login-links { display: flex; justify-content: space-between; } .login-box label.check { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--fg); cursor: pointer; } .check input { margin-top: 0.2rem; accent-color: var(--accent); } .check small { display: block; margin-top: 0.2rem; color: #aaa; font-size: 0.75rem; line-height: 1.4; } #login-cancel { align-self: center; } .link { background: none; border: none; padding: 0; color: var(--muted); text-decoration: underline; font-size: 0.85rem; } #login-error { margin: 0; min-height: 1.2em; color: var(--accent); font-size: 0.9rem; } .fineprint { margin: 0; color: #aaa; font-size: 0.75rem; } /* Phones ----------------------------------------------------------------- */ @media (max-width: 640px) { /* Logo and buttons on one row, the feed tabs on their own below. */ #bar { grid-template-columns: 1fr auto; gap: 0.5rem 0.4rem; padding-left: 0.7rem; padding-right: 0.7rem; } #mode-tabs, #mode-chip { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 100%; overflow-x: auto; scrollbar-width: none; } /* Phones have volume buttons; the bar has no room. */ #volume { display: none; } .logo-pl8 { display: none; } #discovery-options { top: calc(max(0.6rem, env(safe-area-inset-top)) + 5.8rem); } #active-filters { top: calc(max(0.6rem, env(safe-area-inset-top)) + 8.5rem); } body:has(#discovery-options[hidden]) #active-filters { top: calc(max(0.6rem, env(safe-area-inset-top)) + 5.8rem); } #station { place-items: end stretch; padding: 0; } .station-box { width: 100%; border-radius: var(--radius-l) var(--radius-l) 0 0; padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); } .sheet { top: auto; left: 0; width: 100%; max-height: 85dvh; border-left: none; border-top: 1px solid var(--line-strong); border-radius: var(--radius-l) var(--radius-l) 0 0; padding-top: 0.4rem; padding-bottom: max(1.2rem, env(safe-area-inset-bottom)); animation-name: sheet-up; transition: transform 0.25s var(--ease-out); } .sheet.dragging { transition: none; } @keyframes sheet-up { from { transform: translateY(100%); } } .sheet-handle { display: block; flex: none; align-self: stretch; height: 1.6rem; margin: 0 -1.3rem -0.4rem; touch-action: none; cursor: grab; } .sheet-handle::before { content: ""; display: block; width: 2.6rem; height: 0.3rem; margin: 0.55rem auto 0; border-radius: 999px; background: #fff5; } .content { width: calc(100vw - 2rem); margin-bottom: 6.5rem; gap: 0.6rem; } .actions { right: auto; left: 50%; bottom: max(0.8rem, env(safe-area-inset-bottom)); transform: translateX(-50%); flex-direction: row; gap: 0.7rem; } #up-next { bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 4.6rem); } #toast { bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 8rem); } } @media (max-width: 640px) and (max-height: 700px) { .art { width: min(13rem, 27dvh, 55vw); margin-bottom: 0.15rem; } .content { gap: 0.3rem; margin-top: 4rem; } .wave-wrap { margin-top: 0; } .wave { height: 48px; } .desc { display: none; } } /* Zen: nothing but the drop, bigger, and the music. */ body.zen #bar, body.zen .actions, body.zen .chips, body.zen .desc, body.zen .counts, body.zen .why, body.zen .byline button, body.zen #feed-status { display: none; } body.zen .art { width: min(30rem, 62vh, 86vw); } body.zen .content { gap: 0.3rem; } /* Desktop ---------------------------------------------------------------- */ /* The card grows with the window, so a big screen is not a phone layout lost in the middle of it. --u is a rem that grows with the window: 1rem at 1280x800, 1.5rem around 2000x1100, at most 1.6rem; the shorter side decides. */ @media (min-width: 900px) and (pointer: fine) { #bar { padding: 1rem 1.6rem; } .logo { font-size: 1.1rem; } #mode-tabs { padding: 0.25rem; } #mode-tabs button { font-size: 0.95rem; padding: 0.45em 1.15em; } /* The controls as one glass capsule, a match for the tabs. */ .bar-end { gap: 0.15rem; padding: 0.25rem; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); } .bar-end .icon-btn { width: 2.5rem; height: 2.5rem; background: none; } .bar-end .icon-btn:hover, .bar-end .icon-btn[aria-expanded="true"] { background: var(--glass-strong); } .bar-end .icon-btn svg { width: 1.15rem; height: 1.15rem; } .avatar-btn { width: 2.5rem; height: 2.5rem; margin-left: 0.2rem; } #volume { margin: 0 0.5rem 0 0; gap: 0.2rem; } .card { --u: clamp(1rem, min(2.667vh - 0.33rem, 1.111vw + 0.11rem), 1.6rem); /* Above the true middle, where the eye puts it, and clear of up next. */ padding-bottom: 4vh; } .content { width: min(calc(30 * var(--u)), 56vw); gap: calc(0.6 * var(--u)); } .art { width: min(calc(16 * var(--u)), 46vh); margin-bottom: calc(1.2 * var(--u)); } .title { font-size: calc(1.75 * var(--u)); } .why { font-size: 0.8rem; } .byline { gap: 0.6rem; font-size: 1.1rem; } .artist-avatar { width: 2rem; height: 2rem; font-size: 0.85rem; } .pill { font-size: 0.85rem; padding: 0.3em 0.9em 0.3em 0.7em; } .chips { gap: 0.5rem; } .chips span { font-size: 0.85rem; padding: 0.2em 0.75em; } .desc { font-size: 0.95rem; } .wave-wrap { margin-top: calc(0.8 * var(--u)); } .wave { height: calc(4 * var(--u)); } .time { font-size: 0.85rem; } /* The actions beside the content, not lost at the edge of the screen. */ .actions { top: calc(50% - 2vh); bottom: auto; right: auto; left: min(calc(50% + min(calc(15 * var(--u)), 28vw) + 2.5rem), calc(100% - 5rem)); translate: 0 -50%; gap: 1rem; } .act { gap: 0.3rem; font-size: 0.75rem; } .act .ring { width: 3.5rem; height: 3.5rem; background: var(--glass); box-shadow: inset 0 0 0 1px #ffffff14; backdrop-filter: blur(10px); } .act:hover .ring { background: var(--glass-strong); } .act svg { width: 1.5rem; height: 1.5rem; } #up-next { bottom: 1.6rem; max-width: 28rem; gap: 0.75rem; padding: 0.4rem 1.2rem 0.4rem 0.4rem; } .up-next-avatar { width: 2.6rem; height: 2.6rem; } .up-next-title { font-size: 0.95rem; } #toast { bottom: 6rem; } body.zen .art { width: min(40rem, 70vh); } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } /* Comment bubbles stay for their time instead of flashing past. */ .wc-in { animation: none; } .wc-bubble::before { display: none; } } /* Color belongs to the artist; controls keep their own clear spacing. */ .title { font-family: var(--font-display); line-height: 1.08; } .card.liquid .art { margin-bottom: 2rem; } .byline { gap: 0.6rem; row-gap: 0.65rem; } .bar-end { gap: 0.45rem; } .bar-end .icon-btn, .avatar-btn { flex-shrink: 0; border-radius: 50%; } #discovery-options { top: 4.8rem; } #active-filters { top: 7.8rem; } .time { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.75rem 0.5rem; } .time .cur { grid-column: 1; grid-row: 1; justify-self: start; } .time .counts { grid-column: 2; grid-row: 1; text-align: center; overflow-wrap: anywhere; } .time .dur { grid-column: 3; grid-row: 1; justify-self: end; } .time .to-drop { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin: 0.25rem 0 0; min-width: 8rem; min-height: 44px; justify-content: center; padding: 0.5rem 1.5rem; font: 600 1rem/1.2 var(--font); border-radius: 999px; background: color-mix(in oklab, var(--card-accent) 18%, #111); border-color: color-mix(in oklab, var(--card-accent) 65%, #555); color: var(--fg); } .time .to-drop:hover { background: color-mix(in oklab, var(--card-accent) 35%, #111); color: var(--fg); } @media (max-width: 640px) { .bar-end { gap: 0.45rem; } .bar-end .icon-btn, .avatar-btn { width: 2.75rem; height: 2.75rem; } .art { width: min(14rem, 29dvh, 58vw); } .card.liquid .art { margin-bottom: 1.5rem; } .content { margin-top: 2.5rem; } #discovery-options { top: calc(max(0.6rem, env(safe-area-inset-top)) + 6.4rem); gap: 0.75rem; } #active-filters { top: calc(max(0.6rem, env(safe-area-inset-top)) + 9.2rem); } } @media (max-width: 640px) and (max-height: 700px) { .art { width: min(9rem, 21dvh, 48vw); } .card.liquid .art { margin-bottom: 1rem; } .content { gap: 0.25rem; } } /* Chart selectors occupy a third header row on phones. */ @media (max-width: 640px) { body:has(#discovery-options:not([hidden])) .content { margin-top: 7rem; } body:has(#discovery-options:not([hidden])) .art { width: min(12rem, 25dvh, 52vw); } } @media (max-width: 640px) and (max-height: 700px) { body:has(#discovery-options:not([hidden])) .art { width: min(8rem, 18dvh, 44vw); } } /* pl8list brand controls; artist accents remain local to each track. */ #mode-tabs button[aria-pressed="true"] { background: var(--accent); color: #111; } .login-box button[type=submit], .help-box button { color: #111; } button.primary:hover, .login-box button[type=submit]:hover { background: var(--accent-hover); } .link.danger, #login-error { color: var(--danger); } button.danger:not(.link) { background: var(--danger); color: #111; } /* One listening console, aligned to the waveform on every screen. */ .content .actions { position: relative; inset: auto; translate: none; transform: none; width: 100%; display: grid; grid-template-columns: 1fr 1fr 1.6fr 1fr 1fr; align-items: center; gap: 0.5rem; margin-top: 0.75rem; padding: 0.75rem; border: 1px solid var(--line); border-radius: 16px; background: #141416d9; backdrop-filter: blur(16px); } .content .act { min-width: 0; min-height: 56px; justify-content: center; gap: 0.25rem; border-radius: 8px; } .content .act .ring { width: 2rem; height: 2rem; background: none; box-shadow: none; border: none; backdrop-filter: none; } .content .act:hover { background: var(--glass); } .content .act.like.on { color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); } .content .act.like.on .ring { color: inherit; background: none; } .content .actions .to-drop { margin: 0; min-width: 0; min-height: 48px; padding: 0.5rem; border-radius: 10px; background: var(--accent); border: 1px solid transparent; color: #111; justify-content: center; font: 600 1rem/1.2 var(--font); } .content .actions .to-drop:hover { background: var(--accent-hover); } .content .actions .to-drop:disabled { background: #292b28; border-color: var(--line); color: var(--muted); cursor: default; } .content .time { gap: 0.5rem; } .byline .pill { min-height: 32px; padding: 0.3rem 0.7rem; border-radius: 8px; border-color: var(--line); background: #ffffff09; } body.zen .content .actions { display: none; } @media (min-width: 900px) and (pointer: fine) { .art { width: min(calc(14 * var(--u)), 35vh); } .content { gap: 0.65rem; } } @media (max-width: 640px) { .content { margin-bottom: 4.5rem; } .content .actions { padding: 0.45rem; gap: 0.25rem; margin-top: 0.5rem; } #up-next { bottom: max(0.8rem, env(safe-area-inset-bottom)); } #toast { bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 4.6rem); } }