/* 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; }

/* ---------------------------------------------------------------- jewel-case player + library (2026-10-16)
   The release as a physical object: a transparent CD jewel case (142 × 125 mm) around the Edition's own
   artwork, drawn in CSS (no images, no 3D library). The case is the album: it doesn't change per track.
   In video mode the music video takes the case's place in the same stage. */
.jewel { position: relative; aspect-ratio: 142 / 125; width: 100%; transform: rotateY(-7deg) rotateX(2deg); transform-style: preserve-3d;
  transition: transform .6s var(--ease); filter: drop-shadow(0 28px 34px rgba(0,0,0,.55)) drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.jewel-tray { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(160deg, #141416, #070708 60%); }
.jewel .jewel-art { position: absolute; left: 12.6%; top: 2.2%; width: 84.6%; height: 95.6%; aspect-ratio: auto; margin: 0; object-fit: cover; border-radius: 1px; }
.jewel-art.blank { background: linear-gradient(135deg, #15161a, #26282f); }
/* The hinge: a clear ribbed strip with two knuckles, the part of a jewel case you recognise first. */
.jewel-hinge { position: absolute; left: 0; top: 0; bottom: 0; width: 11.4%; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 38%, rgba(255,255,255,.14) 52%, rgba(255,255,255,.04) 70%, rgba(255,255,255,.1)),
    repeating-linear-gradient(180deg, rgba(255,255,255,0) 0 5px, rgba(255,255,255,.05) 5px 6px);
  border-right: 1px solid rgba(255,255,255,.22); box-shadow: inset -2px 0 3px rgba(0,0,0,.35); }
.jewel-hinge::before, .jewel-hinge::after { content: ""; position: absolute; left: 22%; width: 56%; height: 7%; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.jewel-hinge::before { top: 5%; } .jewel-hinge::after { bottom: 5%; }
/* The clear front shell: edge highlights, a moulded lip around the booklet and a soft diagonal glare. */
.jewel-shell { position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 16%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 56%, rgba(255,255,255,.12) 62%, rgba(255,255,255,0) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.45), inset 1px 0 0 rgba(255,255,255,.12), inset -2px 0 0 rgba(255,255,255,.1); }
.jewel-shell::before { content: ""; position: absolute; left: 12%; top: 1.4%; right: 2%; bottom: 1.4%; border: 1px solid rgba(255,255,255,.14); border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.jewel-shell::after { content: ""; position: absolute; top: 1%; bottom: 1%; right: -3px; width: 3px; border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.08) 45%, rgba(255,255,255,.22)); }
@media (hover: hover) { .stage:hover .jewel, .jc-card:hover .jewel { transform: rotateY(-2deg) rotateX(1deg) translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .jewel { transform: none; } }

/* 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 .jewel { width: min(100cqw - 8px, (100cqh - 24px) * 1.136); max-width: 520px; }
.stage-vwrap { display: none; }
.stage[data-mode="video"] .jewel { 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 jewel cases. */
.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 .jewel { margin-bottom: 10px; }
.jewel.small .jewel-hinge::before, .jewel.small .jewel-hinge::after { height: 6%; }

/* ---------------------------------------------------------------- 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; }
