    /* ── Focused reader overlay ───────────────── */
    body.reader-open { overflow: hidden; }
    .reader-overlay {
      position: fixed; inset: 0; z-index: 80; display: none;
      /* Dim the feed rather than blurring it — the page behind stays readable,
         so the reader reads as a layer over the edition, not a modal cut off
         from it. The sheet's own header keeps its blur. */
      background: rgba(10,10,10,.38);
      padding: 24px 20px; overflow-y: auto;
    }
    .reader-overlay.open, .reader-overlay.closing { display: flex; align-items: center; justify-content: center; }
    .reader-sheet {
      width: min(640px, 100%); background: var(--bg); border: 1px solid var(--divider);
      border-radius: 12px; box-shadow: 0 18px 60px rgba(0,0,0,.22);
      border-left: 4px solid var(--brand, var(--ink-muted));
      position: relative; overflow: hidden;
      opacity: 0; transform: scale(.985); transition: opacity .18s ease, transform .2s ease;
    }
    .reader-overlay.open .reader-sheet { opacity: 1; transform: scale(1); }
    .reader-overlay.closing .reader-sheet { opacity: 0; transform: scale(.985); }
    .reader-scroll {
      max-height: min(760px, calc(100vh - 48px)); overflow-y: auto;
      scrollbar-width: none; padding: 28px 24px 20px;
    }
    .reader-scroll::-webkit-scrollbar { display: none; }
    .reader-top {
      display: flex; align-items: center; justify-content: space-between;
      gap: 14px; margin-bottom: 20px;
    }
    .reader-meta {
      display: flex; align-items: center; gap: 10px; min-width: 0;
    }
    /* The close control has a 36px tap target. The negative margin keeps the row as
       tall as the meta line, so the mobile header's height doesn't change. */
    .reader-actions {
      flex: 0 0 auto; display: flex; align-items: center; gap: 2px;
      margin: -7px -8px -7px 0;
    }
    .reader-close {
      flex: 0 0 auto; border: none; background: none; color: var(--ink-muted);
      cursor: pointer; font-size: 22px; line-height: 1; padding: 0;
      width: 36px; height: 36px;
      display: inline-flex; align-items: center; justify-content: center;
    }
    /* The dialog takes focus on open (see openReader). It is a container, not a
       control the reader tabbed to, so it must not paint a ring — the focusable
       controls inside keep theirs. */
    .reader-sheet:focus { outline: none; }
    .reader-close:hover { color: var(--ink); }
    .reader-close:focus:not(:focus-visible) { outline: none; }
    .reader-close:focus-visible { outline: 2px solid var(--ink-muted); outline-offset: 2px; border-radius: 4px; }
    /* Position-hue scrollbar — same design as the edition menu */
    /* Auto-hide: no rail; the rainbow thumb fades in only while scrolling / hovering. */
    .reader-bar { position: absolute; top: 12px; bottom: 12px; right: 6px; width: 5px; display: none; opacity: 0; transition: opacity .2s; }
    .reader-bar.show { opacity: 1; }
    .reader-thumb { position: absolute; left: 0; right: 0; top: 0; width: 5px; border-radius: 99px; background: #D54438; cursor: grab; touch-action: none; }
    .reader-thumb:active { cursor: grabbing; }
    @media (prefers-reduced-motion: reduce) { .reader-bar { transition: none; } }
    .reader-title {
      font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.3px;
      color: var(--ink); margin-bottom: 12px; text-wrap: pretty;
    }
    .reader-image {
      width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
      border-radius: 8px; border: 1px solid var(--divider); margin: 0 0 16px;
      background: var(--bg-subtle);
    }
    .reader-text { font-size: 14.5px; line-height: 1.68; color: var(--ink-2); }
    .reader-lead { font-size: 15.5px; color: var(--ink); margin-bottom: 14px; }
    .reader-section { margin-top: 16px; }
    .reader-label {
      font-family: var(--mono); font-size: 8.5px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .8px; color: var(--ink-muted); margin-bottom: 5px;
    }
    .reader-tags { margin-top: 16px; }
    .reader-grabber, .reader-dim { display: none; }
    @media (max-width: 560px) {
      /* A bottom sheet whose height reader.js sets to one of three stops (sheet.js). The dim
         is its own layer so it can fade out towards Minimum, where the page works as normal. */
      .reader-overlay {
        padding: 0; align-items: flex-end; justify-content: center; overflow: hidden;
        background: transparent;
      }
      .reader-overlay.open, .reader-overlay.closing { align-items: flex-end; justify-content: center; }
      .reader-overlay.parked { pointer-events: none; }
      .reader-dim {
        display: block; position: absolute; inset: 0;
        background: rgba(10,10,10,.34); opacity: 0; transition: opacity .3s ease;
      }
      .reader-sheet {
        pointer-events: auto; width: 100%; height: 0; display: flex; flex-direction: column;
        border-radius: 18px 18px 0 0;
        border-left-width: 0; border-top: 4px solid var(--brand, var(--ink-muted));
        box-shadow: 0 -14px 42px rgba(0,0,0,.22);
        opacity: 1; transform: none;
        transition: height .3s cubic-bezier(.2,.8,.2,1);
        touch-action: pan-y;
      }
      .reader-overlay.open .reader-sheet, .reader-overlay.closing .reader-sheet { opacity: 1; transform: none; }
      .reader-overlay.dragging .reader-sheet, .reader-overlay.dragging .reader-dim { transition: none; }
      /* Below Top a swipe moves the sheet instead of scrolling the story. */
      .reader-overlay:not(.at-top) :is(.reader-sheet, .reader-scroll) { touch-action: none; }
      .reader-scroll {
        flex: 1 1 auto; min-height: 0; max-height: none;
        padding: 30px 20px calc(20px + env(safe-area-inset-bottom));
        overscroll-behavior: contain;
      }
      .reader-top {
        position: sticky; top: -30px; z-index: 2;
        margin: -30px -20px 14px; padding: 30px 20px 12px;
        background: color-mix(in srgb, var(--bg) 94%, transparent);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid color-mix(in srgb, var(--divider) 82%, transparent);
        align-items: center; cursor: grab; touch-action: none;
      }
      /* The header is sticky and only 94% opaque, so a track running the full
         height of the sheet shows through the frosted glass. Start it below the
         header instead of dimming the header. 73px = the header's 65px box
         (30 padding + meta row + 12 padding + 1 border) plus a small gap. */
      .reader-bar { top: 73px; }
      .reader-meta { overflow: hidden; }
      .reader-meta .source-brand { min-width: 0; }
      .reader-meta .source-name {
        overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
      }
      .reader-meta .card-date { flex: 0 0 auto; }
      .reader-grabber {
        display: block; position: absolute; left: 50%; top: 0; width: 92px; height: 30px;
        transform: translateX(-50%); border: 0; padding: 0; margin: 0; background: transparent;
        cursor: grab; touch-action: none; z-index: 3;
      }
      .reader-grabber:active { cursor: grabbing; }
      .reader-grabber::before {
        content: ''; position: absolute; left: 50%; top: 11px; width: 38px; height: 4px;
        transform: translateX(-50%); border-radius: 99px;
        background: color-mix(in srgb, var(--ink-muted) 42%, transparent);
      }
      .reader-title { font-size: 20px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .reader-sheet, .reader-dim { transition: none !important; }
    }

    /* Rich prose (bullets / numbered lists / bold) in the abstract + reader body */
    .card-abstract p, .reader-text p { margin: 0 0 8px; }
    .card-abstract p:last-child, .reader-text p:last-child { margin-bottom: 0; }
    .card-abstract ul, .card-abstract ol,
    .reader-text ul, .reader-text ol { margin: 6px 0; padding-left: 20px; }
    .card-abstract li, .reader-text li { margin-bottom: 6px; line-height: 1.55; padding-left: 2px; }
    .card-abstract li:last-child, .reader-text li:last-child { margin-bottom: 0; }
    .card-abstract strong, .reader-text strong { font-weight: 700; color: var(--ink); }
