/* Highlights of the Day.
   Builds on screener.css (background, .card, .top, .wrap, .loader).

   One new semantic in this file: amber means *time*. The session's open and
   close bells, the "now" marker and every clock reading are amber, and nothing
   else is — so on a page where green and red are already spoken for by
   direction, the eye can still find its place in the day. */

.hl {
    --bell: #f5b651;
    --bell-soft: rgba(245, 182, 81, 0.15);
    --hair: rgba(255, 255, 255, 0.07);
    --ink-2: #a4a9bd;
    max-width: 1280px;
}

/* ---------- shared small type ---------- */

.hl .eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
}

.hl .card {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hl .card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hair);
}

.hl .head-note {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    color: var(--faint);
    letter-spacing: 0.02em;
    text-align: right;
}

.hl .head-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.hl .head-link:hover {
    color: var(--indigo);
}

.hl .num {
    font-family: "JetBrains Mono", monospace;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hl .up {
    color: var(--up);
}
.hl .down {
    color: var(--down);
}
.hl .flat {
    color: var(--muted);
}

/* ---------- hero: the verdict ---------- */

.hl-hero {
    padding: 8px 0 34px;
    border-bottom: 1px solid var(--hair);
    margin-bottom: 26px;
}

.hl-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hl-date {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.hl-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--faint);
}

.hl-phase {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--hair);
    color: var(--muted);
}
.hl-phase.is-open {
    color: var(--up);
    border-color: rgba(22, 209, 149, 0.35);
    background: var(--up-soft);
}
.hl-phase.is-preopen {
    color: var(--bell);
    border-color: rgba(245, 182, 81, 0.35);
    background: var(--bell-soft);
}
.hl-phase .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.hl-phase.is-open .dot {
    animation: hlpulse 2s ease-in-out infinite;
}
@keyframes hlpulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.25;
    }
}

.hl-clock {
    font-size: 11px;
    font-weight: 700;
    color: var(--bell);
    letter-spacing: 0.06em;
}

.hl-refresh {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--card-brd);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}
.hl-refresh:hover:not(:disabled) {
    color: var(--txt);
    border-color: var(--indigo);
}
.hl-refresh:disabled {
    opacity: 0.5;
    cursor: default;
}
.hl-refresh.spinning .rr-ico {
    display: inline-block;
    animation: spin2 0.9s linear infinite;
}

/* The lead carries a tone bar — the page's only ornament in the hero. */
.hl-lead {
    position: relative;
    margin: 0 0 18px;
    padding-left: 20px;
    font-size: clamp(29px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: -0.032em;
    line-height: 1.05;
    max-width: 20ch;
    text-wrap: balance;
}
.hl-lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.14em;
    bottom: 0.14em;
    width: 3px;
    border-radius: 3px;
    background: var(--muted);
}
.hl-lead.tone-up::before {
    background: var(--up);
}
.hl-lead.tone-down::before {
    background: var(--down);
}

.hl-detail {
    margin: 0 0 22px;
    padding-left: 20px;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.58;
    color: var(--ink-2);
    max-width: 68ch;
}

.hl-clauses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 20px;
}

.clause {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--card-brd);
    background: rgba(255, 255, 255, 0.025);
    font-size: 12.5px;
}
.clause b {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--faint);
}
.clause span {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.clause.t-up span {
    color: var(--up);
}
.clause.t-down span {
    color: var(--down);
}

.hl-warn {
    margin: 18px 0 0;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(245, 182, 81, 0.3);
    background: var(--bell-soft);
    color: var(--bell);
    font-size: 12.5px;
    max-width: 70ch;
}

/* ---------- session: spine + tape ---------- */

.hl-session {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.spine-card {
    min-height: 320px;
}

.spine-meta {
    font-size: 10.5px;
    color: var(--faint);
    letter-spacing: 0.04em;
}
.spine-meta .partial {
    color: var(--bell);
}

/* The chart's controls: which index, at what timeframe. They sit in the card
   head, sized down to stay subordinate to the chart they steer. */
.spine-head {
    flex-wrap: wrap;
    row-gap: 10px;
    align-items: center;
}
.spine-head-l {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}
.spine-ctl {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.spine-idx {
    max-width: 210px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--card-brd);
    border-radius: 9px;
    color: var(--txt);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 8px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.spine-idx:hover,
.spine-idx:focus {
    border-color: var(--indigo);
    outline: none;
}
.spine-idx option {
    background: #12141d;
    color: var(--txt);
}
.seg.spine-tf {
    border-radius: 9px;
    padding: 2px;
}
.seg.spine-tf button {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 7px;
}

.spine-wrap {
    flex: 1;
    min-height: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.spine-wrap svg {
    display: block;
    overflow: visible;
}

/* Narrow screens: the moments that were pinned to the line move down here. */
.sp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid var(--hair);
}
.sp-legend .spl {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}
.sp-legend .spl i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c);
    align-self: center;
}
.sp-legend .spl b {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}
.sp-legend .spl u {
    text-decoration: none;
    font-weight: 700;
    color: var(--txt);
    font-variant-numeric: tabular-nums;
}
.sp-legend .spl em {
    font-style: normal;
    color: var(--bell);
}

.sp-grid {
    stroke: var(--hair);
    stroke-width: 1;
}
.sp-axis {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    fill: var(--faint);
    letter-spacing: 0.06em;
}
.sp-prev {
    stroke: var(--muted);
    stroke-width: 1;
    stroke-dasharray: 3 4;
    opacity: 0.55;
}
.sp-prev-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    fill: var(--muted);
}
.sp-line {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sp-gap {
    fill: rgba(255, 255, 255, 0.02);
}
.sp-gap-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    fill: var(--faint);
}

.sp-mark-dot {
    stroke: var(--bg);
    stroke-width: 2;
}
.sp-mark-line {
    stroke-width: 1;
    stroke-dasharray: 2 3;
    opacity: 0.5;
}
.sp-mark-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.sp-mark-val {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    fill: var(--txt);
}

.sp-now {
    stroke: var(--bell);
    stroke-width: 1.5;
}
.sp-now-dot {
    fill: var(--bell);
}

.sp-hit {
    fill: transparent;
    cursor: crosshair;
    /* Horizontal drags scrub the chart; vertical ones still scroll the page,
       so inspecting a value on a phone never traps the reader on the card. */
    touch-action: pan-y;
}

/* The opening range: the first fifteen minutes' high and low, extended. Barely
   there on purpose — it's a reference the price is read against, not a mark
   competing with it. */
.sp-or {
    fill: rgba(255, 255, 255, 0.05);
}
.sp-or-win {
    fill: rgba(245, 182, 81, 0.1);
}

/* Options lane: net open interest added per interval, around a zero line. */
.sp-lane-zero {
    stroke: var(--hair);
    stroke-width: 1;
}
.sp-lane-bar {
    opacity: 0.72;
}
.sp-lane-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    fill: var(--faint);
    letter-spacing: 0.04em;
}
.sp-cross {
    stroke: var(--txt);
    stroke-width: 1;
    opacity: 0.35;
}

.sp-tip {
    position: absolute;
    pointer-events: none;
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(10, 11, 20, 0.94);
    border: 1px solid var(--card-brd);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
    transform: translate(-50%, -120%);
    transition: opacity 0.1s ease;
    z-index: 3;
}
.sp-tip .t {
    color: var(--bell);
    font-weight: 700;
}
.sp-tip .p {
    color: var(--txt);
    font-weight: 700;
}
.sp-tip .r {
    color: var(--muted);
}
.sp-tip .d {
    font-weight: 700;
}
.sp-tip .d.up {
    color: var(--up);
}
.sp-tip .d.down {
    color: var(--down);
}

/* The plain-English key under the chart. Every mark above is a convention;
   this is where it's spelled out for someone who hasn't been taught it. */
.sp-note {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding-top: 8px;
    font-size: 10px;
    color: var(--faint);
    line-height: 1.5;
}
.sp-note .k {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.sp-note .k b {
    font-weight: 700;
}
.sp-note .sw {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex: none;
}
.sp-note .sw-split {
    background: linear-gradient(180deg, var(--up) 0 50%, var(--down) 50% 100%);
    opacity: 0.75;
}
.sp-note .sw-or {
    background: rgba(245, 182, 81, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.sp-note .sw-oi {
    background: linear-gradient(90deg, var(--up) 0 50%, var(--down) 50% 100%);
    opacity: 0.75;
}

/* ---------- index tape ---------- */

.tape-card {
    padding-bottom: 14px;
}
.tape {
    display: flex;
    flex-direction: column;
}

.tape-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--hair);
}
.tape-row:last-child {
    border-bottom: 0;
}

.tape-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.tape-last {
    font-family: "JetBrains Mono", monospace;
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.tape-chg {
    grid-column: 2;
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Day range: where the last trade sits between the day's low and high. */
.tape-range {
    grid-column: 1 / -1;
    margin-top: 7px;
    height: 3px;
    border-radius: 3px;
    background: var(--hair);
    position: relative;
}
.tape-range i {
    position: absolute;
    top: -2px;
    width: 2px;
    height: 7px;
    border-radius: 2px;
    background: var(--txt);
}
.tape-range u {
    position: absolute;
    top: -1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--muted);
    opacity: 0.7;
    transform: translateX(-2px);
}
.tape-rlabel {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    color: var(--faint);
    margin-top: 5px;
}

/* ---------- supporting grid ---------- */

.hl-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}
.c-breadth {
    grid-column: span 4;
}
.c-rotation {
    grid-column: span 4;
}
.c-mood {
    grid-column: span 4;
}
.c-movers {
    grid-column: span 7;
}
.c-flows {
    grid-column: span 5;
}
.c-next {
    grid-column: span 5;
}
.c-news {
    grid-column: span 7;
}

/* Cards in a grid row all stretch to the tallest one, so a short block would
   otherwise clump at the top and leave the card looking half-empty. Making the
   block a column lets its content claim the height it's been given. */
.blk {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.blk-load {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    flex: 1;
}
.blk-load .loader {
    width: 26px;
    height: 26px;
    border-width: 2px;
    margin: 0;
}
.blk-msg {
    color: var(--faint);
    font-size: 12.5px;
    padding: 14px 0;
}

/* ---------- breadth ---------- */

.br-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
}
.br-adv {
    font-family: "JetBrains Mono", monospace;
    font-size: 30px;
    font-weight: 700;
    color: var(--up);
    line-height: 1;
}
.br-dec {
    font-family: "JetBrains Mono", monospace;
    font-size: 30px;
    font-weight: 700;
    color: var(--down);
    line-height: 1;
}
.br-slash {
    color: var(--faint);
    font-size: 20px;
}
.br-sub {
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 16px;
}

.br-bar {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: var(--hair);
    margin-bottom: 16px;
}
.br-bar i {
    display: block;
    height: 100%;
}
.br-bar .a {
    background: var(--up);
}
.br-bar .d {
    background: var(--down);
}

.br-rows {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
}
.br-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 10px;
    font-size: 12px;
}
.br-row span {
    color: var(--muted);
}
.br-row b {
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ---------- sector rotation ---------- */

.rot {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 7px;
}
.rot-row {
    display: grid;
    grid-template-columns: 88px 1fr 52px;
    align-items: center;
    gap: 10px;
}
.rot-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Diverging bar: zero sits at the centre, so leaders and laggards read as
   opposite directions rather than as two lengths you have to compare. */
.rot-track {
    position: relative;
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
}
.rot-track::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--hair);
}
.rot-track i {
    position: absolute;
    top: 3px;
    bottom: 3px;
    border-radius: 3px;
}
.rot-track i.pos {
    left: 50%;
    background: var(--up);
}
.rot-track i.neg {
    right: 50%;
    background: var(--down);
}
.rot-val {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ---------- volatility & options ---------- */

.mood-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--hair);
}
.mood-vix {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mood-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}
.mood-val {
    font-family: "JetBrains Mono", monospace;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.mood-chg {
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px;
    font-weight: 700;
}
.mood-read {
    font-size: 11.5px;
    color: var(--muted);
    text-align: right;
    max-width: 16ch;
    line-height: 1.45;
}

.opt-rows {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.opt-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 10px;
}
.opt-row span {
    font-size: 12px;
    color: var(--muted);
}
.opt-row b {
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.opt-note {
    margin-top: 14px;
    font-size: 10.5px;
    color: var(--faint);
    line-height: 1.5;
}

/* ---------- movers ---------- */

.mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    flex: 1;
}
.mv-col h4 {
    margin: 0 0 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}
.mv-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--hair);
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}
.mv-row:last-child {
    border-bottom: 0;
}
.mv-row:hover {
    background: rgba(255, 255, 255, 0.03);
}
.mv-sym {
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mv-px {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
}
.mv-chg {
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ---------- smart money ---------- */

.fm-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hair);
}
.fm-who {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.fm-sub {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--faint);
    margin-top: 3px;
}
.fm-net {
    font-family: "JetBrains Mono", monospace;
    font-size: 19px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.fm-row:last-of-type {
    border-bottom: 0;
}
.fm-fut {
    margin-top: 14px;
}
.fm-futbar {
    height: 8px;
    border-radius: 999px;
    display: flex;
    overflow: hidden;
    background: var(--hair);
    margin: 9px 0 7px;
}
.fm-futbar i.l {
    background: var(--up);
}
.fm-futbar i.s {
    background: var(--down);
}
.fm-futlab {
    display: flex;
    justify-content: space-between;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--faint);
}
.fm-date {
    margin-top: auto;
    padding-top: 14px;
    font-size: 10.5px;
    color: var(--faint);
    line-height: 1.5;
}

/* ---------- what's next ---------- */

.nx-day {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bell);
    margin: 14px 0 8px;
}
.nx-day:first-child {
    margin-top: 0;
}
.nx-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid var(--hair);
    text-decoration: none;
    color: inherit;
}
.nx-row:hover .nx-co {
    color: var(--indigo);
}
.nx-type {
    font-family: "JetBrains Mono", monospace;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    white-space: nowrap;
}
.nx-type.t-expiry {
    background: var(--bell-soft);
    color: var(--bell);
}
.nx-type.t-results {
    background: rgba(99, 102, 241, 0.16);
    color: #8f92f7;
}
.nx-co {
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.12s ease;
}
.nx-detail {
    grid-column: 2;
    font-size: 10.5px;
    color: var(--faint);
    margin-top: 2px;
}
.nx-ipo {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--hair);
}

/* ---------- headlines ---------- */

.nw-row {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--hair);
    text-decoration: none;
    color: inherit;
}
.nw-row:last-child {
    border-bottom: 0;
}
.nw-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.12s ease;
}
.nw-row:hover .nw-title {
    color: var(--indigo);
}
.nw-meta {
    font-family: "JetBrains Mono", monospace;
    font-size: 9.5px;
    color: var(--faint);
    margin-top: 5px;
    letter-spacing: 0.04em;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
    .hl-session {
        grid-template-columns: 1fr;
    }
    .c-breadth,
    .c-rotation,
    .c-mood {
        grid-column: span 6;
    }
    .c-mood {
        grid-column: span 12;
    }
    .c-movers,
    .c-flows,
    .c-next,
    .c-news {
        grid-column: span 12;
    }
}

@media (max-width: 720px) {
    .hl-lead {
        padding-left: 14px;
    }
    .hl-detail,
    .hl-clauses {
        padding-left: 14px;
    }
    .c-breadth,
    .c-rotation {
        grid-column: span 12;
    }
    .mv {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .spine-wrap {
        /* Room for the price plot, the options lane and the caption strip —
           the lane is the reading you can't get anywhere else, so it earns its
           28px on a phone too. */
        min-height: 290px;
    }
}

/* ---------- motion ----------

   The page's figures are readings, not a printout, so they arrive rather than
   appear: bars grow, the session line draws itself, numbers count into place and
   tick when a refresh moves them.

   Everything here is additive. The final state is always what the markup already
   says, so a browser that runs none of it — or a reader who has asked for less
   motion — sees the same correct page, just instantly. */

.br-bar i,
.rot-track i,
.fm-futbar i,
.tape-range i {
    transition:
        width 0.85s cubic-bezier(0.22, 0.9, 0.3, 1),
        left 0.85s cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* A figure that just changed on a refresh. Brief, and coloured by direction —
   it is the only place the page reports movement as it happens. */
@keyframes tickUp {
    from {
        color: var(--up);
        text-shadow: 0 0 14px rgba(22, 209, 149, 0.5);
    }
}
@keyframes tickDn {
    from {
        color: var(--down);
        text-shadow: 0 0 14px rgba(255, 93, 108, 0.5);
    }
}
.tick-up {
    animation: tickUp 1.1s ease-out;
}
.tick-dn {
    animation: tickDn 1.1s ease-out;
}

/* The ring breathing out of the "now" marker. Present only while the session is
   open — a live pulse on a closed market would be a lie told in motion. */
.sp-now-ring {
    fill: none;
    stroke: var(--bell);
    stroke-width: 1.5;
}

.sp-legend {
    animation: hlRise 0.5s ease-out 0.5s backwards;
}

/* Cards settle in on first paint only; the class is added once, by script,
   after the data is in — so a failed load never leaves an invisible page. */
@keyframes hlRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}
.hl-entered .hl-hero {
    animation: hlRise 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
.hl-entered .hl-session .card {
    animation: hlRise 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) 0.06s backwards;
}
.hl-entered .hl-grid .card {
    animation: hlRise 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
.hl-entered .hl-grid .card:nth-child(1) {
    animation-delay: 0.1s;
}
.hl-entered .hl-grid .card:nth-child(2) {
    animation-delay: 0.14s;
}
.hl-entered .hl-grid .card:nth-child(3) {
    animation-delay: 0.18s;
}
.hl-entered .hl-grid .card:nth-child(4) {
    animation-delay: 0.22s;
}
.hl-entered .hl-grid .card:nth-child(5) {
    animation-delay: 0.26s;
}
.hl-entered .hl-grid .card:nth-child(6) {
    animation-delay: 0.3s;
}
.hl-entered .hl-grid .card:nth-child(7) {
    animation-delay: 0.34s;
}

@media (prefers-reduced-motion: reduce) {
    .hl-phase.is-open .dot,
    .hl-refresh.spinning .rr-ico {
        animation: none;
    }
    /* Stillness has to be complete to be worth anything: no growth, no rise,
       no flash. The counters and the spine's draw-on are skipped in script. */
    .br-bar i,
    .rot-track i,
    .fm-futbar i,
    .tape-range i {
        transition: none;
    }
    .tick-up,
    .tick-dn,
    .sp-legend,
    .hl-entered .hl-hero,
    .hl-entered .hl-session .card,
    .hl-entered .hl-grid .card {
        animation: none;
    }
}

/* Keyboard focus — inherited cards are non-interactive, but the rows are. */
.hl a:focus-visible,
.hl button:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
    border-radius: 6px;
}
