/* cobalt-player.css — the Musix player (Library ?view= default, and Playlists ?view=playlists) in the Cobalt schema.
 * claude_20261002_cobalt (sub-agent musix), 2026-10-03. Loaded AFTER the player's inline <style>, so equal-specificity
 * rules here win. Layout, IDs and every behaviour stay the player's; this sheet changes palette, type, surfaces and shape:
 *   - light by default, dark via the tokens (prefers-color-scheme or the shell's data-theme), no pinned dark palette;
 *   - Arial, 12.5-13px body, 8.75px uppercase labels, bold ledes over quiet sublines;
 *   - the transport becomes a glass dock (no album art; titles carry "— notelikopter", as in the approved radio);
 *   - drawers are glass sheets with a grab handle (swipe down closes, drag up to full), see js/cobalt-player.js;
 *   - playlists are rows: cover, bold title, "9 songs · 37:20", Share, chevron;
 *   - the lyric surface reads at 13px with clear lines: the sung line bold ink, the rest muted.
 * Cobalt full revision (2026-10-05, ext/cobalt-revision): grey accent through the re-vendored kit tokens; lyrics at
 * 15px / 1.6 (DESIGN_STANDARD §4.3); compact controls on a mouse (--h-lg 30px under a fine pointer); every Share is a
 * quiet line-icon control (song rows, playlist rows, the dock, the lyric view, every note card); drawers animate by
 * transform only; the "Open on Suno" chip and the Suno intake are untouched.
 * The @musix-controls block in index.html is NOT edited (the embed and MusixVideo are served a copy of it); its
 * colour tokens are re-pointed here instead, for this page only.
 */

/* ---- 1. legacy tokens -> Cobalt tokens (this page only). Selectors cover the player's own
   :root[data-theme="light"] rules, which outrank a bare :root. ------------------------------- */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: var(--paper); --panel: var(--card); --panel-2: var(--paper-soft);
  --ink-dim: var(--muted); --ink-faint: var(--muted);
  --accent: var(--cobalt); --accent-dim: color-mix(in srgb, var(--cobalt) 45%, transparent); --accent-soft: var(--accent-subtle);
  --accent-hover: color-mix(in srgb, var(--cobalt) 85%, var(--ink)); --accent-press: color-mix(in srgb, var(--cobalt) 75%, var(--ink));
  --focus: var(--cobalt); --ok: var(--good);
  --now-tint: var(--accent-subtle); --now-ink: var(--ink);
  --claim-edge: var(--warn); --claim-bg: color-mix(in srgb, var(--warn) 8%, transparent);
  --t-bg: var(--paper); --t-line: var(--glass-line);
  --track: color-mix(in srgb, var(--ink) 16%, transparent); --track-fill: var(--cobalt); --thumb: var(--cobalt);
  --scrollbar: color-mix(in srgb, var(--ink) 22%, transparent);
  --surface-overlay-glass: var(--glass);
  --of-paper: var(--paper); --of-ink: var(--ink);
  --sans: var(--font);
  --radius: var(--r-card); --r-control: var(--r-ctl);
  --gutter: 14px;
}

body { font: 400 var(--fs-body)/1.55 var(--font); -webkit-font-smoothing: antialiased; }
body::before { background: var(--paper); }
.c-framed body::before { display: none; }

/* controls: quiet visuals, the touch targets stay (the block's 44px regions are untouched) */
.btn, .chip { font-family: var(--font); font-size: 12px; }
.btn-primary { font-weight: 700; }
.chip { font-size: 11px; }
.chip.is-mono { font: 700 11px/1.2 var(--font); }
.field { font-family: var(--font); }

/* ---- 2. region headers: quiet labels, not bands ------------------------------------------ */
.region { background: var(--paper); }
#notes { border-top: 1px solid var(--line); }
.rhead { height: 40px; border-bottom: 1px solid var(--line-soft); }
.rhead h2, .group-name, .drawer-sec-title, .for-l, .blk-l, .type, .m-pref-label {
  font: 700 var(--fs-label)/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

/* ---- 3. lyric surface: 15px / 1.6 (DESIGN_STANDARD §4.3); the sung line in bold ink, the rest muted ---
   No bullet column: a line with a note carries the small superscript dagger from the inline block, in the
   grey accent (musix.md "note markers as small superscripts"). The sung line keeps a 3px accent rule. */
.lyr { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 3px 8px 3px 10px; border-radius: var(--r-ctl); }
.lyr .mark { display: none; }
.lyr .txt { font-size: 15px; line-height: 1.6; color: var(--muted); }
.lyr.unlinked .txt { color: var(--muted); }
.lyr.now { background: var(--accent-subtle); border-left-color: var(--cobalt); }
.lyr.now .txt { color: var(--ink); font-weight: 700; }
.lyr[aria-current="true"] { box-shadow: inset 0 0 0 1px var(--line); }
.lyr[aria-current="true"] .txt { color: var(--ink); }
.lyr[data-has-ref="1"] .txt::after { color: var(--cobalt); }
@media (hover: hover) { .lyr:hover { background: var(--accent-subtle); } }
/* the lyric view's Share (js/cobalt-player.js adds it to the Lyrics header) */
.m-lyr-share { margin-left: 2px; }
.sec { font: 700 var(--fs-label)/1.3 var(--font); letter-spacing: .08em; color: var(--muted); }
.sec .dir { font-size: 10px; }

/* notes: cards in the house style, readable at small sizes */
.for-t { font-size: 13px; font-weight: 700; }
.for-m { font-size: 11px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 11px 12px; }
.slug { font: 700 12.5px/1.35 var(--font); }
.real { font-size: 12.5px; line-height: 1.55; }
.claim { border-radius: var(--r-ctl); font-size: 12.5px; }
.type { border-color: var(--line); border-radius: 4px; }
.type.misinformation { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 8%, transparent); }
.sources { font-size: 11px; color: var(--muted); }
.sources a, .link { color: var(--link); }
.empty { font-size: 12px; color: var(--muted); }
.foot { font-size: 11px; color: var(--muted); }

/* loading: say what is loading instead of an empty dark region */
#lyrBody:empty::before { content: "Loading the song…"; display: block; padding: 10px 0; color: var(--muted); font-size: 12px; }
#playlistCards:empty::before { content: "Loading playlists…"; display: block; padding: 14px 0; color: var(--muted); font-size: 12px; }

/* ---- 4. glass floats (resume, share, notes scroll, deprecation card) ---------------------- */
.float-resume, .float-share, .notes-scroll, .dep-card {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow); color: var(--ink);
}
.float-share-btn, .float-share-close { color: var(--ink); }
.float-resume { border-radius: var(--r-card); font-size: 12px; font-weight: 700; }
.float-share { border-radius: var(--r-card); }
.dep-card { border-radius: var(--r-sheet); }
.dep-layer { background: var(--scrim); }
.dep-title { font: 700 13px/1.4 var(--font); }
@media (prefers-reduced-transparency: reduce) {
  .float-resume, .float-share, .notes-scroll, .dep-card, .transport, .artist-bar, .drawer { background: var(--glass-strong); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---- 5. the dock: one glass row, no album art, "— notelikopter" after the title ----------- */
.transport {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-top: 1px solid var(--glass-line); box-shadow: 0 -6px 20px rgba(17,26,45,.08);
  touch-action: pan-x;   /* vertical swipes belong to the dock's gestures (js/cobalt-player.js) */
}
.transport .art { display: none; }
.np-t { font-size: 13px; font-weight: 700; unicode-bidi: plaintext; }
.np-t::after { content: "\2066\00A0\2014  notelikopter\2069"; font-weight: 400; color: var(--muted); }
.np-s { font-size: 11px; color: var(--muted); }
.time { font-family: var(--mono); font-size: 11px; color: var(--muted); }
#btnPlay { width: 40px; height: 40px; background: var(--cobalt); border-color: var(--cobalt); color: var(--on-accent); }
#btnPlay svg { width: 18px; height: 18px; }
.transport.collapsed #btnPlay { width: 36px; height: 36px; }
#btnLib, #btnPlaylist { font-size: 11px; font-weight: 700; }
.seek::-webkit-slider-thumb, .vol::-webkit-slider-thumb { box-shadow: 0 1px 2px rgba(17,26,45,.35); }
/* grab handle on the dock: a swipe target that says the dock moves */
.transport::after {
  content: ""; position: absolute; left: 50%; top: 3px; width: 32px; height: 3px; margin-left: -16px;
  border-radius: 2px; background: color-mix(in srgb, var(--ink) 22%, transparent); pointer-events: none;
}
.transport.tp-left::after { display: none; }
@media (max-width: 760px) {
  /* the art column goes; the title takes it */
  .transport { grid-template-areas: "title title title title title more" "prev play next video lib more" "seek seek seek seek seek playlist"; }
  .transport.collapsed { grid-template-columns: minmax(0, 1fr) 44px 44px 44px 44px; grid-template-areas: "title prev play next more"; }
  #btnPlay { width: 44px; height: 44px; }
  .transport.collapsed #btnPlay { width: 36px; height: 36px; }
}

/* follow bar: glass, quiet icons, the official brand glyphs */
.artist-bar { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-top: 1px solid var(--glass-line); }
.artist-links a, .drawer-socials a, .artist-bar-toggle { color: var(--muted); }
.artist-links a .c-ico, .drawer-socials a .c-ico { width: 15px; height: 15px; }
@media (hover: hover) { .artist-links a:hover, .drawer-socials a:hover { color: var(--ink); } }

/* ---- 6. drawers: glass sheets with a grab handle, content-sized; detents half / full ------ */
.drawer {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-color: var(--glass-line); box-shadow: var(--shadow);
}
.scrim.on { background: var(--scrim); }
.m-grab { display: none; }
.drawer .rhead { border-bottom: 1px solid var(--line); }
.drawer .rhead h2 { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.song { gap: 8px; padding: 8px 10px; border-radius: var(--r-ctl); }
.song img { display: none; }               /* no album art in lists, as in the approved radio */
.song-t { font-size: 12.5px; font-weight: 700; }
.song-t::after { content: "\2066\00A0\2014  notelikopter\2069"; font-weight: 400; color: var(--muted); }
.song-s { font-size: 11px; color: var(--muted); }
.song[aria-current="true"] { background: var(--accent-subtle); }
.song[aria-current="true"] .song-t { color: var(--cobalt); }
/* Share: one quiet control everywhere, the paper airplane alone (owner 2026-10-06): grey, no word, no code.
   No accent fill, no pill colour, no border; the ::before below keeps a 44px touch target. */
.song-row-shortlink, .np-shortlink, .pl-share {
  justify-content: center; gap: 0; min-width: 26px; min-height: 26px; padding: 0 5px; border-radius: var(--r-ctl);
  border: 1px solid transparent; background: transparent; color: var(--muted); font: 700 11px/1 var(--font);
}
.song-row-shortlink .c-ico, .np-shortlink .c-ico, .pl-share .c-ico, .m-icon-share .c-ico { width: 16px; height: 16px; flex: none; }
.m-icon-share { color: var(--muted); }
@media (hover: hover) { :where(.song-row-shortlink, .np-shortlink, .pl-share, .m-icon-share):hover { background: var(--accent-subtle); color: var(--ink); } }
.np-shortlink > span:empty { display: none; }
.song-row-shortlink { display: inline-flex; margin-top: 4px; min-height: 24px; }
.song-s.m-awaiting { font-style: italic; }
.wave-head[data-wave] { cursor: pointer; }
.wave-pending-note { padding: 10px 16px; font-size: 12px; color: var(--muted); font-style: italic; }
/* the per-card Share in the notes (js/cobalt-player.js) */
.card-h { position: relative; }
.card-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; }
.m-card-share { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; min-width: 44px; width: auto; height: auto; padding: 0 6px; border-radius: var(--r-ctl); color: var(--muted); font-size: 11px; touch-action: manipulation; }
.m-card-share .c-ico { width: 14px; height: 14px; }
@media (hover: hover) { .m-card-share:hover { color: var(--ink); } }
@media (max-width: 760px) {
  .drawer, .controls-drawer {
    left: 6px; right: 6px; bottom: calc(6px + var(--safe-b)); width: auto; height: auto; max-height: 56dvh;
    border: 1px solid var(--glass-line); border-radius: var(--r-sheet);
    transition: transform var(--dur) var(--ease);   /* transform only (DESIGN_STANDARD §4.5) */
  }
  .drawer:not([hidden]) { animation: m-drawer-in 280ms var(--ease) both; }
  .drawer.m-full { max-height: 88dvh; }
  .drawer.m-dragging { transition: none; }
  .m-grab { display: block; flex: 0 0 auto; padding: 2px 0 4px; }
  .drawer > .scroller { flex: 1 1 auto; }
}
/* the radio's drop: rises past its rest by 6px, then settles (RadioDrawers step 1-2) */
@keyframes m-drawer-in { 0% { transform: translateY(calc(100% + 12px)); opacity: 0; } 70% { transform: translateY(-6px); opacity: 1; } 100% { transform: none; opacity: 1; } }
@media (min-width: 761px) {
  .drawer { top: 8px; bottom: 8px; left: 8px; border-radius: var(--r-sheet); border: 1px solid var(--glass-line); }
  .controls-drawer { left: auto; right: 8px; }
}

/* preferences and controls drawers: classes that replaced the style="" attributes */
.m-pad { padding: 12px var(--gutter); }
.m-pref-block { margin-bottom: 18px; }
.m-pref-top { margin-top: 14px; }
.m-pref-label { margin-bottom: 8px; }
.m-pref-sub { margin: 2px 0 0 26px; font-size: 11px; line-height: 1.45; color: var(--muted); }
.m-pref-sub.m-flush { margin: 0 0 8px; }
.adjust-notice-wrap.m-flush { padding-left: 0; }
.m-pref-box { width: 16px; height: 16px; accent-color: var(--cobalt); }
.pref-check, .vis-list .pref-check { font-size: 12.5px; }
.drawer-np-t { font-size: 12.5px; font-weight: 700; }
.speed-val { font: 700 12px var(--mono); color: var(--cobalt); }

/* ---- 7. playlists: rows (cover, bold title, "9 songs · 37:20", Share, chevron) ------------- */
.playlist-index { background: var(--paper); padding-top: max(8px, env(safe-area-inset-top)); }
.playlist-index-inner { max-width: 640px; }
.playlist-cards { gap: 0; padding: 4px 0; }
.playlist-card { border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; background: none; }
.playlist-card:hover { background: var(--accent-subtle); border-color: var(--line-soft); }
.playlist-open { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 10px 112px 10px 4px; border-radius: 0; }
.playlist-open::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border: solid var(--muted); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.playlist-cover { width: 44px; height: 44px; border-radius: var(--r-ctl); }
.playlist-text { justify-content: center; }
.playlist-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.playlist-meta { min-height: 0; padding-right: 0; font: 11px/1.4 var(--font); color: var(--muted); }
.playlist-card > .pl-share { right: 34px; top: 50%; bottom: auto; transform: translateY(-50%); }
.pl-share.copied { color: var(--good); border-color: var(--good); background: transparent; }
@media (max-width: 460px) {
  /* icons replace words when the screen is narrow: the row keeps its name (aria-label) */
  .playlist-card > .pl-share { width: 32px; padding: 0; justify-content: center; }
  .playlist-card > .pl-share .pl-share-pill { display: none; }
  .playlist-open { padding-right: 76px; }
}
@media (max-width: 460px) { .playlist-open { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; } .playlist-cover { width: 44px; height: 44px; } }
.pl-count { font: 11px/1.4 var(--font); color: var(--muted); }

/* ---- 8. share sheet + gesture hint (js/cobalt-player.js) ---------------------------------- */
.m-share { font: 400 var(--fs-body)/1.5 var(--font); color: var(--ink); }
.m-share .c-x { display: grid; place-items: center; }
.m-share .c-x .c-ico { width: 12px; height: 12px; }
.m-share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; padding: 10px 0 4px; }
.m-share-to {
  position: relative; display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); color: var(--ink);
  font: 700 12px/1.2 var(--font); text-align: left; cursor: pointer;
}
.m-share-to::after { content: ""; position: absolute; inset: -2px; }
.m-share-to[data-share-to="copy"] { grid-column: 1 / -1; justify-content: center; border-color: var(--cobalt); background: var(--cobalt); color: var(--on-accent); }
@media (hover: hover) { .m-share-to:not([data-share-to="copy"]):hover { border-color: var(--cobalt); color: var(--cobalt); } }
.m-share-to:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.m-share-note { min-height: 1.5em; margin: 4px 0 8px; color: var(--good); font-size: 11.5px; }
.m-follow-l { margin-top: 4px; }
.m-follow { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 12px; }
.m-follow .c-chip { text-decoration: none; font-weight: 700; }
.m-follow .c-ico { width: 13px; height: 13px; }
.m-hint {
  position: fixed; z-index: 45; left: 8px; right: 8px; bottom: calc(96px + var(--safe-b));
  display: flex; align-items: center; gap: 10px; max-width: 420px; margin: 0 auto; padding: 10px 12px;
  border-radius: var(--r-card); box-shadow: var(--shadow); color: var(--ink); font-size: 12px; line-height: 1.45;
}
.m-hint p { margin: 0; flex: 1; }
.m-hint .c-ico { color: var(--cobalt); width: 18px; height: 18px; }
.m-hint[hidden] { display: none; }

/* ---- 9. the lyric video overlay: the glass bar ------------------------------------------- */
.vov-scrim { background: rgba(4,16,46,.62); }
.vov-bar { margin: 0 8px calc(8px + var(--safe-b)); border-radius: var(--r-card); background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-line); }
.vov-t { font-weight: 700; }

/* ---- 10. 44px hit regions on every pointer (CLAUDE_DESIGN §5: small visuals, 44px targets) --
   The drawn sizes stay (the 26px chips, 28px share chips, the 36px drawer opener); each control
   answers a 44x44 region from a transparent pseudo-element centred on it, so nothing moves.
   Rows are at least 44px tall, so a region never reaches a neighbouring row's control. */
.controls-opener::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: var(--hit, 44px); height: var(--hit, 44px);
}
:where(.song-row-shortlink, .np-shortlink, .pl-share, .chip)::before {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(100%, var(--hit, 44px)); height: max(100%, var(--hit, 44px));
}
/* The dock's fold tabs, the follow-bar toggle and the follow-bar links draw at 22px tall (f58). */
:where(.transport-toggle, .transport-left, .artist-bar-toggle, #artistLinks > a)::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(100%, var(--hit, 44px)); height: max(100%, var(--hit, 44px));
}
.c-btn::after, .c-ico-btn::after { width: max(100%, var(--hit, 44px)); height: max(100%, var(--hit, 44px)); }
.c-chip { position: relative; }
.c-chip::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max(100%, var(--hit, 44px)); height: max(100%, var(--hit, 44px));
}

/* ---- 11. compact on a mouse (owner: "stop making buttons gratuitously large") ------------ */
@media (pointer: fine) {
  :root { --h-lg: 30px; --h-md: 28px; --h-sm: 24px; }
  .btn { padding: 0 10px; font-size: 12px; }
  .btn-icon svg { width: 16px; height: 16px; }
  .chip { min-height: 24px; }
}

/* ---- 12. share sheet on the Musix controls ---------------------------------------------- */
.m-share .m-share-x { flex: none; }
.m-share .m-share-x .c-ico { width: 14px; height: 14px; }
.m-share-to.btn { justify-content: flex-start; }
.m-share-to.btn-primary { justify-content: center; }
.m-follow-chip { text-decoration: none; font-weight: 700; color: var(--ink); }
.m-follow-chip .c-ico { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer:not([hidden]), .transport, .m-share-to { transition: none !important; animation: none !important; }
}

/* ---- 13. line icons inside Musix controls: the controls block fills every svg; the kit's line icons
   stay strokes, its brand glyphs stay fills -------------------------------------------------------- */
:where(.btn, .chip) svg.c-ico:not(.c-brand) { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:where(.btn, .chip) svg.c-ico.c-brand { fill: currentColor; stroke: none; }
/* the lyric view's Share sits in the header from 461px; on a narrow phone the header is full, and the
   song view's floating Share and the dock's Share carry it */
@media (max-width: 460px) { .m-lyr-share { display: none; } }
/* contrast (4.5:1 in light): the claim label and the "Pinned" status read in muted ink, the claim keeps its rule */
.claim .blk-l, .for-m .st.pin { color: var(--muted); }
/* gestures: nothing on the dock or a grab handle is selectable, so a drag never becomes a text drag */
.transport, .m-grab, [data-drawer-grab] { -webkit-user-select: none; user-select: none; }
/* the drawer's entrance animation must not hold its transform afterwards (the drag sets it) */
@media (max-width: 760px) { .drawer:not([hidden]) { animation-fill-mode: backwards; } }
.adjust-dismiss .c-ico { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---- 14. compact liner-note cards (kit rev 2026-10-05b, owner: "more space efficient … without losing readability")
   Same markup and content; only chrome and type tighten:
   - the card header is one quiet mono meta line (note id · status tag · calculated tag);
   - the bottom-right action row holds owner tools from cobalt/cobalt-cardtools.js, then Share and its airplane;
   - every block's label runs in front of its text, so a label never costs its own line;
   - the claim stays boxed and labelled as the song's (owner rule), as the bold lede, with a tighter box;
   - context/author read at 12.5px / 1.45 and fold to 3 lines with "More" (js/cobalt-player.js);
   - sources become one wrapped line separated by middots. ---------------------------------------------------- */
.card { padding: 8px 10px; margin-bottom: 6px; }
.card-h { flex-wrap: nowrap; gap: 6px; align-items: center; margin-bottom: 4px; min-height: 22px; }
.card-h .slug { flex: 0 1 auto; min-width: 0; font: 400 10.5px/1.3 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.card-h .type { flex: none; padding: 0 4px; font-size: 10px; line-height: 15px; }
.card-h .prov { font-size: 10px; }
@media (pointer: coarse), (max-width: 600px) { .m-card-share { min-height: 44px; } }
.card .blk { margin-top: 5px; font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.card .blk > .blk-l { display: inline; margin: 0 6px 0 0; font-size: 10px; line-height: 1; vertical-align: 1px; }
.card .blk > .blk-l + div { display: inline; }
.card .real { font-size: 12.5px; line-height: 1.45; }
.card .claim { margin-top: 2px; padding: 5px 8px; }
.card .claim > .blk-l + div { font-weight: 700; font-size: 13px; line-height: 1.35; color: var(--ink); }
.card .sources { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 5px 0 0; padding: 0; list-style: none; font-size: 11px; line-height: 1.45; }
.card .sources li + li::before { content: "·"; margin-right: 4px; color: var(--muted); }
.card .joke-t { font-size: 12.5px; line-height: 1.45; }
.card.post-card .post-h { font-size: 11px; gap: 4px 8px; }
.card.post-card .post-h time { font-family: var(--mono); font-size: 10.5px; }
.card.post-card .post-t { margin-top: 3px; font-size: 12.5px; line-height: 1.45; }
.card .documents { margin-top: 5px; }
.card .placeholder-lede { font-size: 13px; }
/* "More": long blocks fold to three lines; the toggle sits on its own short line under the text */
.card .m-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.card .m-clamp.m-open { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.card .c-more-btn { display: block; margin-top: 1px; }
/* the current-line header above the notes: lyric line as the lede, mono time + status on one line */
.for { padding: 4px 0 6px; margin-bottom: 6px; }
.for-l { margin-bottom: 1px; }
.for-t { line-height: 1.35; }
.for-m { margin-top: 1px; gap: 2px 8px; }
.for-m .t { font-size: 10.5px; }

/* Phone song view: the lyric reader must remain useful and note-card utilities must
   never float over copy. The header chips preserve both actions, so the duplicate
   floating controls can stay out of the card reading path. */
@media (max-width: 760px) {
  .stage { grid-template-rows: minmax(156px, 2fr) minmax(0, 3fr); }
  #notes .scroller { padding-bottom: 10px; }
  #notes .scroller::after { height: 0; }
  #notes :is(.notes-scroll, .float-share) { display: none !important; }
}
