/* Listnbox foundation styles. Module styles live in their own files (catalog.css, social.css, store.css, seller.css, content.css). */
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-300-ext.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-400-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* =========================================================================
   Listnbox. Black frame, a middle a shade lighter, the music is the colour.
   Buttons are square (no rounding). Cards and covers keep a 4px corner.
   ========================================================================= */
:root {
  --base: #000000; --side: #000000; --surface: #121212; --raised: #1c1c1c; --sel: #2a2a2a;
  --frame: #0c0c0c; --line: rgba(255, 255, 255, .06); --line-2: #333333;
  --text: #f5f5f5; --text-2: #b5b5b5; --text-3: #8f8f8f;
  --accent: #a69175; --accent-ink: #111111;
  --wave: #4d4d4d; --wave-hi: #6b6b6b; --wave-played: #f5f5f5;
  --danger: #ff8a7a; --ok: #8be3b6; --warn: #f5c451;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 4px; --r-btn: 0px;
  --side-w: 232px; --top-h: 60px; --player-h: 88px;
  --gutter: 28px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .5);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--text); font: 400 14px/1.45 var(--sans); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
p a, .prose a, .link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.dim { color: var(--text-2); }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }
svg.i.sm { width: 15px; height: 15px; }
svg.i.lg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* scrollbars match the frame */
* { scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2f2f2f; border: 3px solid transparent; background-clip: padding-box; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background-color: #444; }

/* ---------------- buttons (square) ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-btn); background: var(--raised); color: var(--text); font-weight: 500; font-size: 13.5px; white-space: nowrap; transition: background .15s, color .15s, opacity .15s; }
.btn:hover { background: var(--sel); color: var(--text); }
.btn-primary { background: #ffffff; color: #0b0b0b; }
.btn-primary:hover { background: #e2e2e2; color: #0b0b0b; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent); filter: brightness(1.1); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--raised); color: var(--text); }
.btn-line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: var(--raised); }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .35); }
.btn-danger:hover { background: rgba(255, 138, 122, .1); color: var(--danger); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; gap: 6px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-btn); color: var(--text-2); transition: background .15s, color .15s; flex: none; }
.icon-btn:hover { background: var(--raised); color: var(--text); }
.icon-btn.sm { width: 30px; height: 30px; }
.icon-btn.is-on { color: var(--accent); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }
.play-sq { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn); background: #fff; color: #0b0b0b; flex: none; transition: transform .12s, background .15s; }
.play-sq:hover { background: #e6e6e6; }
.play-sq svg.i { width: 18px; height: 18px; }
.play-sq.sm { width: 30px; height: 30px; }
.play-sq.lg { width: 52px; height: 52px; }
.play-sq.lg svg.i { width: 22px; height: 22px; }

/* ---------------- fields ---------------- */
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field > span, .field > label { color: var(--text-2); font-size: 13px; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]), .field textarea, .field select, select.input {
  width: 100%; min-width: 0; height: 42px; padding: 0 12px; border-radius: var(--r); border: 0; background: var(--raised); color: var(--text);
}
.field textarea, textarea.input { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--sel); }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-left: 6px; cursor: pointer; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 12px no-repeat; }
input[type=search]::-webkit-search-cancel-button:hover { opacity: 1; }
.field-hint { color: var(--text-3); font-size: 12.5px; font-style: normal; }
.field-error, .form-error { color: var(--danger); font-size: 13px; margin: 0; font-style: normal; }
.check { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.row-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.form-card { width: 100%; max-width: 1240px; margin: 0 auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.alert { padding: 12px 14px; border-radius: var(--r); background: var(--raised); color: var(--text-2); margin: 0 0 16px; }
.alert.ok { color: var(--ok); }
.alert.err { color: var(--danger); }

/* ---------------- the shell: sidebar | stage, player across the bottom ---------------- */
body.shell { height: 100dvh; overflow: hidden; display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) var(--player-h); grid-template-areas: "side stage" "player player"; }
.side { grid-area: side; display: flex; flex-direction: column; min-height: 0; background: var(--side); }
.stage { grid-area: stage; min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; background: var(--surface); position: relative; container: stage / inline-size; }
.main { min-height: calc(100dvh - var(--player-h) - var(--top-h)); padding: 6px var(--gutter) 40px; outline: none; }
.main.flush { padding-left: 0; padding-right: 0; }
body.is-navigating .main { opacity: .55; transition: opacity .15s .1s; }

/* sidebar */
.side .brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: var(--top-h); padding: 0 10px 0 20px; flex: none; color: var(--text); }
.side .brand-link { display: flex; align-items: center; min-width: 0; color: var(--text); }
.side-toggle { color: var(--text-3); flex: none; }
.side-toggle:hover { color: var(--text); }
.side .brand img { max-height: var(--logo-h, 26px); width: auto; }
.wordmark { font: 600 17px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.side-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 10px 16px; }
.nav-item { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-radius: var(--r); color: var(--text-2); font-size: 13.5px; }
.nav-item:hover { background: var(--raised); color: var(--text); }
.nav-item.is-active { background: var(--sel); color: var(--text); font-weight: 500; }
.nav-item svg.i { width: 17px; height: 17px; }
.nav-item .count { margin-left: auto; color: var(--text-3); font-size: 12px; }
.side-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 20px 0 6px; padding: 0 12px; background: none; border: 0; color: var(--text-3); font: 500 11.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-align: left; cursor: pointer; }
.side-head:hover { color: var(--text-2); }
.side-head svg.i { width: 14px; height: 14px; transition: transform .15s; opacity: .7; }
.side-head[aria-expanded="false"] svg.i { transform: rotate(-90deg); }
.side-group.is-folded { display: none; }
.side-install { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0; background: none; border: 0; color: var(--text-2); font: inherit; cursor: pointer; }
.side-install:hover { color: var(--text); }
.side-install[hidden] { display: none; }
.side-tip { position: fixed; z-index: 120; padding: 6px 10px; border-radius: var(--r); background: #fff; color: #0b0b0b; font-size: 12.5px; font-weight: 500; white-space: nowrap; pointer-events: none; box-shadow: var(--shadow); }
@media (min-width: 861px) {
  html.side-mini { --side-w: 68px; }
  html.side-mini .side .brand { justify-content: center; padding: 0; }
  html.side-mini .side .brand-link { display: none; }
  html.side-mini .side-scroll { padding: 4px 10px 16px; overflow-x: hidden; }
  html.side-mini .nav-item { position: relative; justify-content: center; padding: 0; gap: 0; }
  html.side-mini .nav-item > span, html.side-mini .nav-item .count { display: none; }
  html.side-mini .nav-badge { position: absolute; top: 4px; right: 6px; min-width: 9px; width: 9px; height: 9px; padding: 0; font-size: 0; }
  html.side-mini .side-head { height: 1px; margin: 12px 8px; padding: 0; overflow: hidden; background: var(--line); pointer-events: none; }
  html.side-mini .side-head > * { display: none; }
  html.side-mini .side-group.is-folded { display: block; }
  html.side-mini .side-cta, html.side-mini .side-foot { display: none; }
}
.side-foot { padding: 14px 20px 18px; color: var(--text-3); font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.side-foot a:hover { color: var(--text-2); }
.side-cta { margin: 16px 10px 0; padding: 14px; border-radius: var(--r); background: var(--raised); }
.side-cta p { margin: 0 0 10px; color: var(--text-2); font-size: 12.5px; }

/* top bar: transparent, search in the middle */
.top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(180px, 560px) minmax(max-content, 1fr); align-items: center; gap: 12px; height: var(--top-h); padding: 0 var(--gutter); background: transparent; transition: background .2s; }
.top.is-scrolled { background: rgba(12, 12, 12, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top-l, .top-r { display: flex; align-items: center; gap: 6px; min-width: 0; }
.top-r { justify-content: flex-end; }
.search { position: relative; width: 100%; margin: 0; }
.search > svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 40px; border-radius: var(--r); border: 0; background: var(--raised); color: var(--text); }
.search input::placeholder { color: var(--text-3); }
.search input:focus { outline: none; background: var(--sel); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; max-height: min(70vh, 540px); overflow: auto; padding: 6px; border-radius: var(--r); background: var(--raised); box-shadow: var(--shadow); }
.suggest h4 { margin: 8px 8px 4px; color: var(--text-3); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r); }
.suggest a:hover, .suggest a.is-active { background: var(--sel); }
.suggest img, .suggest .ph { width: 36px; height: 36px; border-radius: 3px; object-fit: cover; flex: none; background: var(--sel); }
.suggest small { display: block; color: var(--text-3); font-size: 12px; }
.cart-btn { position: relative; }
/* The B Side, a side of its own: a link by the cart instead of a menu group. */
.top-side { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: var(--r-btn); color: var(--text); font-size: 13px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.top-side svg.i { width: 16px; height: 16px; color: var(--accent); }
.top-side:hover { background: var(--raised); }
.top-side.is-active { background: var(--text); border-color: var(--text); color: var(--base); }
.top-side.is-active svg.i { color: var(--base); }
.top-side-flag { padding: 1px 5px; background: var(--raised); color: var(--text-3); font-style: normal; font-size: 9.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.top-side.is-active .top-side-flag { background: rgba(0, 0, 0, .12); color: var(--base); }
@media (max-width: 640px) { .top-side { height: 32px; padding: 0 9px; gap: 5px; } .top-side-flag { display: none; } }
@media (max-width: 420px) { .top-side svg.i { display: none; } }
.badge-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 600; line-height: 17px; text-align: center; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--sel); color: var(--text); font-weight: 600; font-size: 12px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.only-mobile { display: none !important; }

/* menus and popovers */
.menu { position: absolute; z-index: 60; min-width: 200px; padding: 6px; border-radius: var(--r); background: var(--raised); box-shadow: var(--shadow); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border-radius: var(--r); color: var(--text-2); text-align: left; font-size: 13.5px; }
.menu a:hover, .menu button:hover { background: var(--sel); color: var(--text); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.menu .menu-head { padding: 8px 10px 6px; color: var(--text); font-weight: 500; }
.menu .menu-head small { display: block; color: var(--text-3); font-weight: 400; }
.drop { position: relative; }

/* page headings */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin: 14px 0 22px; }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.page-head p { margin: 6px 0 0; color: var(--text-2); max-width: 70ch; }
.kicker { color: var(--text-3); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

/* sections: a title row with "See more" and arrows, content under it */
.section { margin: 0 0 38px; }
.section-head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.section-head h2 { font-size: 21px; flex: 1; min-width: 0; }
.section-head h2 a:hover { color: var(--text-2); }
.section-head .see-more { color: var(--text-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.section-head .see-more:hover { color: var(--text); }
.section-head .arrows { display: flex; gap: 2px; }
.section-sub { margin: -8px 0 14px; color: var(--text-3); font-size: 13px; }

/* horizontal rows of cards */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols, 6) - 1) * 16px) / var(--cols, 6)); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 16px; }
@container stage (max-width: 1400px) { .rail { --cols: 5; } }
@container stage (max-width: 1100px) { .rail { --cols: 4; } }
@container stage (max-width: 820px) { .rail { --cols: 3; } }
@container stage (max-width: 560px) { .rail { --cols: 2.3; } }

/* covers */
.cover { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--raised); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover .ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .5); background: linear-gradient(135deg, var(--c1, #2b2b2b), var(--c2, #151515)); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 10px; }
.cover .play-sq { position: absolute; left: 10px; bottom: 10px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.card:hover .cover .play-sq, .cover .play-sq:focus-visible, .cover .play-sq.is-playing { opacity: 1; transform: none; }
.tag { position: absolute; left: 8px; top: 8px; padding: 2px 7px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tag.new { background: #fff; color: #000; }
.tag.excl { background: var(--accent); }
.tag.free { background: var(--ok); color: #062b1a; }
.tag + .tag { top: 32px; }

/* cards */
.card { min-width: 0; }
.card .meta { margin-top: 10px; min-width: 0; }
.card .t { display: block; font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .s { display: block; color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.card .s a:hover, .card .t:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.card .x { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; color: var(--text-3); font-size: 11.5px; }

/* genre tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; place-items: center; height: 64px; padding: 0 14px; border-radius: var(--r); overflow: hidden; background: var(--raised); color: #fff; font-weight: 500; font-size: 13.5px; letter-spacing: .02em; text-align: center; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, var(--g, #444) 0%, color-mix(in srgb, var(--g, #444) 30%, #111) 100%); opacity: .55; transition: opacity .2s; }
.tile img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.tile:hover::before { opacity: .85; }
.tile.big { height: 120px; font-size: 16px; }

/* chips: key, BPM, version */
.key { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 21px; padding: 0 6px; border-radius: 3px; background: color-mix(in srgb, var(--k, #555) 22%, transparent); color: color-mix(in srgb, var(--k, #999) 80%, #fff); font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 3px; background: var(--raised); color: var(--text-2); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.chip.ver { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-3); }
.chip.explicit { background: #3a3a3a; color: #ddd; padding: 0 5px; font-size: 10px; }
a.chip:hover { background: var(--sel); color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* tabs */
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { flex: none; height: 38px; padding: 0 14px; color: var(--text-3); font-size: 13px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs .is-active { color: var(--text); border-bottom-color: var(--text); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pills a, .pills button { height: 30px; padding: 0 12px; border-radius: var(--r-btn); background: var(--raised); color: var(--text-2); font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; }
.pills a:hover, .pills button:hover { background: var(--sel); color: var(--text); }
.pills .is-active { background: #fff; color: #000; }

/* panels */
.panel { background: var(--frame); border-radius: var(--r); padding: 18px; }
.panel h3 { font-size: 16px; margin: 0 0 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--frame); border-radius: var(--r); padding: 16px; }
.stat b { display: block; font: 300 26px/1.1 var(--sans); }
.stat span { color: var(--text-3); font-size: 12.5px; }

/* empty state */
.empty { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; color: var(--text-3); }
.empty h3 { color: var(--text); font-size: 18px; }
.empty p { margin: 0; max-width: 46ch; }

/* error pages (resources/views/errors): centred, thin title, a way home */
.err { display: grid; justify-items: center; gap: 12px; max-width: 620px; margin: 0 auto; padding: clamp(40px, 9vh, 96px) 0 36px; text-align: center; }
.err-code { margin: 0 0 4px; color: var(--text-3); font: 300 clamp(64px, 11vw, 112px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.err h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; text-wrap: balance; }
.err-text { margin: 0; max-width: 52ch; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.err-search { max-width: 460px; margin-top: 10px; }
.err-search input { height: 46px; }
.err-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
body.err-solo { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr; background: var(--surface); padding: 0 16px; }
.err-solo .err-brand { display: block; padding: 22px 4px; color: var(--text); font-size: 15px; }
.err-solo .err { align-self: center; padding-top: 0; padding-bottom: 12vh; }
@media (max-width: 560px) { .err-actions .btn { flex: 1 1 100%; } }

/* pagination */
.pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 26px 0 0; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--r-btn); color: var(--text-2); font-size: 13px; }
.pager a:hover { background: var(--raised); color: var(--text); }
.pager .is-current { background: #fff; color: #000; font-weight: 600; }
.pager .is-disabled { opacity: .35; }

/* footer inside the stage */
.site-foot { margin-top: 40px; padding: 28px 0 34px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; display: grid; gap: 14px; }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a:hover { color: var(--text); }

/* toasts */
.toasts { position: fixed; right: 18px; bottom: calc(var(--player-h) + 16px); z-index: 90; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; max-width: 360px; padding: 12px 16px; border-radius: var(--r); background: #f5f5f5; color: #0b0b0b; font-weight: 500; font-size: 13.5px; box-shadow: var(--shadow); animation: toast-in .2s ease-out; }
.toast.err { background: #3a1512; color: #ffd6d0; }
.toast a { color: inherit; text-decoration: underline; margin-left: 8px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* modal */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .62); display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-width: 460px; max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border-radius: var(--r); background: var(--raised); box-shadow: var(--shadow); }
.modal h2 { font-size: 20px; margin: 0 0 16px; }
.modal .form-actions { justify-content: flex-end; margin-top: 18px; }
.pick-list { display: grid; gap: 2px; max-height: 320px; overflow: auto; margin: 0 -6px; }
.pick-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: var(--r); text-align: left; color: var(--text-2); }
.pick-list button:hover { background: var(--sel); color: var(--text); }

/* ---------------- track lists: one grid for every list on the site ---------------- */
.tl { --cols: 30px 44px minmax(180px, 1.7fr) minmax(110px, 1.1fr) minmax(90px, .8fr) minmax(80px, .7fr) 52px 50px 50px 84px 176px;
      --areas: "n art title wave label genre bpm key time date act"; }
.tl.no-wave { --cols: 30px 44px minmax(200px, 2fr) minmax(110px, 1fr) minmax(90px, .8fr) 52px 50px 50px 84px 176px;
      --areas: "n art title label genre bpm key time date act"; }
.tl-head, .tr { display: grid; grid-template-columns: var(--cols); grid-template-areas: var(--areas); align-items: center; column-gap: 14px; }
.tl-head { height: 34px; padding: 0 10px; color: var(--text-3); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.tl-head a { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.tl-head a:hover, .tl-head a.is-sorted { color: var(--text); }
.tr { position: relative; min-height: 58px; padding: 7px 10px; border-radius: var(--r); transition: background .12s; }
.tr + .tr { box-shadow: 0 -1px 0 var(--line); }
.tr:hover { background: var(--raised); box-shadow: none; }
.tr:hover + .tr { box-shadow: none; }
.tr.is-current { background: var(--sel); }
.c-n { grid-area: n; color: var(--text-3); font-size: 12.5px; text-align: center; font-variant-numeric: tabular-nums; }
.c-art { grid-area: art; position: relative; width: 44px; height: 44px; border-radius: 3px; overflow: hidden; background: var(--sel); }
.c-art img { width: 100%; height: 100%; object-fit: cover; }
.c-art .play-over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .55); color: #fff; opacity: 0; transition: opacity .12s; }
.tr:hover .c-art .play-over, .tr.is-current .c-art .play-over { opacity: 1; }
.c-art .play-over svg.i { width: 18px; height: 18px; }
.c-title { grid-area: title; min-width: 0; }
.c-title .t { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 500; font-size: 13.5px; }
.c-title .t a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.c-title .t .v { color: var(--text-3); font-weight: 400; }
.c-title .t a:hover { text-decoration: underline; text-underline-offset: 2px; }
.c-title .s { color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.c-title .s a:hover { color: var(--text); }
.c-title .m { display: none; gap: 6px; margin-top: 4px; }
.c-wave { grid-area: wave; height: 34px; min-width: 0; cursor: pointer; position: relative; }
.c-wave svg { width: 100%; height: 100%; display: block; }
.c-wave rect { fill: var(--wave); transition: fill .15s; }
.tr:hover .c-wave rect { fill: var(--wave-hi); }
.c-wave .played rect { fill: var(--wave-played); }
.c-wave .nowave { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line-2); }
.c-label { grid-area: label; min-width: 0; color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-genre { grid-area: genre; min-width: 0; color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-label a:hover, .c-genre a:hover { color: var(--text); }
.c-bpm { grid-area: bpm; color: var(--text-2); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: center; }
.c-key { grid-area: key; text-align: center; }
.c-time { grid-area: time; color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; text-align: center; }
.c-date { grid-area: date; color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-act { grid-area: act; display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.tl-head .c-bpm, .tl-head .c-key, .tl-head .c-time { text-align: center; }
.tl-head .c-act { justify-content: flex-end; }
.tl-head .c-art { height: auto; background: none; }
.cl .ci .c-art { grid-area: auto; display: block; }

/* the buy button: price, or download once owned */
.buy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: var(--r-btn); background: var(--raised); color: var(--text); font-size: 12.5px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr:hover .buy { background: var(--sel); }
.buy:hover { background: #fff !important; color: #000; }
.buy.in-cart { background: var(--accent) !important; color: var(--accent-ink); }
.buy.owned { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ok); }
.buy.owned:hover { background: var(--ok) !important; color: #062b1a; }
.buy svg.i { width: 15px; height: 15px; }
.tl .c-act .buy { min-width: 84px; justify-content: center; } /* Free, Get and prices line up, so the heart and plus do too */

@container stage (max-width: 1380px) {
  .tl { --cols: 30px 44px minmax(180px, 1.8fr) minmax(90px, 1fr) minmax(100px, .9fr) 52px 50px 50px 84px 176px; --areas: "n art title wave label bpm key time date act"; }
  .tl .c-genre { display: none; }
}
@container stage (max-width: 1180px) {
  .tl, .tl.no-wave { --cols: 30px 44px minmax(160px, 2fr) minmax(100px, 1fr) 52px 50px 50px 176px; --areas: "n art title label bpm key time act"; }
  .tl .c-wave, .tl .c-date, .tl .c-genre { display: none; }
}
@container stage (max-width: 860px) {
  .tl, .tl.no-wave { --cols: 44px minmax(0, 1fr) 50px 48px 96px; --areas: "art title bpm key act"; }
  .tl .c-n, .tl .c-label, .tl .c-time { display: none; }
  .tl .c-act .icon-btn.opt { display: none; }
}
@container stage (max-width: 560px) {
  .tl, .tl.no-wave { --cols: 44px minmax(0, 1fr) auto; --areas: "art title act"; }
  .tl .c-bpm, .tl .c-key { display: none; }
  .tl .c-title .m { display: flex; }
  .tl-head { display: none; }
  .tr { padding: 7px 4px; }
}

/* compact list (home top 10, side panels) */
.cl { display: grid; }
.cl .ci { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 8px; border-radius: var(--r); }
.cl .ci:hover { background: var(--raised); }
.cl .ci .n { color: var(--text-3); font: 300 18px/1 var(--sans); text-align: center; font-variant-numeric: tabular-nums; }
.cl .ci .c-art { width: 44px; height: 44px; }
.cl .ci .c-art .play-over { opacity: 0; }
.cl .ci:hover .c-art .play-over { opacity: 1; }

/* ---------------- web player (Listncloud style) ---------------- */
.player { grid-area: player; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; gap: 22px; padding: 0 18px; background: var(--frame); border-top: 1px solid var(--line); z-index: 40; }
.player.is-empty .transport, .player.is-empty .np-right > :not(.vol-wrap) { opacity: .4; pointer-events: none; }
.np { display: flex; align-items: center; gap: 12px; min-width: 0; }
.np-art { flex: none; width: 56px; height: 56px; border-radius: var(--r); background: var(--raised); object-fit: cover; display: grid; place-items: center; color: var(--text-3); overflow: hidden; }
.np-art img { width: 100%; height: 100%; object-fit: cover; }
.np-text { min-width: 0; }
.np-title { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-title .v { color: var(--text-3); font-weight: 400; }
.np-sub { display: block; color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-sub a:hover, .np-title:hover { color: var(--text); }
.transport { display: grid; gap: 3px; min-width: 0; }
.ctl { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ctl .play-sq { width: 38px; height: 38px; border-radius: 50%; }
.ctl .play-sq svg.i { transform: translateX(1px); } /* the triangle looks centred in a circle */
.ctl .play-sq.is-playing svg.i, .ctl .play-sq[aria-label=Pause] svg.i { transform: none; }
.ctl .icon-btn { width: 32px; height: 32px; }
.ctl .icon-btn.is-on { color: var(--accent); }
.scrub { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; color: var(--text-3); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.scrub .time-l { text-align: right; }
.wave { position: relative; height: 34px; cursor: pointer; touch-action: none; }
.wave canvas { width: 100%; height: 100%; display: block; }
.wave .hover-time { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 2px 6px; border-radius: 3px; background: var(--text); color: var(--base); font-size: 11px; font-weight: 600; pointer-events: none; white-space: nowrap; }
.wave-marks { position: absolute; inset: 0; pointer-events: none; }
.mark { position: absolute; top: -4px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 999px; background: var(--text); box-shadow: 0 0 0 2px var(--frame); pointer-events: auto; cursor: pointer; transition: transform .12s; }
.mark:hover { transform: scale(1.35); }
.mark-pop { position: absolute; bottom: calc(100% + 12px); transform: translateX(-50%); z-index: 5; width: max-content; max-width: 280px; padding: 8px 10px; border-radius: var(--r); background: var(--raised); box-shadow: var(--shadow); font-size: 12.5px; pointer-events: none; }
.mark-pop b { display: block; font-weight: 600; font-size: 12px; margin-bottom: 2px; }
.np-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.np-right .key, .np-right .chip { flex: none; }
.vol-wrap { display: flex; align-items: center; gap: 4px; }
input.vol { -webkit-appearance: none; appearance: none; width: 96px; height: 18px; margin: 0; padding: 0; background: transparent; cursor: pointer; --v: 100%; }
input.vol:focus { outline: none; }
input.vol:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--accent); }
input.vol:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--accent); }
input.vol::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--text) 0 var(--v), #3a3a3a var(--v) 100%); }
input.vol::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
input.vol::-moz-range-track { height: 4px; border-radius: 4px; background: #3a3a3a; }
input.vol::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--text); }
input.vol::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 999px; background: #fff; }
.preview-note { color: var(--text-3); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }

/* queue panel */
.queue { position: fixed; right: 0; top: 0; bottom: var(--player-h); z-index: 45; width: min(400px, 100vw); display: flex; flex-direction: column; background: var(--frame); border-left: 1px solid var(--line); box-shadow: var(--shadow); }
.queue header { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--top-h); padding: 0 12px 0 18px; }
.queue header h2 { font-size: 18px; }
.queue .q-list { flex: 1; overflow: auto; padding: 0 8px 12px; }
.queue .q-sec { margin: 10px 10px 6px; color: var(--text-3); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.q-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--r); cursor: pointer; }
.q-item:hover { background: var(--raised); }
.q-item.is-current { background: var(--sel); }
.q-item img, .q-item .ph { width: 40px; height: 40px; border-radius: 3px; object-fit: cover; background: var(--sel); }
.q-item .t { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-item .s { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------- responsive shell ---------------- */
@media (max-width: 1100px) {
  :root { --gutter: 20px; }
  .player { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 14px; }
  .np-right .opt { display: none; }
}
@media (max-width: 860px) {
  :root { --side-w: 0px; --gutter: 16px; --player-h: 72px; }
  body.shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "player"; }
  .side { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-100%); transition: transform .2s, visibility .2s; visibility: hidden; }
  body.nav-open .side { transform: none; visibility: visible; box-shadow: var(--shadow); }
  body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 79; background: rgba(0, 0, 0, .55); }
  .only-mobile { display: inline-grid !important; }
  .hide-mobile { display: none !important; }
  .top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
  .top .brand-m { display: inline-flex !important; }
  .player { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 0 10px 0 12px; }
  .transport { position: static; }
  .transport .scrub { position: absolute; left: 0; right: 0; top: -1px; display: block; }
  .transport .scrub .time-l, .transport .scrub .time-r { display: none; }
  .transport .wave { height: 4px; }
  .transport .wave canvas { display: none; }
  .transport .wave .bar { position: absolute; inset: 0; background: var(--line-2); }
  .transport .wave .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--text); width: var(--p, 0%); }
  .ctl .opt { display: none; }
  .np-art { width: 46px; height: 46px; }
  /* phones keep one extra control on the right: the queue */
  .player { grid-template-columns: minmax(0, 1fr) auto auto; }
  .np-right { order: 3; gap: 0; margin-right: -4px; }
  .np-right > :not([data-p=queue]) { display: none !important; }
  .transport { order: 2; }
  .queue { bottom: var(--player-h); }
  .transport .wave-marks { display: none; } /* comment dots sit on a 4px line here: too small to use */
  .side-cta .side-login { display: flex; margin-top: 6px; }
}
@media (min-width: 861px) { .wave .bar { display: none; } .side-cta .side-login { display: none; } }
.top-cta .lbl-short { display: none; }
@media (max-width: 560px) {
  .top-cta { height: 34px; padding: 0 12px; }
  .top-cta .lbl-long { display: none; }
  .top-cta .lbl-short { display: inline; }
  /* suggestions use the whole width of the phone, not just the search box: they hang from the top bar */
  .top .search { position: static; display: flex; align-items: center; }
  .top .search > svg.i { position: relative; left: 12px; top: auto; transform: none; margin-right: -18px; z-index: 1; }
  .top .suggest { left: 8px; right: 8px; top: calc(100% - 4px); max-height: calc(100dvh - var(--top-h) - var(--player-h) - 12px); }
}
/* phones swipe rails, so the arrows only squeeze the section title */
@container stage (max-width: 560px) { .section-head .arrows { display: none; } }
.nav-badge { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: #fff; color: #0b0b0b; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* installable app */
.pwa-help h2 { margin: 0 0 12px; font-weight: 300; }
.pwa-help ol { margin: 0 0 12px; padding-left: 20px; line-height: 1.8; }
html.is-app .top { padding-top: env(safe-area-inset-top); height: calc(var(--top-h) + env(safe-area-inset-top)); }
.lbl-plain { cursor: default; }
