/* The Dark Deck: studio look. Crimson, brass and chrome on warm black. Lean, no images, no frameworks. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  min-height: 100vh; overflow-x: hidden;
  background:
    radial-gradient(70% 45% at 85% -5%, rgba(105, 0, 0, 0.18), transparent 70%),
    radial-gradient(60% 40% at 0% 35%, rgba(174, 180, 191, 0.07), transparent 70%),
    var(--bg);
}
/* film grain: an analogue touch, drawn once as SVG, costs almost nothing */
.grain { position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
main, .top, .foot { position: relative; z-index: 1; width: 100%; max-width: 920px; margin: 0 auto; padding: 0 16px; }
section { margin: 28px 0; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fbf7f1 0%, #c9c2ba 48%, #7d766f 52%, #b8bdc7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brass); }
p { margin: 0 0 14px; }
a { color: var(--brass); text-decoration: none; border-bottom: 1px solid transparent; }
a:hover { border-bottom-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.fine { font-size: 0.85rem; color: var(--muted); }

/* header: chrome plate, shrinks on scroll */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: 14px;
  position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, rgba(11, 9, 8, 0.96), rgba(11, 9, 8, 0.82));
  border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); transition: padding 0.25s ease; }
.top.shrink { padding-top: 6px; padding-bottom: 6px; }
.top.shrink .logo img { width: 20px; height: 20px; }
.top.shrink .logo span { font-size: 0.9rem; }
.top.shrink .nav { display: none; }
.logo { color: var(--text); font-weight: 800; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 10px; border: 0; }
.logo img { width: 34px; height: 34px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(0, 0, 0, 0.5); }
.logo span { text-transform: uppercase; font-size: 0.95rem; }
.by { color: var(--muted); font-size: 0.82rem; margin-left: auto; }
.nav { display: flex; gap: 14px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 0.86rem; padding: 6px 2px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a:focus-visible { color: var(--text); border-bottom-color: var(--red); }
.pill { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); border: 1px solid var(--red); border-radius: 3px; padding: 3px 9px; }
.install { cursor: pointer; font: inherit; color: var(--brass); border-color: var(--brass); background: transparent; }
.cog { min-width: 44px; min-height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text);
  border: 1px solid #4a4f58; background: radial-gradient(circle at 35% 30%, #4a4f58, #0d0a0b 70%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 10px rgba(0, 0, 0, 0.5); }
.cog svg { width: 20px; height: 20px; fill: currentColor; }
.cog:hover { border-color: var(--brass); color: var(--brass); }

/* hero and copy */
.hero { margin-top: 36px; }
.intro p { max-width: 66ch; color: #b8bdc7; }
.card { position: relative; background: linear-gradient(180deg, var(--panel), #0c0a09); border: 1px solid var(--line); border-radius: 6px; padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.45); }
.card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--brass), transparent); opacity: 0.6; }
.about p, .copy p { max-width: 66ch; color: #b8bdc7; }

/* expandable copy: brass plate buttons */
.expand { margin-top: 12px; }
.expand > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 4px;
  color: #0d0a0b; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(180deg, #d6dbe3, #8d939e 55%, #4d535d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 3px 8px rgba(0, 0, 0, 0.4); }
.expand > summary::-webkit-details-marker { display: none; }
.expand > summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
.expand[open] > summary::after { content: "-"; }
.expand > summary:hover, .expand > summary:focus-visible { filter: brightness(1.08); }
.expand[open] > *:not(summary) { margin-top: 12px; }

/* player: a stage like a studio monitor */
.stage { position: relative; border-radius: 4px; overflow: hidden; background: #000; border: 1px solid #1c1a1e; min-height: 150px; display: grid; place-items: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.03); }
.stage canvas, .stage video { width: 100%; height: auto; display: block; }
.stage audio { display: none; }
.empty { color: var(--muted); padding: 40px 16px; margin: 0; }
.transport { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.round { width: 54px; height: 54px; min-width: 54px; min-height: 54px; border-radius: 50%; border: 1px solid #3d0000; cursor: pointer; display: grid; place-items: center; color: #c9ccd4;
  background: radial-gradient(circle at 35% 28%, #ff6a5c, #690000 40%, #6e0d14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 3px #0d0a0b, 0 0 0 4px #4a4f58, 0 8px 18px rgba(105, 0, 0, 0.3); }
.round svg { width: 22px; height: 22px; fill: currentColor; }
.round:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.round.small { width: 44px; height: 44px; min-width: 44px; min-height: 44px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 2px #0d0a0b; }
.scrub { flex: 1 1 280px; min-width: 0; }
.scrub .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; margin-bottom: 6px; }
#now-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
#time { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; font-family: ui-monospace, Consolas, monospace; }
.vol { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.82rem; }
.vol input { width: 110px; }
.ghost { background: linear-gradient(180deg, #1a1518, #0f0b0c); color: var(--text); border: 1px solid #4a4f58; border-radius: 4px; padding: 8px 14px; min-height: 44px; cursor: pointer; font: inherit; font-size: 0.85rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.ghost:hover { border-color: var(--brass); color: var(--brass); }
.ghost.small { padding: 8px 12px; }
.row { margin-top: 14px; }

/* custom range: brass groove, chrome thumb */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 10px 0; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--brass) var(--p, 0%), #1c1a1e var(--p, 0%)); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
input[type="range"]:disabled { opacity: 0.4; cursor: default; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 35% 30%, #c9ccd4, #bdb6ad 45%, #6d665e 100%); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; border: 0; background: radial-gradient(circle at 35% 30%, #c9ccd4, #bdb6ad 45%, #6d665e 100%); }
input[type="range"]::-moz-range-track { background: transparent; }

/* switch: a brass toggle */
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.88rem; color: var(--muted); user-select: none; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.knob { position: relative; width: 46px; height: 24px; border-radius: 99px; background: #1c1a1e; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7); transition: background 0.2s; }
.knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c9ccd4, #b7afa5 60%, #6d665e); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); transition: transform 0.2s; }
.switch input:checked + .knob { background: linear-gradient(90deg, #4d535d, var(--brass)); }
.switch input:checked + .knob::after { transform: translateX(22px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--brass); outline-offset: 3px; }

/* playlist: engraved rows */
.list { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.list li { border-bottom: 1px solid var(--line); }
.list button { width: 100%; min-height: 48px; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; text-align: left; background: none; border: 0; color: var(--text); padding: 12px 6px; font: inherit; cursor: pointer; border-radius: 4px; }
.list button:hover { background: rgba(174, 180, 191, 0.05); }
.list .num { color: var(--red); font-variant-numeric: tabular-nums; font-size: 0.82rem; font-family: ui-monospace, Consolas, monospace; }
.list .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .meta { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
.list button[aria-current="true"] .title { color: var(--brass); font-weight: 700; }

/* upload */
.upform { display: grid; gap: 14px; max-width: 520px; }
.filerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pick { cursor: pointer; border: 1px dashed var(--brass); color: var(--text); border-radius: 4px; padding: 12px 18px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.pick:hover { background: rgba(174, 180, 191, 0.07); }
.btn { justify-self: start; font: inherit; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #c9ccd4; min-height: 44px; border-radius: 4px; padding: 11px 26px; cursor: pointer; border: 1px solid #4a0c12;
  background: linear-gradient(180deg, #8a1414 0%, #690000 48%, #3d0000 52%, #5e0a0a 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 16px rgba(105, 0, 0, 0.3); }
.btn:disabled { opacity: 0.5; cursor: wait; }
.btn.small { padding: 8px 18px; min-height: 44px; }
.bar { height: 8px; border-radius: 99px; background: #1c1a1e; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
#barFill { height: 100%; width: 0; background: linear-gradient(90deg, #4d535d, var(--brass), #dfe3ea); transition: width 0.2s; }
.msg { margin: 0; font-size: 0.92rem; min-height: 1.4em; }
.notice { margin-top: 14px; font-size: 0.86rem; color: #b8bdc7; border-left: 2px solid var(--brass); padding: 8px 12px; background: rgba(174, 180, 191, 0.06); }
.notice:empty { display: none; }
#usage { margin-top: -6px; }

/* labs: a patch bay */
.labs { border-color: #2e2a30; background: linear-gradient(170deg, rgba(174, 180, 191, 0.06), rgba(105, 0, 0, 0.05)), #0f0c0b; }
.lab-tag { font-family: ui-monospace, Consolas, monospace; color: var(--brass); font-size: 0.82rem; margin: 0 0 4px; }
.labs-title { font-size: 1.7rem; color: var(--text); text-transform: none; letter-spacing: -0.02em; }
.lab-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 16px; }
@media (min-width: 640px) { .lab-grid { grid-template-columns: 1fr 1fr; } }
.lab-card { border: 1px solid #2a2226; border-radius: 4px; padding: 16px; background: #090706; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02); }
.lab-card h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.lab-card p { margin: 0 0 6px; color: #b8bdc7; }
.lab-card select { font: inherit; color: var(--text); background: #14100e; border: 1px solid #4a4f58; border-radius: 4px; padding: 10px; min-height: 44px; }
.lab-card .field { display: grid; gap: 4px; color: var(--muted); font-size: 0.86rem; margin: 6px 0; }
.lab-card .opt { min-height: 44px; display: flex; align-items: center; gap: 10px; }
.lab-card .opt input { width: 22px; height: 22px; accent-color: var(--brass); }
.lab-id { font-family: ui-monospace, Consolas, monospace; color: var(--red); font-size: 0.75rem; letter-spacing: 0.12em; }
.lab-state { color: var(--brass) !important; font-size: 0.82rem; }
.lab-options h3 { font-size: 0.92rem; margin: 18px 0 6px; color: var(--muted); }
.labs-list { padding-left: 20px; margin: 10px 0 0; color: #b8bdc7; display: grid; gap: 8px; }
.labs-list li::marker { color: var(--brass); }
.ai-deep { margin-top: 18px; border-top: 1px dashed #2a2226; padding-top: 12px; }
.ai-deep summary { cursor: pointer; color: var(--muted); font-size: 0.84rem; min-height: 44px; display: flex; align-items: center; }
.ai-deep ul { padding-left: 20px; color: #b8bdc7; }

/* AI zone tags */
.tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 3px; padding: 2px 8px; margin-right: 6px; vertical-align: middle; }
.tag.ai { color: var(--brass); border: 1px solid var(--brass); background: rgba(174, 180, 191, 0.08); }
.tag.wait { color: var(--red); border: 1px solid var(--red); background: rgba(105, 0, 0, 0.08); }

/* support and footer */
.donate { border-color: var(--red); background: linear-gradient(180deg, rgba(105, 0, 0, 0.08), transparent), #0f0c0b; }
.donate:not([hidden]) { animation: rise 0.25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; padding-bottom: max(40px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 0.85rem; }
.foot p { margin: 0 0 6px; }
.sig { display: flex; align-items: center; gap: 8px; letter-spacing: 0.04em; }
.sig span { color: var(--text); font-weight: 700; }
.heart { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; background: none; border: 0; padding: 0 2px; font-size: 1rem; cursor: pointer; line-height: 1; filter: grayscale(1) brightness(0.7); transition: transform 0.15s ease, filter 0.15s; }
.heart:hover, .heart:focus-visible, .heart[aria-expanded="true"] { transform: scale(1.15); filter: none; }

/* settings dialog */
.settings { background: #14100e; color: var(--text); border: 1px solid #4a4f58; border-radius: 6px; padding: 0; width: min(92vw, 460px); max-height: 86vh; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7); }
.settings::backdrop { background: rgba(0, 0, 0, 0.65); }
.settings-inner { padding: 22px; display: grid; gap: 14px; }
.settings h2 { font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); margin: 0; }
.settings fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.settings legend { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass); margin-bottom: 6px; padding: 0; }
.opt { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; font-size: 0.94rem; }
.opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brass); flex: none; }
.opt .why { display: block; color: var(--muted); font-size: 0.8rem; }
.settings-actions { display: flex; justify-content: space-between; gap: 10px; }

/* reading and display options */
html[data-text="large"] { font-size: 19px; }
html[data-spacing="relaxed"] body { line-height: 1.9; letter-spacing: 0.02em; word-spacing: 0.08em; }
html[data-font="dyslexic"] body, html[data-font="dyslexic"] h1, html[data-font="dyslexic"] h2 { font-family: Verdana, "Trebuchet MS", Arial, sans-serif; text-align: left; letter-spacing: 0.04em; word-spacing: 0.12em; }
html[data-contrast="high"] { --bg: #000; --panel: #000; --line: #c9ccd4; --text: #c9ccd4; --muted: #e6e6e6; --red: #8a1414; --brass: #d6dbe3; }
html[data-contrast="high"] .card, html[data-contrast="high"] .lab-card { border-width: 2px; }
html[data-contrast="high"] .grain { display: none; }
html[data-focus="on"] .labs, html[data-focus="on"] .ai-zone, html[data-focus="on"] .about, html[data-focus="on"] .copy, html[data-focus="on"] .hero, html[data-focus="on"] .upload, html[data-focus="on"] .nav { display: none; }
html[data-focus="on"] .player { margin-top: 24px; }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
html[data-motion="reduce"] .top { backdrop-filter: none; }
html[data-dock="off"] .dock { display: none !important; }

/* sticky dock: a metal strip */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #2a2421, #0d0b0a); border-top: 1px solid var(--brass); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6); }
.dock[hidden] { display: none; }
.dock-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 0.9rem; }

/* text editor and helpers */
.edit-toggle { position: fixed; left: 12px; bottom: 16px; z-index: 50; min-height: 44px; padding: 10px 18px; border-radius: 4px; border: 1px solid var(--brass); background: #14100e; color: var(--brass); font: inherit; font-weight: 700; cursor: pointer; }
[data-cms].editing { outline: 2px dashed var(--brass); outline-offset: 4px; border-radius: 2px; cursor: text; }
.toast { position: fixed; left: 50%; bottom: 74px; transform: translateX(-50%); z-index: 70; background: #14100e; border: 1px solid var(--brass); border-radius: 4px; padding: 10px 18px; font-size: 0.9rem; }
.draft-banner { position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 40; background: #14100e; border: 1px solid var(--brass); border-radius: 6px; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.draft-banner p { margin: 0; flex: 1 1 220px; font-size: 0.94rem; }
.draft-banner .btn, .draft-banner .ghost { min-height: 44px; }
.drop-overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(8, 6, 5, 0.85); border: 2px dashed var(--brass); pointer-events: none; }
.drop-overlay[hidden] { display: none; }
.drop-overlay p { font-size: 1.6rem; font-weight: 800; color: var(--brass); margin: 0; letter-spacing: 0.08em; text-transform: uppercase; }
.leave-dialog { background: #14100e; color: var(--text); border: 1px solid var(--red); border-radius: 6px; padding: 22px; width: min(92vw, 420px); }
.leave-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.leave-dialog h2 { font-size: 1rem; text-transform: none; letter-spacing: 0; margin: 0 0 8px; color: var(--text); }
.leave-dialog p { color: #b8bdc7; }
.leave-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #c9ccd4; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 0; }

/* owner, archive and BTS pages */
.owner, .archive { max-width: 760px; margin: 0 auto; padding: 24px 16px; position: relative; z-index: 1; }
.owner-h { font-size: 1.6rem; margin: 0 0 8px; }
.owner-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 16px 0; }
.owner-form .field, .field { flex: 1 1 220px; display: grid; gap: 4px; color: var(--muted); font-size: 0.88rem; }
.owner-form input, .lib-card input { font: inherit; color: var(--text); background: #14100e; border: 1px solid #4a4f58; border-radius: 4px; padding: 10px; min-height: 44px; width: 100%; }
.owner section { margin: 24px 0; }
.bar-row { display: grid; grid-template-columns: 9rem 1fr 3rem; gap: 10px; align-items: center; margin: 6px 0; font-size: 0.9rem; }
.bar-track { height: 10px; background: #1c1a1e; border-radius: 99px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--brass)); }
.bar-num { text-align: right; font-variant-numeric: tabular-nums; font-family: ui-monospace, Consolas, monospace; }
.owner-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.owner-table th, .owner-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.lib-card { border: 1px solid #2a2226; border-radius: 4px; padding: 14px; display: grid; gap: 10px; margin-bottom: 12px; background: #0f0c0b; }
.lib-meta { margin: 0; font-size: 0.8rem; color: var(--muted); word-break: break-all; }
.archive-stage { margin-top: 16px; }
.archive-stage video { width: 100%; display: block; }
.bts-list { padding-left: 22px; }
.bts-list li { margin: 4px 0; }
.spotify { border-radius: 8px; }

/* small phones */
@media (max-width: 520px) {
  .card { padding: 18px; }
  .list .meta, .by { display: none; }
  .nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* analogue textures for the decade sections (CSS only) */
.decade-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .decade-grid { grid-template-columns: 1fr 1fr; } }
.decade { position: relative; overflow: hidden; }
.decade > * { position: relative; z-index: 1; }
.decade .era { font-family: ui-monospace, Consolas, monospace; color: var(--text); font-size: 0.78rem; letter-spacing: 0.14em; margin: 0 0 6px; }
.decade h3 { font-size: 1.5rem; margin: 0 0 8px; color: var(--text); }
.decade .placeholder { border: 1px dashed #4a4f58; border-radius: 4px; padding: 14px; background: rgba(10, 5, 5, 0.6); }
.tex-vinyl::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; background: repeating-radial-gradient(circle at 85% 40%, rgba(201,204,212,0.06) 0 1px, transparent 1px 4px), radial-gradient(circle at 85% 40%, #000 0 22%, transparent 23%); }
.tex-tape::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.2; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.5) 0 1px, transparent 1px 3px), linear-gradient(90deg, transparent 0 96%, rgba(201,204,212,0.15) 96% 97%, transparent 97%); }
.tex-cd::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.12; background: conic-gradient(from 200deg at 50% 50%, rgba(201,204,212,0), rgba(201,204,212,0.35), rgba(105,0,0,0.25), rgba(201,204,212,0), rgba(201,204,212,0.3), rgba(201,204,212,0)); }
.tex-gram::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.16; background: radial-gradient(ellipse at 100% 100%, rgba(105,0,0,0.55) 0 18%, transparent 60%), repeating-conic-gradient(from 0deg at 100% 100%, rgba(201,204,212,0.07) 0 2deg, transparent 2deg 9deg); }
