/* The 992 web experience. 992 owns typography, layout, controls and states; an Edition may set only
   its artwork, imagery, copy and an approved accent (--accent), applied by the Edition page later. */
:root {
  --black: #000; --white: #fff; --cobalt: #0647d7; --cobalt-press: #0539b0;
  --bg: var(--black); --fg: var(--white); --fg-2: rgba(255,255,255,.72); --fg-3: rgba(255,255,255,.5);
  --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.28); --error: #ff5b5b; --accent: var(--cobalt);
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; --gutter: 20px; --radius: 2px;
  --ease: cubic-bezier(.3,0,.2,1); color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.screen { min-height: 100svh; padding: max(24px, env(safe-area-inset-top)) var(--gutter) calc(32px + env(safe-area-inset-bottom)); margin: 0 auto; max-width: 560px; }
.screen.narrow { max-width: 420px; }
.mark { display: inline-block; font-weight: 700; font-size: 30px; letter-spacing: .04em; color: var(--cobalt); text-decoration: none; margin-bottom: clamp(28px, 6vh, 56px); }
h1 { font-weight: 700; font-size: clamp(28px, 8vw, 40px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 18px; }
.lead { font-size: 17px; color: var(--fg); margin: 0; }
.hint { font-size: 14px; color: var(--fg-3); margin: 0; }
.stack { display: grid; gap: 16px; }

.field { display: grid; gap: 8px; }
.field > span { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); }
input, textarea, select { font: 400 18px/1.4 var(--font); color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px; width: 100%; -webkit-appearance: none; appearance: none; caret-color: var(--accent); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
input.code { font-size: 28px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }

button { font: 600 13px/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; min-height: 52px; padding: 16px 22px; width: 100%;
  border-radius: var(--radius); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .18s var(--ease), border-color .18s var(--ease); }
a.button { display: flex; align-items: center; justify-content: center; text-decoration: none; font: 600 13px/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; min-height: 52px; padding: 16px 22px; border-radius: var(--radius); }
/* buttons — the 992 three levels (same as site.css): labels always white; cobalt carries fills, borders and rules.
   primary: cobalt fill, white label · secondary: white hairline, white label · quiet (tertiary): underlined text */
button.primary, a.button.primary { background: var(--accent); color: var(--white); border: 1px solid var(--accent); }
button.primary:active, a.button.primary:active { background: var(--cobalt-press); border-color: var(--cobalt-press); }
@media (hover: hover) { button.primary:hover, a.button.primary:hover { background: var(--cobalt-press); border-color: var(--cobalt-press); } }
button.primary:disabled { opacity: .55; cursor: default; }
button.secondary, a.button.secondary { background: transparent; color: var(--fg); border: 1px solid var(--line-2); }
button.secondary:active, a.button.secondary:active { border-color: var(--accent); }
@media (hover: hover) { button.secondary:hover, a.button.secondary:hover { border-color: var(--accent); } }
button.quiet { background: none; border: 0; min-height: 44px; color: var(--fg-2); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; transition: color .18s var(--ease), text-decoration-color .18s var(--ease); }
button.quiet:active { color: var(--fg); text-decoration-color: var(--accent); }
@media (hover: hover) { button.quiet:hover { color: var(--fg); text-decoration-color: var(--accent); } }
.err { color: var(--error); font-size: 15px; min-height: 1.4em; margin: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.after-meta { margin-top: 28px; }
.staff { margin-top: 40px; }
.art { display: block; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)) 24px; aspect-ratio: 1; object-fit: cover; background: #111; }
@media (min-width: 560px) { .art { width: 100%; margin: 0 0 24px; } }
h2 { font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
.tracks { margin: 20px 0 0; padding-left: 1.4em; color: var(--fg-2); font-size: 15px; }
.tracks li { padding: 3px 0; }
.act { margin-top: 32px; }
.chip { display: inline-block; justify-self: start; font-size: 13px; letter-spacing: .04em; border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 999px; margin: 0; }
input.secret { text-transform: uppercase; letter-spacing: .3em; }
.art.blank, .card .blank { aspect-ratio: 1; background: linear-gradient(135deg, #111, #222); }
.player .now { margin-top: 28px; }
.now-title { min-height: 1.55em; }
.scrub { width: 100%; accent-color: var(--accent); margin: 12px 0 4px; height: 28px; padding: 0; border: 0; background: none; box-shadow: none; }
.times { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.controls { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 18px 0 8px; }
button.ctl { width: 56px; min-height: 56px; height: 56px; padding: 0; border-radius: 50%; background: none; border: 0; color: var(--fg); display: grid; place-items: center; }
button.ctl svg { width: 26px; height: 26px; fill: currentColor; }
button.ctl.big { width: 72px; height: 72px; background: var(--fg); color: var(--bg); }
button.ctl.big svg { width: 30px; height: 30px; }
button.ctl:disabled { opacity: .3; cursor: default; }
.tracklist { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.tracklist button { all: unset; box-sizing: border-box; display: flex; gap: 14px; width: 100%; padding: 14px 2px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 16px; color: var(--fg-2); }
.tracklist button[aria-current] { color: var(--fg); font-weight: 600; }
.tracklist button[aria-current] .n { color: var(--accent); }
.tracklist .n { width: 1.6em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.library { max-width: 900px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 16px; margin-top: 20px; }
.card { display: grid; gap: 6px; text-decoration: none; }
.card img, .card .blank { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card .t { font-weight: 600; }
.nowbar { position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); display: block; margin-top: 28px; padding: 14px 16px; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
button.quiet.inline { display: inline; width: auto; min-height: 0; padding: 0; font-size: inherit; }
.welcome { margin: 10px 0 0; color: var(--fg-2); }

/* No sideways movement anywhere in the 992 web experience; long words wrap instead of widening the page. */
html, body { overflow-x: hidden; overscroll-behavior-x: none; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
h1, h2, .lead, .hint, .tracklist button { overflow-wrap: anywhere; }

/* The player is one phone-sized frame: artwork, title and controls stay in view, and only the track list
   scrolls (inside the frame, not the page). The artwork is a supporting image, not the whole screen. */
html:has(.player), html:has(.player) body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.screen.player { height: 100svh; height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; touch-action: pan-y;
  padding-bottom: max(14px, env(safe-area-inset-bottom)); }
.top { flex: none; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: clamp(16px, 3svh, 28px); }
.top .mark { margin: 0; }
.to-library { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; }
/* An Edition's header, on the claim page and in the player: a small square of artwork beside the titles,
   so the useful part (the action, the controls, the tracks) is on screen at once. */
.edhead { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 0 20px; }
.edhead:not(:has(.art)) { grid-template-columns: minmax(0, 1fr); }
.edhead .art { width: min(30vw, 120px); height: auto; aspect-ratio: 1; object-fit: cover; margin: 0; }
.edhead .titles { min-width: 0; }
.edhead .hint { margin: 0; }
.edhead h1 { font-size: clamp(22px, 6.4vw, 30px); line-height: 1.08; margin: 3px 0; }
.eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); }
.object .act { margin-top: 4px; }
.how { margin-top: 2px; }
.oncopy { margin-top: 32px; }
.oncopy .tracks { margin-top: 8px; }
.player .chip { justify-self: center; align-self: center; margin-top: 10px; flex: none; }
.player .welcome { flex: none; text-align: center; }
.player .ended { flex: none; text-align: center; }
.player .ended:empty { min-height: 0; margin: 0; }
.player .now { flex: none; margin-top: clamp(8px, 1.8svh, 18px); }
.player .now-title { text-align: center; min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player .scrub { margin: 8px 0 2px; }
.player .controls { margin: 6px 0 2px; }
.player .tracklist { flex: 1 1 auto; min-height: 96px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; margin-top: 10px; }

/* ---------------------------------------------------------------- the release as an object (owner, 2026-11-26)
   The 992 Access Card (85.6 x 53.98 mm, R 3.18) in the release's finish, the cover on the artwork area (x 14-85.6 mm,
   full height; the 13 mm spine + 1 mm gap carry the 992 lockup, never artwork). Finish and mark colours are the
   catalogue's (server/src/products.js). In video mode the music video takes the card's place in the same stage. */
.acard { --finish: #141414; --mark: #CFCFD2; position: relative; width: 100%; aspect-ratio: 85.6 / 53.98; overflow: hidden;
  border-radius: calc(3.18 / 85.6 * 100%) / calc(3.18 / 53.98 * 100%); background: var(--finish);
  box-shadow: 0 18px 34px rgba(0,0,0,.55), 0 3px 8px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.07); transition: transform .6s var(--ease); }
.acard[data-finish="matte-blue"] { --finish: #004CFC; --mark: #FFFFFF; }
.acard[data-finish="gloss-white"] { --finish: #FFFFFF; --mark: #B9BCC2; }
.acard-art { position: absolute; left: calc(14 / 85.6 * 100%); top: 0; width: calc(71.6 / 85.6 * 100%); height: 100%; max-width: none; margin: 0;
  aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.acard-blank { background: linear-gradient(135deg, #15161a, #26282f); }
.acard-mark { position: absolute; inset: 0; background: var(--mark); -webkit-mask: url(/w/ac-spine.svg) 0 0 / 100% 100% no-repeat; mask: url(/w/ac-spine.svg) 0 0 / 100% 100% no-repeat; }
/* the finish: a soft sheen over the whole face, stronger on gloss white */
.acard::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 34%, rgba(255,255,255,0) 60%, rgba(255,255,255,.05) 70%, rgba(255,255,255,0) 80%); }
.acard[data-finish="gloss-white"]::after { background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 58%, rgba(255,255,255,.2) 66%, rgba(255,255,255,0) 76%); }
.acard-label { position: absolute; right: 6%; bottom: 8%; }
@media (hover: hover) { .stage:hover .acard, .jc-card:hover .acard { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .acard { transition: none; transform: none !important; } }

/* Player: the stage (case or video) takes the space; titles and controls sit beneath; tracks in a sheet. */
.player.jc .top { margin-bottom: clamp(8px, 2svh, 20px); }
.pl-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.stage { position: relative; flex: 1 1 auto; min-height: 150px; display: grid; place-items: center; perspective: 1400px; container-type: size; }
.stage .acard { width: min(100cqw - 8px, (100cqh - 24px) * 85.6 / 53.98); max-width: 620px; }
.stage-vwrap { display: none; }
.stage[data-mode="video"] .acard { display: none; }
.stage[data-mode="video"] .stage-vwrap { display: block; position: absolute; inset: 0; background: #000; }
.stage-video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.stage .fs { position: absolute; right: 6px; bottom: 6px; width: 44px; height: 44px; min-height: 44px; background: rgba(0,0,0,.55); display: none; }
.stage[data-mode="video"] .fs { display: grid; }
.pl-info { flex: none; text-align: center; }
.pl-info .titles h1 { font-size: clamp(20px, 5.6vw, 28px); line-height: 1.1; margin: clamp(10px, 2svh, 18px) 0 2px; }
.pl-info .chip { margin-top: 8px; }
.player.jc .now-title { color: var(--fg-2); font-size: 15px; }
.player.jc .controls { gap: clamp(10px, 4vw, 22px); }
button.ctl.side { width: 44px; height: 44px; min-height: 44px; color: var(--fg-2); }
button.ctl.side svg { width: 22px; height: 22px; }
button.ctl.side.on { color: var(--accent); }
button.ctl[hidden] { display: grid; visibility: hidden; }
.tracklist .tt { flex: 1; min-width: 0; }
.tracklist .has-video svg { width: 16px; height: 16px; fill: var(--fg-3); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head button { width: auto; margin: 0; padding: 8px 0; min-height: 0; }
.pl-tracks .tracklist { margin-top: 8px; }
/* Phones: the tracklist is a bottom sheet over the player. */
.pl-tracks { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; max-height: 72dvh; overflow-y: auto; overscroll-behavior: contain;
  background: #0b0b0c; border-top: 1px solid var(--line-2); border-radius: 14px 14px 0 0;
  padding: 16px var(--gutter) max(16px, env(safe-area-inset-bottom)); transform: translateY(102%); transition: transform .3s var(--ease); }
.player.sheet-open .pl-tracks { transform: none; box-shadow: 0 -20px 40px rgba(0,0,0,.6); }
.player.jc .tracklist { flex: none; overflow: visible; min-height: 0; }
/* Desktop: the case and controls on the left, the tracklist as a side panel. */
@media (min-width: 900px) {
  .screen.narrow.player.jc { max-width: 1080px; }
  .pl-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: minmax(0, 1fr) auto; column-gap: 48px; }
  .stage { grid-column: 1; grid-row: 1; }
  .pl-info { grid-column: 1; grid-row: 2; }
  .pl-tracks { grid-column: 2; grid-row: 1 / 3; position: static; transform: none; max-height: none; border: 0; border-left: 1px solid var(--line);
    border-radius: 0; background: none; padding: 0 0 0 28px; overflow-y: auto; }
  .sheet-head button, button.ctl.side[data-tracks] { visibility: hidden; }
}

/* Library: the collection as a shelf of cards. */
.cards.shelf { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 32px 20px; perspective: 1400px; }
.jc-card { text-decoration: none; color: var(--fg); }
.jc-card .acard { margin-bottom: 10px; }

/* ---------------------------------------------------------------- refinements (2026-10-16, website design)
   Current track: a cobalt bar and white text (small cobalt text on black is too faint to read). */
.tracklist button[aria-current] { box-shadow: inset 2px 0 0 var(--accent); padding-left: 12px; }
.tracklist button[aria-current] .n { color: var(--fg); }
@media (hover: hover) { .tracklist button:not([aria-current]):hover { color: var(--fg); } }
.tracklist button:disabled { opacity: .4; cursor: default; }
/* Phones: the track sheet has a handle, and the player dims behind it so it reads as on top. */
@media (max-width: 899px) {
  .pl-tracks::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); margin: -6px auto 12px; }
  .player.sheet-open .pl-tracks { box-shadow: 0 0 0 100vmax rgba(0,0,0,.6), 0 -20px 40px rgba(0,0,0,.6); }
}
/* Library: a calmer shelf; titles and their line of detail stay on one or two lines. */
.jc-card { display: grid; gap: 2px; }
.jc-card .t { font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc-card .hint { margin: 0; font-size: 13px; line-height: 1.4; }
.library h2 { margin-top: 48px; }
@media (min-width: 900px) {
  .library { max-width: 1080px; }
  .cards.shelf { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 44px 28px; }
}

/* Music-video visibility (platform layout, 2026-10-16; website session refines the look, Requests #7). */
.watchrow { display: flex; justify-content: center; margin: 4px 0 2px; }
.watchrow .watch[hidden] { display: none; }
button.watch { width: auto; min-height: 40px; padding: 8px 18px; font-size: 14px; letter-spacing: .02em; }
.vnote { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; }
.vnote svg { width: 16px; height: 16px; fill: currentColor; }
.tracklist li.has-v { display: flex; align-items: center; gap: 8px; }
.tracklist li.has-v > button[data-i] { flex: 1; min-width: 0; }
button.vtag { flex: none; display: inline-flex; align-items: center; gap: 6px; width: auto; min-height: 36px; padding: 6px 10px; font-size: 13px;
  background: none; color: var(--fg); border: 1px solid var(--line-2); border-radius: 999px; }
button.vtag svg { width: 15px; height: 15px; fill: currentColor; }
button.vtag.on { border-color: var(--accent); color: var(--fg); background: var(--accent); }

/* One 992 ID: account + artist application (platform, 2026-10-17; website session may restyle) */
textarea { resize: vertical; min-height: 96px; }
.empty-library { margin: 8px 0 28px; }
.account nav { margin: 24px 0 8px; }
.account .app-status { margin: 0 0 16px; }
.account .app-status[data-status="approved"] strong { color: var(--accent); }
.apply > .lead { margin-bottom: 28px; }

/* Discovery (platform, 2026-10-17; website session may restyle; cobalt/white/black only) */
.screen.discover { max-width: 960px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
.disc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 4vh, 36px); }
.disc-head .mark { margin-bottom: 0; }
.disc-nav { display: flex; align-items: center; gap: 18px; }
.disc-nav a { color: var(--fg-2); text-decoration: none; font-size: 14px; }
.disc-nav a.button { min-height: 40px; padding: 10px 16px; color: var(--white); }
.disc-search { margin-bottom: 28px; }
.disc-note { margin: 12px 0 0; }
.disc-note a, .discover .lead a, .disc-list a { color: var(--fg); }
.disc-release { display: grid; grid-template-columns: minmax(140px, 260px) 1fr; gap: 28px; align-items: end; }
@media (max-width: 560px) { .disc-release { grid-template-columns: 1fr; } }
.disc-tracks a.locked { display: flex; gap: 14px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--fg-3); text-decoration: none; font-size: 16px; }
.disc-tracks .hint { margin-left: auto; white-space: nowrap; }
.disc-own { margin-top: 32px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.disc-own h2 { margin: 0 0 6px; }
.disc-list { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; }

/* Persistent mini player (platform, 2026-10-17): one engine for Editions and Discovery; the design session styles it. */
.mini { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30;
  width: min(560px, calc(100% - 2 * var(--gutter))); display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.mini[hidden] { display: none; }
.mini-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.mini-art { width: 44px; height: 44px; flex: none; background: var(--line); }
.mini-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-meta { display: grid; min-width: 0; }
.mini-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-a { font-size: 13px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini button { width: 44px; min-height: 44px; padding: 0; flex: none; background: transparent; border: 0; color: var(--fg); letter-spacing: 0; }
.mini button.mini-play { background: var(--accent); color: var(--white); }
.mini button svg { width: 20px; height: 20px; fill: currentColor; }
.mini button:disabled { opacity: .35; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.mini-bar span { display: block; height: 100%; width: 0; background: var(--accent); }
body:has(.mini:not([hidden])) .screen { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* Artist moments: application submitted, approval welcome, Artist ID (platform 2026-10-18; website session styles) */
.screen.moment { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; outline: none; }
.screen.moment .eyebrow { color: var(--accent); font-size: 13px; }
.screen.moment h1 { font-size: clamp(30px, 8vw, 44px); }
.artist-id-block { margin: 28px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-id { display: inline-block; font-weight: 700; letter-spacing: .18em; font-variant-numeric: tabular-nums; border: 1px solid var(--line-2); padding: 2px 8px; border-radius: var(--radius); }
.artist-id.big { font-size: clamp(44px, 14vw, 72px); letter-spacing: .14em; padding: 6px 18px; margin: 6px 0; border-color: var(--accent); }
.artist-id-field input { text-transform: uppercase; letter-spacing: .4em; font-size: 28px; font-weight: 700; max-width: 9ch; }
.aid-state { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.aid-state[data-state="available"], .aid-state[data-state="yours"] { color: var(--accent); }
.aid-state[data-state="unavailable"], .aid-state[data-state="invalid"] { color: var(--error); }

/* Account deletion (platform 2026-10-19): restrained red only for the destructive action (owner rule). */
button.primary.danger { background: transparent; color: var(--error); border: 1px solid var(--error); }
@media (hover: hover) { button.primary.danger:hover { background: var(--error); color: var(--black, #000); } }
/* Deletion lifecycle (platform 2026-10-23; styled by the website session the same day). Black, white, cobalt: the dates
   in a plain bordered record, the deadline carrying the one cobalt rule; red only on the destructive button. */
.moment > .hint, .moment > .lead + .lead { margin-top: 14px; }
.moment.deletion-blocked .eyebrow, .moment.deletion-kept .eyebrow { color: var(--fg-2); }
.deadline { margin: 28px 0 22px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; gap: 0; }
.deadline > div { display: grid; gap: 6px; padding: 16px 18px; }
.deadline > div + div { border-top: 1px solid var(--line); box-shadow: inset 2px 0 0 var(--accent); }
.deadline dt { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-2); }
.deadline dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.deadline > div + div dd { font-size: 20px; }
.notice { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 15px; }
.notice.ok { border-color: var(--accent); }
.delete-account > h1 { margin-bottom: 14px; }
.delete-account ul { list-style: none; padding: 0; margin: 26px 0 28px; gap: 0; border-top: 1px solid var(--line); }
.delete-account ul li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--fg-2); }
.delete-account form[data-step="confirm"] input { letter-spacing: .3em; text-transform: uppercase; }
.delete-account form[data-step="code"] { margin-top: 0; }   /* the confirm step hides itself; the list above already ends on a rule */
.delete-account form[data-step="code"] .lead strong { overflow-wrap: anywhere; }
.delete-account a.quiet, .moment a.quiet { justify-self: center; min-height: 44px; display: inline-flex; align-items: center; color: var(--fg-2); font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
@media (hover: hover) { .delete-account a.quiet:hover, .moment a.quiet:hover { color: var(--fg); text-decoration-color: var(--accent); } }

/* Legal acceptance (2026-10-30): an unticked checkbox and its sentence; links open the document in a new tab. */
.agree { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; color: var(--fg-2, rgba(255,255,255,.72)); text-align: left; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--992-cobalt, #0647d7); cursor: pointer; }
/* The page-wide `appearance: none` on inputs hid the tick: boxes and radios keep the browser's own control. */
.agree input[type="checkbox"], .agree input[type="radio"] { -webkit-appearance: auto; appearance: auto; padding: 0; }
.agree a { color: var(--fg, #fff); text-decoration: underline; text-decoration-color: var(--992-cobalt, #0647d7); text-underline-offset: 3px; }
/* Legal request forms (requests.js): a fieldset without its frame; the bot trap kept off screen. */
.plain-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.plain-set legend { padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Saved (Save to Library, 2026-11-06) */
.card.unavailable { opacity: .6; }
.disc-save { margin: 1rem 0; }

/* Sign in and sign up, rounded (owner, 2026-11-20: boot.design 2 adds .auth to these screens only). The platform's newer language, as in Control: a panel on a soft dark ground, fields with a 14px radius and a
   quiet fill, pill buttons, cobalt for the main action and for focus. Every rule is scoped to .screen.auth, so the
   Library, Account, Object and Discover pages are untouched, and so is this page without the flag. */
body:has(.screen.auth) { background: #000; }
.screen.auth { max-width: 496px; }
.screen.auth .mark { font-size: 34px; letter-spacing: -.03em; margin-bottom: clamp(20px, 5vh, 52px); }
.auth-card { padding: 26px 22px 24px; border-radius: 22px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
@media (min-width: 520px) { .auth-card { padding: 36px 34px 30px; } }
.screen.auth h1 { font-size: clamp(26px, 6.4vw, 32px); letter-spacing: -.025em; margin-bottom: 12px; }
.screen.auth .lead { font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.screen.auth .stack { gap: 18px; }
.screen.auth .host { margin-top: 4px; }
.screen.auth .field > span { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--fg-2); }
.screen.auth input:not([type="checkbox"]):not([type="radio"]) { font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: rgba(255,255,255,.08); transition: background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
@media (hover: hover) { .screen.auth input:not([type="checkbox"]):not([type="radio"]):hover { background: rgba(255,255,255,.12); } }
.screen.auth input:not([type="checkbox"]):not([type="radio"]):focus { background: rgba(255,255,255,.1); border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.screen.auth input.code { font-size: 26px; padding: 14px 10px; }
.screen.auth button:not(.quiet), .screen.auth a.button { border-radius: 999px; border: 1px solid transparent; min-height: 50px; padding: 14px 24px; font-size: 12.5px; letter-spacing: .14em; transition: background-color .18s var(--ease), transform .12s var(--ease), opacity .18s var(--ease); }
.screen.auth button:not(.quiet):active, .screen.auth a.button:active { transform: scale(.98); }
.screen.auth button.primary, .screen.auth a.button.primary { background: var(--cobalt); border-color: transparent; }
.screen.auth button.primary:active, .screen.auth a.button.primary:active { background: var(--cobalt-press); }
@media (hover: hover) { .screen.auth button.primary:hover, .screen.auth a.button.primary:hover { background: var(--cobalt-press); border-color: transparent; } }
.screen.auth button.primary:disabled { opacity: .6; transform: none; }
.screen.auth button.secondary, .screen.auth a.button.secondary { background: rgba(255,255,255,.08); border-color: transparent; }
@media (hover: hover) { .screen.auth button.secondary:hover, .screen.auth a.button.secondary:hover { background: rgba(255,255,255,.14); border-color: transparent; } }
.screen.auth button.quiet { color: var(--fg); font-size: 14px; font-weight: 600; text-decoration-color: transparent; }
.screen.auth button.quiet:active { text-decoration-color: var(--cobalt); }
@media (hover: hover) { .screen.auth button.quiet:hover { text-decoration-color: var(--cobalt); } }
.screen.auth .hint { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.6); }
.screen.auth .auth-card > .hint { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.screen.auth .err { font-size: 14px; }
/* black, white and cobalt only (owner, 2026-11-20): a message is white on a cobalt tint with a cobalt edge, not red */
.screen.auth .err { color: var(--white); }
.screen.auth .err:not(:empty) { padding: 11px 14px; border-radius: 14px; background: rgba(6,71,215,.2); border-left: 3px solid var(--cobalt); }
.screen.auth .agree { font-size: 13.5px; }
.screen.auth :focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.screen.auth input:focus-visible { outline: none; }

/* The account page, rounded (owner, 2026-11-20). Scoped to .screen.acct: the header with who is signed in and as what,
   two cards onward, each tool in a panel, the owned copies as rows. Tokens as in Control: panel rgba(255,255,255,.055)
   with a .09 line and a 22px radius, pill buttons, cobalt for the main action. */
.screen.acct { max-width: 1040px; }
.acct .ac-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(18px, 4vh, 40px); }
.acct .mark { font-size: 34px; letter-spacing: -.03em; margin: 0; }
.acct .ac-out { width: auto; min-height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--fg); font-size: 11px; letter-spacing: .14em; }
@media (hover: hover) { .acct .ac-out:hover { background: rgba(255,255,255,.18); } }
.acct .ac-eye { margin: 0 0 10px; font-size: 10px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.acct h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; margin: 0 0 10px; }
.acct .ac-head .lead { font-size: 15px; color: var(--fg-2); overflow-wrap: anywhere; }
.acct .ac-head .lead strong { color: var(--fg); font-weight: 600; }
.acct .ac-chips { display: flex; gap: 8px; margin: 14px 0 0; }
.acct .ac-chip { padding: 6px 12px; border-radius: 999px; background: rgba(6,71,215,.2); border: 1px solid var(--cobalt); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.acct .ac-grid { display: grid; gap: 14px; margin-top: clamp(22px, 4vh, 36px); align-items: start; }
.acct .ac-col { display: grid; gap: 14px; min-width: 0; }
.acct .ac-col:empty, .acct [data-invites]:empty, .acct [data-copies]:empty { display: none; }
@media (min-width: 860px) { .acct .ac-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; } .acct .ac-col { gap: 18px; } }
.acct .ac-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.acct .ac-card { position: relative; display: block; padding: 18px 46px 18px 18px; border-radius: 18px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); text-decoration: none; transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease); }
.acct .ac-card:active { transform: scale(.985); }
@media (hover: hover) { .acct .ac-card:hover { background: rgba(6,71,215,.2); border-color: var(--cobalt); } }
.acct .ac-card .ac-t { display: block; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.acct .ac-card .ac-d { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--fg-2); }
.acct .ac-go { position: absolute; right: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 380px) { .acct .ac-nav { grid-template-columns: 1fr; } }
.acct .ac-panel { padding: 20px 18px; border-radius: 22px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); display: grid; gap: 12px; }
@media (min-width: 520px) { .acct .ac-panel { padding: 24px; } }
.acct .ac-panel h2 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.acct .ac-control { border-color: rgba(6,71,215,.7); }
.acct .ac-panel .hint, .acct .ac-lede { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.66); margin: 0; }
.acct .ac-lede strong { color: var(--fg); }
.acct .ac-panel button.primary, .acct .ac-panel a.button { width: auto; justify-self: start; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font-size: 12px; letter-spacing: .14em; }
.acct .ac-panel a.button.secondary { background: rgba(255,255,255,.1); }
.acct .ac-panel button.primary:active, .acct .ac-panel a.button:active { transform: scale(.98); }
.acct .artist-line { font-size: 16px; }
.acct .ac-more summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--fg); list-style: none; }
.acct .ac-more summary::-webkit-details-marker { display: none; }
.acct .ac-more summary::after { content: " +"; color: var(--fg-2); }
.acct .ac-more[open] summary::after { content: " –"; }
.acct .ac-more p { margin-top: 8px; }
.acct .ac-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.acct .ac-ico { width: 40px; height: 26px; margin-top: 3px; border-radius: 5px; background: linear-gradient(90deg, rgba(255,255,255,.18) 0 16%, var(--cobalt) 16%); border: 1px solid rgba(255,255,255,.22); }
.acct .ac-main { min-width: 0; }
.acct .ac-row p { margin: 0; }
.acct .ac-row .ac-t { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .ac-row .ac-d { font-size: 13px; color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .ac-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px !important; }
.acct .ac-state .hint { font-size: 12.5px; }
.acct .ac-pill { padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.12); }
.acct .ac-pill.on { background: var(--cobalt); }
.acct .ac-pill.busy { background: var(--white); color: var(--black); }
.acct .ac-btn { grid-column: 2; justify-self: start; width: auto; min-height: 38px; margin-top: 8px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--fg); font-size: 11px; letter-spacing: .12em; }
@media (hover: hover) { .acct .ac-btn:hover { background: rgba(255,255,255,.18); } }
.acct .ac-row .err { grid-column: 1 / -1; min-height: 0; font-size: 13px; }
.acct .ac-foot { margin-top: 26px; font-size: 13px; }
.acct .ac-panel .err:empty { display: none; }
.acct .err { color: var(--white); } .acct .err:not(:empty) { padding: 9px 12px; border-radius: 12px; background: rgba(6,71,215,.2); border-left: 3px solid var(--cobalt); }

/* The Object page, as a release (owner, 2026-11-20). Scoped to .screen.ob: the artwork large, the title, the artist and
   the copy beneath it, the viewer's state as a small label and a line, a pill for the action, the tracks as a list with
   hairlines. Wide windows: the artwork on the left, everything else beside it, the tracks below. */
.screen.ob { max-width: 1040px; }
.ob .top { margin-bottom: clamp(14px, 3svh, 30px); }
.ob .top .mark { font-size: 34px; letter-spacing: -.03em; }
.ob .edhead { display: block; margin: 0 0 18px; }
.ob .edhead .art { display: block; width: min(100%, 380px); margin: 0 auto 22px; border-radius: 14px; box-shadow: 0 22px 48px rgba(0,0,0,.6); }
.ob .ob-blank { aspect-ratio: 1; background: linear-gradient(135deg, #15161a, #26282f); border: 1px solid rgba(255,255,255,.09); }
.ob .edhead h1 { font-size: clamp(30px, 8.4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 0 0 8px; overflow-wrap: anywhere; }
.ob .ob-by { margin: 0 0 4px; font-size: 17px; font-weight: 600; color: var(--fg); }
.ob .edhead .hint { font-size: 13px; letter-spacing: .04em; color: rgba(255,255,255,.6); }
.ob .act { margin-top: 0; }
.ob .act .stack { gap: 12px; }
.ob .ob-tag, .ob .chip { justify-self: start; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(6,71,215,.2); border: 1px solid var(--cobalt); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.ob .act h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.ob .act .lead { font-size: 15px; color: var(--fg-2); }
.ob .act button:not(.quiet), .ob .act a.button { border-radius: 999px; border: 1px solid transparent; min-height: 54px; font-size: 13px; letter-spacing: .16em; transition: background-color .18s var(--ease), transform .12s var(--ease); }
.ob .act button:not(.quiet):active, .ob .act a.button:active { transform: scale(.98); }
.ob .act button.secondary, .ob .act a.button.secondary { background: rgba(255,255,255,.1); }
.ob .act button.quiet { color: var(--fg); font-size: 14px; font-weight: 600; text-decoration-color: transparent; }
.ob .act .hint { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.62); }
.ob .act .err { color: var(--white); font-size: 14px; }
.ob .act .err:not(:empty) { padding: 10px 14px; border-radius: 14px; background: rgba(6,71,215,.2); border-left: 3px solid var(--cobalt); }
.ob .act input:not([type="checkbox"]):not([type="radio"]) { border-radius: 14px; border: 1px solid transparent; background: rgba(255,255,255,.08); }
.ob .act input:not([type="checkbox"]):not([type="radio"]):focus { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.ob .oncopy { margin-top: clamp(26px, 5svh, 44px); }
.ob .oncopy .eyebrow { font-size: 10px; letter-spacing: .32em; color: rgba(255,255,255,.62); margin-bottom: 6px; }
.ob .oncopy .tracks { list-style: none; margin: 0; padding: 0; }
.ob .oncopy .tracks li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 15.5px; }
.ob .oncopy .tracks li:first-child { border-top: 1px solid rgba(255,255,255,.09); }
.ob .oncopy .n { font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.5); }
.ob .oncopy .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob .oncopy .k { font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.12); }
@media (min-width: 860px) {
  .screen.ob { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); align-content: start; }
  .ob .top { grid-column: 1 / -1; }
  .ob .edhead { display: contents; }
  .ob .edhead .art { grid-column: 1; grid-row: 2 / 4; width: 100%; margin: 0; align-self: start; }
  .ob .edhead .titles { grid-column: 2; grid-row: 2; align-self: end; padding-top: 10px; }
  .ob .act { grid-column: 2; grid-row: 3; align-self: start; margin-top: 22px; max-width: 420px; }
  .ob .oncopy { grid-column: 1 / -1; }
  .ob .oncopy .tracks { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
  .ob .oncopy .tracks li { break-inside: avoid; }
  .ob .oncopy .tracks li:first-child { border-top: 0; }
}

/* The player's buttons in the platform's rounded language (owner, 2026-11-20). Looks and states only: the layout, the
   artwork, the timeline and everything the controls do are untouched. */
.player button.watch { width: auto; min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--fg);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background-color .18s var(--ease), transform .12s var(--ease); }
.player button.watch:active { transform: scale(.97); border-color: transparent; }
@media (hover: hover) { .player button.watch:hover { background: rgba(255,255,255,.18); border-color: transparent; } }
.player button.ctl { transition: background-color .18s var(--ease), transform .12s var(--ease), color .18s var(--ease); }
.player button.ctl:not(.big):not(:disabled):active { background: rgba(255,255,255,.14); transform: scale(.94); }
.player button.ctl.big:not(:disabled):active { transform: scale(.95); }
@media (hover: hover) { .player button.ctl:not(.big):not(:disabled):hover { background: rgba(255,255,255,.1); color: var(--fg); } .player button.ctl.big:not(:disabled):hover { background: rgba(255,255,255,.88); } }
.player button.ctl.side { width: 48px; height: 48px; min-height: 48px; }
.player button.ctl.side.on { color: var(--fg); background: var(--cobalt); }
.player button.ctl:focus-visible, .player button.watch:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.player .to-library { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.1); color: var(--fg); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; transition: background-color .18s var(--ease); }
@media (hover: hover) { .player .to-library:hover { background: rgba(255,255,255,.18); } }
.player .top { align-items: center; }

/* Draft legal wording (copyright notice form): marked until counsel approves it. */
.draft-note{ border-left:2px solid currentColor; padding-left:.6rem; }

/* Rounded artwork (owner, 2026-11-26): every uploaded music artwork has rounded corners, at about the Object page's
   proportion (14px on 380px, ~3.7%), with a floor so small thumbnails still read as rounded. Artist pictures (round) are
   not artwork and keep their shape. Native follows the same rule. */
.art, .art.blank, .card img, .card .blank { border-radius: clamp(6px, 3.7%, 14px); }
.edhead .art { border-radius: 8px; }
.ob .edhead .art { border-radius: 14px; }
.mini-art { border-radius: 6px; overflow: hidden; }
.artist-id.username { letter-spacing: .01em; text-transform: none; font-variant-numeric: normal; overflow-wrap: anywhere; }
