/* Reading presentation only. Preserve Story Mode variables and all source prose. */
body.house-brand:has(.article[data-reading-post]) {
    background: radial-gradient(ellipse at 6% 0, #25435866, transparent 50%), linear-gradient(110deg, #081b2a, var(--house-ink) 72%);
}
body.house-brand .article[data-reading-post] { padding-top: clamp(24px, 4vw, 48px); }
/* A single editorial opening; prose and preference-controlled surfaces stay quiet. */
body.house-brand .article[data-reading-post] .article-header {
    position: relative;
    width: min(860px, calc(100vw - 48px));
    max-width: 860px;
    margin: 0 0 32px 50%;
    transform: translateX(-50%);
    padding: clamp(28px, 4vw, 48px);
    border-top: 1px solid #b39868;
    border-bottom: 1px solid #58604f;
    background: radial-gradient(ellipse at 100% 0, #b98b4926, transparent 60%),
        repeating-linear-gradient(115deg, transparent 0, transparent 3px, #faebcc03 3px, #faebcc03 4px),
        linear-gradient(125deg, #19364b, #102739 72%, #0e2333);
    box-shadow: 0 18px 40px -28px #000;
}
body.house-brand .article[data-reading-post] .article-header > .eyebrow { color: var(--house-gold); font-size: 12px; letter-spacing: .15em; margin: 0 0 18px; }
body.house-brand .article[data-reading-post] .article-header > .eyebrow::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--house-gold);
}
body.house-brand .article[data-reading-post] .article-header h1 { max-width: none; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.15; letter-spacing: -.025em; text-wrap: pretty; overflow-wrap: anywhere; }
body.house-brand .article[data-reading-post] .article-meta { gap: 8px 20px; margin-top: 24px; color: var(--house-muted); font-size: 14px; line-height: 1.7; }
body.house-brand .article[data-reading-post] .article-meta a { text-underline-offset: 4px; }
body.house-brand .article[data-reading-post] .story-metadata-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 32px;
    margin-top: 26px;
    border-color: #c3a66a55;
}
body.house-brand .article[data-reading-post] .story-synopsis { grid-column: 1 / -1; border-color: #c3a66a40; }
body.house-brand .article[data-reading-post] .story-content-advisories { padding-top: 0; border-top: 0; }
body.house-brand .article[data-reading-post] .story-metadata-group { min-width: 0; }
body.house-brand .article[data-reading-post] .article-excerpt { max-width: 58ch; font-size: 19px; line-height: 1.7; color: #c4d1da; }
body.house-brand .article[data-reading-post] .story-synopsis summary { min-height: 48px; padding-block: 12px; font-size: 15px; line-height: 1.6; }
body.house-brand .article[data-reading-post] .story-synopsis-copy { font-size: 16px; line-height: 1.75; color: #cbd3da; }
body.house-brand .article[data-reading-post] .story-metadata-label { color: #b9c6d1; font-size: 12px; line-height: 1.5; letter-spacing: .07em; }
body.house-brand .article[data-reading-post] .advisory-badge { padding: 4px 9px; font-size: 12px; line-height: 1.5; }
body.house-brand .article[data-reading-post] .jump-to-comments { min-height: 44px; margin-top: 18px; font-size: 14px; }
body.house-brand .article[data-reading-post] .article-image { margin-bottom: 30px; }
body.house-brand .article[data-reading-post] .article-image img { border-radius: 5px; }

body.house-brand .article[data-reading-post] .story-audio-inline {
    width: min(760px, calc(100vw - 48px));
    margin-bottom: 16px;
    border-color: #bca36d55;
    border-radius: 6px;
    background: linear-gradient(125deg, #19364b, #102739);
}
body.house-brand .article[data-reading-post] .story-audio-launch { padding: 17px 20px; gap: 18px; }
body.house-brand .article[data-reading-post] .story-audio-launch h2 { font-size: 20px; line-height: 1.3; }
body.house-brand .article[data-reading-post] .story-audio-launch p { font-size: 13px; line-height: 1.65; }
body.house-brand .article[data-reading-post] .story-audio-launch button { min-height: 44px; padding-inline: 19px; font-size: 14px; }
body.house-brand .article[data-reading-post] .story-audio-launch button > [aria-hidden="true"] { display: inline-block; width: 0; height: 0; font-size: 0; border-block: 5px solid transparent; border-left: 8px solid currentColor; }
body.house-brand .article[data-reading-post] .story-mode { width: min(760px, calc(100vw - 48px)); margin-bottom: 42px; }
body.house-brand .article[data-reading-post] .story-mode-details {
    border: 1px solid #4a62756b;
    border-radius: 4px;
    background: linear-gradient(125deg, #142b3c, #0e2232);
    box-shadow: 0 12px 32px #02091026;
}
body.house-brand .article[data-reading-post] .story-mode-details > summary { min-height: 78px; padding: 15px 20px; border-radius: 5px; }
body.house-brand .article[data-reading-post] .story-mode-details > summary strong { color: var(--house-gold); font-size: 13px; letter-spacing: .13em; }
body.house-brand .article[data-reading-post] .story-mode-details > summary small { margin-top: 3px; font-size: 13px; line-height: 1.5; }
body.house-brand .article[data-reading-post] .story-mode-details > summary > span:last-child { min-width: 44px; width: max-content; min-height: 44px; height: auto; padding: 4px; border-radius: 3px; font-size: 20px; background: #e4c47f08; }
body.house-brand .article[data-reading-post] .story-mode-panel { padding: 28px; }
body.house-brand .article[data-reading-post] .story-mode-panel > header { align-items: center; margin-bottom: 28px; }
body.house-brand .article[data-reading-post] .story-mode-panel h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
body.house-brand .article[data-reading-post] .story-mode-reset { min-height: 44px; padding: 10px 16px; font-size: 12px; border-radius: 3px; }
body.house-brand .article[data-reading-post] .story-mode-grid { gap: 25px 24px; }
body.house-brand .article[data-reading-post] .story-mode-grid legend { margin-bottom: 10px; font-size: 12px; line-height: 1.5; letter-spacing: .07em; color: #c1cdd7; }
body.house-brand .article[data-reading-post] .story-mode-options { gap: 6px; }
body.house-brand .article[data-reading-post] .story-mode-options button { min-height: 46px; padding: 10px 7px; font-size: 13px; line-height: 1.4; border-radius: 3px; border-color: #6f82966b; color: #d6dfe6; }
body.house-brand .article[data-reading-post] .story-mode-options button[aria-pressed="true"] { color: #091725; border-color: var(--house-gold); background: var(--house-gold); }
body.house-brand .article[data-reading-post] .story-mode-options button:hover { border-color: var(--house-gold); }
body.house-brand .article[data-reading-post] .story-mode-panel > footer { margin-top: 28px; gap: 12px; }
body.house-brand .article[data-reading-post] .story-mode-panel > footer p { font-size: 13px; line-height: 1.7; }
body.house-brand .article[data-reading-post] .story-mode-status:empty { display: none; }

body.house-brand .article[data-story-mode-ready] .gh-content { width: min(var(--story-reading-width, 760px), calc(100vw - 48px)); }
body.house-brand .article[data-reading-post] .gh-content > hr { height: 1px; border: 0; background: linear-gradient(90deg, transparent, #ba9b6370, transparent); margin-block: 34px; }
body.house-brand .article[data-reading-post] .gh-content :is(h2, h3) { line-height: 1.3; overflow-wrap: anywhere; }
body.house-brand .article[data-reading-post] .gh-content { scroll-margin-top: 24px; }
body.house-brand .article[data-reading-post] .story-next-nav { margin-top: 52px; padding-top: 26px; gap: 12px; border-color: #bca36d55; }
body.house-brand .article[data-reading-post] :is(.story-next-link, .story-next-all, .story-next-end) { min-height: 110px; padding: 20px 16px; border-radius: 5px; background: linear-gradient(130deg, #1b3042a6, #10213175); border-color: #bca36d55; }
body.house-brand .article[data-reading-post] :is(.story-next-link, .story-next-all, .story-next-end) span { font-size: 12px; line-height: 1.5; color: #c2cdd7; letter-spacing: .06em; }
body.house-brand .article[data-reading-post] :is(.story-next-link, .story-next-all, .story-next-end) strong { margin-top: 9px; color: var(--house-gold); font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: 0; text-transform: none; }
body.house-brand .article[data-reading-post] :is(.story-next-link, .story-next-all):hover { border-color: var(--house-gold); background-color: #20384c; }
body.house-brand .article[data-reading-post] .expanded-reader-notes { border-color: #bca36d55; border-radius: 5px; background: linear-gradient(135deg, #142838, #0c1c2a); }
body.house-brand .article[data-reading-post] .expanded-reader-notes > header h2 { line-height: 1.3; }
body.house-brand .article[data-reading-post] .expanded-reader-notes :is(label, button) { font-size: 14px; }
body.house-brand .article[data-reading-post] .story-mode-progress { pointer-events: none; min-width: 0; width: 170px; padding: 8px 10px; border-radius: 3px; box-shadow: 0 4px 18px #00000030; }
body.house-brand .article[data-reading-post] .story-mode-progress strong { font-size: 12px; }

/* One ending area outside the prose; static chapter states remain plain text. */
body.house-brand .article[data-reading-post] .reader-ending {
    width: min(var(--story-reading-width, 760px), calc(100vw - 48px));
    margin: 52px auto 0;
    padding: 26px;
    border: 1px solid #425668;
    border-top: 1px solid var(--house-gold);
    border-radius: 4px;
    background: radial-gradient(ellipse at 100% 0, #b98b4912, transparent 60%), linear-gradient(135deg, #193347, #0e2333);
}
body.house-brand .article[data-reading-post] .reader-ending .story-next-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0 0 24px; gap: 12px; border-top: 0; border-bottom: 1px solid #bca36d40; }
body.house-brand .article[data-reading-post] .reader-ending :is(.story-next-link, .story-next-all) { min-height: 104px; padding: 16px; border-color: #67829950; background: #0b1c2a70; }
body.house-brand .article[data-reading-post] .reader-ending :is(.story-next-link, .story-next-all) strong { font-size: 20px; color: var(--house-ivory); }
body.house-brand .article[data-reading-post] .reader-ending .story-next-link.is-next { border-color: #bca36d99; background: linear-gradient(125deg, #284354, #193243); }
body.house-brand .article[data-reading-post] .reader-ending .story-next-end { min-height: 0; align-content: center; padding: 16px 10px; border: 0; border-radius: 0; background: none; text-align: left; cursor: default; }
body.house-brand .article[data-reading-post] .reader-ending .story-next-end span { color: var(--house-gold); font-size: 13px; letter-spacing: .02em; text-transform: none; }
body.house-brand .article[data-reading-post] .reader-ending .story-next-end strong { margin-top: 5px; color: #c3d0da; font-size: 18px; }
body.house-brand .article[data-reading-post] .reader-ending .next-chapter-offer { width: auto; max-width: none; margin: 24px 0 0; }
body.house-brand .article[data-reading-post] .reader-ending-actions { display: grid; gap: 10px; margin-top: 24px; }
body.house-brand .article[data-reading-post] .reader-ending-actions:first-child { margin-top: 0; }
body.house-brand .article[data-reading-post] .reader-ending :is(.post-like, .post-reading-actions) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; justify-items: stretch; }
body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-button, .post-bookmark-button, .post-read-button, .post-reading-room-link, .post-share-actions a, .post-share-actions button, .post-share-more > summary) {
    min-width: 44px;
    min-height: 48px;
    height: auto;
    justify-content: center;
    padding: 11px 14px;
    border: 1px solid #bca36d70;
    border-radius: 4px;
    background: #102131;
    color: #dce4e9;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    overflow-wrap: anywhere;
}
body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-button, .post-bookmark-button, .post-read-button)[aria-pressed="true"] { border-color: var(--house-gold); color: var(--house-ivory); background: #253c4e; }
body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-heart, .post-bookmark-mark, .post-read-mark) { color: var(--house-gold); }
body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-button, .post-bookmark-button, .post-read-button)[aria-pressed="true"] > [aria-hidden="true"] { color: var(--house-gold); filter: none; }
body.house-brand .article[data-reading-post] .reader-ending :is(a, button, summary):focus-visible { outline: 2px solid var(--house-gold); outline-offset: 3px; }
body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-button, .post-bookmark-button, .post-read-button, .post-reading-room-link, .post-share-actions a, .post-share-actions button, .post-share-more > summary):hover { border-color: var(--house-gold); color: var(--house-ivory); transform: none; }
body.house-brand .article[data-reading-post] .reader-ending .post-reading-actions small { grid-column: 1 / -1; color: #b9c6d1; font-size: 13px; line-height: 1.6; text-align: left; }
body.house-brand .article[data-reading-post] .reader-ending .post-share { margin-top: 24px; padding-top: 22px; border-color: #bca36d40; }
body.house-brand .article[data-reading-post] .reader-ending .post-share > p { margin-bottom: 12px; color: var(--house-gold); font-size: 15px; line-height: 1.5; letter-spacing: 0; text-transform: none; }
body.house-brand .article[data-reading-post] .reader-ending .post-share-actions { gap: 10px; }
body.house-brand .article[data-reading-post] .reader-ending .post-share-status { margin-top: 10px; color: #c3d0da; font-size: 13px; line-height: 1.6; }
body.house-brand .article[data-reading-post] .reader-ending .post-share-status:empty { display: none; }

@media (max-width: 760px) {
    body.house-brand .article[data-reading-post] { padding-top: 24px; }
    body.house-brand .article[data-reading-post] .article-header { width: calc(100vw - 32px); padding: 26px 20px 22px; }
    body.house-brand .article[data-reading-post] .article-header::after { top: 20px; right: 20px; width: 68px; height: 22px; }
    body.house-brand .article[data-reading-post] .article-header > .eyebrow { margin-right: 0; font-size: 11px; }
    body.house-brand .article[data-reading-post] .story-metadata-panel { gap: 16px; }
    body.house-brand .article[data-reading-post] .story-metadata-label { font-size: 11px; }
    body.house-brand .article[data-reading-post] .story-metadata-panel .advisory-badge { font-size: 11px; padding: 4px 8px; }
    body.house-brand .article[data-reading-post] .article-excerpt { font-size: 17px; }
    body.house-brand .article[data-reading-post] .article-header h1 { font-size: clamp(30px, 8vw, 42px); line-height: 1.2; text-wrap: pretty; }
    body.house-brand .article[data-reading-post] .article-meta { gap: 6px 16px; margin-top: 18px; font-size: 13px; }
    body.house-brand .article[data-reading-post] .story-metadata-panel { margin-top: 22px; }
    body.house-brand .article[data-reading-post] .story-audio-launch { padding: 15px 16px; }
    body.house-brand .article[data-reading-post] .story-audio-launch h2 { font-size: 19px; }
    body.house-brand .article[data-reading-post] .story-mode-details > summary { padding: 14px 16px; gap: 12px; }
    body.house-brand .article[data-reading-post] .story-mode-details > summary small { font-size: 12px; }
    body.house-brand .article[data-reading-post] .story-mode-panel { padding: 24px 16px; }
    body.house-brand .article[data-reading-post] .story-mode-panel > header { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    body.house-brand .article[data-reading-post] .story-mode-panel h2 { font-size: 29px; }
    body.house-brand .article[data-reading-post] .story-mode-reset { padding-inline: 12px; font-size: 11px; }
    body.house-brand .article[data-reading-post] .story-mode-options { gap: 5px; }
    body.house-brand .article[data-reading-post] .story-mode-options button { font-size: 12px; padding-inline: 4px; }
    body.house-brand .article[data-reading-post] .story-mode-panel > footer { grid-template-columns: minmax(0, 1fr); }
    body.house-brand .article[data-reading-post] .story-next-nav { margin-top: 38px; padding-inline: 10px; }
    body.house-brand .article[data-reading-post] :is(.story-next-link, .story-next-all, .story-next-end) { min-height: 90px; padding: 18px; }
    body.house-brand .article[data-reading-post] .story-next-link.is-next { border-color: #d4b67699; background: linear-gradient(120deg, #233a4d, #142636); }
    body.house-brand .article[data-reading-post] .reader-ending { margin-top: 38px; padding: 20px 16px; }
    body.house-brand .article[data-reading-post] .reader-ending .story-next-nav { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body.house-brand .article[data-reading-post] .reader-ending :is(.story-next-link, .story-next-all) { min-height: 80px; text-align: left; }
    body.house-brand .article[data-reading-post] .reader-ending .story-next-end { padding: 8px 0 0; }
    /* Keep the mobile reading indicator at the viewport edge, away from
       chapter actions and the last visible line of prose. */
    body.house-brand .article[data-reading-post] .story-mode-progress { top: 0; right: 0; bottom: auto; left: 0; width: 100%; padding: 6px max(24px, env(safe-area-inset-right)) 6px max(24px, env(safe-area-inset-left)); border: 0; border-bottom: 1px solid #bca36d66; border-radius: 0; }
}
@media (max-width: 420px) {
    body.house-brand .article[data-reading-post] .reader-ending :is(.post-like, .post-reading-actions) { grid-template-columns: minmax(0, 1fr); }
}
@media (forced-colors: active) {
    body.house-brand .article[data-reading-post] .article-header { background: Canvas; border-color: CanvasText; box-shadow: none; }
    body.house-brand .article[data-reading-post] .article-header::after { display: none; }
    body.house-brand .article[data-reading-post] :is(.story-mode-details, .story-audio-inline, .expanded-reader-notes, .story-next-link, .story-next-all, .story-next-end) { background: Canvas; border-color: CanvasText; box-shadow: none; }
    body.house-brand .article[data-reading-post] .story-mode-options button[aria-pressed="true"] { color: HighlightText; background: Highlight; border-color: Highlight; forced-color-adjust: none; }
    body.house-brand .article[data-reading-post] .story-mode-progress i { background: Highlight; }
    body.house-brand .article[data-reading-post] .reader-ending { background: Canvas; border-color: CanvasText; }
    body.house-brand .article[data-reading-post] .reader-ending .story-next-end { background: Canvas; border: 0; }
    body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-button, .post-bookmark-button, .post-read-button)[aria-pressed="true"] { background: Highlight; color: HighlightText; border-color: Highlight; forced-color-adjust: none; }
    body.house-brand .article[data-reading-post] .reader-ending :is(.post-like-button, .post-bookmark-button, .post-read-button)[aria-pressed="true"] > [aria-hidden="true"] { color: HighlightText; }
}
