/* Brown Noise site. Walnut and brass, from design/board.html. No framework, no build step. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url(/fonts/bricolage-800.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-700.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url(/fonts/figtree-400.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url(/fonts/figtree-600.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-500.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --espresso: #120d0a;
  --walnut: #1c1410;
  --walnut-2: #2a1e17;
  --walnut-3: #3a2a20;
  --line: #3d2d23;
  --bone: #f1e5d6;
  --dust: #b5a395;
  --brass: #c99b5f;
  --brass-hi: #e8c590;
  --c-brown: #a8693c;
  --c-pink: #e3a0a6;
  --c-green: #8fae86;
  --c-white: #ece6dd;
  --tint: #a8693c;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--espresso); color: var(--bone); font: 17px/1.6 var(--body); margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #f5dcb0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; line-height: 1.08; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--espresso); padding: 8px 14px; border-radius: 99px; z-index: 10; }
.skip:focus { left: 12px; }
.eyebrow { font: 500 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; }
.dim { color: var(--dust); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

/* Old plain pages (privacy, terms): same look, content untouched. */
body > main:not([id]) { max-width: 700px; margin: 0 auto; padding: 48px 16px 80px; }
body > main:not([id]) h1 { font-size: clamp(32px, 6vw, 44px); margin-bottom: 8px; }
body > main:not([id]) h2 { font-size: 22px; margin: 32px 0 8px; }
body > main:not([id]) p.dim { margin-bottom: 24px; }
body > main:not([id])::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 11px; background: url(/img/icon-192.png) center/cover; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(18, 13, 10, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(61, 45, 35, 0.6); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand b { color: var(--c-brown); font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--dust); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 99px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bone); background: var(--walnut-2); }
.site-nav a.nav-cta { background: var(--brass); color: var(--espresso); margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--brass-hi); }
@media (max-width: 640px) {
  .site-nav .nav-wide { display: none; }
  .site-nav a { padding: 9px 11px; font-size: 14.5px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
}
@media (max-width: 400px) {
  .site-nav .nav-x { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 99px; font: 600 16px/1.2 var(--body); text-decoration: none; border: 0; cursor: pointer; }
.btn-brass { background: var(--brass); color: var(--espresso); }
.btn-brass:hover { background: var(--brass-hi); color: var(--espresso); }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px var(--walnut-3); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--bone); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 22px 9px 16px; border-radius: 16px; text-decoration: none; text-align: left; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.store b { display: block; font: 700 18px/1.15 var(--display); letter-spacing: -0.01em; }
.store-play { background: var(--bone); color: var(--espresso); }
.store-play:hover { background: #fff7ec; color: var(--espresso); }
.store-play small { color: #5a4535; }
.store-ios { background: transparent; color: var(--dust); box-shadow: inset 0 0 0 1.5px var(--walnut-3); cursor: default; }
.store-ios small { color: var(--dust); }
.store-ios b { color: var(--bone); }

/* ---------- home hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,10,0.97) 0%, rgba(18,13,10,0.86) 45%, rgba(18,13,10,0.55) 100%), url(/img/photo-lamp-wood.webp) right 30% / cover no-repeat; opacity: 0.9; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brass-hi); }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--dust); max-width: 34ch; margin-bottom: 28px; }
.hero .stores { margin-bottom: 22px; }
.hero-listen { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); font-weight: 600; text-decoration: none; }
.hero-listen .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--walnut-2); box-shadow: inset 0 0 0 1.5px var(--brass); display: grid; place-items: center; }
.hero-listen .dot::after { content: ""; border-left: 10px solid var(--brass-hi); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.hero-listen:hover { color: var(--brass-hi); }
.hero-shot { justify-self: center; width: min(330px, 100%); border-radius: 28px; overflow: hidden; box-shadow: 0 0 0 1px #3b2d24, 0 30px 80px rgba(0,0,0,0.6); rotate: 2deg; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 56px; gap: 40px; }
  .hero::before { background: linear-gradient(180deg, rgba(18,13,10,0.9) 0%, rgba(18,13,10,0.8) 60%, rgba(18,13,10,1) 100%), url(/img/photo-lamp-wood.webp) center 30% / cover no-repeat; }
  .hero-shot { width: min(260px, 72%); rotate: 0deg; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { padding-top: 0; }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.sec-head p { color: var(--dust); font-size: 18px; margin: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--walnut); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--dust); margin: 0; font-size: 16px; }
.card .k { font: 500 12px var(--mono); color: var(--brass); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.fix-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--walnut-2); display: grid; place-items: center; margin-bottom: 16px; }
.fix-icon svg { width: 24px; height: 24px; stroke: var(--brass-hi); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.colors { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.color { border-radius: 18px; padding: 20px; background: var(--walnut); border: 1px solid var(--line); position: relative; overflow: hidden; }
.color::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ch); }
.color h3 { font-size: 19px; margin-bottom: 6px; }
.color p { color: var(--dust); font-size: 15.5px; margin: 0; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--walnut-3) transparent; }
.shots figure { flex: 0 0 min(240px, 62vw); margin: 0; scroll-snap-align: start; }
.shots img { border-radius: 18px; border: 1px solid var(--line); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.plan { border-radius: 20px; padding: 26px; background: var(--walnut); border: 1px solid var(--line); }
.plan.pro { background: linear-gradient(180deg, #2a1e17, #1c1410); border-color: #5c4433; }
.plan h3 { font-size: 24px; margin-bottom: 4px; }
.plan .price { font: 500 14px var(--mono); color: var(--brass-hi); margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); rotate: -45deg; }
.faq { max-width: 760px; display: grid; gap: 10px; }
.faq details { background: var(--walnut); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font: 700 18px/1.3 var(--display); padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 500 24px var(--mono); color: var(--brass); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--dust); margin: 0 0 18px; }
.band { background: var(--walnut); border-block: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-block: 48px; }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 8px; }
.band p { color: var(--dust); margin: 0; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }
.linklist { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); list-style: none; padding: 0; margin: 0; }
.linklist a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--walnut); border: 1px solid var(--line); text-decoration: none; color: var(--bone); font-weight: 600; }
.linklist a:hover { border-color: var(--brass); }
.linklist small { display: block; color: var(--dust); font-weight: 400; font-size: 14.5px; margin-top: 2px; }

/* ---------- article pages ---------- */
.page-head { padding-block: clamp(44px, 7vw, 80px) 8px; }
.page-head h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.02; margin-bottom: 18px; max-width: 18ch; }
.page-head .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--dust); max-width: 60ch; margin: 0; }
.prose { max-width: 700px; padding-block: 28px 64px; }
.prose h2 { font-size: clamp(25px, 3.4vw, 32px); margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brass); }
.prose strong { color: #fff4e6; }
.note { background: var(--walnut); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 14px; padding: 18px 20px; margin: 24px 0; }
.note p:last-child { margin: 0; }
.note.safety { border-left-color: var(--c-pink); }
.quote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--walnut-3); }
.quote p { font: 700 21px/1.3 var(--display); margin: 0 0 6px; }
.quote cite { font-style: normal; color: var(--dust); font-size: 14.5px; }
.src { font-size: 14.5px; color: var(--dust); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--walnut-2); color: var(--bone); text-decoration: none; font-size: 15px; font-weight: 600; }
.toc a:hover { background: var(--walnut-3); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); background: var(--walnut); }
tr:last-child td { border-bottom: 0; }
.study { border-top: 1px solid var(--line); padding: 18px 0; }
.study h3 { margin: 0 0 6px; font-size: 19px; }
.study p { margin: 0 0 6px; }
.tag { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--walnut-2); color: var(--brass-hi); margin-left: 6px; vertical-align: 2px; }
.tag.neg { color: var(--c-pink); }
.end-cta { background: radial-gradient(120% 120% at 0% 0%, #2a1d15, var(--walnut) 60%); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); margin: 48px 0 0; }
.end-cta h2 { margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 34px); }
.end-cta p { color: var(--dust); }
.end-cta .stores { margin-top: 18px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; background: var(--walnut); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 32px); margin: 24px 0; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15.5px; }
.form label small { font-weight: 400; color: var(--dust); }
.form input, .form textarea, .form select { font: 400 16px/1.4 var(--body); color: var(--bone); background: var(--espresso); border: 1px solid var(--walnut-3); border-radius: 12px; padding: 12px 14px; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--brass); outline: none; box-shadow: 0 0 0 3px rgba(201, 155, 95, 0.25); }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brass); }
.form .fine { font-size: 14px; color: var(--dust); margin: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- press ---------- */
.press-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 16px 0 24px; }
.press-grid a { display: grid; gap: 8px; text-decoration: none; color: var(--dust); font-size: 14px; }
.press-grid img { border-radius: 14px; border: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 1.4em; }
.facts dt { font: 500 12px/1.9 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 44px 56px; color: var(--dust); font-size: 15px; }
.site-foot .wrap { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
.site-foot h2 { font: 500 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--dust); text-decoration: none; }
.site-foot a:hover { color: var(--bone); text-decoration: underline; }
.site-foot p { margin: 12px 0 0; max-width: 34ch; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .foot-brand { grid-column: 1 / -1; } }

/* ---------- the web player (/listen): the app's player screen ---------- */
/* Sizes follow src/app/index.tsx and src/constants/theme.ts. */
.listen-top { padding-block: clamp(28px, 5vw, 56px) 0; text-align: center; }
.listen-top h1 { font-size: clamp(34px, 5.4vw, 58px); margin-bottom: 10px; }
.listen-top p { color: var(--dust); font-size: 18px; margin: 0 auto; max-width: 46ch; }
.bn-app { --app-dust: #a8968a; max-width: 480px; margin: 28px auto 0; display: grid; gap: 24px; background: var(--espresso); line-height: 1.3; }
@media (min-width: 560px) {
  .bn-app { padding: 24px 24px 28px; border-radius: 36px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
}
.bn-app p { margin: 0; }
:where(.bn-app button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bn-caps { font: 500 11px/1.3 var(--mono); letter-spacing: 1.2px; color: var(--dust); text-transform: uppercase; }

/* top bar */
.bn-top { display: flex; justify-content: space-between; align-items: center; }
.bn-word { font: 800 21px/1.2 var(--display); letter-spacing: -0.4px; color: var(--bone); }
.bn-word span { color: var(--brass); }
.bn-icons { display: flex; gap: 10px; }
.bn-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--walnut-2); display: grid; place-items: center; transition: opacity 0.12s; }
.bn-icon:hover { background: var(--walnut-3); }
.bn-icon:active { opacity: 0.7; }
.bn-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--bone); stroke-width: 1.8; stroke-linecap: round; }

/* porthole and title */
.bn-hero { display: grid; justify-items: center; gap: 16px; }
.bn-port { width: clamp(180px, calc(100vw - 150px), 250px); aspect-ratio: 1; border-radius: 50%; padding: 3.5%; background: conic-gradient(from 210deg, #7a5532, #e9c48f, #8a6239, #d5ad76, #6e4a2b, #e9c48f, #7a5532); }
@media (min-width: 560px) { .bn-port { width: 250px; } }
.bn-port canvas { display: block; width: 100%; height: 100%; border-radius: 50%; background: #2b1d14; box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6); }
.bn-readout { display: grid; justify-items: center; gap: 4px; text-align: center; }
.bn-title { font: 800 30px/1.15 var(--display); letter-spacing: -0.6px; color: var(--bone); }
.bn-msg { font-size: 14.5px; color: var(--brass-hi); max-width: 34ch; }
.bn-msg:empty { display: none; }

/* transport: timer knob, play, depth knob */
.bn-transport { display: flex; align-items: center; justify-content: space-between; padding-inline: 8px; }
.bn-knob { display: grid; justify-items: center; gap: 2px; min-width: 84px; }
.bn-dial { width: 72px; height: 72px; border-radius: 50%; display: block; transition: opacity 0.12s; }
.bn-dial:active { opacity: 0.8; }
.bn-dial svg { width: 72px; height: 72px; display: block; overflow: visible; }
.bn-dial .arc-bg { stroke: #3a2a20; stroke-width: 3; fill: none; stroke-linecap: round; }
.bn-dial .arc { stroke: var(--brass); stroke-width: 3; fill: none; stroke-linecap: round; }
.bn-dial .tick { stroke: var(--brass-hi); stroke-width: 3; stroke-linecap: round; transition: transform 0.3s; transform-origin: 36px 36px; }
.bn-klabel { display: flex; align-items: center; gap: 4px; font: 500 10px/1.4 var(--mono); letter-spacing: 1px; color: var(--dust); text-transform: uppercase; }
.bn-kval { font: 500 12px/1.4 var(--mono); color: var(--bone); }
.bn-pro { display: inline-block; border: 1px solid var(--brass); border-radius: 99px; padding: 0 5px; font: 500 8.5px/1.6 var(--mono); letter-spacing: 1px; color: var(--brass); }
.bn-play { position: relative; width: 96px; height: 96px; flex: none; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #f0cf9b 0%, var(--brass) 55%, #8d6435 100%); box-shadow: 0 8px 16px rgba(201, 155, 95, 0.35), 0 0 32px rgba(201, 155, 95, 0.18); display: grid; place-items: center; transition: transform 0.12s; }
.bn-play:active { transform: scale(0.96); }
.bn-play i { display: block; width: 0; height: 0; margin-left: 8px; border-left: 28px solid var(--espresso); border-top: 17px solid transparent; border-bottom: 17px solid transparent; }
.bn-play[aria-pressed="true"] i { margin: 0; width: 27px; height: 32px; border: 0; background: linear-gradient(90deg, var(--espresso) 0 9px, transparent 9px 18px, var(--espresso) 18px 27px); border-radius: 3px; }

/* mixer */
.bn-mixer { border-radius: 22px; padding: 14px 16px 16px; background: #1f1611; border: 1px solid var(--walnut-3); display: grid; gap: 12px; }
.bn-mixhead { display: flex; justify-content: space-between; align-items: center; }
.bn-pill { border: 1px solid var(--brass); border-radius: 99px; padding: 2px 8px; font: 500 9.5px/1.4 var(--mono); letter-spacing: 1px; color: var(--brass); }
.bn-pill:hover { background: rgba(201, 155, 95, 0.1); }
.bn-strips { display: flex; justify-content: space-between; }
.bn-strip { flex: 1; display: grid; justify-items: center; gap: 8px; }
.bn-track { height: 132px; display: flex; gap: 9px; }
.bn-leds { width: 5px; display: flex; flex-direction: column; justify-content: space-between; padding-block: 2px; }
.bn-leds i { display: block; height: 7.6px; border-radius: 2px; background: #2c211a; transition: background-color 0.2s, box-shadow 0.2s; }
.bn-leds i.on { background: var(--ch); box-shadow: 0 0 4px var(--ch); }
.bn-slot { position: relative; width: 44px; height: 100%; touch-action: none; cursor: grab; border-radius: 8px; }
.bn-slot::before { content: ""; position: absolute; left: 19px; top: 0; bottom: 0; width: 6px; border-radius: 9px; background: #0b0806; }
.bn-slot.drag { cursor: grabbing; }
.bn-cap { position: absolute; left: 5px; bottom: calc(var(--v, 0) * 112px); width: 34px; height: 20px; border-radius: 5px; background: #4a3829; border-top: 1px solid #6b5240; box-shadow: 0 3px 4px rgba(0, 0, 0, 0.6); display: grid; place-items: center; transition: bottom 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bn-slot.drag .bn-cap { transition: none; }
.bn-cap i { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ch); }
.bn-name { display: grid; gap: 1px; text-align: center; min-height: 34px; padding: 0 4px; border-radius: 6px; }
.bn-name b { font: 600 12px/1.3 var(--body); color: var(--bone); transition: color 0.2s; }
.bn-name small { font: 500 9px/1.3 var(--mono); color: var(--app-dust); }
.bn-strip.off .bn-name b { color: var(--app-dust); }

/* volume */
.bn-vol { display: flex; align-items: center; gap: 10px; padding-inline: 4px; }
.bn-vol svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--dust); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bn-vol label { flex: none; }
.bn-vol output { flex: none; min-width: 4ch; text-align: right; font: 500 12px var(--mono); color: var(--bone); }
.bn-vol input { --fill: 55%; flex: 1; min-width: 0; -webkit-appearance: none; appearance: none; height: 36px; margin: 0; background: transparent; cursor: pointer; }
.bn-vol input::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--brass) 0 var(--fill), #0b0806 var(--fill) 100%); }
.bn-vol input::-moz-range-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--brass) 0 var(--fill), #0b0806 var(--fill) 100%); }
.bn-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #f0cf9b, var(--brass) 60%, #8d6435); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); border: 0; }
.bn-vol input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #f0cf9b, var(--brass) 60%, #8d6435); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); border: 0; }

/* sleep timer row */
.bn-timerrow { min-height: 56px; border-radius: 22px; padding: 0 16px; background: var(--walnut-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: opacity 0.12s; text-align: left; }
.bn-timerrow:active { opacity: 0.75; }
.bn-timerrow span { font: 600 14px var(--body); color: var(--bone); }
.bn-timerrow b { font: 600 15px var(--body); color: var(--brass-hi); text-align: right; }

/* sheets (timer, depth, Pro notes, tips) */
.bn-sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 480px; max-height: 88vh; overflow: auto; padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; background: var(--espresso); color: var(--bone); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6); }
.bn-sheet[open] { display: grid; gap: 16px; animation: bn-up 0.22s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bn-sheet::backdrop { background: rgba(8, 5, 4, 0.6); }
@keyframes bn-up { from { transform: translateY(24px); } }
.bn-sheethead { display: flex; justify-content: space-between; align-items: center; }
.bn-sheet h2 { font: 700 22px/1.2 var(--display); letter-spacing: -0.3px; }
.bn-sheettext { font-size: 16px; line-height: 1.4; margin: 0; }
.bn-sheetfine { font-size: 14.5px; line-height: 1.4; color: var(--dust); margin: 0; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bn-chip { min-height: 44px; padding: 0 16px; border-radius: 99px; background: var(--walnut-2); font: 600 14px var(--body); color: var(--bone); }
.bn-chip:hover { background: var(--walnut-3); }
.bn-chip[aria-pressed="true"] { background: var(--brass); color: var(--espresso); }
.bn-pronote { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.bn-pronote p { font-size: 15px; line-height: 1.45; }
.bn-pronote .bn-pro { margin-right: 4px; vertical-align: 1px; }
.bn-sheet .stores { gap: 10px; }
.bn-sheet .store { min-height: 52px; padding: 7px 16px 7px 12px; border-radius: 14px; }
.bn-sheet .store b { font-size: 16px; }
.bn-tips { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.4; }
.bn-tips li::marker { color: var(--brass); }

@media (prefers-reduced-motion: reduce) {
  .bn-cap, .bn-dial .tick, .bn-leds i { transition: none; }
  .bn-sheet[open] { animation: none; }
}

.player-tip { text-align: center; color: var(--dust); font-size: 14.5px; margin: 16px auto 0; max-width: 46ch; }
.get-app { max-width: 720px; margin: 40px auto 0; text-align: center; }
.get-app h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.get-app p { color: var(--dust); }
.get-app .stores { justify-content: center; margin-top: 18px; }
noscript p { text-align: center; color: var(--brass-hi); }
