/* [noscroll-home 2026-11-19, JT build] PRIVATE ONLY. Tight what-changed tape + v2 no-scroll desktop home. [wcbtc-1119] 5-col row: Gold, US10y, USDX, WTI, BTC. */
#what-changed{
  margin:6px 14px 8px;
  padding:8px 12px 8px;
  border:1px solid #5a4d33;
  border-radius:16px;
  background:linear-gradient(160deg,#0d1124,#090c1c);
  min-height:0;
  height:auto;
  display:block;
}
#what-changed h2{
  font:400 16px/1.2 Federo,Georgia,serif;
  color:#f0cd77;
  margin:0 0 2px;
  letter-spacing:.04em;
  display:block;
  justify-content:unset;
}
#what-changed .wc-sub{
  font:11px/1.3 ui-monospace,monospace;
  color:#9a8c76;
  margin:0 0 6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#what-changed .wc-row{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  align-items:start;
}
@media(max-width:700px){
  #what-changed .wc-row{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.wc-chip{
  border:1px solid #5a4d33;
  border-radius:10px;
  padding:6px 8px 5px;
  background:#090c1c;
  min-width:0;
  min-height:0;
  height:auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:stretch;
  gap:0;
}
.wc-chip .k{font:10.5px/1.2 ui-monospace,monospace;color:#c9b98f;letter-spacing:.04em;text-transform:uppercase}
.wc-chip .n{font:600 20px/1.1 Georgia,serif;color:#efe6d4;margin:1px 0 2px}
#what-changed .wc-chip .ch,
#what-changed .wc-chip .wc-ch,
.wc-chip .wc-ch{
  font:11.5px/1.3 ui-monospace,monospace;
  min-height:0!important;
  height:auto!important;
  margin:0;
}
.wc-chip .up{color:#7fc96b}
.wc-chip .dn{color:#e77}
#what-changed .wc-chip svg,
.wc-chip svg.wc-spark{
  width:100%;
  height:44px;
  margin:4px 0 0;
  display:block;
  flex:none;
  align-self:stretch;
}
.wc-chip .as{
  font:10px/1.3 ui-monospace,monospace;
  color:#9a8c76;
  margin-top:3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  min-width:0;
}

/* MOCK ONLY. Desktop home fits in one screen (no vertical page scroll).
   Phone (<900px) is unchanged apart from the tight tape (see tape-tight.css).
   The live #hr-home min-height: calc(100vh - 170/190px) is what forced a
   near-full-viewport hero, so adding the tape always overflowed. */

@media (min-width: 900px) {
  html, body {
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
  }
  body.hh-on, body.hr-on, body:has(#hr-home) {
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow: hidden;
  }

  /* tighter padding only — chips still wrap so they stay readable */
  body:has(#hr-home) header.hdx {
    flex: 0 0 auto;
    min-height: 0 !important;
    margin-bottom: 4px !important;
    padding: 4px 20px 6px !important;
  }
  body:has(#hr-home) header.hdx .wm .t { font-size: 34px !important; }
  body:has(#hr-home) header.hdx .fan { height: 22px; width: 48px; }
  body:has(#hr-home) header.hdx .fch {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 5px 8px !important;
    margin-top: 2px !important;
  }
  body:has(#hr-home) header.hdx .dto { margin-top: 2px !important; }
  body:has(#hr-home) header.hdx #hdbtns { gap: 3px !important; }
  body:has(#hr-home) header.hdx #hdbtns > button { padding: 2px 8px !important; font-size: 10.5px !important; }

  #what-changed {
    flex: 0 0 auto;
    margin: 4px 12px 6px !important;
  }

  #al-ribbon { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; overflow: hidden !important; border: 0 !important; }

  body:has(#hr-home) .layout,
  .layout {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch !important;
    gap: 8px;
    padding: 0 12px 64px; /* clearance for floating home/search pills */
    max-width: none;
    margin: 0;
  }
  @media (min-width: 1280px) {
    .layout { grid-template-columns: minmax(0, 1fr) 340px !important; }
  }
  @media (min-width: 1600px) {
    .layout { grid-template-columns: minmax(0, 1fr) 380px !important; }
  }

  #home-main {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body.hh-on #hr-home,
  body:has(#hr-home) #hr-home {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column;
    gap: 6px !important;
    padding: 0 !important;
    overflow: hidden;
    flex: 0 0 auto;
  }
  /* OTHER MODULES row (.hh-row) moves into the More drawer — see inject */
  #hr-home .hh-row, #hr-home .hh-ol { display: none !important; }

  #hr-home .hr-read {
    padding: 5px 12px !important;
    border-radius: 10px;
  }
  #hr-home .hr-read > p {
    font-size: 14.5px !important;
    line-height: 1.3 !important;
    margin: 2px 0 0 !important;
  }
  #hr-home .hr-read .lb { font-size: 10px; }
  #hr-home .hr-read > .alt { display: none; }

  .hh-hero {
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    padding: 6px 12px !important;
    gap: 4px !important;
    min-height: 0 !important;
  }
  .hh-n { font: 700 42px/1 Georgia, serif !important; }
  .hh-hero .hh-gg svg { width: min(100%, 84px) !important; height: auto !important; }
  .hh-gg b { font-size: 16px !important; }
  .hh-gg span { font-size: 9.5px !important; }
  .hh-w { font-size: 12px !important; margin-top: 2px !important; }
  .hh-o { margin-top: 2px !important; font-size: 12px !important; }
  .hh-o b { font-size: 18px !important; }
  .hh-fn { display: none !important; }
  .hh-why { display: none !important; }

  /* un-hide the four crowd / fiat-vs-X gauges */
  body.hr-on #home-main > .grid.hr-hide,
  #home-main > .grid.hr-hide {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 0 !important;
    min-height: 150px;
    flex: 1 1 auto;
    align-content: start;
    align-items: start;
    width: 100%;
    max-width: 100%;
  }
  #home-main > .grid.hr-hide > section.box.quad {
    padding: 6px 8px !important;
    min-height: 0;
    overflow: hidden;
  }
  #home-main > .grid.hr-hide > section.box.quad > a.bhd { padding: 0 !important; }
  #home-main .bcg .gsvg,
  #home-main .bcg .fga,
  #home-main .gsvg,
  #home-main svg.fga {
    height: 52px !important;
    width: auto !important;
    max-height: 52px !important;
  }
  #home-main .fg-lv {
    font-size: 9.5px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #home-main .fg-n { font-size: 22px; }
  #home-main .fg-row { gap: 4px; }
  #home-main .qfold,
  #home-main .bcgap { display: none; }

  aside.xf {
    grid-column: 2;
    grid-row: 1;
    max-height: none !important;
    height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 3px;
    min-height: 0;
    min-width: 0;
    padding: 0 0 0 2px !important;
  }
  /* beat home-redesign / sidebar_live margin-bottom so boxes don't overlap */
  aside.xf > *,
  body:has(#hr-home) aside.xf > section.bento,
  body:has(#hr-home) aside.xf > .xw,
  body:has(#hr-home) aside.xf > .box,
  body:has(#hr-home) aside.xf > #home-more,
  html body aside.xf > #pub-unused-live,
  html body aside.xf:has(#pub-unused-live) > .box,
  html body aside.xf:has(#pub-unused-live) > .xw {
    margin: 0 !important;
    flex: 0 0 auto !important;
    cursor: default;
    max-width: 100%;
  }
  aside.xf:has(#sb-fold[open]) { overflow-y: auto !important; }

  #story-board {
    min-height: min-content !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 8px 10px !important;
    background: var(--box, #0e1328) !important;
    border: 1px solid var(--bd, #1b2345) !important;
  }
  /* collapsed: no method pill, no footnotes / peek / sub-captions. method returns when #sb-fold is open. */
  #story-board .sbpk,
  #story-board .sb-ct,
  #story-board .sb-ov,
  #story-board .sb-r,
  #story-board .sb-k,
  #story-board .sb-qw,
  #story-board .sb-d,
  #story-board .sb-n,
  #story-board .xp-slot,
  #story-board .sb-s { display: none !important; }
  #story-board details.sbf:not([open]) .sbm,
  #story-board details.sbf:not([open]) .sb-b { display: none !important; }
  #story-board details.sbf[open] .sb-b { display: block !important; }
  #story-board details.sbf[open] .sbm { display: block !important; }
  #story-board details.sbf > summary { cursor: pointer; list-style: none; display: block; position: relative; padding-right: 18px; }
  #story-board details.sbf > summary::-webkit-details-marker { display: none; }
  #story-board details.sbf > summary::after {
    content: "▼";
    position: absolute; top: 2px; right: 0;
    font: 10px/1.2 system-ui, sans-serif; color: #b9ad94;
  }
  #story-board details.sbf[open] > summary::after { content: "▲"; }
  #story-board .plt { font: 13px/1.3 system-ui, sans-serif; color: #b9ad94; display: block; margin: 0 0 2px; }
  #story-board .plt b { color: #efe6d4; font-weight: 600; }
  #story-board .sb-clean-rows { display: flex; flex-direction: column; gap: 1px; min-width: 0; margin: 0; }
  #story-board .sb-clean {
    font: 13px/1.35 Georgia, serif;
    color: #efe6d4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  /* compact feed + canada + side tab share the lower sidebar */
  #home-feed {
    min-height: 0 !important;
    overflow: auto !important;
    padding: 8px 10px 8px !important;
    background: var(--box, #0e1328) !important;
    border: 1px solid var(--bd, #1b2345) !important;
    border-radius: 10px;
  }
  /* [12-home-titles] box titles match the More Federo treatment */
  #story-board h2,
  #story-board .bht,
  #home-feed h2,
  #home-canada h2,
  a.sl-open {
    font: 400 19px/1.1 'Federo', Georgia, serif !important;
    color: #e8c46a !important;
    letter-spacing: .03em;
    text-shadow: none;
  }
  #home-canada h2 span {
    font: 13px/1.2 system-ui, sans-serif !important;
    color: #b9ad94 !important;
    letter-spacing: 0;
    font-weight: 400 !important;
  }
  #home-feed h2 {
    margin: 0 0 2px !important;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
  }
  #home-feed .hf-updated {
    margin: 0;
    font: 13px/1.3 system-ui, sans-serif;
    color: #b9ad94;
  }
  #home-feed .hf-list { display: none !important; }
  #home-feed {
    height: auto !important;
    flex: 0 0 auto;
    overflow: hidden !important;
  }

  #home-canada {
    flex: 0 0 auto;
    min-height: 48px !important;
    padding: 7px 10px !important;
    background: var(--box, #0e1328) !important;
    border: 1px solid var(--bd, #1b2345) !important;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    display: block;
  }
  #home-canada h2 {
    margin: 0 0 2px !important;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  #home-canada p {
    margin: 0;
    font: 12px/1.35 ui-monospace, monospace;
    color: #efe6d4;
  }
  #home-canada p b { color: #f0cd77; }

  #pub-unused-live, a.sl-open, #sl-tab {
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: 1px solid var(--bd, #1b2345) !important;
    border-radius: 10px;
    box-shadow: none !important;
  }
  #pub-unused-live .sl-rows,
  #pub-unused-live .sl-sub,
  #pub-unused-live .sl-foot,
  #pub-unused-live .sl-tick,
  #pub-unused-live .sl-badge,
  #pub-unused-live .bhd,
  #pub-unused-live .sl-hd { display: none !important; }
  a.sl-open, #pub-unused-live > a.sl-open {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 10px !important;
    /* title font comes from the shared Federo rule */
    text-decoration: none;
    border: 0 !important;
    background: var(--box, #0e1328) !important;
  }
  a.sl-open:hover { color: #ffc93c; }
  a.sl-open .sl-dot, #sl-tab .sl-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #7fc96b;
    box-shadow: 0 0 6px #7fc96b;
    flex: none;
    display: inline-block;
  }
  a.sl-open .sl-dot.off, a.sl-open .sl-dot[data-feed="offline"],
  a.sl-open .sl-dot.stale { background: #e8c36a; box-shadow: 0 0 6px #e8c36a; }
  #sl-mock { display: none !important; }

  /* hero: red only when a live gap is at/through the log's alert threshold */
  .hh-hero.hh-alert {
    border-color: #ff6b5a !important;
    box-shadow: 0 0 22px rgba(255,107,90,.18) !important;
    background: radial-gradient(ellipse at 20% 0, #141a35, #0a0e1f 70%) !important;
  }
  .hh-hero:not(.hh-alert) {
    border-color: #c9a46a !important;
    box-shadow: none !important;
    background: radial-gradient(ellipse at 20% 0, #121830, #0a0e1f 70%) !important;
  }
  .hh-hero:not(.hh-alert) .hh-n { color: #ffc93c !important; text-shadow: 0 0 18px rgba(255,201,60,.3) !important; }
  .hh-stories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 4px;
  }
  .hh-stories a {
    font: 600 11.5px/1.3 ui-monospace, monospace;
    color: #ffc93c;
    text-decoration: none;
    letter-spacing: .02em;
  }
  .hh-stories a:hover { color: #fff; }
  .hh-hero.hh-alert .hh-k .hh-go { display: none; } /* links move into .hh-stories */

  .home-more {
    min-height: 34px;
    border: 1px solid #5a4d33;
    border-radius: 10px;
    background: #0a0e1f;
    padding: 0;
    overflow: hidden;
  }
  .home-more > summary {
    cursor: pointer;
    list-style: none;
    font: 600 12px/1.3 ui-monospace, monospace;
    color: #f0cd77;
    padding: 7px 12px;
    letter-spacing: .04em;
  }
  .home-more > summary::-webkit-details-marker { display: none; }
  .home-more > summary::after { content: " ▸"; color: #9a8c76; }
  .home-more[open] > summary::after { content: " ▾"; }
  .home-more > summary{display:flex!important;align-items:baseline;gap:10px;padding:8px 14px!important}
  .home-more > summary .hm-t{font:400 19px/1.1 'Federo',Georgia,serif;color:#e8c46a;letter-spacing:.03em}
  .home-more > summary .hm-s{font:13px/1.2 system-ui,sans-serif;color:#b9ad94;letter-spacing:0;flex:1}
  .home-more > summary::after{color:#e8c46a!important}

  .home-more[open] {
    overflow: auto;
    max-height: 100%;
  }
  .home-more:not([open]) > .home-more-body { display: none !important; }
  .home-more-body { padding: 0 8px 8px; }
  .home-more-body > * { margin: 8px 0 0 !important; }

  footer.srcs { display: none !important; }


  /* compact the four crowd cards so they fit the leftover row */
  #home-main .quad .dvbtn,
  #home-main .quad .qfold,
  #home-main .quad .bcgap,
  #home-main .quad .fg-lv { display: none !important; }
  #home-main .quad .bch {
    display: flex !important;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap;
    flex: 0 0 20px !important;
    min-height: 20px !important;
    height: 20px !important;
    margin: 0 0 2px !important;
    padding: 0 !important;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #home-main .quad .bcrowd { gap: 0; margin: 0 !important; padding: 0 !important; }
  #home-main .quad .bcg { height: auto !important; min-height: 0 !important; margin: 0 !important; }
  #home-main .quad .fg-n { font-size: 20px !important; margin: 0 !important; line-height: 1; }
  html body #home-main section.box.quad .bcg .gsvg,
  html body #home-main section.box.quad .bcg .fga,
  html body #home-main section.box.quad .bcg svg,
  html body #home-main section.box.quad svg.fga,
  html body #home-main section.box.quad .gsvg {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
  }
  #home-main > .grid.hr-hide > section.box.quad {
    height: auto !important;
    max-height: 100%;
    overflow: hidden;
  }

  /* short desktops (13" Air usable ~700, 1280×800 after chrome ~700–748) */
  @media (max-height: 840px) {
    #what-changed { margin: 2px 12px 4px !important; padding: 6px 10px 6px !important; }
    #what-changed .wc-chip svg, #what-changed .wc-chip svg.wc-spark { height: 36px !important; }
    #hr-home .hr-read { padding: 4px 10px !important; }
    #hr-home .hr-read > p { font-size: 13px !important; }
    .hh-n { font: 700 32px/1 Georgia, serif !important; }
    .hh-hero { padding: 4px 10px !important; }
    .hh-hero .hh-gg svg { width: min(100%, 64px) !important; }
    .hh-w { font-size: 11px !important; }
    .hh-o b { font-size: 16px !important; }
    #home-main > .grid.hr-hide { min-height: 118px; }
  }
  @media (max-height: 740px) {
    /* drop the hero's three mini-gauges — same numbers live in the crowd cards */
    .hh-hero .hh-gg { display: none !important; }
    .hh-g { grid-template-columns: 1fr !important; }
    .hh-n { font: 700 28px/1 Georgia, serif !important; }
    body:has(#hr-home) header.hdx { padding: 2px 16px 4px !important; }
    body:has(#hr-home) header.hdx .wm .t { font-size: 28px !important; }
    body:has(#hr-home) header.hdx .fan { height: 18px; width: 40px; }
    #hr-home .hr-read { display: none !important; }
    aside.xf {
      display: flex !important; flex-direction: column !important; justify-content: flex-start !important;
    }
    #home-more { min-height: 40px !important; }
  }
}


/* ribbon is redundant with the hero on every width */
#al-ribbon { display: none !important; }

@media (max-width: 899px) {
  #home-main { display: contents; }
  .home-more { display: contents; }
  .home-more > summary { display: none; }
  .home-more-body { display: contents; }
  body.hr-on #home-main > .grid.hr-hide,
  #home-main > .grid.hr-hide { display: none !important; }
  #home-feed, #home-canada, a.sl-open, #pub-unused-live {
    margin: 8px 12px;
  }
  #pub-unused-live .sl-rows, #pub-unused-live .sl-sub, #pub-unused-live .sl-foot,
  #pub-unused-live .sl-tick, #pub-unused-live .sl-badge, #pub-unused-live .bhd,
  #pub-unused-live .sl-hd { display: none !important; }
  a.sl-open {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 12px !important;
    text-decoration: none;
    border: 1px solid #1b2345;
    border-radius: 10px;
    background: #0e1328;
  }
  a.sl-open .sl-dot { width: 8px; height: 8px; border-radius: 50%; background: #e8c36a; }
}


/* full feed stays on the page; closed it is a link, open it overlays the rail */
#home-feed { position: relative; }
#home-feed h2 { padding-right: 108px; }
#home-feed .hf-full > summary {
  cursor: pointer;
  list-style: none;
  position: absolute;
  top: 8px;
  right: 10px;
  margin: 0;
  font: 600 11px/1.3 ui-monospace, monospace;
  color: #f0cd77;
  letter-spacing: .04em;
}
#home-feed .hf-full > summary::-webkit-details-marker { display: none; }
@media (min-width: 900px) {
  aside.xf { position: relative; }
  #home-feed .hf-full[open] {
    position: absolute;
    inset: 0;
    z-index: 30;
    background: #0a0e1f;
    border: 1px solid #5a4d33;
    border-radius: 10px;
    overflow: auto;
    padding: 8px 10px;
    max-height: 100%;
  }
}
/* [13-gauge-text] JT build 7:13am. Non-numeric gauge values stay one short line. */
.fg-gg b { white-space: nowrap; }
.fg-gg b.fg-state {
  font: 700 15px/1 Georgia, serif;
  color: #c9b98f;
}

/* Home compact cards: keep the three-arc row and the footnote on the card.
   A nowrap stamp must not inflate .fgm past the card width (overflow:hidden
   would clip the left/right gauges). Hide .kln here — it only used to sit
   below the fold and was already clipped away. */
#home-main section.box.quad .bcg,
#home-main section.box.quad .fgm,
#home-main section.box.quad .fg-row,
#home-main section.box.quad .rs-g,
#home-main section.box.quad .fg-quiet {
  min-width: 0;
  max-width: 100%;
}
#home-main section.box.quad .fg-row { width: 100%; }
#home-main section.box.quad .rs-g,
#home-main section.box.quad .fg-quiet {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
  flex-wrap: nowrap;
}
#home-main section.box.quad .kln { display: none !important; }

/* [16-fullscreen-boxes] Story Board + Feed: closed = bento box on the home rail,
   click anywhere in the box = full-screen page. Close: ✕, Esc, browser back. */
#story-board, #home-feed { cursor: pointer !important; }
#story-board:focus-visible, #home-feed:focus-visible { outline: 2px solid #e8c46a; outline-offset: 2px; }
#story-board a, #home-feed a { cursor: pointer; }
.hx-ph { visibility: hidden; flex: 0 0 auto !important; }

html.hx-lock, html.hx-lock body { overflow: hidden !important; }
#hx-ov {
  position: fixed; inset: 0; z-index: 10050; /* above story-notes FAB (10000) */
  width: 100vw; height: 100vh; height: 100dvh;
  background: #070916; color: #efe6d4;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity .16s ease;
  box-sizing: border-box;
}
#hx-ov.hx-on { opacity: 1; }
#hx-ov[hidden] { display: none !important; }
#hx-ov .hx-bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 14px;
  padding: 12px max(18px, env(safe-area-inset-right)) 10px max(18px, env(safe-area-inset-left));
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(7,9,22,.96);
  border-bottom: 1px solid #1b2345;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
#hx-ov .hx-t {
  margin: 0; font: 400 26px/1.1 'Federo', Georgia, serif; color: #e8c46a;
  letter-spacing: .03em; white-space: nowrap;
}
#hx-ov .hx-sub {
  flex: 1 1 auto; min-width: 0;
  font: 13px/1.3 system-ui, sans-serif; color: #b9ad94;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#hx-ov .hx-sub b { color: #efe6d4; font-weight: 600; }
#hx-ov .hx-x {
  flex: 0 0 auto; margin-left: auto;
  background: #e8c46a; color: #090c1c; border: 0; border-radius: 18px;
  font: 700 15px/1 system-ui, sans-serif; padding: 9px 16px; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
#hx-ov .hx-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
#hx-ov .hx-body {
  max-width: 1500px; margin: 0 auto;
  padding: 16px max(18px, env(safe-area-inset-right)) 40px max(18px, env(safe-area-inset-left));
  box-sizing: border-box;
}

/* ---------- Story Board page ---------- */
/* the moved #story-board keeps its id, so beat the home "#story-board .x {display:none!important}" rules with 2 ids */
#hx-ov #story-board {
  all: unset; display: block !important; cursor: default !important;
  background: none !important; border: 0 !important; padding: 0 !important;
  max-width: none !important; width: auto !important; height: auto !important;
}
#hx-ov #story-board > details.sbf > summary,
#hx-ov #story-board .sb-clean-rows,
#hx-ov #story-board .sbpk,
#hx-ov #story-board .sb-n,
#hx-ov #story-board .xp-slot { display: none !important; }
#hx-ov #story-board details.sbf > .sb-b {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 14px; align-items: start;
}
/* method pill: one row across the top, its body only when the pill is opened */
#hx-ov #story-board .sbm {
  display: block !important; grid-column: 1 / -1;
  margin: 0 !important; max-width: none !important;
}
#hx-ov #story-board .sbm > summary { cursor: pointer; }
#hx-ov #story-board .sb-s {
  display: block !important;
  background: #0c1023; border: 1px solid #1b2345; border-radius: 12px;
  padding: 12px 14px; margin: 0 !important; min-width: 0;
  font: 14px/1.45 system-ui, sans-serif;
}
#hx-ov #story-board .sb-ct,
#hx-ov #story-board .sb-ov,
#hx-ov #story-board .sb-k,
#hx-ov #story-board .sb-qw,
#hx-ov #story-board .sb-d { display: block !important; }
#hx-ov #story-board .sb-r { display: flex !important; gap: 8px; justify-content: space-between; }
#hx-ov #story-board .sb-h b { font: 600 17px/1.3 Georgia, serif; color: #efe6d4; }
#hx-ov #story-board .sb-ct { font-size: 12px; color: #b9ad94; margin: 2px 0 6px; }
#hx-ov #story-board .sb-ov { font: 15px/1.4 Georgia, serif; color: #e8dcc0; margin: 0 0 8px; }
#hx-ov #story-board .sb-k { color: #cfc3a8; margin: 3px 0; }
#hx-ov #story-board .sb-k > span { color: #e8c46a; }
#hx-ov #story-board .sb-q { font: italic 14px/1.45 Georgia, serif; color: #e8dcc0; margin: 8px 0 2px; display: block; -webkit-line-clamp: unset; overflow: visible; }
#hx-ov #story-board .sb-d > summary { cursor: pointer; color: #e8c46a; margin-top: 8px; }
#hx-ov #story-board a { color: #f0cd77; }

/* ---------- Feed page ---------- */
#hx-ov .hx-feed > .xw {
  display: block !important; max-width: 1100px; margin: 0 auto;
  height: auto !important; max-height: none !important; overflow: visible !important;
  background: none !important; border: 0 !important; padding: 0 !important;
}
#hx-ov .hx-feed .xwd > summary.xwh { display: none !important; }
#hx-ov .hx-feed .xl-p { max-height: none !important; overflow: visible !important; }
#hx-ov .hx-feed .xwt { font-size: 14px; line-height: 1.45; }
#hx-ov .hx-feed #vectors-path { max-width: 420px !important; }

@media (max-width: 640px) {
  #hx-ov .hx-t { font-size: 22px; }
  #hx-ov .hx-sub { display: none; }
  #hx-ov .hx-x { padding: 9px 14px; }
  #hx-ov .hx-body { padding-top: 12px; }
}

/* [15-pc-polish] MOCK. PC (Windows) home only: every rule is scoped to html.pcp,
   which pc-polish.js sets only on Windows. Mac/phone render exactly as before. */
@media (min-width: 900px) {
  /* ---- shared card look: one radius, one border, one gold accent ---- */
  html.pcp body:has(#hr-home) { --pcp-bd: #212b54; --pcp-bg: linear-gradient(180deg, #0d1125, #0a0d1d); --pcp-gold: #e8c46a; }
  html.pcp #what-changed,
  html.pcp #hr-home .hr-read,
  html.pcp #home-main > .grid.hr-hide > section.box.quad,
  html.pcp aside.xf > #story-board,
  html.pcp aside.xf > #home-feed,
  html.pcp aside.xf > #home-canada,
  html.pcp aside.xf > #pub-unused-live,
  html.pcp aside.xf > #home-more {
    border: 1px solid var(--pcp-bd) !important;
    border-radius: 10px !important;
    background: var(--pcp-bg) !important;
    box-shadow: inset 0 1px 0 rgba(232,196,106,.06) !important;
  }

  /* ---- what changed: bolder sparks, quieter stamps ---- */
  html.pcp #what-changed .wc-sub { opacity: .55; }
  html.pcp #what-changed .wc-chip { background: #080b1a; border-color: #1c2447; padding: 6px 10px 5px; }
  html.pcp #what-changed .wc-chip svg polyline {
    stroke-width: 2.2px !important; vector-effect: non-scaling-stroke;
    stroke-linejoin: round; stroke-linecap: round;
  }
  html.pcp #what-changed .wc-chip svg { overflow: visible; filter: drop-shadow(0 0 3px rgba(0,0,0,.6)); }
  html.pcp #what-changed .wc-chip .as { font-size: 9.5px; opacity: .55; }
  html.pcp #what-changed .wc-chip .k { color: var(--pcp-gold); opacity: .85; }

  /* ---- layout: rail runs down beside the home/search pills, no dead band ---- */
  html.pcp body:has(#hr-home) .layout { gap: 10px; padding-bottom: 56px; }
  html.pcp aside.xf {
    height: calc(100% + 44px) !important;
    gap: 8px !important;
    padding: 0 !important;
  }
  html.pcp #home-main, html.pcp body.hh-on #hr-home, html.pcp body:has(#hr-home) #hr-home { gap: 8px !important; }

  /* ---- rail: even gaps, same padding; story board takes the spare height ---- */
  html.pcp aside.xf > #home-feed,
  html.pcp aside.xf > #home-canada { padding: 8px 12px !important; }
  html.pcp aside.xf > #pub-unused-live { padding: 0 !important; overflow: hidden; }
  html.pcp aside.xf > #pub-unused-live a.sl-open { padding: 8px 12px !important; border: 0 !important; background: none !important; }
  html.pcp aside.xf > #home-more > summary { padding: 8px 12px !important; }
  html.pcp aside.xf:not(:has(#sb-fold[open])) > #story-board {
    flex: 1 0 auto !important; min-height: min-content !important;
    display: flex !important; flex-direction: column;
    padding: 8px 12px !important;
  }
  html.pcp #story-board .sb-clean-rows { flex: 1 1 auto; justify-content: space-evenly; gap: 2px; }
  html.pcp #story-board .sb-clean { font-size: 13.5px; padding: 1px 0; border-bottom: 1px solid rgba(33,43,84,.5); }
  html.pcp #story-board .sb-clean:last-child { border-bottom: 0; }

  /* ---- divergence banner: one header line, number + words side by side, compact gauges ---- */
  html.pcp .hh-hero {
    display: flex !important; flex-flow: row wrap !important; align-items: center;
    gap: 4px 16px !important; padding: 6px 14px 6px !important; border-radius: 10px !important;
  }
  html.pcp .hh-hero > .hh-k { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important; }
  html.pcp .hh-hero > .hh-k .hh-tag { display: inline-block; }
  html.pcp .hh-hero > .hh-stories { margin: 0 0 0 auto !important; flex: 0 0 auto; flex-wrap: nowrap !important; }
  html.pcp .hh-hero > .hh-g {
    flex: 1 1 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) repeat(3, 96px) !important;
    align-items: center; gap: 0 10px !important;
  }
  html.pcp .hh-hero .hh-l {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center;
  }
  html.pcp .hh-hero .hh-l .hh-n { grid-row: 1 / span 2; font-size: 40px !important; }
  html.pcp .hh-hero .hh-l .hh-w { margin: 0 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.pcp .hh-hero .hh-l .hh-o { margin: 0 !important; }
  html.pcp .hh-hero .hh-gg svg { width: 64px !important; }
  html.pcp .hh-hero .hh-gg { justify-content: center; }

  /* ---- four module cards: one even row, all the same height ---- */
  html.pcp #home-main > .grid.hr-hide {
    gap: 8px !important;
    align-items: stretch !important; align-content: stretch !important;
    grid-template-rows: minmax(0, 1fr);
  }
  html.pcp #home-main > .grid.hr-hide > section.box.quad {
    height: auto !important; max-height: none !important;
    padding: 8px 10px !important;
    display: flex !important; flex-direction: column;
  }
  html.pcp #home-main .quad .bcrowd { flex: 1 1 auto; display: flex !important; flex-direction: column; min-height: 0; }
  html.pcp #home-main .quad .bcg { flex: 1 1 auto; display: flex !important; flex-direction: column; justify-content: center; }
  html.pcp #home-main .quad .fgm { flex: 1 1 auto; justify-content: center !important; gap: clamp(4px, 1.4vh, 14px) !important; height: 100%; }
  html.pcp #home-main .quad .fg-gg { min-width: 0; }
  html.pcp body #home-main section.box.quad .fg-row svg { max-width: 100% !important; }
  html.pcp #home-main .quad .bch { border-bottom: 1px solid rgba(33,43,84,.6); padding-bottom: 3px !important; height: 24px !important; flex-basis: 24px !important; }
  html.pcp #home-main .quad .rs-g,
  html.pcp #home-main .quad .fg-quiet { opacity: .6; font-size: 10px; text-align: center; }
  html.pcp #home-main .quad .rs-g small[title^="past"] { opacity: 1; }

  /* ---- hard assets: BTC alert becomes a compact chip inside the card ---- */
  html.pcp #btc-alert {
    display: flex !important; flex-flow: row wrap; align-items: center;
    gap: 2px 8px; width: 100%; box-sizing: border-box;
    margin: 4px 0 0 !important; padding: 5px 10px !important;
    border: 1px solid #ff6b5a !important; border-radius: 8px !important;
    background: rgba(255,107,90,.08) !important; box-shadow: none !important;
    min-height: 0 !important; height: auto !important;
  }
  html.pcp #btc-alert .fa-hd { display: contents; }
  html.pcp #btc-alert .fa-tag { order: 1; font-size: 9px; padding: 1px 6px; }
  html.pcp #btc-alert .fa-mod { order: 2; font-size: 14px; }
  html.pcp #btc-alert .fa-n { order: 3; font-size: 20px !important; margin: 0 !important; line-height: 1; }
  html.pcp #btc-alert .fa-go { order: 4; margin-left: auto; font-size: 10px; }
  html.pcp #btc-alert .fa-row {
    order: 5; flex: 1 1 100%; display: flex !important; justify-content: center;
    gap: 4px 12px; margin: 0 !important; max-width: none;
  }
  html.pcp #btc-alert .fa-row .fg-gg { display: flex !important; flex-direction: row !important; align-items: baseline; gap: 4px; }
  html.pcp #btc-alert .fa-row .fg-gg svg { display: none !important; }
  html.pcp #btc-alert .fa-row .fg-gg span { font: 10px ui-monospace, monospace; color: #c9b98f; text-transform: lowercase; }
  html.pcp #btc-alert .fa-row .fg-gg b { font: 700 13px Georgia, serif; color: #ffe0c2; }
  html.pcp #btc-alert .fa-row .fg-gg b.fg-gv { color: #ff8a5c; }
  html.pcp #btc-alert .fa-lv,
  html.pcp #btc-alert .fa-st,
  html.pcp #btc-alert .xpbar { display: none !important; }

  /* short PC windows: chip drops to one line, banner gauges smaller */
  @media (max-height: 840px) {
    html.pcp .hh-hero .hh-gg svg { width: 52px !important; }
    html.pcp .hh-hero .hh-l .hh-n { font-size: 32px !important; }
  }
}
@media (min-width: 900px) {
  /* one frame per module: drop the inner box around the gauges */
  html.pcp #home-main .quad .bcrowd,
  html.pcp #home-main .quad .bcg,
  html.pcp #home-main .quad .fgm { border: 0 !important; background: none !important; box-shadow: none !important; }
  /* gauges grow with the spare height instead of leaving air */
  html.pcp body #home-main section.box.quad .bcg svg.fga,
  html.pcp body #home-main section.box.quad .bcg .fg-row svg,
  html.pcp body #home-main section.box.quad .bcg .gsvg {
    height: clamp(40px, calc((100vh - 640px) / 3), 84px) !important;
    max-height: 84px !important;
  }
  html.pcp body #home-main section.box.quad #btc-alert svg { display: none !important; }
  html.pcp #home-main .quad .fg-n { font-size: clamp(20px, 3vh, 30px) !important; }
  html.pcp #story-board .sb-clean { font-size: 14px; }
}

@media (min-width: 900px) and (max-height: 840px) {
  html.pcp #home-main .quad .fgm { gap: 2px !important; }
  html.pcp #home-main .quad .fg-n { font-size: 20px !important; }
  html.pcp #btc-alert { padding: 3px 8px !important; gap: 0 6px; margin-top: 2px !important; }
  html.pcp #btc-alert .fa-row { gap: 0 8px; }
  html.pcp #home-main .quad .bch { height: 22px !important; flex-basis: 22px !important; }
}

/* narrower PC windows: the chip keeps ALERT · BTC · gap · story; the two readings move to its hover title */
@media (min-width: 900px) and (max-width: 1599px) {
  html.pcp #btc-alert .fa-row { display: none !important; }
  html.pcp #btc-alert { flex-wrap: nowrap; }
}
@media (min-width: 900px) and (max-height: 800px) {
  html.pcp aside.xf { gap: 5px !important; }
  html.pcp aside.xf > #home-feed, html.pcp aside.xf > #home-canada { padding: 6px 12px !important; }
  html.pcp aside.xf > #pub-unused-live a.sl-open { padding: 6px 12px !important; }
  html.pcp aside.xf > #home-more > summary { padding: 6px 12px !important; }
  html.pcp aside.xf:not(:has(#sb-fold[open])) > #story-board { padding: 6px 12px !important; }
  html.pcp #story-board .sb-clean { font-size: 13px; padding: 0; }
}
@media (min-width: 900px) and (max-width: 1599px) {
  html.pcp #home-main .quad .bch { gap: 4px; }
  html.pcp #home-main .quad .bch .bhl { font-size: 11px !important; min-width: 0; }
  html.pcp #home-main .quad .bch .bhl * { font-size: inherit; }
  html.pcp #home-main .quad .bch .bht { flex: 0 0 auto; }
}
/* tall PC windows (maximized 1080p): spend spare height on the What changed sparks, not empty card air */
@media (min-width: 900px) and (min-height: 960px) {
  html.pcp #what-changed .wc-chip svg,
  html.pcp #what-changed .wc-chip svg.wc-spark { height: clamp(44px, calc(100vh - 880px), 110px) !important; }
}
