/* mjh-audio-captions (12-02): one Now-playing card, words apart, footnotes, links. Light + dark. */
:root {
	--mjh-ac-ink: #2f2519;
	--mjh-ac-soft: #6b5a35;
	--mjh-ac-faint: #8a7a55;
	--mjh-ac-paper: #fffdf6;
	--mjh-ac-paper2: #fbf7ec;
	--mjh-ac-edge: #d9c9a3;
	--mjh-ac-his: #8a3a2b;
	--mjh-ac-his-ink: #fff8ec;
	--mjh-ac-quote: #c9b88a;
	--mjh-ac-link: #2f5d8a;
	--mjh-ac-link-line: rgba(47, 93, 138, .35);
	--mjh-ac-now: #fff1c4;
}
/* The site is light-only today; the dark palette waits on a [data-theme="dark"] switch so a card never goes dark on a light page. */
:root[data-theme="dark"] {
	--mjh-ac-ink: #efe6d4; --mjh-ac-soft: #cdbf9f; --mjh-ac-faint: #a8997a; --mjh-ac-paper: #23201b; --mjh-ac-paper2: #1c1a16;
	--mjh-ac-edge: #4a4233; --mjh-ac-his: #e09a84; --mjh-ac-his-ink: #23201b; --mjh-ac-quote: #7d6f4c; --mjh-ac-link: #8fb8e8;
	--mjh-ac-link-line: rgba(143, 184, 232, .4); --mjh-ac-now: #4a3f1c;
}

/* ---- Now playing ---- */
.mjh-np { margin: 0 0 1.1rem; padding: .8rem .9rem .85rem; background: var(--mjh-ac-paper2); border: 1px solid var(--mjh-ac-edge); border-radius: 8px; color: var(--mjh-ac-ink); }
.mjh-np__head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .55rem; }
.mjh-np__id { display: flex; flex-direction: column; min-width: 0; }
.mjh-np__kicker { font-family: 'Special Elite', ui-monospace, monospace; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mjh-ac-faint); }
.mjh-np__title { font-weight: 700; line-height: 1.25; }
.mjh-np__src { font-size: .82rem; color: var(--mjh-ac-soft); }
.mjh-np__who { font-weight: 700; color: var(--mjh-ac-his); }
.mjh-np__face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--mjh-ac-his); }
.mjh-np .ledgable-media__audio, .mjh-np .ledgable-media__video { width: 100%; display: block; margin: 0 0 .5rem; }
.mjh-np .ledgable-media__video { max-height: 70vh; background: #000; border-radius: 4px; }
.mjh-np__caps { position: relative; max-height: 15rem; overflow-y: auto; padding: .1rem .2rem 0 .85rem; border-left: 3px solid var(--mjh-ac-quote); line-height: 1.6; overscroll-behavior: contain; }
.mjh-np__caps p { margin: 0 0 .6em; }
.mjh-np__capslbl { display: block; font-family: 'Special Elite', ui-monospace, monospace; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mjh-ac-faint); margin: 0 0 .25rem; }
.mjh-np__cue { cursor: pointer; border-radius: 3px; transition: background .15s; }
.mjh-np__cue:hover { text-decoration: underline dotted; }
.mjh-np__cue.is-now { background: var(--mjh-ac-now); box-shadow: 0 0 0 2px var(--mjh-ac-now); }
.mjh-np__cite { display: block; margin: .2rem 0 .1rem; font-style: normal; font-family: 'Special Elite', ui-monospace, monospace; font-size: .66rem; letter-spacing: .06em; color: var(--mjh-ac-faint); }
/* his card: same dashed cut-out as the "Michael's words" box */
.mjh-np--me { background: var(--mjh-ac-paper); border: 1px dashed var(--mjh-ac-his); box-shadow: 2px 3px 0 rgba(138, 58, 43, .12); }
.mjh-np--me .mjh-np__caps { border-left-color: var(--mjh-ac-his); font-size: 1.02rem; }
.mjh-np--source .mjh-np__caps { font-family: Georgia, serif; font-style: italic; color: var(--mjh-ac-soft); }

/* ---- posted picks ---- */
.mjh-ac-post { margin: 0 0 1rem; }
.mjh-ac-playimg { cursor: pointer; display: inline-block; }
.mjh-ac-figcap a, a.mjh-ac-site { white-space: nowrap; }
.mjh-ac-quote, .mjh-ac-post .ledgable-quote { margin: .8rem 0 1rem; padding: .1rem 0 .1rem .9rem; border-left: 3px solid var(--mjh-ac-quote); font-family: Georgia, serif; font-style: italic; color: var(--mjh-ac-soft); line-height: 1.55; }
.mjh-ac-quote p { margin: 0 0 .6em; }
.ledgable-quote cite { display: block; margin-top: .35rem; font-style: normal; font-family: 'Special Elite', ui-monospace, monospace; font-size: .68rem; letter-spacing: .06em; color: var(--mjh-ac-faint); }
.mjh-yt { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.mjh-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mjh-ac-totranscript { font-size: .85rem; }

/* ---- Pickings board text ---- */
.mjh-ac-ocr { margin: .55rem 0 0; }
.mjh-ac-ocr .ledgable-quote { margin: .5rem 0 0; font-size: .95rem; }
.mjh-ac-ocr .ledgable-quote p { margin: 0 0 .5em; }
.mjh-ac-ocr .mjh-picks-mine { margin-top: 1rem; }
.mjh-ac-ocr .mjh-picks-mine .words p { margin: 0 0 .4em; }
.mjh-ac-ocr .mjh-picks-mine .words:not(.is-hand) { font-family: inherit; font-size: 1rem; font-style: italic; }
.mjh-ac-at { display: inline-block; font-family: 'Special Elite', ui-monospace, monospace; font-style: normal; font-size: .68rem; letter-spacing: .06em; color: var(--mjh-ac-faint); border: 1px solid var(--mjh-ac-edge); border-radius: 999px; padding: 0 .45rem; }
.mjh-ac-unsure { font-style: normal; font-size: .78em; color: var(--mjh-ac-his); background: var(--mjh-ac-paper2); border-radius: 3px; padding: 0 .15em; }

/* ---- links + footnotes ---- */
.single-content a.ledgable-link, .mjh-reader-body a.ledgable-link, .mjh-np a.ledgable-link, .mjh-picks a.ledgable-link,
.single-content p > a:not([class]), .mjh-reader-body p > a:not([class]) {
	color: var(--mjh-ac-link); text-decoration: underline; text-decoration-color: var(--mjh-ac-link-line); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.single-content a.ledgable-link:hover, .mjh-reader-body a.ledgable-link:hover, .single-content p > a:not([class]):hover { text-decoration-color: currentColor; }
sup.ledgable-fn { font-size: .68em; line-height: 0; margin-left: .08em; }
sup.ledgable-fn a { color: var(--mjh-ac-link); text-decoration: none; font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 600; padding: 0 .1em; }
.ledgable-footnotes { margin: 1.4rem 0 .4rem; padding: .7rem 0 0 1.4rem; border-top: 1px dotted var(--mjh-ac-edge); font-size: .82rem; line-height: 1.45; color: var(--mjh-ac-soft); }
.ledgable-footnotes li { margin: 0 0 .3rem; overflow-wrap: anywhere; }
.ledgable-footnotes li:target { background: var(--mjh-ac-now); }
.ledgable-footnotes .ledgable-fn__site { color: var(--mjh-ac-link); text-decoration: none; font-weight: 600; }
.ledgable-footnotes .ledgable-fn__back { color: var(--mjh-ac-faint); text-decoration: none; }

/* ---- floating pill (a card's picture pressed in a list) ---- */
.mjh-np-pill { position: fixed; z-index: 9999; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(560px, calc(100vw - 24px)); padding: .55rem .7rem .6rem; background: var(--mjh-ac-paper); color: var(--mjh-ac-ink); border: 1px solid var(--mjh-ac-edge); border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.mjh-np-pill.is-me { border: 1px dashed var(--mjh-ac-his); }
.mjh-np-pill__row { display: flex; align-items: center; gap: .5rem; }
.mjh-np-pill__row img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--mjh-ac-his); }
.mjh-np-pill__t { flex: 1; min-width: 0; font-size: .85rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mjh-np-pill__x { border: 0; background: none; color: var(--mjh-ac-faint); font-size: 1.2rem; cursor: pointer; padding: 0 .2rem; }
.mjh-np-pill audio { width: 100%; display: block; margin: .35rem 0 .2rem; }
.mjh-np-pill__cap { font-size: .9rem; line-height: 1.4; min-height: 1.4em; color: var(--mjh-ac-soft); }
.mjh-essay-thumb video, .mjh-essay-thumb .mjh-yt { width: 100%; display: block; }
@media (max-width: 560px) { .mjh-np { padding: .7rem .7rem .75rem; } .mjh-np__caps { max-height: 12rem; } }
