/* Curator entries only, including cached detail surfaces. Navigation, audio,
   save state and fullscreen writing geometry remain with their owners. */
.curator-entry-editorial[data-curator-entry-design] {
    --entry-ink: #3f3c39;
    --entry-muted: #77716a;
    --entry-line: #d8d4cc;
    --entry-art: var(--rh-skeleton-base);
    --entry-note-paper: var(--curator-reading-card);
    --curator-reading-ink: var(--entry-ink);
    --curator-reading-muted: var(--entry-muted);
    --longform-ink: var(--entry-ink);
    --longform-muted: var(--entry-muted);
    color: var(--entry-ink);
    font-family: var(--rh-sans);
    -webkit-font-smoothing: antialiased;
}
body.dark-mode .curator-entry-editorial[data-curator-entry-design] {
    --entry-ink: #e7e3db;
    --entry-muted: #a7a098;
    --entry-line: #363431;
    --entry-art: var(--rh-skeleton-base);
    --entry-note-paper: #1c1b1a;
}
.curator-entry-editorial[data-curator-entry-design] * { font-family: inherit; }
.curator-entry-editorial[data-curator-entry-design] :is(a, button):focus-visible { outline: 1px solid var(--entry-muted); outline-offset: 4px; }
.curator-entry-editorial[data-curator-entry-design] [data-curator-artwork] { background: var(--entry-art); }

/* Structured notes: plain cover, a compact identity, then one reading column. */
.curator-entry-editorial[data-curator-entry-design] .curator-reading-hero { gap: 1.2rem; padding: 0.5rem 0 2rem; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-cover-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; margin: 0; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-polaroid { width: 208px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-cover { border-radius: 0; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-cover::after { content: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-identity { width: 100%; max-width: 680px; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-identity h1 { margin: 0; color: var(--entry-ink); font-size: clamp(2rem, 7.5vw, 3.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.055em; overflow-wrap: anywhere; text-wrap: balance; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-byline { margin: 0.8rem 0 0; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-byline-copy { display: grid; gap: 0.2rem; }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-reading-byline-copy strong, .curator-longform-byline-copy strong) { color: var(--entry-ink); font-size: 0.88rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.02em; }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-reading-byline-handle, .curator-longform-byline-handle) { color: var(--entry-muted); font-size: 0.75rem; line-height: 1.4; letter-spacing: -0.01em; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-publish--entry { position: static; flex-direction: row; gap: 0.5rem; min-height: 34px; width: auto; transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-publish--entry .curator-reading-publish-toggle { width: 38px; height: 22px; border-color: var(--entry-line); background: color-mix(in srgb, var(--entry-ink) 6%, transparent); box-shadow: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-publish--entry .curator-reading-publish-toggle span { top: 3px; left: 3px; width: 14px; height: 14px; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-publish--entry .curator-reading-publish-toggle.is-published span { transform: translateX(16px); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-publish--entry .curator-reading-publish-toggle.is-published { border-color: #809083; background: rgba(75, 112, 85, 0.12); }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-reading-publish, .curator-reading-save-state) { font-size: 0.68rem; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-notes { width: min(100%, 680px); margin: 0 auto; transform: none; }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-reading-note-list, .curator-reading-note-row, .curator-reading-note-card) { box-sizing: border-box; min-width: 0; width: 100%; grid-template-columns: minmax(0, 1fr); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-list { gap: 1.5rem; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-card { gap: 0.75rem; padding: clamp(1.15rem, 3vw, 1.75rem); border: 0; border-radius: 4px; background: var(--entry-note-paper); box-shadow: 0 3px 14px rgba(25, 21, 16, 0.035); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-heading-line { align-items: center; gap: 0.5rem 1rem; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-heading h2 { color: var(--entry-ink); font-size: 1.1rem; font-weight: 500; font-style: normal; line-height: 1.35; letter-spacing: -0.03em; text-decoration: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-position { color: var(--entry-muted); font-size: 0.65rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-text { margin: 0; color: var(--entry-ink); font-size: 1rem; font-weight: 400; line-height: 1.75; letter-spacing: -0.012em; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-note-actions > button { min-height: 36px; font-size: 0.72rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-counter { font-size: 0.65rem; letter-spacing: 0; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-edit-shell.is-empty [data-curator-editable] { color: var(--entry-muted); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-add-note { border-color: var(--entry-line); color: var(--entry-ink); }

/* Longform shares the same type and paper, without a second card around prose. */
.curator-entry-editorial[data-curator-entry-design] .curator-longform-article { padding-top: 0.5rem; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-kicker { margin-bottom: 0.9rem; color: var(--entry-muted); font-size: 0.72rem; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-kicker-link { gap: 0; }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-longform-heading > h1, .curator-longform-title-shell) { width: min(100%, 760px); }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-heading h1 { color: var(--entry-ink); font-size: clamp(2.15rem, 6.5vw, 3.75rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.055em; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-deck { width: min(100%, 620px); color: var(--entry-muted); font-size: 1.05rem; font-weight: 400; font-style: normal; line-height: 1.6; letter-spacing: -0.02em; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-meta { margin-top: 1rem; margin-bottom: 1.5rem; color: var(--entry-muted); font-size: 0.68rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-cover { border-radius: 0; box-shadow: none; background: var(--entry-art); }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-byline { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card:not(.is-fullscreen-writing) { width: min(100%, 680px); margin: clamp(1.75rem, 4vw, 3rem) auto 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-body { color: var(--entry-ink); font-size: 1.05rem; font-weight: 400; line-height: 1.75; letter-spacing: -0.012em; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-body a { text-underline-offset: 0.2em; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-footer { border-color: var(--entry-line); background: transparent; box-shadow: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-footer-copy strong { font-size: 1rem; line-height: 1.35; letter-spacing: -0.025em; }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-longform-footer small, .curator-longform-footer-author-handle) { font-size: 0.72rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating { gap: 0.65rem; min-height: 44px; padding: 0.3rem 0.75rem; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--rh-paper) 96%, transparent); color: var(--entry-ink); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-publish { display: flex; flex-direction: row; align-items: center; gap: 0.6rem; margin: 0; padding: 0; min-height: 34px; color: var(--entry-muted); font-size: 0.75rem; }
/* Routine saving reads in the publish label; this card only carries messages that need attention.
   It matches the controls pill rather than adding a bordered box. */
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-save-state { bottom: calc(100% + 0.5rem); width: max-content; max-width: min(78vw, 320px); padding: 0.6rem 0.8rem; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--rh-paper) 96%, transparent); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); color: var(--entry-ink); font-size: 0.8rem; line-height: 1.35; white-space: normal; text-align: left; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-save-state.is-error { color: var(--rh-danger); font-weight: 400; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-publish-toggle { box-sizing: border-box; width: 34px; height: 20px; border: 0; background: color-mix(in srgb, var(--entry-ink) 14%, var(--rh-paper)); box-shadow: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-publish-toggle span { top: 3px; left: 3px; width: 14px; height: 14px; background: var(--rh-paper); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-publish-toggle.is-published { background: var(--entry-ink); }
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-publish-toggle.is-published span { transform: translateX(14px); }
.curator-entry-editorial[data-curator-entry-design] .curator-longform-edit-body { padding: 0 0.4rem; background: transparent; color: var(--entry-ink); font-size: 0.75rem; font-weight: 400; letter-spacing: -0.01em; text-transform: none; }

.curator-entry-editorial[data-curator-entry-design] :is(.curator-longform-attribution-prefix, .curator-longform-attribution-handle) { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }

/* The dock keeps its measured movement and save/Spotify controls. */
.curator-focus-popover.curator-entry-editorial::before { background: color-mix(in srgb, var(--rh-paper) 94%, transparent); }
.curator-entry-editorial[data-curator-entry-design] .curator-focus-popover-copy strong { font-size: 0.9rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.025em; }
.curator-entry-editorial[data-curator-entry-design] :is(.curator-focus-popover-copy small, .curator-focus-popover-handle) { font-size: 0.68rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.curator-entry-editorial[data-curator-entry-design] .curator-focus-popover-author-label small { font-size: 0.72rem; }

@media (min-width: 1101px) {
    .curator-reading-shell.curator-entry-editorial[data-curator-entry-design] { width: min(calc(100% - var(--curator-sidebar-width) - 80px), 820px); }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-hero { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 2.25rem; padding: 2rem 0 2.5rem; }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-hero:not(:has(.curator-reading-cover-wrap)) { grid-template-columns: minmax(0, 1fr); }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-polaroid { width: 240px; }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-identity { text-align: left; }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-identity h1 { text-align: left; text-wrap: pretty; }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-byline { justify-content: flex-start; }
    .curator-entry-editorial[data-curator-entry-design] .curator-reading-byline-copy { text-align: left; }
}
@media (max-width: 1100px) {
    .curator-app-shell-page .curator-entry-editorial[data-curator-entry-design]:is(.curator-reading-shell, .curator-longform-shell) { width: 100%; margin-inline: 0; padding-top: 0.35rem; }
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-article { padding-top: 0; }
}
@media (max-width: 680px) {
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card.is-fullscreen-writing {
        padding-right: max(1.25rem, env(safe-area-inset-right));
        padding-left: max(1.25rem, env(safe-area-inset-left));
        background: var(--rh-paper);
        box-shadow: 0 0 0 200vmax var(--rh-paper);
    }
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card.is-fullscreen-writing .curator-longform-writing-header {
        min-height: calc(env(safe-area-inset-top) + 56px);
        margin-bottom: 1rem;
        padding-top: calc(env(safe-area-inset-top) + 0.65rem);
        padding-bottom: 0.65rem;
        border-bottom: 0;
        background: color-mix(in srgb, var(--rh-paper) 97%, transparent);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card.is-fullscreen-writing .curator-longform-writing-header > strong {
        color: var(--entry-ink);
        font-family: var(--rh-sans);
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.3;
        letter-spacing: -0.025em;
        transform: none;
    }
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card.is-fullscreen-writing .curator-longform-writing-count {
        color: var(--entry-muted);
        font-size: 0.75rem;
        font-weight: 400;
        letter-spacing: 0;
        transform: none;
    }
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card.is-fullscreen-writing .curator-longform-writing-header > button {
        color: var(--entry-ink);
        font-size: 0.875rem;
        font-weight: 500;
        letter-spacing: -0.01em;
        text-transform: none;
    }
    .curator-entry-editorial[data-curator-entry-design] .curator-longform-body-card.is-fullscreen-writing .curator-longform-body {
        color: var(--entry-ink);
        font-size: 1.05rem;
        line-height: 1.75;
        letter-spacing: -0.012em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .curator-entry-editorial[data-curator-entry-design] [data-curator-artwork] img { transition: none; animation: none; }
}

.curator-entry-editorial .canonical-attribution { display: inline-flex; align-items: center; gap: 8px; }
.curator-entry-editorial .canonical-entry-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 12px 0 0; font-size: .85rem; font-weight: 500; letter-spacing: -.02em; }
.curator-entry-editorial .canonical-entry-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; color: var(--entry-ink); text-decoration: none; }
.curator-entry-editorial .canonical-entry-links svg { width: 18px; height: 18px; flex: 0 0 18px; fill: currentColor; }
/* Forewords read as a statement: the Rhune pages' lead, a size down, left-aligned with the notes. */
.curator-entry-editorial[data-curator-entry-design] .canonical-entry-foreword { width: min(100%, 680px); margin: 0.35rem auto 2rem; text-align: left; }
.curator-entry-editorial[data-curator-entry-design] .canonical-entry-foreword .curator-reading-note-text { margin: 0; padding: 0; color: var(--entry-ink); font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -0.04em; text-align: left; text-wrap: pretty; }
/* Empty, it reads as an invitation rather than writing: the same weight, well faded. */
.curator-entry-editorial[data-curator-entry-design] .canonical-entry-foreword .curator-reading-edit-shell.is-empty [data-curator-editable] { color: color-mix(in srgb, var(--entry-muted) 55%, transparent); }
@media (min-width: 1101px) {
    .curator-entry-editorial[data-curator-entry-design] .canonical-entry-foreword .curator-reading-note-text { font-size: 27px; }
}

.curator-entry-editorial[data-curator-entry-design] .canonical-entry-attribution { display: flex; align-items: center; gap: 8px; }

/* Canonical entries use a compact identity dock; ordinary focus docks stay intact. */
.curator-focus-popover--artist .curator-focus-popover-meta::before { display: none; }
.curator-focus-popover--artist .curator-focus-popover-author { display: flex; min-height: 44px; padding: 10px 14px; box-sizing: border-box; }
.curator-focus-popover--artist[data-curator-entry-design] .curator-focus-popover-author-label small { height: auto; min-height: 20px; gap: 8px; overflow: visible; }
.curator-focus-popover--artist[data-curator-entry-design] .curator-focus-popover-handle { font-size: .8rem; font-weight: 500; letter-spacing: -.02em; color: var(--entry-ink); }
.curator-focus-popover--artist .curator-save-count { display: none; }
.curator-focus-popover--artist .curator-save-button { min-width: 44px; min-height: 44px; justify-content: center; }

/* Official release titles borrow only the editorial title role. */
.curator-entry-editorial[data-curator-entry-design][data-canonical-entry="true"] .curator-reading-identity h1 {
    font-family: var(--rh-editorial-title-font);
    font-size: clamp(2.9rem, 7.5vw, 3.6rem);
}

.listener-note-attribution { margin: 16px 0 0; font: 13px/1.4 var(--rh-sans); color: var(--entry-muted); }
.listener-note-attribution a { color: inherit; text-decoration: none; }
.curator-entry-editorial .curator-reading-notes > .listener-notes-heading { margin: 56px 0 20px; color: var(--entry-ink); font: 500 15px/1.4 var(--rh-sans); letter-spacing: -.02em; }

/* First-entry cues, once per device: the empty + tints on arrival; after the first track
   saves, the publish switch darkens as its knob nudges towards on. */
.curator-entry-editorial.is-entry-intro .curator-reading-notes:not(:has([data-curator-note-row])) .curator-reading-add-note { animation: curator-entry-intro-tint 1.1s ease-in-out 0.6s 2; }
.curator-entry-editorial.is-entry-intro .curator-reading-owner-tools--floating.is-intro-publish-cue:not(.is-editor-active) .curator-reading-publish-toggle:not(.is-published) { animation: curator-entry-intro-switch 0.8s cubic-bezier(0.33, 0, 0.2, 1) 0.3s 2; }
.curator-entry-editorial.is-entry-intro .curator-reading-owner-tools--floating.is-intro-publish-cue:not(.is-editor-active) .curator-reading-publish-toggle:not(.is-published) span { animation: curator-entry-intro-nudge 0.8s cubic-bezier(0.33, 0, 0.2, 1) 0.3s 2; }
@keyframes curator-entry-intro-tint { 50% { background-color: rgba(36, 34, 32, 0.11); } }
@keyframes curator-entry-intro-switch { 45% { background-color: color-mix(in srgb, var(--entry-ink) 34%, var(--rh-paper)); } }
@keyframes curator-entry-intro-nudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) {
    .curator-entry-editorial.is-entry-intro .curator-reading-add-note,
    .curator-entry-editorial.is-entry-intro .curator-reading-owner-tools--floating .curator-reading-publish-toggle,
    .curator-entry-editorial.is-entry-intro .curator-reading-owner-tools--floating .curator-reading-publish-toggle span { animation: none; }
}

/* Saved: an ink check disc with a muted label. */
.curator-entry-editorial[data-curator-entry-design] .curator-reading-owner-tools--floating .curator-reading-save-state.is-saved { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--entry-muted); }
.curator-entry-editorial .curator-reading-save-state.is-saved::before { content: ""; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--entry-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
