/* 86'd Me Phase 2B: colors only, except the new menu preference control.
 * Light mode uses the unmodified original component rules. No font, layout,
 * image, animation, ad, content, breakpoint or colored-border geometry changes.
 * Category accents, post-type accents, colored borders, neutral borders and
 * dividers have separate variables even where their starting colors match.
 */
html:is([data-hp86-color-scope="mobile-home"],[data-hp86-color-scope="article"],[data-hp86-color-scope="landing"],[data-hp86-color-scope="site"]) {
  --hp86-color-canvas: #ffffff;
  --hp86-color-surface: #f5f5f5;
  --hp86-color-text: #141414;
  --hp86-color-secondary: #4a4a4a;
  --hp86-color-border: #222222;
  --hp86-color-divider: #141414;
  --hp86-color-link: hsl(240,99%,37%);
  --hp86-color-kicker: #b0151c;
  --hp86-color-byline: #7a2bb8;
  --hp86-color-focus: #ff6319;
  --hp86-color-on-accent: #141414;
  --hp86-color-type-badge: #141414;
  --hp86-color-type-badge-text: #ffffff;
  /* Existing category/post-type color associations; independently adjustable. */
  --hp86-category-orange: hsl(19,100%,55%);
  --hp86-category-green: hsl(101,48%,51%);
  --hp86-category-blue: hsl(240,99%,37%);
  --hp86-category-red: hsl(351,87%,48%);
  --hp86-category-yellow: hsl(48,98%,51%);
  --hp86-category-black: hsl(359,5%,14%);
  --hp86-post-type-orange: hsl(19,100%,55%);
  --hp86-post-type-green: hsl(101,48%,51%);
  --hp86-post-type-blue: hsl(240,99%,37%);
  --hp86-post-type-red: hsl(351,87%,48%);
  --hp86-post-type-yellow: hsl(48,98%,51%);
  --hp86-post-type-black: hsl(359,5%,14%);
  --hp86-border-orange: hsl(19,100%,55%);
  --hp86-border-green: hsl(101,48%,51%);
  --hp86-border-blue: hsl(240,99%,37%);
  --hp86-border-red: hsl(351,87%,48%);
  --hp86-border-yellow: hsl(48,98%,51%);
  --hp86-border-black: #000000;
  --hp86-home-category: var(--hp86-category-orange);
  --hp86-menu-border-navy: #00008b;
  --hp86-menu-border-orange: #ff6319;
  --hp86-menu-border-yellow: #fccc0a;
}

/* These two images occupy the exact original logo box; only one is displayed. */
.hp86-header__logo img.hp86-color-logo--dark, .loader-logo img.hp86-color-logo--dark { display: none; }
.hp86-color-control[hidden] { display: none !important; }
@media (min-width:1024px) { .hp86-menu .hp86-color-control { display:none !important; } }

@media all {
  html:is([data-hp86-color-scope="mobile-home"],[data-hp86-color-scope="article"],[data-hp86-color-scope="landing"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] {
    --hp86-color-canvas: #121212;
    --hp86-color-surface: #1c1c1c;
    --hp86-color-text: #f2f2f2;
    --hp86-color-secondary: #bdbdbd;
    --hp86-color-border: #676767;
    --hp86-color-divider: #676767;
    --hp86-color-link: #8fa8ff;
    --hp86-color-kicker: #ff929a;
    --hp86-color-byline: #c8a7ff;
    --hp86-color-type-badge: #1c1c1c;
    color-scheme: dark;
    background-color: var(--hp86-color-canvas);
  }
  html:is([data-hp86-color-scope="mobile-home"],[data-hp86-color-scope="article"],[data-hp86-color-scope="landing"],[data-hp86-color-scope="site"])[data-hp86-theme="light"] { color-scheme: light; }

  /* New control: shares the menu's existing fonts and spacing language. */
  .hp86-menu .hp86-color-control {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    padding:8px 2px; border-top:1px solid var(--hp86-color-border);
    color:var(--hp86-color-secondary);
    font-family:var(--hp86-body); font-size:12px; line-height:1.3;
  }
  .hp86-menu .hp86-color-control button {
    min-height:44px; padding:8px 14px; border:1px solid var(--hp86-color-border);
    border-radius:999px; background:var(--hp86-color-canvas); color:var(--hp86-color-text);
    font:inherit; cursor:pointer;
  }
  .hp86-menu .hp86-color-control button[aria-pressed="true"] {
    background:var(--hp86-color-surface);
  }
  .hp86-menu .hp86-color-control button:focus-visible {
    outline:3px solid var(--hp86-color-focus); outline-offset:2px;
  }
}

/* Shared dark-only homepage adapters. Component geometry and light styles remain authoritative. */
@media all {
  html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home {
    background-color:var(--hp86-color-canvas); color:var(--hp86-color-text);
  }
  html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home :is(#page,#home-page) {
    background-color:var(--hp86-color-canvas); color:var(--hp86-color-text);
  }
  /* 1: header and expanded navigation, including the existing colored hooks. */
  html[data-hp86-theme="dark"] body.home :is(.hp86-header,.hp86-menu,.hp86-home) {
    --hp86-paper:var(--hp86-color-canvas); --hp86-ink:var(--hp86-color-text);
    --hp86-muted:var(--hp86-color-secondary);
  }
  html[data-hp86-theme="dark"] body.home :is(.hp86-header,.hp86-menu) {
    --hp86-menu-line:var(--hp86-color-border);
    --hp86-menu-navy:var(--hp86-menu-border-navy);
    --hp86-menu-orange:var(--hp86-menu-border-orange);
    --hp86-menu-yellow:var(--hp86-menu-border-yellow);
  }
  html[data-hp86-theme="dark"] body.home .hp86-header { border-bottom-color:var(--hp86-color-divider); }
  html[data-hp86-theme="dark"].hp86-menu-open body.home .hp86-header { border-bottom-color:transparent; }
  html[data-hp86-theme="dark"] body.home .hp86-header__logo img.hp86-color-logo--light { visibility:hidden; }
  html[data-hp86-theme="dark"] body.home .hp86-header__logo img.hp86-color-logo--dark { display:block; position:absolute; inset:0; width:100%; height:100%; }
  html[data-hp86-theme="dark"] body.home .hp86-menu input::placeholder { color:var(--hp86-color-secondary); }
  html[data-hp86-theme="dark"] body.home .hp86-menu__search button svg path { stroke:var(--hp86-color-kicker); }
  /* The newsletter's existing brand-red filled button and white label remain. */

  html[data-hp86-theme="dark"] body.home .loader-logo img.hp86-color-logo--light { display:none; }
  html[data-hp86-theme="dark"] body.home .loader-logo img.hp86-color-logo--dark { display:block; }

  /* 2: mission, navigation artwork, lead story and seven supporting rows. */
  html[data-hp86-theme="dark"] body.home .hp86-home {
    --hp86-red:var(--hp86-color-kicker); --hp86-purple:var(--hp86-color-byline);
    --hp86-rule-heavy:3px solid var(--hp86-color-divider);
  }
  html[data-hp86-theme="dark"] body.home .hp86-home .hp86-mission p { color:var(--hp86-color-text); }
  html[data-hp86-theme="dark"] body.home .hp86-home .hp86-badge--category {
    background-color:var(--hp86-home-category); color:var(--hp86-color-on-accent);
  }
  html[data-hp86-theme="dark"] body.home .hp86-home .hp86-badge--type {
    background-color:var(--hp86-color-type-badge); color:var(--hp86-color-type-badge-text);
  }

  /* 3–7: legacy Trending, Regulars surroundings, Videos, Specials and Side Station.
   * Do not override .fbr-card / .n86 / .f86 artwork or their intentional dark tokens. */
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) :is(.black,[data-text-color="black"]) { color:var(--hp86-color-text); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) :is(h2,h3,h4) { color:var(--hp86-color-text); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) .blue { color:var(--hp86-color-link); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) .t-100 a { color:var(--hp86-color-link); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) .author-info a { color:var(--hp86-color-byline); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) :is(.border-line,.top-border-line,.bottom-line,.line-break) { border-color:var(--hp86-color-divider); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) :is(.border-line,.top-border-line)::after { border-color:var(--hp86-color-divider); }

  /* 8: TotalPoll owns high-specificity inline styles. Scope these exceptions to
   * its actual containers, labels and buttons; preserve control structure/state. */
  html[data-hp86-theme="dark"] body.home #totalpoll { color-scheme:dark; }
  html[data-hp86-theme="dark"] body.home #totalpoll .totalpoll-question-content { color:var(--hp86-color-text) !important; }
  html[data-hp86-theme="dark"] body.home #totalpoll :is(.totalpoll-question-choices-item,.totalpoll-question-choices-item-container,.totalpoll-question-choices-item-label,.totalpoll-question-choices-item-control,.totalpoll-question-choices-item-selector) {
    background-color:var(--hp86-color-surface) !important; color:var(--hp86-color-text) !important;
    border-color:var(--hp86-color-border) !important;
  }
  html[data-hp86-theme="dark"] body.home #totalpoll .totalpoll-question-choices-item-selector-box { border-color:var(--hp86-color-secondary) !important; }
  html[data-hp86-theme="dark"] body.home #totalpoll .totalpoll-question-choices-item:focus-visible { outline:3px solid var(--hp86-color-focus); }
  html[data-hp86-theme="dark"] body.home #totalpoll :is(.totalpoll-button,.totalpoll-button-primary,.totalpoll-button-secondary) {
    background:var(--hp86-color-surface) !important; color:var(--hp86-color-text) !important;
    border-color:var(--hp86-color-border) !important;
  }
  html[data-hp86-theme="dark"] body.home #totalpoll :is(.totalpoll-question-choices-item.checked,.totalpoll-question-choices-item.is-selected) {
    outline:2px solid var(--hp86-color-focus);
  }
  html[data-hp86-theme="dark"] body.home #totalpoll :is(.totalpoll-results-item,.totalpoll-message,.totalpoll-error) { color:var(--hp86-color-text); }
  html[data-hp86-theme="dark"] body.home #news-river .alm-load-more-btn {
    background:var(--hp86-color-link); color:#141414; border-color:var(--hp86-color-border);
  }
  /* 9: footer/newsletter retain their existing black surfaces and brand colors. */
  /* Loader: keep the existing animation; provide a matching dark canvas. */
  html[data-hp86-theme="dark"] body.home .preloader { background-color:var(--hp86-color-canvas) !important; }
}

/* Existing associations: values and border geometry are unchanged. */
@media (max-width:1023px) {
html[data-hp86-color-scope="mobile-home"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="orange"] { background-color:var(--hp86-category-orange); }
html[data-hp86-color-scope="mobile-home"] body.home .flag[data-color="orange"] { background-color:var(--hp86-post-type-orange); }
html[data-hp86-color-scope="mobile-home"] body.home h3[data-color="white"] > span.orange { color:var(--hp86-post-type-orange); }
html[data-hp86-color-scope="mobile-home"] body.home [data-border-color="orange"] { border-color:var(--hp86-border-orange); }
html[data-hp86-color-scope="mobile-home"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="green"] { background-color:var(--hp86-category-green); }
html[data-hp86-color-scope="mobile-home"] body.home .flag[data-color="green"] { background-color:var(--hp86-post-type-green); }
html[data-hp86-color-scope="mobile-home"] body.home h3[data-color="white"] > span.green { color:var(--hp86-post-type-green); }
html[data-hp86-color-scope="mobile-home"] body.home [data-border-color="green"] { border-color:var(--hp86-border-green); }
html[data-hp86-color-scope="mobile-home"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="blue"] { background-color:var(--hp86-category-blue); }
html[data-hp86-color-scope="mobile-home"] body.home .flag[data-color="blue"] { background-color:var(--hp86-post-type-blue); }
html[data-hp86-color-scope="mobile-home"] body.home h3[data-color="white"] > span.blue { color:var(--hp86-post-type-blue); }
html[data-hp86-color-scope="mobile-home"] body.home [data-border-color="blue"] { border-color:var(--hp86-border-blue); }
html[data-hp86-color-scope="mobile-home"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="red"] { background-color:var(--hp86-category-red); }
html[data-hp86-color-scope="mobile-home"] body.home .flag[data-color="red"] { background-color:var(--hp86-post-type-red); }
html[data-hp86-color-scope="mobile-home"] body.home h3[data-color="white"] > span.red { color:var(--hp86-post-type-red); }
html[data-hp86-color-scope="mobile-home"] body.home [data-border-color="red"] { border-color:var(--hp86-border-red); }
html[data-hp86-color-scope="mobile-home"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="yellow"] { background-color:var(--hp86-category-yellow); }
html[data-hp86-color-scope="mobile-home"] body.home .flag[data-color="yellow"] { background-color:var(--hp86-post-type-yellow); }
html[data-hp86-color-scope="mobile-home"] body.home h3[data-color="white"] > span.yellow { color:var(--hp86-post-type-yellow); }
html[data-hp86-color-scope="mobile-home"] body.home [data-border-color="yellow"] { border-color:var(--hp86-border-yellow); }
html[data-hp86-color-scope="mobile-home"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="black"] { background-color:var(--hp86-category-black); }
html[data-hp86-color-scope="mobile-home"] body.home .flag[data-color="black"] { background-color:var(--hp86-post-type-black); }
html[data-hp86-color-scope="mobile-home"] body.home h3[data-color="white"] > span.black { color:var(--hp86-post-type-black); }
html[data-hp86-color-scope="mobile-home"] body.home [data-border-color="black"] { border-color:var(--hp86-border-black); }
}

@media all {
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) p.black { color:var(--hp86-color-secondary); }
  html[data-hp86-theme="dark"] body.home #home-page > .hp86-turkey-control { color:var(--hp86-color-text); }
  html[data-hp86-theme="dark"] body.home #home-page > .hp86-turkey-control:focus-visible { outline-color:var(--hp86-color-focus); }
}

/* Phase 2D: desktop presentation adapters only. Section tokens start from the
 * approved canvas and existing black Trending panel; no box/border redesign. */
html:is([data-hp86-color-scope="mobile-home"],[data-hp86-color-scope="article"],[data-hp86-color-scope="landing"],[data-hp86-color-scope="site"]) {
  --hp86-section-header-background: var(--hp86-color-canvas);
  --hp86-section-header-border: var(--hp86-color-border);
  --hp86-section-header-divider: var(--hp86-color-divider);
  --hp86-section-featured-background: var(--hp86-color-canvas);
  --hp86-section-featured-border: var(--hp86-color-border);
  --hp86-section-featured-divider: var(--hp86-color-divider);
  --hp86-section-trending-background: #000000;
  --hp86-section-trending-border: var(--hp86-color-border);
  --hp86-section-trending-divider: var(--hp86-color-divider);
  --hp86-section-regulars-background: var(--hp86-color-canvas);
  --hp86-section-regulars-border: var(--hp86-color-border);
  --hp86-section-regulars-divider: var(--hp86-color-divider);
  --hp86-section-videos-background: var(--hp86-color-canvas);
  --hp86-section-videos-border: var(--hp86-color-border);
  --hp86-section-videos-divider: var(--hp86-color-divider);
  --hp86-section-specials-background: var(--hp86-color-canvas);
  --hp86-section-specials-border: var(--hp86-color-border);
  --hp86-section-specials-divider: var(--hp86-color-divider);
  --hp86-section-side-station-background: var(--hp86-color-canvas);
  --hp86-section-side-station-border: var(--hp86-color-border);
  --hp86-section-side-station-divider: var(--hp86-color-divider);
  --hp86-section-news-river-background: var(--hp86-color-canvas);
  --hp86-section-news-river-border: var(--hp86-color-border);
  --hp86-section-news-river-divider: var(--hp86-color-divider);
  --hp86-section-poll-background: var(--hp86-color-surface);
  --hp86-section-poll-border: var(--hp86-color-border);
}
.hp86-color-desktop-logo, .hp86-color-control--desktop { display:none; }
@media (min-width:1024px) {
  #primary-nav .right-nav-container { position:relative; }
  #primary-nav .hp86-color-control--desktop {
    display:flex; align-items:center; justify-content:flex-end; gap:8px;
    position:absolute; right:20px; bottom:calc(100% + 8px);
    color:var(--hp86-color-secondary); font:400 12px/1.3 Onest,sans-serif;
    letter-spacing:normal; text-transform:none;
  }
  #primary-nav .hp86-color-control--desktop button {
    min-height:44px; padding:8px 12px; border:1px solid var(--hp86-color-border);
    border-radius:999px; background:var(--hp86-color-canvas); color:var(--hp86-color-text);
    font:inherit; letter-spacing:normal; text-transform:none; cursor:pointer;
  }
  #primary-nav .hp86-color-control--desktop button[aria-pressed="true"] { background:var(--hp86-color-surface); }
  #primary-nav .hp86-color-control--desktop button:focus-visible { outline:3px solid var(--hp86-color-focus); outline-offset:2px; }
  html[data-hp86-theme="dark"] body.home #primary-nav .custom-logo-link { position:relative; }
  html[data-hp86-theme="dark"] body.home #primary-nav img.custom-logo { visibility:hidden; }
  html[data-hp86-theme="dark"] body.home #primary-nav img.hp86-color-desktop-logo {
    display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  }
  html[data-hp86-theme="dark"] body.home #primary-nav :is(.top-nav,.nav-container) { background-color:var(--hp86-section-header-background); border-color:var(--hp86-section-header-border); }
  html[data-hp86-theme="dark"] body.home #primary-nav .border-line::after { border-color:var(--hp86-section-header-divider); }
  html[data-hp86-theme="dark"] body.home #primary-nav a,
  html[data-hp86-theme="dark"] body.home #primary-nav :is(#primary-menu,#subnav-menu) a { color:var(--hp86-color-text); }
  html[data-hp86-theme="dark"] body.home #primary-nav a:hover { color:var(--hp86-color-focus); }
  html[data-hp86-theme="dark"] body.home #primary-nav .search-icon { filter:brightness(0) invert(1); }
  html[data-hp86-theme="dark"] body.home #primary-nav .search-input input[type="search"] { background:var(--hp86-color-surface); color:var(--hp86-color-text); border-color:var(--hp86-color-border); }
  html[data-hp86-theme="dark"] body.home #primary-nav .search-input input::placeholder { color:var(--hp86-color-secondary); }
  html[data-hp86-theme="dark"] body.home #primary-nav .search-input button[type="submit"] { background:var(--hp86-color-surface); color:var(--hp86-color-text); border-color:var(--hp86-color-border); }
  html[data-hp86-theme="dark"] body.home #primary-nav { --hp86-section-background:var(--hp86-section-header-background); --hp86-section-border:var(--hp86-section-header-border); --hp86-section-divider:var(--hp86-section-header-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #home-page > .hp86-home + section { --hp86-section-background:var(--hp86-section-featured-background); --hp86-section-border:var(--hp86-section-featured-border); --hp86-section-divider:var(--hp86-section-featured-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #trending-articles-section { --hp86-section-background:var(--hp86-section-trending-background); --hp86-section-border:var(--hp86-section-trending-border); --hp86-section-divider:var(--hp86-section-trending-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #q-and-a-regulars-section { --hp86-section-background:var(--hp86-section-regulars-background); --hp86-section-border:var(--hp86-section-regulars-border); --hp86-section-divider:var(--hp86-section-regulars-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #videos-section { --hp86-section-background:var(--hp86-section-videos-background); --hp86-section-border:var(--hp86-section-videos-border); --hp86-section-divider:var(--hp86-section-videos-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #the-latest-section { --hp86-section-background:var(--hp86-section-specials-background); --hp86-section-border:var(--hp86-section-specials-border); --hp86-section-divider:var(--hp86-section-specials-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #side-station-section { --hp86-section-background:var(--hp86-section-side-station-background); --hp86-section-border:var(--hp86-section-side-station-border); --hp86-section-divider:var(--hp86-section-side-station-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home #news-river { --hp86-section-background:var(--hp86-section-news-river-background); --hp86-section-border:var(--hp86-section-news-river-border); --hp86-section-divider:var(--hp86-section-news-river-divider); background-color:var(--hp86-section-background); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) .border-line { border-color:var(--hp86-section-border,var(--hp86-color-border)); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) :is(.single-line-bold,.top-border-line,.bottom-line,.line-break) { border-color:var(--hp86-section-divider,var(--hp86-color-divider)); }
  html[data-hp86-theme="dark"] body.home :is(#home-page,#side-station-section,#news-river) .border-line::after { border-color:var(--hp86-section-border,var(--hp86-color-border)); }
  html[data-hp86-theme="dark"] body.home #totalpoll :is(.totalpoll-question-choices-item,.totalpoll-question-choices-item-container,.totalpoll-question-choices-item-label,.totalpoll-question-choices-item-control,.totalpoll-question-choices-item-selector,.totalpoll-button) { background-color:var(--hp86-section-poll-background) !important; border-color:var(--hp86-section-poll-border) !important; }
  html[data-hp86-theme="dark"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="orange"] { background-color:var(--hp86-category-orange); }
  html[data-hp86-theme="dark"] body.home .flag[data-color="orange"] { background-color:var(--hp86-post-type-orange); }
  html[data-hp86-theme="dark"] body.home [data-border-color="orange"] { border-color:var(--hp86-border-orange); }
  html[data-hp86-theme="dark"] body.home .center-image-crop[data-border-color="orange"] { outline-color:var(--hp86-border-orange); }
  html[data-hp86-theme="dark"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="green"] { background-color:var(--hp86-category-green); }
  html[data-hp86-theme="dark"] body.home .flag[data-color="green"] { background-color:var(--hp86-post-type-green); }
  html[data-hp86-theme="dark"] body.home [data-border-color="green"] { border-color:var(--hp86-border-green); }
  html[data-hp86-theme="dark"] body.home .center-image-crop[data-border-color="green"] { outline-color:var(--hp86-border-green); }
  html[data-hp86-theme="dark"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="blue"] { background-color:var(--hp86-category-blue); }
  html[data-hp86-theme="dark"] body.home .flag[data-color="blue"] { background-color:var(--hp86-post-type-blue); }
  html[data-hp86-theme="dark"] body.home [data-border-color="blue"] { border-color:var(--hp86-border-blue); }
  html[data-hp86-theme="dark"] body.home .center-image-crop[data-border-color="blue"] { outline-color:var(--hp86-border-blue); }
  html[data-hp86-theme="dark"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="red"] { background-color:var(--hp86-category-red); }
  html[data-hp86-theme="dark"] body.home .flag[data-color="red"] { background-color:var(--hp86-post-type-red); }
  html[data-hp86-theme="dark"] body.home [data-border-color="red"] { border-color:var(--hp86-border-red); }
  html[data-hp86-theme="dark"] body.home .center-image-crop[data-border-color="red"] { outline-color:var(--hp86-border-red); }
  html[data-hp86-theme="dark"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="yellow"] { background-color:var(--hp86-category-yellow); }
  html[data-hp86-theme="dark"] body.home .flag[data-color="yellow"] { background-color:var(--hp86-post-type-yellow); }
  html[data-hp86-theme="dark"] body.home [data-border-color="yellow"] { border-color:var(--hp86-border-yellow); }
  html[data-hp86-theme="dark"] body.home .center-image-crop[data-border-color="yellow"] { outline-color:var(--hp86-border-yellow); }
  html[data-hp86-theme="dark"] body.home :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="black"] { background-color:var(--hp86-category-black); }
  html[data-hp86-theme="dark"] body.home .flag[data-color="black"] { background-color:var(--hp86-post-type-black); }
  html[data-hp86-theme="dark"] body.home [data-border-color="black"] { border-color:var(--hp86-border-black); }
  html[data-hp86-theme="dark"] body.home .center-image-crop[data-border-color="black"] { outline-color:var(--hp86-border-black); }
}

@media screen {
/* Phase 3A: standard individual articles. Colors only; all typography,
 * spacing, responsive geometry, media, advertising and branded artwork stay owned
 * by the original article/theme rules. Explicit editorial artwork colors and
 * c86 card themes remain authoritative. */
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"]) {
  --hp86-article-background:var(--hp86-color-canvas);
  --hp86-article-text:var(--hp86-color-text);
  --hp86-article-heading:var(--hp86-color-text);
  --hp86-article-secondary:var(--hp86-color-secondary);
  --hp86-article-caption:var(--hp86-color-secondary);
  --hp86-article-byline:var(--hp86-color-byline);
  --hp86-article-link:var(--hp86-color-link);
  --hp86-article-border:var(--hp86-color-border);
  --hp86-article-divider:var(--hp86-color-divider);
  --hp86-article-sidebar-background:var(--hp86-color-canvas);
  --hp86-article-related-background:var(--hp86-color-surface);
  --hp86-article-related-text:var(--hp86-color-text);
  --hp86-article-form-background:var(--hp86-color-surface);
  --hp86-article-code-background:var(--hp86-color-surface);
  --hp86-article-share-background:var(--hp86-color-surface);
}
/* The collapsed desktop article header is shorter than the homepage header.
 * Place only the new control beside Got A Tip; retain the existing boxes. */
@media (min-width:1024px) {
  html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"]) #primary-nav[data-type="post"] .hp86-color-control--desktop {
    right:120px; bottom:0; white-space:nowrap;
  }
}
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] {
  body { background-color:var(--hp86-article-background); color:var(--hp86-article-text); }
  :is(#page,#content,#content-level-1,main,main > section,.featured) { background-color:var(--hp86-article-background); }
  :is(.hp86-header,.hp86-menu) {
    --hp86-paper:var(--hp86-color-canvas); --hp86-ink:var(--hp86-color-text);
    --hp86-muted:var(--hp86-color-secondary); --hp86-menu-line:var(--hp86-color-border);
    --hp86-menu-navy:var(--hp86-menu-border-navy); --hp86-menu-orange:var(--hp86-menu-border-orange);
    --hp86-menu-yellow:var(--hp86-menu-border-yellow);
  }
  .hp86-header { border-bottom-color:var(--hp86-color-divider); }
  .hp86-header__logo img.hp86-color-logo--light { visibility:hidden; }
  .hp86-header__logo img.hp86-color-logo--dark { display:block; position:absolute; inset:0; width:100%; height:100%; }
  .hp86-menu input::placeholder { color:var(--hp86-color-secondary); }
  .hp86-menu__search button svg path { stroke:var(--hp86-color-kicker); }
  .loader-logo img.hp86-color-logo--light { display:none; }
  .loader-logo img.hp86-color-logo--dark { display:block; }
  .preloader { background-color:var(--hp86-article-background) !important; }

  main { color:var(--hp86-article-text); }
  main :is(.heading > h1,.heading > h2,.breadcrumbs .black,.post_tags a) { color:var(--hp86-article-heading); }
  main :is(.post-info,.post-info p) { color:var(--hp86-article-secondary); }
  main .author-info a { color:var(--hp86-article-byline); }
  main .breadcrumbs .blue { color:var(--hp86-article-link); }
  :is(.caption,.wp-caption-text,figcaption) { color:var(--hp86-article-caption); }
  main :is(.wys,.entry-content) { color:var(--hp86-article-text); }
  main :is(.wys,.entry-content) :is(p,ul,ol,li,dl,dt,dd,blockquote,h1,h2,h3,h4,h5,h6):not([style]):not(.c86 *) { color:var(--hp86-article-text); }
  main :is(.wys,.entry-content) :is(h1,h2,h3,h4,h5,h6):not([style]):not(.c86 *) { color:var(--hp86-article-heading); }
  main :is(.wys,.entry-content) a:not([style*="color" i]):not(.c86 *):not([data-color]) { color:var(--hp86-article-link); }
  main :is(.wys,.entry-content) a[style*="color: #0066cc" i]:not(.c86 *) { color:var(--hp86-article-link) !important; }
  main :is(.wys,.entry-content) :is(.black,[data-text-color="black"]):not(.c86 *) { color:var(--hp86-article-text); }
  main :is(.wys,.entry-content) :is(pre,code) { background-color:var(--hp86-article-code-background); color:var(--hp86-article-text); }
  main :is(.wys,.entry-content) :is(table,th,td,hr,blockquote):not([style]):not(.c86 *) { border-color:var(--hp86-article-border); }
  main :is(.border-line,.container-border) { border-color:var(--hp86-article-border); }
  main :is(.top-border-line,.bottom-line,.line-break,.separator) { border-color:var(--hp86-article-divider); }
  main .border-line::after { border-color:var(--hp86-article-divider); }
  main :is(.home-post-wrapper,.global-ad-container) { background-color:var(--hp86-article-sidebar-background); }
  main .home-post-wrapper :is(h2,h3,h4,.black) { color:var(--hp86-article-text); }
  main .home-post-wrapper p.black { color:var(--hp86-article-secondary); }
  :is(.stg86-adlabel,.hp86-ad-label) { color:var(--hp86-article-secondary); }
  #related-posts, #related-posts > .container-80 { background-color:var(--hp86-article-related-background); }
  #related-posts :is(h2,h3,h4,.black) { color:var(--hp86-article-related-text); }
  #related-posts p.black { color:var(--hp86-article-secondary); }
  #related-posts .container-border { border-color:var(--hp86-article-border); }
  main :is(.comments-area,.comment-respond) { color:var(--hp86-article-text); }
  main :is(input[type="text"],input[type="email"],input[type="url"],textarea) {
    background-color:var(--hp86-article-form-background); color:var(--hp86-article-text); border-color:var(--hp86-article-border);
  }
  main :is(input,textarea)::placeholder { color:var(--hp86-article-secondary); }
  main :is(a,button,input,textarea,summary):focus-visible { outline-color:var(--hp86-color-focus); }
}
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"].hp86-menu-open .hp86-header { border-bottom-color:transparent; }
@media (min-width:1024px) {
  html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] {
    #primary-nav, #primary-nav :is(.top-nav,.nav-container,.header-container,.site-branding) { background-color:var(--hp86-section-header-background); border-color:var(--hp86-section-header-border); }
    #primary-nav .border-line::after { border-color:var(--hp86-section-header-divider); }
    #primary-nav a { color:var(--hp86-color-text); }
    #primary-nav a:hover { color:var(--hp86-color-focus); }
    #primary-nav .custom-logo-link { position:relative; }
    #primary-nav img.custom-logo { visibility:hidden; }
    #primary-nav img.hp86-color-desktop-logo { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
    #primary-nav .search-icon { filter:brightness(0) invert(1); }
    #primary-nav .search-input :is(input[type="search"],button[type="submit"]) { background:var(--hp86-color-surface); color:var(--hp86-color-text); border-color:var(--hp86-color-border); }
    #primary-nav .search-input input::placeholder { color:var(--hp86-color-secondary); }
  }
}

html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] {
  main :is(.entry-title,.entry-header,.comments-area h2,.comments-area h3,.comments-area label,.comments-area p) { color:var(--hp86-article-text); }
  :is(.caption a,main .comments-area a) { color:var(--hp86-article-link); }
  #heateor_sss_sharing_more_providers, #heateor_sss_sharing_more_content { background-color:var(--hp86-article-share-background) !important; color:var(--hp86-article-text); border-color:var(--hp86-article-border); }
  #heateor_sss_sharing_more_content :is(a,[class^="heateor_sss_more_label_"]) { color:var(--hp86-article-text); }
  #heateor_sss_sharing_more_content a:hover { background-color:var(--hp86-color-canvas); }
  #heateor_sss_sharing_more_content input.search { background-color:var(--hp86-article-form-background) !important; color:var(--hp86-article-text); border-color:var(--hp86-article-border) !important; }
  #heateor_sss_sharing_more_content .filter svg path { fill:var(--hp86-article-secondary); }
}
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="orange"] { background-color:var(--hp86-category-orange); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] [data-border-color="orange"] { border-color:var(--hp86-border-orange); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="green"] { background-color:var(--hp86-category-green); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] [data-border-color="green"] { border-color:var(--hp86-border-green); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="blue"] { background-color:var(--hp86-category-blue); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] [data-border-color="blue"] { border-color:var(--hp86-border-blue); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="red"] { background-color:var(--hp86-category-red); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] [data-border-color="red"] { border-color:var(--hp86-border-red); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="yellow"] { background-color:var(--hp86-category-yellow); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] [data-border-color="yellow"] { border-color:var(--hp86-border-yellow); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel)[data-color="black"] { background-color:var(--hp86-category-black); }
html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme="dark"] [data-border-color="black"] { border-color:var(--hp86-border-black); }

}
@media print {
  html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"])[data-hp86-theme] { color-scheme:light; background-color:#ffffff; }
  html:is([data-hp86-color-scope="article"],[data-hp86-color-scope="site"]) .hp86-color-control { display:none !important; }
}

/* Phase 3B: landing/archive colors. Existing typography, dimensions, responsive
 * rules, artwork, ad placement, category/type associations and interactions stay owned
 * by their original components. Light component rules remain authoritative. */
@media screen {
html[data-hp86-color-scope="landing"] {
  --hp86-landing-background:var(--hp86-color-canvas);
  --hp86-landing-surface:var(--hp86-color-surface);
  --hp86-landing-text:var(--hp86-color-text);
  --hp86-landing-secondary:var(--hp86-color-secondary);
  --hp86-landing-border:var(--hp86-color-border);
  --hp86-landing-divider:var(--hp86-color-divider);
  --hp86-landing-masthead-background:var(--hp86-landing-background);
  --hp86-landing-feature-background:var(--hp86-landing-background);
  --hp86-landing-feed-background:var(--hp86-landing-background);
  --hp86-landing-explore-background:var(--hp86-landing-background);
  --hp86-landing-sidebar-background:var(--hp86-landing-background);
  --hp86-landing-index-background:var(--hp86-landing-background);
  --hp86-landing-index-surface:var(--hp86-landing-surface);
  --hp86-landing-index-border:var(--hp86-landing-border);
  --hp86-landing-index-divider:var(--hp86-landing-divider);
  --hp86-landing-accent-navy:#00008b;
  --hp86-landing-accent-orange:#ff6319;
  --hp86-landing-accent-yellow:#fccc0a;
  --hp86-landing-accent-green:#6cbe45;
}
@media (min-width:1024px) {
  html[data-hp86-color-scope="landing"] #primary-nav[data-type="post"] .hp86-color-control--desktop { right:120px; bottom:0; white-space:nowrap; }
}
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] {
  body { background-color:var(--hp86-landing-background); color:var(--hp86-landing-text); }
  :is(#page,#content,#content-level-1,main,main > section) { background-color:var(--hp86-landing-background); }
  :is(.hp86-header,.hp86-menu) { --hp86-paper:var(--hp86-color-canvas); --hp86-ink:var(--hp86-color-text); --hp86-muted:var(--hp86-color-secondary); --hp86-menu-line:var(--hp86-color-border); --hp86-menu-navy:var(--hp86-menu-border-navy); --hp86-menu-orange:var(--hp86-menu-border-orange); --hp86-menu-yellow:var(--hp86-menu-border-yellow); }
  .hp86-header { border-bottom-color:var(--hp86-color-divider); }
  .hp86-header__logo img.hp86-color-logo--light { visibility:hidden; }
  .hp86-header__logo img.hp86-color-logo--dark { display:block; position:absolute; inset:0; width:100%; height:100%; }
  .hp86-menu input::placeholder { color:var(--hp86-color-secondary); }
  .hp86-menu__search button svg path { stroke:var(--hp86-color-kicker); }
  .loader-logo img.hp86-color-logo--light { display:none; }
  .loader-logo img.hp86-color-logo--dark { display:block; }
  .preloader { background-color:var(--hp86-landing-background) !important; }
  main { color:var(--hp86-landing-text); }
  main :is(h1,h2,h3,h4,h5,h6,p,.black):not([style]):not(.lp86-shell *):not(.ld *):not(.dj *) { color:var(--hp86-landing-text); }
  main :is(.blue,.breadcrumbs a) { color:var(--hp86-color-link); }
  main :is(.post-info,.post-info p,.caption,figcaption,.wp-caption-text) { color:var(--hp86-landing-secondary); }
  main :is(.author-info a,.author-info .blue) { color:var(--hp86-color-byline); }
  main :is(.border-line,.container-border):not([data-border-color]) { border-color:var(--hp86-landing-border); }
  main :is(.top-border-line,.bottom-line,.line-break,.separator), main .border-line::after { border-color:var(--hp86-landing-divider); }
  main :is(.home-post-wrapper,.global-ad-container) { background-color:var(--hp86-landing-sidebar-background); }
  :is(.stg86-adlabel,.hp86-ad-label) { color:var(--hp86-landing-secondary); }
  main :is(input[type="text"],input[type="email"],input[type="search"],input[type="url"],textarea,select) { background-color:var(--hp86-landing-surface); color:var(--hp86-landing-text); border-color:var(--hp86-landing-border); }
  main :is(input,textarea)::placeholder { color:var(--hp86-landing-secondary); }
  main :is(a,button,input,textarea,summary,select):focus-visible { outline-color:var(--hp86-color-focus); }
  /* Modern editorial landing family: retain every local font and geometry rule. */
  .lp86-shell { --hp86-paper:var(--hp86-landing-background); --hp86-ink:var(--hp86-landing-text); --hp86-muted:var(--hp86-landing-secondary); --hp86-rule:var(--hp86-landing-border); --hp86-rule-heavy:3px solid var(--hp86-landing-divider); --hp86-purple:var(--hp86-color-byline); }
  .lp86-c-navy { --lp86-accent:var(--hp86-landing-accent-navy); }
  .lp86-c-orange { --lp86-accent:var(--hp86-landing-accent-orange); }
  .lp86-c-yellow { --lp86-accent:var(--hp86-landing-accent-yellow); }
  .lp86-c-green { --lp86-accent:var(--hp86-landing-accent-green); }
  .lp86-masthead { background-color:var(--hp86-landing-masthead-background); }
  .lp86-top { background-color:var(--hp86-landing-feature-background); }
  .lp86-list { background-color:var(--hp86-landing-feed-background); }
  .lp86-explore { background-color:var(--hp86-landing-explore-background); }
  .lp86-pair, .lp86-pair > .lp86-card + .lp86-card, .lp86-chip, .lp86-btn { border-color:var(--hp86-landing-border); }
  .lp86-list .hp86-stories { column-rule-color:var(--hp86-landing-divider); }
  .lp86-shell :is(.hp86-badge--type,.lp86-playpill,.lp86-skip), .lp86-chip[aria-current="page"], .lp86-btn:hover { background:var(--hp86-landing-surface) !important; color:var(--hp86-landing-text) !important; }
  .lp86-shell :is(.lp86-card__kicker,.hp86-story__kicker,.hp86-story__arrow) { color:var(--hp86-color-kicker); }
  /* Retain the original red call-to-action and video-play artwork colors. */
  .lp86-shell .lp86-btn--solid:hover { background:#8e1016 !important; border-color:#8e1016; color:#ffffff !important; }
  .lp86-shell a.lp86-legal-promo__link, .lp86-shell a.lp86-legal-promo__link:hover { background:var(--hp86-landing-index-surface); }
  .lp86-shell :is(.lp86-legal-promo__eyebrow,.lp86-legal-promo__cta) { color:var(--hp86-landing-secondary); }
  /* Legal Dish keeps its plate/rim artwork, dates and menu leader geometry. */
  main.ld { --ld-linen:var(--hp86-landing-index-background); --ld-linen-deep:var(--hp86-landing-index-surface); --ld-china:var(--hp86-landing-index-surface); --ld-ink:var(--hp86-landing-text); --ld-body:var(--hp86-landing-text); --ld-muted:var(--hp86-landing-secondary); --ld-rule:var(--hp86-landing-index-divider); --ld-rim-soft:var(--hp86-landing-index-surface); }
  main.ld :is(.ld-eyebrow,.ld-dish__no,.ld-dish__meta em) { color:var(--hp86-landing-secondary); }
  main.ld .ld-note a { color:var(--hp86-color-link); }
  /* Deduction Junction keeps its existing route colors and brand borders. */
  main.dj { --dj-ink:var(--hp86-landing-text); --dj-paper:var(--hp86-landing-index-surface); --dj-light:var(--hp86-landing-index-surface); --dj-line:var(--hp86-landing-index-divider); }
  .dj :is(.dj-station__sign,.dj-profile,.dj-library__columns,.dj-library__row:hover,.dj-next__links a:first-child) { background:var(--hp86-landing-index-surface); color:var(--hp86-landing-text); }
  .dj :is(.dj-crumbs a,.dj-library__head,.dj-library__number,.dj-library__pager a,.dj-jumps a) { color:var(--hp86-landing-text); }
  .dj .dj-library__question small { color:var(--hp86-landing-secondary); }
  /* Sharing overlay may also be launched by legacy archive introductions. */
  #heateor_sss_sharing_more_providers, #heateor_sss_sharing_more_content { background-color:var(--hp86-landing-surface) !important; color:var(--hp86-landing-text); border-color:var(--hp86-landing-border); }
  #heateor_sss_sharing_more_content :is(a,[class^="heateor_sss_more_label_"]) { color:var(--hp86-landing-text); }
  #heateor_sss_sharing_more_content a:hover { background-color:var(--hp86-landing-background); }
  #heateor_sss_sharing_more_content input.search { background-color:var(--hp86-landing-surface) !important; color:var(--hp86-landing-text); border-color:var(--hp86-landing-border) !important; }
  #heateor_sss_sharing_more_content .filter svg path { fill:var(--hp86-landing-secondary); }
}
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"].hp86-menu-open .hp86-header { border-bottom-color:transparent; }
@media (min-width:1024px) {
  html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] {
    #primary-nav, #primary-nav :is(.top-nav,.nav-container,.header-container,.site-branding) { background-color:var(--hp86-section-header-background); border-color:var(--hp86-section-header-border); }
    #primary-nav .border-line::after { border-color:var(--hp86-section-header-divider); }
    #primary-nav a { color:var(--hp86-color-text); }
    #primary-nav a:hover { color:var(--hp86-color-focus); }
    #primary-nav .custom-logo-link { position:relative; }
    #primary-nav img.custom-logo { visibility:hidden; }
    #primary-nav img.hp86-color-desktop-logo { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
    #primary-nav .search-icon { filter:brightness(0) invert(1); }
    #primary-nav .search-input :is(input[type="search"],button[type="submit"]) { background:var(--hp86-color-surface); color:var(--hp86-color-text); border-color:var(--hp86-color-border); }
    #primary-nav .search-input input::placeholder { color:var(--hp86-color-secondary); }
  }
}
}
@media print { html[data-hp86-color-scope="landing"] .hp86-color-control { display:none !important; } }

@media screen {
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] [data-border-color="orange"] { border-color:var(--hp86-border-orange); }
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] [data-border-color="green"] { border-color:var(--hp86-border-green); }
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] [data-border-color="blue"] { border-color:var(--hp86-border-blue); }
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] [data-border-color="red"] { border-color:var(--hp86-border-red); }
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] [data-border-color="yellow"] { border-color:var(--hp86-border-yellow); }
html[data-hp86-color-scope="landing"][data-hp86-theme="dark"] [data-border-color="black"] { border-color:var(--hp86-border-black); }
}

/* Phase 3C: remaining public theme pages. Colors only. Existing component
 * dimensions, type, art, ad slots, provider widgets and light rules remain authoritative. */
@media screen {
html[data-hp86-color-scope="site"] {
  --hp86-feature-background:var(--hp86-color-canvas);
  --hp86-feature-surface:var(--hp86-color-surface);
  --hp86-feature-text:var(--hp86-color-text);
  --hp86-feature-secondary:var(--hp86-color-secondary);
  --hp86-feature-link:var(--hp86-color-link);
  --hp86-feature-border:var(--hp86-color-border);
  --hp86-feature-divider:var(--hp86-color-divider);
  --hp86-feature-index-background:var(--hp86-feature-background);
  --hp86-feature-index-surface:var(--hp86-feature-surface);
  --hp86-feature-index-divider:var(--hp86-feature-divider);
  --hp86-feature-search-background:var(--hp86-feature-background);
  --hp86-feature-error-background:var(--hp86-feature-background);
  --hp86-feature-error-search-background:var(--hp86-feature-surface);
  --hp86-feature-form-background:var(--hp86-feature-surface);
  --hp86-feature-form-text:var(--hp86-feature-text);
  --hp86-feature-form-border:var(--hp86-feature-border);
  --hp86-feature-form-error:var(--hp86-color-kicker);
  --hp86-feature-comment-background:var(--hp86-feature-form-background);
  --hp86-feature-comment-text:var(--hp86-feature-form-text);
  --hp86-feature-comment-border:var(--hp86-feature-form-border);
  --hp86-feature-form-confirmation-background:var(--hp86-feature-surface);
  --hp86-feature-form-confirmation-text:var(--hp86-feature-text);
  --hp86-feature-legal-background:var(--hp86-feature-background);
  --hp86-feature-legal-surface:var(--hp86-feature-surface);
  --hp86-feature-legal-border:var(--hp86-feature-border);
  --hp86-feature-deduction-background:var(--hp86-feature-background);
  --hp86-feature-deduction-surface:var(--hp86-feature-surface);
  --hp86-feature-deduction-divider:var(--hp86-feature-divider);
  --hp86-feature-advertise-background:var(--hp86-feature-background);
  --hp86-feature-advertise-surface:var(--hp86-feature-surface);
  --hp86-feature-advertise-border:var(--hp86-feature-border);
  --hp86-article-background:var(--hp86-feature-background);
  --hp86-article-text:var(--hp86-feature-text);
  --hp86-article-heading:var(--hp86-feature-text);
  --hp86-article-secondary:var(--hp86-feature-secondary);
  --hp86-article-link:var(--hp86-feature-link);
  --hp86-article-border:var(--hp86-feature-border);
  --hp86-article-divider:var(--hp86-feature-divider);
  --hp86-article-form-background:var(--hp86-feature-form-background);
}
html[data-hp86-color-scope="site"][data-hp86-theme="dark"] {
  main :is(h1,h2,h3,h4,h5,h6,.black):not([style]):not([data-color]):not(.ld *):not(.dj *):not(#adv *):not(.c86 *) { color:var(--hp86-feature-text); }
  main :is(.entry-title a,.entry-meta,.entry-footer,.entry-meta a,.entry-footer a,.posts-navigation a,.post-navigation a) { color:var(--hp86-feature-link); }
  main :is(.blue,.breadcrumbs a) { color:var(--hp86-feature-link); }
  main :is(.neutral-color-100-bk,.neutral-color-200-bk,.question-block), #page > .neutral-color-200-bk { background-color:var(--hp86-feature-surface); }
  main :is(.single-line,.single-line-bold,.top-double-header,.top-double-line) { border-color:var(--hp86-feature-divider); }
  main .single-line::after, main .top-double-header::after { border-color:var(--hp86-feature-divider); }
  main :is(.caption,.wp-caption-text,figcaption,.post-info,.post-info p) { color:var(--hp86-feature-secondary); }
  main :is(input[type="search"],input[type="number"],input[type="tel"],select) { background-color:var(--hp86-feature-form-background); color:var(--hp86-feature-form-text); border-color:var(--hp86-feature-form-border); }
  main :is(input,textarea,select)::placeholder { color:var(--hp86-feature-secondary); }
  main .pm-attribution-div, main .pm-attribution-div a { color:var(--hp86-feature-secondary) !important; }
  /* Specialized templates place native comments outside main. Keep their
   * existing form/submit behavior and geometry, with explicit shared colors. */
  #page .comments-area { background-color:var(--hp86-feature-comment-background); color:var(--hp86-feature-comment-text); }
  #page .comments-area :is(h2,h3,label,p) { color:var(--hp86-feature-comment-text); }
  #page .comments-area a { color:var(--hp86-feature-link); }
  #page .comments-area :is(input[type="text"],input[type="email"],input[type="url"],textarea) { background-color:var(--hp86-feature-comment-background); color:var(--hp86-feature-comment-text); border-color:var(--hp86-feature-comment-border); }
  #page .comments-area :is(input,textarea)::placeholder { color:var(--hp86-feature-secondary); }
  /* 404 sections intentionally sit outside <main> in the existing template. */
  #error-404, #error-404-popular { background-color:var(--hp86-feature-error-background); color:var(--hp86-feature-text); }
  #error-404-search { background-color:var(--hp86-feature-error-search-background); color:var(--hp86-feature-text); }
  :is(#error-404,#error-404-popular,#error-404-search) :is(h1,h2,h3,p,.black):not([data-color]) { color:var(--hp86-feature-text); }
  #error-404-search :is(input,button) { background-color:var(--hp86-feature-form-background); color:var(--hp86-feature-form-text); border-color:var(--hp86-feature-form-border); }
  #error-404-search input::placeholder { color:var(--hp86-feature-secondary); }
  body.search main { background-color:var(--hp86-feature-search-background); }
  /* Legal Dish: keep the original plate/rim green separate from reading colors. */
  main.ld { --ld-linen:var(--hp86-feature-legal-background); --ld-linen-deep:var(--hp86-feature-legal-surface); --ld-china:var(--hp86-feature-legal-surface); --ld-ink:var(--hp86-feature-text); --ld-body:var(--hp86-feature-text); --ld-muted:var(--hp86-feature-secondary); --ld-rule:var(--hp86-feature-legal-border); --ld-rim-soft:var(--hp86-feature-legal-surface); }
  main.ld .ld-letter { background-color:var(--hp86-feature-legal-surface); }
  main.ld :is(.ld-eyebrow,.ld-dish__no,.ld-dish__meta em,.ld-letter__label,.ld-letter__signoff,.ld-turn__by strong,.ld-answer li::marker) { color:var(--hp86-feature-secondary); }
  main.ld :is(.ld-note a,.ld-answer a,.ld-pill-link--line,.ld-crumbs a:hover) { color:var(--hp86-feature-link); }
  main.ld .ld-pill-link--solid:hover { background:var(--hp86-feature-legal-background); border-color:var(--ld-rim); color:var(--hp86-feature-text); }
  /* Deduction Junction: keep route roundels, form masthead and colored edges. */
  main.dj { --dj-ink:var(--hp86-feature-text); --dj-paper:var(--hp86-feature-deduction-surface); --dj-light:var(--hp86-feature-deduction-surface); --dj-line:var(--hp86-feature-deduction-divider); background-color:var(--hp86-feature-deduction-background); }
  .dj :is(.dj-station__sign,.dj-profile,.dj-library__columns,.dj-library__row:hover,.dj-next__links a:first-child) { background:var(--hp86-feature-deduction-surface); color:var(--hp86-feature-text); }
  .dj :is(.dj-crumbs a,.dj-back,.dj-library__head,.dj-library__number,.dj-library__pager a,.dj-jumps a,.dj-question-copy,.dj-answer > h2) { color:var(--hp86-feature-text); }
  .dj :is(.dj-crumbs li + li::before,.dj-library__question small,.dj-question-head__meta time) { color:var(--hp86-feature-secondary); }
  .dj :is(.dj-author a,.dj-answer-copy a) { color:var(--hp86-feature-link); }
  /* Advertise uses black as text on colored artwork too, so leave --adv-black
   * intact and adapt each paper/black band instead of globally inverting it. */
  #adv { --adv-white:var(--hp86-feature-text); --adv-soft:var(--hp86-feature-secondary); --adv-muted:var(--hp86-feature-secondary); --adv-stone:var(--hp86-feature-secondary); --adv-card:var(--hp86-feature-advertise-surface); --adv-line:var(--hp86-feature-advertise-border); background:var(--hp86-feature-advertise-background); }
  #adv .adv-band--black, #adv .adv-stats { background:var(--hp86-feature-advertise-background); color:var(--hp86-feature-text); }
  #adv .adv-band--paper { background:var(--hp86-feature-advertise-surface); color:var(--hp86-feature-text); }
  #adv .adv-band--paper .adv-lead { color:var(--hp86-feature-text); }
  #adv .adv-band--paper .adv-note, #adv .adv-stats-note { color:var(--hp86-feature-secondary); }
  #adv .adv-rule { background:var(--hp86-feature-divider); }
  #adv .adv-kit__list li { border-color:var(--hp86-feature-advertise-border); }
  #adv .adv-field :is(input,textarea) { background:var(--hp86-feature-form-background); color:var(--hp86-feature-form-text); border-color:var(--hp86-feature-form-border); }
  #adv .adv-field[data-invalid] :is(input,textarea) { border-color:var(--adv-orange); }
  #adv .adv-band--paper :is(a,button):focus-visible { outline-color:var(--hp86-color-focus); }
  /* WPForms: native labels, validation, upload area and confirmation states.
   * Plugin behavior/markup and brand-colored submit button remain unchanged. */
  .wpforms-container { --wpforms-field-background-color:var(--hp86-feature-form-background); --wpforms-field-text-color:var(--hp86-feature-form-text); --wpforms-field-border-color:var(--hp86-feature-form-border); --wpforms-label-color:var(--hp86-feature-form-text); --wpforms-label-sublabel-color:var(--hp86-feature-secondary); --wpforms-label-error-color:var(--hp86-feature-form-error); }
  .wpforms-container :is(.wpforms-field-label,.wpforms-field-label-inline,legend) { color:var(--hp86-feature-form-text) !important; }
  .wpforms-container :is(.wpforms-field-sublabel,.wpforms-field-description,.dz-message,.modern-title,.modern-hint) { color:var(--hp86-feature-secondary) !important; }
  .wpforms-container :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),textarea,select,.wpforms-uploader) { background-color:var(--hp86-feature-form-background) !important; color:var(--hp86-feature-form-text) !important; border-color:var(--hp86-feature-form-border) !important; }
  .wpforms-container :is(input,textarea)::placeholder { color:var(--hp86-feature-secondary) !important; }
  .wpforms-container :is(.wpforms-error,.wpforms-required-label,.wpforms-error-container,.wpforms-error-alert) { color:var(--hp86-feature-form-error) !important; }
  #page .wpforms-container :is(input.wpforms-error,textarea.wpforms-error,select.wpforms-error) { border-color:var(--hp86-feature-form-error) !important; }
  :is(.wpforms-confirmation-container-full,.wpforms-confirmation-container-full p,.wpforms-confirmation-scroll) { background-color:var(--hp86-feature-form-confirmation-background) !important; color:var(--hp86-feature-form-confirmation-text) !important; border-color:var(--hp86-feature-form-border) !important; }
  /* Poll controls and results reuse the already-approved neutral treatments. */
  #totalpoll { color-scheme:dark; }
  #totalpoll :is(.totalpoll-question-content,.totalpoll-results-item,.totalpoll-results-item-label,.totalpoll-results-item-votes,.totalpoll-message,.totalpoll-error) { color:var(--hp86-feature-text) !important; }
  #totalpoll :is(.totalpoll-question-choices-item,.totalpoll-question-choices-item-container,.totalpoll-question-choices-item-label,.totalpoll-question-choices-item-control,.totalpoll-question-choices-item-selector,.totalpoll-button,.totalpoll-button-primary,.totalpoll-button-secondary) { background-color:var(--hp86-feature-surface) !important; color:var(--hp86-feature-text) !important; border-color:var(--hp86-feature-border) !important; }
  #totalpoll .totalpoll-question-choices-item-selector-box { border-color:var(--hp86-feature-secondary) !important; }
  #totalpoll .totalpoll-question-choices-item:focus-visible { outline-color:var(--hp86-color-focus); }
  /* Existing viewer colors stay unchanged and can be adjusted independently.
   * Cross-origin player/puzzle interiors remain owned by their providers. */
  .hp86-video-viewer { --hp86-player-background:#101010; --hp86-player-control-background:#202020; --hp86-player-text:#ffffff; --hp86-player-border:#666666; --hp86-player-screen:#000000; background-color:var(--hp86-player-background); color:var(--hp86-player-text); }
  .hp86-video-viewer #hp86-video-viewer-title { color:var(--hp86-player-text); }
  .hp86-video-viewer .hp86-video-viewer__close { background:var(--hp86-player-control-background); color:var(--hp86-player-text); border-color:var(--hp86-player-border); }
  .hp86-video-viewer__screen { background:var(--hp86-player-screen); }
}
}

/* Phase 4A — color refinement only. All additions are dark/screen scoped.
 * Original component geometry, typography, artwork and light rules stay intact.
 * Existing red associations are retained; this layer introduces no red accents. */
@media screen {
html[data-hp86-color-scope][data-hp86-theme="dark"] {
  --hp86-accent-blue:#4385ff;
  --hp86-accent-orange:#ff7628;
  --hp86-accent-yellow:#ffd426;
  --hp86-accent-green:#65c84c;
  --hp86-accent-purple:#b678e8;
  --hp86-accent-silver:#a9b2bf;
  --hp86-color-canvas:#000000;
  --hp86-color-background-secondary:#121212;
  --hp86-color-surface:#1c1c1c;
  --hp86-color-text:#ffffff;
  --hp86-color-secondary:#c7c7c7;
  --hp86-color-border:#303030;
  --hp86-color-divider:#303030;
  --hp86-color-field-border:#777777;
  --hp86-color-link:var(--hp86-accent-blue);
  --hp86-color-byline:var(--hp86-accent-purple);
  --hp86-color-kicker:var(--hp86-accent-yellow);
  --hp86-color-focus:var(--hp86-accent-orange);
  --hp86-color-on-accent:#000000;
  --hp86-category-orange:var(--hp86-accent-orange);
  --hp86-category-green:var(--hp86-accent-green);
  --hp86-category-blue:var(--hp86-accent-blue);
  --hp86-category-yellow:var(--hp86-accent-yellow);
  --hp86-post-type-orange:var(--hp86-accent-orange);
  --hp86-post-type-green:var(--hp86-accent-green);
  --hp86-post-type-blue:var(--hp86-accent-blue);
  --hp86-post-type-yellow:var(--hp86-accent-yellow);
  --hp86-border-orange:var(--hp86-accent-orange);
  --hp86-border-green:var(--hp86-accent-green);
  --hp86-border-blue:var(--hp86-accent-blue);
  --hp86-border-yellow:var(--hp86-accent-yellow);
  --hp86-menu-border-navy:var(--hp86-accent-blue);
  --hp86-menu-border-orange:var(--hp86-accent-orange);
  --hp86-menu-border-yellow:var(--hp86-accent-yellow);
  --hp86-landing-accent-navy:var(--hp86-accent-blue);
  --hp86-landing-accent-orange:var(--hp86-accent-orange);
  --hp86-landing-accent-yellow:var(--hp86-accent-yellow);
  --hp86-landing-accent-green:var(--hp86-accent-green);
  --hp86-section-header-background:var(--hp86-color-canvas);
  --hp86-section-header-surface:var(--hp86-color-surface);
  --hp86-section-featured-background:var(--hp86-color-canvas);
  --hp86-section-featured-surface:var(--hp86-color-surface);
  --hp86-section-trending-background:var(--hp86-color-canvas);
  --hp86-section-trending-surface:var(--hp86-color-surface);
  --hp86-section-regulars-background:var(--hp86-color-canvas);
  --hp86-section-regulars-surface:var(--hp86-color-surface);
  --hp86-section-videos-background:var(--hp86-color-background-secondary);
  --hp86-section-videos-surface:var(--hp86-color-surface);
  --hp86-section-specials-background:var(--hp86-color-canvas);
  --hp86-section-specials-surface:var(--hp86-color-surface);
  --hp86-section-side-station-background:var(--hp86-color-background-secondary);
  --hp86-section-side-station-surface:var(--hp86-color-surface);
  --hp86-section-news-river-background:var(--hp86-color-canvas);
  --hp86-section-news-river-surface:var(--hp86-color-surface);
  --hp86-section-news-river-heading:var(--hp86-accent-yellow);
  --hp86-section-news-river-secondary:var(--hp86-color-secondary);
  --hp86-section-news-river-meta:var(--hp86-accent-silver);
  --hp86-section-news-river-byline:var(--hp86-accent-purple);
  --hp86-section-news-river-button-background:var(--hp86-accent-blue);
  --hp86-section-news-river-button-text:var(--hp86-color-on-accent);
  --hp86-menu-background:var(--hp86-color-background-secondary);
  --hp86-menu-section-background:var(--hp86-color-surface);
  --hp86-menu-section-border:var(--hp86-color-border);
  --hp86-menu-section-divider:var(--hp86-color-divider);
  --hp86-menu-search-background:var(--hp86-color-canvas);
  --hp86-menu-search-border:var(--hp86-color-field-border);
  --hp86-menu-search-button-background:var(--hp86-accent-blue);
  --hp86-menu-search-button-text:var(--hp86-color-on-accent);
  --hp86-feature-form-border:var(--hp86-color-field-border);
  --hp86-feature-comment-border:var(--hp86-color-field-border);
  /* Validation is semantic feedback, not an additional decorative red accent. */
  --hp86-feature-form-error:#ff929a;
}

/* Category hooks retain their existing associations. Black labels give the
 * brighter blue/orange/green/yellow fills readable small-text contrast. */
html[data-hp86-color-scope][data-hp86-theme="dark"] :is(.flag-sm,.flag-xs,.flag-xs-rel):is([data-color="orange"],[data-color="green"],[data-color="blue"],[data-color="yellow"]) {
  color:var(--hp86-color-on-accent);
}

/* Use the existing section/background hooks at every responsive width. */
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #home-festured-image-1 { background-color:var(--hp86-section-featured-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #trending-articles-section { background-color:var(--hp86-section-trending-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #q-and-a-regulars-section { background-color:var(--hp86-section-regulars-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #videos-section { background-color:var(--hp86-section-videos-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #the-latest-section { background-color:var(--hp86-section-specials-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #side-station-section { background-color:var(--hp86-section-side-station-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river { background-color:var(--hp86-section-news-river-background); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river .article-river .post-flex { background-color:var(--hp86-section-news-river-surface); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river .heading-container > h3.headline { color:var(--hp86-section-news-river-heading); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river .article-river p.black { color:var(--hp86-section-news-river-secondary); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river .article-river .post-info p { color:var(--hp86-section-news-river-meta); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river .article-river .author-info a { color:var(--hp86-section-news-river-byline); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river .alm-load-more-btn { background-color:var(--hp86-section-news-river-button-background); color:var(--hp86-section-news-river-button-text); }

/* Existing menu groups, search field and curved hooks; no new boxes or spacing. */
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-header { --hp86-orange:var(--hp86-accent-orange); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu {
  --hp86-paper:var(--hp86-menu-background);
  --hp86-menu-green:var(--hp86-accent-green);
  --hp86-orange:var(--hp86-accent-orange);
  --hp86-menu-line:var(--hp86-menu-section-divider);
  background-color:var(--hp86-menu-background);
}
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__col { background-color:var(--hp86-menu-section-background); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__heading--navy { color:var(--hp86-accent-blue); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__heading--orange { color:var(--hp86-accent-orange); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__heading--yellow { color:var(--hp86-accent-yellow); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__accent span:nth-child(5) { background-color:var(--hp86-accent-purple); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__search { background-color:var(--hp86-menu-search-background); border-color:var(--hp86-menu-search-border); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__search button { background-color:var(--hp86-menu-search-button-background); border-color:var(--hp86-menu-search-border); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__search button svg path { stroke:var(--hp86-menu-search-button-text); }
html[data-hp86-color-scope][data-hp86-theme="dark"] .hp86-menu .hp86-menu__list a:is(:hover,:focus-visible) { color:var(--hp86-accent-yellow); }

/* Inputs need a stronger boundary than decorative section dividers. */
html[data-hp86-color-scope][data-hp86-theme="dark"] main :is(input[type="text"],input[type="email"],input[type="url"],input[type="tel"],input[type="number"],input[type="search"],textarea,select):not(.c86 *) { border-color:var(--hp86-color-field-border); }
}

/* Bind independently adjustable neutral borders/dividers at mobile and tablet
 * widths too. Existing colored image rims and branded cards are not selected. */
@media screen {
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #home-festured-image-1 { --hp86-section-border:var(--hp86-section-featured-border); --hp86-section-divider:var(--hp86-section-featured-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #trending-articles-section { --hp86-section-border:var(--hp86-section-trending-border); --hp86-section-divider:var(--hp86-section-trending-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #q-and-a-regulars-section { --hp86-section-border:var(--hp86-section-regulars-border); --hp86-section-divider:var(--hp86-section-regulars-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #videos-section { --hp86-section-border:var(--hp86-section-videos-border); --hp86-section-divider:var(--hp86-section-videos-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #the-latest-section { --hp86-section-border:var(--hp86-section-specials-border); --hp86-section-divider:var(--hp86-section-specials-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #side-station-section { --hp86-section-border:var(--hp86-section-side-station-border); --hp86-section-divider:var(--hp86-section-side-station-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #news-river { --hp86-section-border:var(--hp86-section-news-river-border); --hp86-section-divider:var(--hp86-section-news-river-divider); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home :is(#home-festured-image-1,#trending-articles-section,#q-and-a-regulars-section,#videos-section,#the-latest-section,#side-station-section,#news-river) .border-line { border-color:var(--hp86-section-border); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home :is(#home-festured-image-1,#trending-articles-section,#q-and-a-regulars-section,#videos-section,#the-latest-section,#side-station-section,#news-river) .border-line::after { border-color:var(--hp86-section-border); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home :is(#home-festured-image-1,#trending-articles-section,#q-and-a-regulars-section,#videos-section,#the-latest-section,#side-station-section,#news-river) :is(.single-line,.single-line-bold,.top-border-line,.bottom-line,.line-break) { border-color:var(--hp86-section-divider); }
}

/* Phase 4B Section 2 — global approved corrections. No template/query replacement. */
@media screen {
html[data-hp86-color-scope] {
  --primary-font:'Roboto Serif',Georgia,serif;
  --hp86-font-headline:'Roboto Serif',Georgia,serif;
  --hp86-font-body:Onest,Arial,sans-serif;
  --hp86-font-label:'Roboto Mono',ui-monospace,monospace;
  --hp86-radius:8px;
  --hp86-accent-orange:#ff6319;
  --hp86-category-orange:#ff6319;
  --hp86-post-type-orange:#ff6319;
  --hp86-border-orange:#ff6319;
  --hp86-menu-border-orange:#ff6319;
  --hp86-color-byline:#4d9bff;
  --hp86-author-blue:#4d9bff;
  --highlight-color-100:#ff6319;
}
html[data-hp86-color-scope][data-hp86-theme="dark"] {
  --hp86-accent-orange:#ff6319;
  --hp86-color-byline:var(--hp86-author-blue);
  --hp86-section-news-river-byline:var(--hp86-author-blue);
}
html[data-hp86-color-scope] :is(.hp86-header,.hp86-menu,.lp86-shell,.hp86-home) { --hp86-orange:#ff6319; }
html[data-hp86-color-scope] :is(.post-views-label,.post-views-count) {font-family:var(--hp86-font-headline);}
html[data-hp86-color-scope] main :is(h1,h2,h3,h4,h5):not(.text-uppercase):not(.flag):not(.n86-title):not(.hp86-feature__headline) {text-transform:none;}
html[data-hp86-color-scope] :is(main .author-info a,.hp86-feature__byline,.dj-author a) {color:var(--hp86-author-blue);font-family:var(--hp86-font-body);font-weight:700;}
html[data-hp86-color-scope] main :is(.main-img,.center-image-crop,.news-img>a,.wp-post-image,.post-asp,.video-thumb) {border-radius:var(--hp86-radius);}
html[data-hp86-color-scope] main :is(.main-img,.post-asp,.center-image-crop) {overflow:hidden;}
html[data-hp86-color-scope] main :is(.main-img,.post-asp,.center-image-crop) img:not(.hp86-fresh-badge) {border-radius:inherit;}
html[data-hp86-color-scope] main :is(.post-flex,.alm-load-more-btn,.n86-card,.n86-btn,input[type="submit"],button[type="submit"]) {border-radius:var(--hp86-radius);}
}
/* Section 2: shared headline, author and component hooks in both modes.
 * Brand art, roundels, pills, avatars and the unchanged mobile masthead/tiles
 * retain their specific geometry. The approved ticket/frame exceptions remain. */
@media screen {
html[data-hp86-color-scope] main :is(h1,h2,h3,h4,h5,h6):not(.flag):not(.flag-sm):not(.flag-xs):not(.flag-xs-rel) {font-family:var(--hp86-font-headline);font-weight:800;}
html[data-hp86-color-scope] :is(.ld-author strong,.ld-author a,.dj-author strong) {color:var(--hp86-author-blue);}
html[data-hp86-color-scope] main :is(.lp86-card,.lp86-btn,.ld-card,.ld-answer-card,.ld-pager__btn,.dj-station__sign,.dj-profile,.dj-library,.dj-count,.dj-form,.dj-next__links a,.c86-card,.border-box,.tout-box,.legal-dish-box,.submit-btn,.junction-btn,.horoscope-btn,.wpforms-submit,.totalpoll-button,.totalpoll-button-primary,.totalpoll-button-secondary,.hp86-video-viewer,.hp86-video-viewer__close) {border-radius:var(--hp86-radius)!important;}
html[data-hp86-color-scope] main :is(.wys,.entry-content) img:not(.emoji):not(.avatar) {border-radius:var(--hp86-radius)!important;}
}

/* Section 2 shared photo hooks, including the existing light homepage. */
@media screen {
html[data-hp86-color-scope] main :is(.hp86-feature__img,.hp86-story__image,.lp86-card img,.lp86-hero img) {border-radius:var(--hp86-radius);}
}
/* The legacy homepage closes main before the river. Keep its existing DOM
 * structure and apply Section 2 here explicitly in both modes. */
@media screen {
html[data-hp86-color-scope] #news-river .article-river :is(h2,h3) {font-family:var(--hp86-font-headline);font-weight:800;}
html[data-hp86-color-scope] #news-river .article-river :is(h2,h3):not(.text-uppercase) {text-transform:none;}
html[data-hp86-color-scope] #news-river .article-river .author-info a {font-family:var(--hp86-font-body);font-weight:700;color:var(--hp86-author-blue);}
html[data-hp86-color-scope] #news-river :is(.post-flex,.main-img,.post-asp,.news-img > a,.alm-load-more-btn) {border-radius:var(--hp86-radius);}
html[data-hp86-color-scope] #news-river .post-asp {overflow:hidden;}
}
/* Section 2: linked post titles and breadcrumbs can sit outside main in legacy
 * templates. Keep stored title case there as well; explicit section labels and
 * the approved uppercase mobile feature retain their own treatment. */
@media screen {
html[data-hp86-color-scope] a :is(h1,h2,h3,h4,h5,h6):not(.text-uppercase):not(.flag):not(.flag-sm):not(.flag-xs):not(.flag-xs-rel) {text-transform:none;}
html[data-hp86-color-scope] .breadcrumbs :is(a,strong) {text-transform:none;}
html[data-hp86-color-scope] .author-info a {color:var(--hp86-author-blue);font-family:var(--hp86-font-body);font-weight:700;}
html[data-hp86-color-scope] :is(.main-img,.post-asp,.center-image-crop,.wp-post-image) {border-radius:var(--hp86-radius);}
html[data-hp86-color-scope] :is(.main-img,.post-asp,.center-image-crop) {overflow:hidden;}
html[data-hp86-color-scope] :is(.main-img,.post-asp,.center-image-crop) img:not(.hp86-fresh-badge) {border-radius:inherit;}
}

/* Phase 4B desktop: approved mode-specific author ink and shared homepage palette.
 * Component-boundary bindings leave the approved mobile file byte-for-byte intact. */
@media screen {
html[data-hp86-color-scope][data-hp86-theme="light"] {
 --hp86-author-blue:#245cb8;
 --hp86-color-byline:var(--hp86-author-blue);
 --hp86-section-news-river-byline:var(--hp86-author-blue);
}
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] {
 --hp86-home-card-surface:#262626; --hp86-home-card-border:#3a3a3a;
 --hp86-home-silver-rule:#d9d9d9; --hp86-home-story-rule:#bdbdbd;
 --hp86-home-trending-surface:#111111; --hp86-home-specials-surface:#141414;
 --hp86-home-frame-inner:#8c8c8c; --hp86-home-ticket-surface:#121212;
 --hp86-home-subway-red:#e51030; --hp86-home-secondary-badge:#1a1a1a;
 --hp86-home-feature-deck:#d6d6d6; --hp86-home-river-deck:#cfcfcf;
 --hp86-home-special-rule:#555555; --hp86-home-category-dots:#6a6a6a;
 --hp86-home-category-green:#6cbe45;
}
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home :is(.hp86-home,#primary-nav,#home-festured-image-1,#trending-articles-section,#q-and-a-regulars-section,#videos-section,#the-latest-section,#news-river) {
 --hp86-refresh-page:var(--hp86-color-canvas); --hp86-refresh-card:var(--hp86-home-card-surface);
 --hp86-refresh-card-border:var(--hp86-home-card-border); --hp86-refresh-silver:var(--hp86-home-silver-rule);
 --hp86-refresh-story-rule:var(--hp86-home-story-rule); --hp86-refresh-tab:var(--hp86-author-blue);
 --hp86-refresh-trending:var(--hp86-home-trending-surface); --hp86-refresh-frame-inner:var(--hp86-home-frame-inner);
 --hp86-refresh-specials:var(--hp86-home-specials-surface); --hp86-refresh-ticket:var(--hp86-home-ticket-surface);
 --hp86-refresh-red:var(--hp86-home-subway-red); --hp86-refresh-yellow:var(--hp86-accent-yellow);
 --hp86-refresh-teaser:var(--hp86-color-secondary); --hp86-refresh-feature-deck:var(--hp86-home-feature-deck);
 --hp86-refresh-river-deck:var(--hp86-home-river-deck); --hp86-refresh-meta:var(--hp86-accent-silver);
 --hp86-refresh-badge:var(--hp86-home-secondary-badge); --hp86-refresh-special-rule:var(--hp86-home-special-rule);
 --hp86-refresh-dots:var(--hp86-home-category-dots);
 --hp86-category-green:var(--hp86-home-category-green); --hp86-post-type-green:var(--hp86-home-category-green); --hp86-border-green:var(--hp86-home-category-green);
}
}

/* Phase 4C: independently tunable magazine corrections. The approved home is excluded. */
@media screen {
html[data-hp86-theme="dark"] {
 --hp86-audit-link:#4d9bff; --hp86-audit-heading:#fff; --hp86-audit-copy:#c7c7c7; --hp86-audit-meta:#a9b2bf;
 --hp86-audit-panel:#111; --hp86-audit-panel-border:rgba(77,155,255,.8); --hp86-audit-panel-inner:#8c8c8c; --hp86-audit-divider:#3a3a3a;
 --hp86-audit-pill-ink:#000; --hp86-audit-callout-bg:#141414; --hp86-audit-callout-border:#3a3a3a; --hp86-audit-callout-accent:#6cbe45; --hp86-audit-callout-label:#ffd426;
 --hp86-audit-senate-bg:#10261a; --hp86-audit-senate-ink:#fff; --hp86-audit-senate-accent:#6cbe45; --hp86-audit-secondary:#a9b2bf;
 --hp86-audit-sc-ink:#fff; --hp86-audit-sc-surface:#1a1a1a; --hp86-audit-sc-muted-surface:#111; --hp86-audit-sc-border:#3a3a3a; --hp86-audit-sc-arrow:#ffd426; --hp86-audit-alert:#e51030;
 --hp86-audit-city-orange:#ff6319; --hp86-audit-city-role:#000; --hp86-audit-quote-label:#c7c7c7;
}
/* S1/S2. Inline type follows its paragraph; preserve explicitly authored treatments. */
html[data-hp86-color-scope] body:not(.home) :is(.wys,.entry-content) :is(a,strong,b,em,i):not([style*="font-family" i]) {font-family:inherit;}
html[data-hp86-theme="dark"] body:not(.home) :is(.wys,.entry-content,.comment-content) a:not([style*="color" i]):not(.c86 *):not([data-color]) {color:var(--hp86-audit-link)!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}
html[data-hp86-theme="dark"] body:not(.home) :is(.wys,.entry-content) :is(strong,b,em,i):not([style*="color" i]):not(.c86 *) {color:inherit;}
html[data-hp86-theme="dark"] body:not(.home) :is(.wys,.entry-content) a:hover:not([style*="color" i]):not(.c86 *) {color:var(--hp86-audit-heading)!important;}
/* S3/S6. Link ink is scoped to public text, never the brand's navy fill. */
html[data-hp86-theme="dark"] body:not(.home) :is(.user-email,.contact-info a,.entry-footer a,.see-all a) {color:var(--hp86-audit-link)!important;}
html[data-hp86-theme="dark"] body:not(.home) .user-email {font:700 12px/1.5 var(--hp86-font-body);letter-spacing:.1em;text-transform:uppercase;}
html[data-hp86-theme="dark"] body:not(.home) .entry-title a {color:var(--hp86-audit-heading)!important;font-family:var(--hp86-font-headline);font-weight:800;}
html[data-hp86-theme="dark"] body:not(.home) .entry-title a:hover {color:var(--hp86-audit-link)!important;}
html[data-hp86-theme="dark"] body:not(.home) .entry-content {color:var(--hp86-audit-copy);}
/* S4. Category identity comes from the existing data-color. Badges retain their editorial treatment. */
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color]:not([data-color="white"]) {color:var(--hp86-audit-pill-ink)!important;font:700 11px/1.35 var(--hp86-font-body)!important;letter-spacing:.06em;text-transform:uppercase!important;border:0;border-radius:999px!important;padding:5px 10px;}
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color] :is(span,a) {color:inherit!important;font-family:inherit;font-weight:700;text-transform:uppercase;}
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color="orange"] {background:var(--hp86-category-orange)!important;}
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color="green"] {background:var(--hp86-category-green)!important;}
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color="yellow"] {background:var(--hp86-category-yellow)!important;}
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color="blue"] {background:var(--hp86-category-blue)!important;}
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color="black"] {background:var(--hp86-category-blue)!important;}
html[data-hp86-theme="dark"] body:not(.home) :is(.lp86-playpill,.hp86-badge--type) {color:#000!important;background:var(--lp86-accent,#4385ff)!important;font:700 11px/1.35 var(--hp86-font-body);text-transform:uppercase;}
/* Neutral additions are invisible in legacy Light; sidebar still uses its existing query and geometry. */
.hp86-audit-trending__number,.hp86-audit-trending__bullet,.hp86-puzzle-frame__label {display:none;}
.hp86-audit-trending__photo {display:block;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending {background:var(--hp86-audit-panel);border:2px solid var(--hp86-audit-panel-border);border-radius:10px;padding:20px!important;box-shadow:inset 0 0 0 5px var(--hp86-audit-panel),inset 0 0 0 6px var(--hp86-audit-panel-inner);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending > .trending {display:flex;align-items:center;gap:8px;color:#fff;font:800 22px/1.2 var(--hp86-font-headline);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending > .trending::before {display:none;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__bullet {display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#e51030;color:#fff;font:700 19px/1 var(--hp86-font-body);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__item {--hp86-item-accent:var(--hp86-category-orange);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__item[data-accent="green"] {--hp86-item-accent:var(--hp86-category-green);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__item[data-accent="yellow"] {--hp86-item-accent:var(--hp86-category-yellow);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__item[data-accent="blue"] {--hp86-item-accent:var(--hp86-category-blue);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .border-frame-trending {width:100%;height:auto;aspect-ratio:auto;border:0;padding:0;background:none;overflow:visible;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .border-frame-trending::before,html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .border-frame-trending::after {display:none;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__photo {position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:8px;border-bottom:4px solid var(--hp86-item-accent);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__photo img.asp {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__number {display:grid;place-items:center;position:absolute;left:8px;top:8px;z-index:4;background:#e51030;color:#fff;min-width:25px;height:25px;padding:0 4px;border-radius:5px;font:700 13px/1 var(--hp86-font-body);}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__pill {display:inline-block;margin-top:10px;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .flag-xs {position:static!important;display:inline-block;float:none;transform:none!important;margin:0;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .numbered-list {font:800 18px/1.25 var(--hp86-font-headline);color:var(--hp86-audit-heading);padding-left:0;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .numbered-list::before {display:none;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending .separator {border-color:var(--hp86-audit-divider);}
/* S7/S8. Existing state and event handlers stay authoritative. */
html[data-hp86-theme="dark"] .wall-fame-nav-container {display:flex;gap:12px;max-width:100%;}
html[data-hp86-theme="dark"] button.page-toggle {width:calc(50% - 6px)!important;max-width:calc(50% - 6px);white-space:normal;background:#141414!important;color:#fff!important;font-family:var(--hp86-font-headline);font-weight:800;border-radius:8px;border:2px solid #3a3a3a;padding:16px 10px;line-height:1.2;}
html[data-hp86-theme="dark"] button.page-toggle[data-id="0"] {border-color:rgba(255,184,28,.78);}
html[data-hp86-theme="dark"] button.page-toggle[data-id="1"] {border-color:#e51030;}
html[data-hp86-theme="dark"] button.page-toggle[aria-selected="true"] {background:#262626!important;}
body.page-template-page-wall-of-fame-shame main > section > .container > .col-md-8 > h2 {overflow-wrap:anywhere;}
/* S9-S12: provider-owned content and ad placement remain untouched. */
html[data-hp86-theme="dark"] #error-404 .btn-primary {background:#4385ff;color:#000;font:700 14px/1.4 var(--hp86-font-body);border:0;border-radius:8px;}
html[data-hp86-theme="dark"] #adv :is(label,legend,.wpcf7-list-item-label) {color:#d9d9d9!important;}
html[data-hp86-theme="dark"] .hp86-puzzle-frame {background:#141414;border:1px solid #3a3a3a;border-radius:8px;padding:12px;}
html[data-hp86-theme="dark"] .hp86-puzzle-frame__label {display:block;color:#ffd426;font:700 12px/1.4 'Roboto Mono',monospace;letter-spacing:.14em;text-align:left;text-transform:uppercase;margin:0 0 12px;}
html[data-hp86-theme="dark"] .stg86-adlabel {color:#a9b2bf;}
html[data-hp86-theme="dark"] body:not(.home) :is(.comment-form,.mc4wp-form) :is(input:not([type="submit"]):not([type="checkbox"]),textarea) {background:#1a1a1a;color:#fff;border:1px solid #3a3a3a;}
html[data-hp86-theme="dark"] body:not(.home) :is(.comment-form,.mc4wp-form) input[type="submit"] {background:#4385ff;color:#000;border:0;border-radius:8px;}
/* A3 is a shared theme issue, not inline article content. */
html[data-hp86-theme="dark"] .ld .ld-answer h4 {color:#6cbe45;border-color:#6cbe45;}
html[data-hp86-theme="dark"] .dj .dj-stamp {color:#e51030;border-width:1.5px;}
/* Article field classes retain all original inline Light styles. */
html[data-hp86-theme="dark"] .callout-86 {background:var(--hp86-audit-callout-bg)!important;border:1px solid var(--hp86-audit-callout-border)!important;border-left:4px solid var(--hp86-audit-callout-accent)!important;border-radius:8px!important;padding:20px 22px!important;color:#fff!important;}
html[data-hp86-theme="dark"] .callout-86.note {border-left-color:var(--hp86-audit-callout-label)!important;}
html[data-hp86-theme="dark"] .callout-86 :is(p,span,strong,em,b,i) {color:inherit!important;}
html[data-hp86-theme="dark"] .callout-86 .callout-label {font:700 12px/1.4 'Roboto Mono',monospace;letter-spacing:.14em;text-transform:uppercase;color:var(--hp86-audit-callout-label)!important;}
html[data-hp86-theme="dark"] .callout-86 a {color:var(--hp86-audit-link)!important;}
html[data-hp86-theme="dark"] .hp86-senate-box {border:1px solid var(--hp86-audit-senate-accent)!important;border-radius:8px;color:var(--hp86-audit-senate-ink);}
html[data-hp86-theme="dark"] .hp86-sc-arrow {color:var(--hp86-audit-sc-arrow);}
html[data-hp86-theme="dark"] body.postid-3509 .c86lf {color:var(--hp86-audit-city-role)!important;}
}

/* Phase 4C: reuse the approved mechanical switch without changing preference code. */
@media screen and (max-width:1023px) {
html[data-hp86-color-scope] .hp86-menu .hp86-color-control {position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(var(--hp86-menu-bottom,0px) + max(16px,env(safe-area-inset-bottom)));display:block;z-index:1002;width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;}
html[data-hp86-color-scope] .hp86-menu .hp86-color-control__label {display:none;}
html[data-hp86-color-scope] .hp86-menu .hp86-color-control button {--hp86-switch-plate:#d8d0ba;--hp86-switch-edge:#8f8878;--hp86-switch-lever:#eee7d6;--hp86-switch-led:#4d9bff;position:relative;display:block;box-sizing:border-box;min-width:44px;min-height:44px;width:44px;height:44px;flex:0 0 44px;margin:0;padding:0!important;border:0!important;border-radius:5px;background:transparent!important;box-shadow:none;color:transparent!important;font-size:0!important;line-height:0;text-decoration:none;cursor:pointer;}
html[data-hp86-color-scope] .hp86-menu .hp86-color-control button::before {content:"";display:block;box-sizing:border-box;position:absolute;left:13px;top:7px;width:18px;height:30px;border:1px solid var(--hp86-switch-edge);border-radius:3px;background:radial-gradient(circle at 50% 4px,var(--hp86-switch-led) 0 1px,transparent 1.6px),radial-gradient(ellipse at center,#4e4a42 0 3px,transparent 3.6px),linear-gradient(100deg,#f0ead9,var(--hp86-switch-plate) 45%,#b9b1a0);box-shadow:inset 1px 1px 1px #fff8,inset -1px -1px 1px #0005,0 1px 3px #0007;}
html[data-hp86-color-scope] .hp86-menu .hp86-color-control button::after {content:"";display:block;box-sizing:border-box;position:absolute;left:18px;top:16px;width:8px;height:12px;border:1px solid #968d79;border-radius:2px;background:linear-gradient(to bottom,#fff9e7,var(--hp86-switch-lever) 50%,#bcb3a1);box-shadow:0 2px 2px #0007,inset 0 1px #fff9;transform:perspective(30px) translateY(3px) rotateX(-24deg);transform-origin:50% 50%;transition:transform .12s ease-out,box-shadow .12s ease-out;}
html[data-hp86-color-scope] .hp86-menu .hp86-color-control button[aria-pressed="true"]::after {transform:perspective(30px) translateY(-3px) rotateX(24deg);box-shadow:0 -1px 2px #0007,inset 0 1px #fff9;}
html[data-hp86-color-scope] .hp86-menu .hp86-color-control button:focus-visible {outline:3px solid var(--hp86-color-focus);outline-offset:3px;}
html[data-hp86-color-scope] .hp86-menu {padding-bottom:76px;}
}
@media screen and (max-width:1023px) and (prefers-reduced-motion:reduce) {html[data-hp86-color-scope] .hp86-menu .hp86-color-control button::after {transition:none!important;}}

/* Phase 4C Fresh Content compatibility: preserve original artwork, asset and timing. */
@media screen {
html[data-hp86-color-scope] body .hp86-fresh img.hp86-fresh__img {
 position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;
 min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;object-fit:contain!important;transform:none!important;filter:none!important;
}
html[data-hp86-color-scope] body :is(#trending-articles-section,.hp86-audit-trending__photo) .hp86-fresh {left:auto!important;right:8px!important;top:8px!important;}
}

@media screen {html[data-hp86-theme="dark"] body.single-poll h3 a[href="/polls/"] {color:var(--hp86-audit-link)!important;}}

@media screen {
html[data-hp86-theme="dark"] body:not(.home) :is(.flag,.flag-sm,.flag-xs,.flag-xs-rel)[data-color="green"] {background:#6cbe45!important;}
html[data-hp86-theme="dark"] body:not(.home) .hp86-audit-trending__item[data-accent="green"] {--hp86-item-accent:#6cbe45;}
}

/* Keep text-tout category rows clear of the original small Fresh badge. */
@media screen {
html[data-hp86-color-scope] .tout-box > .hp86-fresh--xs ~ .badges-flex-container {padding-right:44px!important;flex-wrap:wrap!important;max-width:100%;box-sizing:border-box;}
html[data-hp86-color-scope] .tout-box > .hp86-fresh--xs ~ .badges-flex-container > a {max-width:100%;white-space:normal;}
}

@media screen {html[data-hp86-color-scope] .tout-box > .hp86-fresh--xs ~ .badges-flex-container {min-height:32px;}}


/* Approved Side Station: section-scoped geometry and independently adjustable tokens. */
html[data-hp86-color-scope] {
 --hp86-side-background:#fff;--hp86-side-inner-border:#d9d9d9;--hp86-side-text:#000;
 --hp86-side-frame:rgba(108,190,69,.8);--hp86-side-frame-desktop:rgba(108,190,69,.62);
 --hp86-side-glow:rgba(108,190,69,.2);--hp86-side-sign:#000;--hp86-side-sign-text:#fff;
 --hp86-side-sign-stripe:#fff;--hp86-side-route-navy:#000286;--hp86-side-route-orange:#ff6319;
 --hp86-side-route-yellow:#fccc0a;--hp86-side-route-green:#6cbe45;
}
html[data-hp86-theme="dark"] {--hp86-side-background:#121212;--hp86-side-inner-border:#8c8c8c;--hp86-side-text:#fff;}
html[data-hp86-color-scope] body.home #side-station-section {background:transparent;padding:0;margin:56px auto;clear:both;}
@media (min-width:1024px) {
 html[data-hp86-color-scope][data-hp86-theme] body.home #side-station-section.hp86-side-section {width:100%;max-width:none;background:transparent;padding:0;margin:56px auto;clear:both;}
}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-frame {width:calc(100% - 32px);max-width:1200px;margin:0 auto;padding:4px;border:2px solid var(--hp86-side-frame);border-radius:10px;box-shadow:0 0 14px var(--hp86-side-glow);box-sizing:border-box;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-panel {padding:14px 14px 22px;border:1px solid var(--hp86-side-inner-border);border-radius:8px;background:var(--hp86-side-background);}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign {position:relative;display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 22px;padding:14px 14px 12px;background:var(--hp86-side-sign);border-radius:6px;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign::before {content:"";position:absolute;top:6px;left:10px;right:10px;height:1px;background:var(--hp86-side-sign-stripe);}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign h3 {margin:0;padding:0;color:var(--hp86-side-sign-text);font-family:Onest,sans-serif;font-weight:700;font-size:19px;line-height:1.2;letter-spacing:0;text-transform:none;white-space:nowrap;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes {display:flex;align-items:center;gap:4px;flex-shrink:0;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes span {display:flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:var(--hp86-side-route-orange);color:#fff;font:700 12px/1 Onest,sans-serif;letter-spacing:0;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes span:nth-child(1) {background:var(--hp86-side-route-navy);}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes span:nth-child(3) {background:var(--hp86-side-route-yellow);color:#000;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes span:nth-child(4) {background:var(--hp86-side-route-green);}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;margin:0;padding:0;list-style:none;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-grid > li {min-width:0;margin:0;padding:0;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-grid > li:last-child {grid-column:1/-1;justify-self:center;width:100%;max-width:240px;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-link {display:flex;flex-direction:column;align-items:center;gap:12px;text-decoration:none;color:var(--hp86-side-text);text-align:center;border-radius:6px;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-art {position:relative;display:block;flex:none;width:96px;height:96px;overflow:visible;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-art img {display:block;width:100%;height:100%;margin:0;padding:0;object-fit:contain;border:0;border-radius:0;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-title {margin:0;padding:0;color:var(--hp86-side-text);font-family:"Roboto Serif",Georgia,serif;font-weight:800;font-size:15px;line-height:1.2;letter-spacing:0;text-transform:uppercase;}
html[data-hp86-color-scope] body.home #side-station-section .hp86-side-link:focus-visible {outline:3px solid var(--hp86-color-focus,#ff6319);outline-offset:5px;}
@media (hover:hover) {
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-link:hover .hp86-side-title {text-decoration:underline;text-underline-offset:3px;}
}
/* Retain two columns on tablets so 96px artwork and full labels fit comfortably. */
@media (min-width:768px) and (max-width:1023px) {
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-frame {width:90%;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-panel {padding:20px 24px 30px;}
}
@media (min-width:1024px) {
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-frame {width:80%;border-color:var(--hp86-side-frame-desktop);}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-panel {padding:20px 24px 30px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign {padding:17px 20px 15px;margin-bottom:30px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign h3 {font-size:24px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes span {width:24px;height:24px;flex-basis:24px;font-size:14px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-grid {grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-grid > li:last-child {grid-column:auto;justify-self:stretch;max-width:none;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-art {width:120px;height:120px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-title {font-size:18px;}
}
/* Preserve the one-line sign at very narrow mobile widths. */
@media (max-width:359px) {
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign {padding-left:10px;padding-right:10px;gap:6px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-sign h3 {font-size:17px;}
 html[data-hp86-color-scope] body.home #side-station-section .hp86-side-routes {gap:3px;}
}

/* Mobile newsletter relocation: reuse the river module, with its existing treatment. */
body.home #hp86-mobile-newsletter-slot {display:none;}
@media (max-width:767px) {
 body.home #hp86-mobile-newsletter-slot:not(:empty) {display:block;width:calc(100% - 32px);margin:var(--hp86-refresh-gap,56px) auto;clear:both;}
 html[data-hp86-theme="light"] body.home #hp86-mobile-newsletter-slot:not(:empty) {width:calc(100% - 30px);}
 body.home #hp86-mobile-newsletter-slot > .single-line-bold {padding:0;margin:0;border:0;opacity:1;}
 body.home #hp86-mobile-newsletter-slot > .single-line-bold::after {display:none;}
 #hp86-mobile-newsletter-slot .n86 .n86-title {font-family:var(--hp86-font-headline);}
 #hp86-mobile-newsletter-slot .n86 .n86-title,
 #hp86-mobile-newsletter-slot .n86 .n86-btn {text-transform:none;}
 #hp86-mobile-newsletter-slot .n86 :is(.n86-badge,.n86-copy,.n86-note,.n86-btn) {font-family:var(--n86-sans);}
 #hp86-mobile-newsletter-slot .n86 :is(.n86-copy,.n86-note) {font-weight:400;letter-spacing:normal;}
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-card { background:#0a0a0a;border:1px solid var(--hp86-refresh-card-border);border-radius:var(--hp86-radius); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-body { padding:24px 20px; }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-title { font:800 32px/1.08 var(--hp86-font-headline);text-transform:none; }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-btn { border-radius:var(--hp86-radius); }
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-body,
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-text,
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-action {display:flex;flex-direction:column;gap:14px;}
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-btn {font-size:16px;min-height:50px;}
html[data-hp86-color-scope="mobile-home"][data-hp86-theme="dark"] body.home #hp86-mobile-newsletter-slot .n86-badge {font-weight:700;}
}

/* Existing return links: colors only; retain all geometry and anchor behavior. */
html[data-hp86-theme="dark"] {--hp86-return-link-color:#4D9BFF;}
html[data-hp86-theme="light"] {--hp86-return-link-color:#245CB8;}
html[data-hp86-theme] body.home #footer.f86 .f86-top,
html[data-hp86-theme] #the-manager-on-duty-article-content-1 a[href="#all-stops"] {
 color:var(--hp86-return-link-color)!important;
 border-color:var(--hp86-return-link-color)!important;
}
html[data-hp86-theme] body.home #footer.f86 .f86-top svg {color:inherit;stroke:currentColor;}

/* Grunt Gourmet: restore readable text without changing its editorial layout. */
html[data-hp86-theme="dark"] body.postid-2712 #the-grunt-gourmet-article-content-1 h3.black {color:var(--hp86-color-text,#fff)!important;}
html[data-hp86-theme="light"] body.postid-2712 .hp86-audit-trending__pill .flag-xs:is([data-color="orange"],[data-color="green"],[data-color="yellow"]) {color:var(--hp86-color-text,#121212)!important;}

/* MOD mosaics: hide only baked-in white export margins in dark mode.
   Source files, rendered dimensions and light mode remain unchanged. */
html[data-hp86-theme="dark"] main img.wp-post-image[src*="/covering_shifts_setting_boundaries"] {
 clip-path:inset(8.9% 0 8.9% 0);
}
html[data-hp86-theme="dark"] main img.wp-post-image[src*="/group_chats_days_off_boundaries"] {
 clip-path:inset(8.7% 0 8.7% 0);
}

/* Approved Related Articles: shared markup only; keep recommendation query unchanged. */
@media screen {
html[data-hp86-color-scope] {
 --hp86-related-frame:color-mix(in srgb,var(--hp86-category-orange) 62%,transparent);
 --hp86-related-glow:color-mix(in srgb,var(--hp86-category-orange) 20%,transparent);
 --hp86-related-panel:#121212;--hp86-related-inner-border:#8c8c8c;
 --hp86-related-rule:#d9d9d9;--hp86-related-card:#1c1c1c;--hp86-related-card-border:#2e2e2e;
 --hp86-related-text:#fff;--hp86-related-secondary:#bdbdbd;
 --hp86-related-pill:#1b1b1b;--hp86-related-pill-border:#444;--hp86-related-pill-text:#fff;
 --hp86-related-row-divider:#3d3d3d;--hp86-related-category-ink:#000;
 --hp86-related-category-green:var(--hp86-side-route-green,#6cbe45);
 --hp86-related-category-black:var(--hp86-category-blue);
}
html[data-hp86-theme="light"] {
 --hp86-related-panel:#fff;--hp86-related-inner-border:#d9d9d9;
 --hp86-related-rule:#000;--hp86-related-card:#fafafa;--hp86-related-card-border:#e2e2e2;
 --hp86-related-text:#000;--hp86-related-secondary:#444;
 --hp86-related-pill:#f2f2f2;--hp86-related-pill-border:#d9d9d9;--hp86-related-pill-text:#000;
 --hp86-related-row-divider:#d9d9d9;
 --hp86-related-category-green:var(--hp86-category-green);
 --hp86-related-category-black:var(--hp86-category-black,var(--neutral-color-900));
}
/* Retain the existing section hooks; replace only its obsolete frame/heading. */
html[data-hp86-color-scope][data-hp86-theme] #related-posts {box-sizing:border-box;max-width:1170px;width:100%;margin:60px auto;padding:0 16px!important;background:transparent;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts > .container-80 {width:100%;max-width:none;margin:0;padding:0;border:0;background:transparent;box-shadow:none;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts > .container-border::before,html[data-hp86-color-scope][data-hp86-theme] #related-posts > .container-border::after {content:none;display:none;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts > .container-80 > .col-md-12.pad-bot-50 {display:none;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__frame {border:2px solid var(--hp86-related-frame);border-radius:10px;padding:4px;box-shadow:0 0 14px var(--hp86-related-glow);}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__panel {border:1px solid var(--hp86-related-inner-border);border-radius:8px;background:var(--hp86-related-panel);padding:30px 30px 34px;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__head {display:flex;align-items:center;gap:18px;margin-bottom:26px;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__heading {font:800 22px/1 var(--hp86-font-headline);letter-spacing:.14em;text-transform:uppercase;color:var(--hp86-related-text);margin:0;padding:0;white-space:nowrap;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__rule {flex:1;min-width:8px;height:1px;background:var(--hp86-related-rule);}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card {--ra86-category:var(--hp86-category-orange);--ra86-category-ink:var(--hp86-related-category-ink);box-sizing:border-box;min-width:0;display:flex;flex-direction:column;background:var(--hp86-related-card);border:1px solid var(--hp86-related-card-border);border-radius:10px;overflow:visible;text-decoration:none;margin:0;padding:0;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card[data-accent="green"] {--ra86-category:var(--hp86-related-category-green);}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card[data-accent="blue"] {--ra86-category:var(--hp86-category-blue);}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card[data-accent="yellow"] {--ra86-category:var(--hp86-category-yellow);}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card[data-accent="red"] {--ra86-category:var(--hp86-category-red);--ra86-category-ink:#fff;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card[data-accent="black"] {--ra86-category:var(--hp86-related-category-black);}
html[data-hp86-color-scope][data-hp86-theme="light"] #related-posts .ra86__card:is([data-accent="blue"],[data-accent="black"]) {--ra86-category-ink:#fff;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__photo {position:relative;display:block;flex:none;width:100%;box-sizing:border-box;aspect-ratio:4/3;border:0;border-bottom:4px solid var(--ra86-category);border-radius:9px 9px 0 0;overflow:visible;background:transparent;text-decoration:none;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__image {position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__image > img {width:100%;height:100%;max-width:none;object-fit:cover;display:block;border:0;border-radius:0;outline:0;box-shadow:none;margin:0;padding:0;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__body {min-width:0;padding:16px 16px 18px;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__pills {display:flex;flex-wrap:wrap;gap:6px;align-items:center;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__pill {box-sizing:border-box;display:inline-block;margin:0;padding:5px 10px;border-radius:999px;font:700 10px/1 var(--hp86-font-body);letter-spacing:normal;text-transform:uppercase;background:var(--hp86-related-pill);color:var(--hp86-related-pill-text);border:1px solid var(--hp86-related-pill-border);text-decoration:none;max-width:100%;overflow-wrap:anywhere;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__pill--cat {background:var(--ra86-category);border-color:var(--ra86-category);color:var(--ra86-category-ink);}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__story {display:block;color:var(--hp86-related-text);text-decoration:none;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__title {font:800 20px/1.15 var(--hp86-font-headline);color:var(--hp86-related-text);margin:12px 0 8px;padding:0;text-transform:none;letter-spacing:normal;overflow-wrap:break-word;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__excerpt {font:400 14px/1.5 var(--hp86-font-body);color:var(--hp86-related-secondary);margin:0;padding:0;text-transform:none;letter-spacing:normal;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card:hover .ra86__title {text-decoration:underline;text-underline-offset:4px;}
html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card a:focus-visible {outline:2px solid var(--hp86-color-focus);outline-offset:3px;}
@media (min-width:768px) and (max-width:1023px) {html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:767px) {
 html[data-hp86-color-scope][data-hp86-theme] #related-posts {margin:40px auto;padding:0 12px!important;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__panel {padding:18px 14px 8px;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__head {margin-bottom:6px;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__heading {font-size:17px;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__grid {grid-template-columns:minmax(0,1fr);gap:0;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card {display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:center;background:transparent;border:0;border-bottom:1px dashed var(--hp86-related-row-divider);border-radius:0;padding:14px 0;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__card:last-child {border-bottom:0;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__photo {aspect-ratio:1/1;border:3px solid var(--ra86-category);border-radius:10px;box-shadow:0 0 10px color-mix(in srgb,var(--ra86-category) 30%,transparent);}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__image {border-radius:7px;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__body {padding:0;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__title {font-size:17px;margin:8px 0 6px;}
 html[data-hp86-color-scope][data-hp86-theme] #related-posts .ra86__excerpt {font-size:13px;-webkit-line-clamp:2;}
}
}

/* Public discussion is disabled in functions.php. Remove its empty tail only on editorial
   pages with a following Related Articles section; keep float clearing for sidebar ads. */
html[data-hp86-color-scope][data-hp86-theme] body.single main:has(+ #related-posts) > section.pad-bot-100 {padding-bottom:0!important;}
html[data-hp86-color-scope][data-hp86-theme] body.single main:has(+ #related-posts) > section > .container > .col-md-10:not(:has(*)) {display:none;}
html[data-hp86-color-scope][data-hp86-theme] body.single main:has(+ #related-posts) > section > .container > .clr.pad-bot-50:has(+ .col-md-10:not(:has(*))) {padding-bottom:0!important;}

/* What Happens When No One Pays? (3276): dark-only editorial color adapter.
   Preserve original inline content, light appearance, artwork and all geometry. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 {
 --hp86-playa-surface:var(--hp86-color-surface);
 --hp86-playa-text:var(--hp86-color-text);
 --hp86-playa-accent:#9eb8da;
 --hp86-playa-plum:var(--hp86-accent-purple);
 --hp86-playa-link:var(--hp86-color-link);
 --hp86-playa-border:#6a8ebf;
 --hp86-playa-divider:#6a8ebf;
 --hp86-playa-quote:var(--hp86-color-text);
}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="background-color: #f5ecd7" i] {background-color:var(--hp86-playa-surface)!important;border-color:var(--hp86-playa-border)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="color: #2c1400" i] {color:var(--hp86-playa-text)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="color: #4a1942" i]:not([style*="background-color" i]) {color:var(--hp86-playa-plum)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="color: #1a0505" i] {color:var(--hp86-playa-quote)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="color: #6a8ebf" i] {color:var(--hp86-playa-accent)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys a[style*="color: #5a5a52" i] {color:var(--hp86-playa-link)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="background: #6a8ebf" i] {background-color:var(--hp86-playa-divider)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="background-color: #4a1942" i] {background-color:var(--hp86-playa-plum)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys [style*="border-left: 2px solid #7a92b1" i] {border-left-color:var(--hp86-playa-border)!important;}

/* Preserve original dark illustration pixels while separating their silhouettes from black. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 {--hp86-playa-art-edge:rgba(255,255,255,.6);--hp86-playa-art-halo:rgba(255,255,255,.25);}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3276 #mind-and-body-post-id-3276 .wys img[style*="width: 110px" i] {filter:drop-shadow(0 0 2px var(--hp86-playa-art-edge)) drop-shadow(0 0 6px var(--hp86-playa-art-halo));}

/* Final 134-page article audit: dark-only, authored-content readability adapters.
 * Existing editorial HTML, image sizing, layout and light presentation stay authoritative.
 * Audit items 1 and 20 already pass; item 19 retains the intentional stamp treatment.
 */
@media screen {
html[data-hp86-color-scope][data-hp86-theme="dark"] body:not(.home) {
 --hp86-final-reading-ink:var(--hp86-article-text,#FFFFFF);
 --hp86-final-reading-link:#4D9BFF;
 --hp86-final-paper:#FFFFFF;
 --hp86-final-paper-ink:#111111;
 --hp86-final-paper-link:#245CB8;
 --hp86-final-paper-blue-ink:#0B2540;
 --hp86-final-paper-green-ink:#276016;
 --hp86-final-muted-ink:#9A9A9A;
 --hp86-final-purple-ink:#8C8FF0;
 --hp86-final-bill-surface:#1A1A1A;
 --hp86-final-bill-ink:#E6E6E6;
 --hp86-final-timeline-ink:#222222;
 --hp86-final-timeline-muted:#666666;
 --hp86-final-timeline-chip-ink:#555555;
}
/* 2–4: locally authored dark copy and the Santo pull quote. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3332 main .wys p[style*="color: #333" i],
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-143 main .wys span[style*="color: #252222" i],
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-2643 main h3.black {color:var(--hp86-final-reading-ink)!important;}
/* 5: retain the timeline's paper-card design and readable historical/erased entries. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3262 #timeline {--hp86-audit-sc-surface:var(--hp86-final-paper);}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3262 #timeline table {background:var(--hp86-final-paper);}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3262 #timeline td {color:var(--hp86-final-timeline-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3262 #timeline tr[style*="opacity: .4"] {opacity:1!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3262 #timeline tr[style*="opacity: .4"] td {color:var(--hp86-final-timeline-muted)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3262 #timeline span[style*="background: #eee" i] {color:var(--hp86-final-timeline-chip-ink)!important;}
/* 6: full bill text; no change to its dimensions or typography. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-2918 main .wys pre[style*="#f8f8f8" i] {background:var(--hp86-final-bill-surface)!important;color:var(--hp86-final-bill-ink)!important;}
/* 7–8: paper panels keep their artwork, borders and headline colors. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div:is([style*="background-color: #e9f5ff" i],[style*="background-color: #f7f7f7" i],[style*="background-color: #fef8f8" i]) {color:var(--hp86-final-paper-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div:is([style*="background-color: #e9f5ff" i],[style*="background-color: #f7f7f7" i],[style*="background-color: #fef8f8" i]) :is(p,span):not([style*="color:"]),
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div:is([style*="background-color: #e9f5ff" i],[style*="background-color: #f7f7f7" i],[style*="background-color: #fef8f8" i]) :is(li,strong,b,em,i) {color:inherit!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div[style*="background-color: #fef8f8" i] [style*="color: #6cbe45" i] {color:var(--hp86-final-paper-green-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div[style*="background-color: #e9f5ff" i] {color:var(--hp86-final-paper-blue-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div:is([style*="background-color: #e9f5ff" i],[style*="background-color: #f7f7f7" i],[style*="background-color: #fef8f8" i]) a,
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3130 main .wys div:is([style*="background-color: #e9f5ff" i],[style*="background-color: #f7f7f7" i],[style*="background-color: #fef8f8" i]) a * {color:var(--hp86-final-paper-link)!important;}
/* 9 and 11: receipt quotes and the named chef's link. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3484 main .wys div[style*="background-color: #e7e8e6" i] blockquote,
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3484 main .wys div[style*="background-color: #e7e8e6" i] blockquote p {color:var(--hp86-final-paper-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body:is(.postid-3484,.postid-153) main .wys span[style*="color: #010189" i],
html[data-hp86-color-scope][data-hp86-theme="dark"] body:is(.postid-3484,.postid-153) main .wys span[style*="color: #010189" i] :is(b,strong) {color:var(--hp86-final-reading-link)!important;}
/* 10: six video pages share the same listing, outside the main article node. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.single-videos .video-tout h2.black {color:var(--hp86-final-reading-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.single-videos .heading-container a[href$="/videos/"] {color:var(--hp86-final-reading-link)!important;}
/* 12: preserve the authored yellow highlight and its original wording. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-1370 main .wys p[style*="background-color: #ffffaa" i],
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-1370 main .wys p[style*="background-color: #ffffaa" i] * {color:#000000!important;}
/* 13: text only; the existing MOD border and accent associations remain intact. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-2634 main .wys :is(div,span)[style^="color: #0039a6" i] {color:var(--hp86-final-reading-link)!important;}
/* 15: the score pills keep their original green/orange surfaces. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-2966 main .wys span:is([style*="background: #6cbe45" i],[style*="background: #ff6319" i]) {color:#000000!important;}
/* 16–17: small captions and station labels. The label-size correction is dark-only. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3589 main .wys :is(p,span)[style*="color: #6b6b6b" i] {color:var(--hp86-final-muted-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3391 main .wys p:is([style*="font-size: 7px"],[style*="font-size: 8px"]) {font-size:10px!important;color:var(--hp86-final-muted-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3391 main .wys p[style*="color: #777777" i] {color:var(--hp86-final-muted-ink)!important;}
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3391 main .wys p[style*="color: #5a5dc9" i] {color:var(--hp86-final-purple-ink)!important;}
/* 18: avatar initials retain their colored editorial circles. */
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3361 main .wys div[style*="border-radius: 50%"][style*="background: #e85c0d" i],
html[data-hp86-color-scope][data-hp86-theme="dark"] body.postid-3361 main .wys div[style*="border-radius: 50%"][style*="background: #4bae33" i] {color:#000000!important;}
}

/* HP86 desktop focus refinement: pointer clicks keep focus without a focus ring.
 * Keyboard focus stays visible. Existing component artwork/rings retain their
 * higher-specificity rules; text-entry controls and <=1023px styling are untouched.
 */
@media (min-width:1024px) {
  @supports selector(:focus-visible) {
    html[data-hp86-color-scope] :where(a[href],button,input[type="button"],input[type="submit"],input[type="reset"],summary,[role="button"],[tabindex]):focus:not(:focus-visible) {
      outline:none;
    }
    html[data-hp86-color-scope] :where(a[href],button,input[type="button"],input[type="submit"],input[type="reset"],summary,[role="button"],[tabindex]):focus-visible {
      outline:3px solid var(--hp86-color-focus,#4d9bff);
      outline-offset:3px;
    }
  }
}
