﻿/* ==========================================================================
   TickerHall design system v2 (29 Sep 2026 review round).
   Loaded after theme.min.css and site.css; this file wins. One visual language:
   cool neutral canvas, white surfaces, 12/16px radii, soft elevation, Geist headings,
   Inter text, navy primary, brass as the single accent. Green/red only for
   Bullish/Bearish and price moves (never success/error).
   ========================================================================== */

:root, [data-bs-theme=light] {
  --th-canvas: #f3f5f8;
  --th-surface: #ffffff;
  --th-surface-2: #f7f9fb;           /* hover, quiet fills */
  --th-line: #e3e8ee;                /* hairlines and card borders */
  --th-line-strong: #c3ccd6;         /* inputs, dividers that must be seen */
  --th-control-border: #8a96a3;      /* checkboxes, radios: 3:1 on white */
  --th-ink: #0f2236;                 /* headings, emphasis */
  --th-text: #243447;
  --th-muted: #5b6776;               /* 5.6:1 on white */
  --th-link: #0b4f8a;                /* links in text: distinct from body ink */
  --th-ticker: #1f6fd1;
  --th-primary-fill: #09253B;
  --th-primary-hover: #12385a;
  --th-brass: #D49A35; --th-brass-icon: #A87618; --th-brass-ink: #8a6417;
  --th-highlight-wash: color-mix(in srgb, var(--th-brass) 16%, transparent); /* start of the new-message highlight */
  --th-focus: #1f6fd1;
  --th-radius-sm: 8px; --th-radius: 12px; --th-radius-lg: 16px;
  --th-shadow-1: 0 1px 2px rgba(16,24,40,.05);
  --th-shadow-2: 0 4px 16px rgba(16,24,40,.08), 0 1px 3px rgba(16,24,40,.06);
  --th-shadow-3: 0 16px 40px rgba(16,24,40,.14);
  /* Every --th-* token lives in this file, for both themes (site.css only maps the base theme onto them). */
  --th-navy: #09253B;
  --th-bullish-ink: #11703f; --th-bearish-ink: #b33636;
  --th-surface-raised: #fff; --th-line-raised: var(--th-line);
  --th-placeholder: #6b7785;
  --th-wordmark: #09253B; --th-brass-mark: #D49A35;
  --th-logo-ink: #09253B; --th-logo-brass: #D49A35;
  --th-price-up: #187a50; --th-price-down: #b83a27;
  --th-bottom-nav-h: 66px;           /* phone tab bar: 52px targets + padding + hairline (things above it clear this) */
  --bs-body-bg: var(--th-canvas);
  --bs-body-color: var(--th-text);
  --bs-secondary-color: var(--th-muted); --bs-secondary-color-rgb: 91, 103, 118;
  --bs-emphasis-color: var(--th-ink); --bs-heading-color: var(--th-ink);
  --bs-border-color: var(--th-line);
  --bs-tertiary-bg: var(--th-surface-2);
  --bs-link-color: var(--th-link); --bs-link-hover-color: #073a66;
  --bs-border-radius: var(--th-radius-sm); --bs-border-radius-lg: var(--th-radius);
  --bs-card-border-radius: var(--th-radius);
}
[data-bs-theme=dark] {
  --th-canvas: #0b121b;
  --th-surface: #121c28;
  --th-surface-2: #182434;
  --th-line: #223043;
  --th-line-strong: #34465c;
  --th-control-border: #6b7f96;
  --th-ink: #eef3f8;
  --th-text: #d6dee8;
  --th-muted: #9fadbd;
  --th-link: #8dbcf0;
  --th-ticker: #6aaaff;
  --th-primary-fill: #2f6aa8;
  --th-primary-hover: #3a78ba;
  --th-brass: #F0B64A; --th-brass-icon: #F0B64A; --th-brass-ink: #F0B64A;
  --th-highlight-wash: color-mix(in srgb, var(--th-brass) 9%, transparent); /* brass on navy turns olive above ~10% */
  --th-focus: #8dbcf0;
  --th-shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --th-shadow-2: 0 6px 20px rgba(0,0,0,.45);
  --th-shadow-3: 0 16px 40px rgba(0,0,0,.6);
  --th-bullish-ink: #4cc98a; --th-bearish-ink: #ff8a8a; /* 4.9:1 on the dark surface */
  --th-bullish: #3fb47c; --th-bearish: #e06666;
  --th-surface-raised: #1d2a3a; --th-line-raised: #34465c;   /* overlays sit one step above cards */
  --th-placeholder: #7d8a9a;
  --th-wordmark: #e6edf5; --th-brass-mark: #F0B64A;
  --th-logo-ink: #ffffff; --th-logo-brass: #F0B64A;
  --th-price-up: #3fcf8e; --th-price-down: #ff7a63;
  --bs-body-bg: var(--th-canvas);
  --bs-body-color: var(--th-text);
  --bs-secondary-color: var(--th-muted); --bs-secondary-color-rgb: 159, 173, 189;
  --bs-emphasis-color: var(--th-ink); --bs-heading-color: var(--th-ink);
  --bs-border-color: var(--th-line);
  --bs-tertiary-bg: var(--th-surface-2);
  --bs-card-bg: var(--th-surface);
  --bs-link-color: var(--th-link); --bs-link-hover-color: #b5d4f6;
}

/* ---- Canvas, type ---- */
html { -webkit-text-size-adjust: 100%; }
body { background: var(--th-canvas) !important; color: var(--th-text); font-size: .9375rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Geist', 'Inter', system-ui, sans-serif; color: var(--th-ink); letter-spacing: -.01em; font-weight: 600; }
.text-body-secondary, .text-muted { color: var(--th-muted) !important; }
/* Composer countdown (update 69): muted while typing, brass at 100 left, bold brass past the limit (never red). */
.text-body-secondary.counter-low { color: var(--th-brass-ink) !important; font-weight: 600; }
.text-body-secondary.counter-over { color: var(--th-brass-ink) !important; font-weight: 700; }
.small, small { font-size: .8125rem; }
.tabular, .stat-value, .floor-tape-price, .floor-tape-chg { font-variant-numeric: tabular-nums; }

/* Page headers: two patterns only */
.page-title { font-size: 1.625rem; line-height: 1.2; margin-bottom: .375rem; }
.page-lead { font-size: 1rem; color: var(--th-muted); max-width: 62ch; margin-bottom: 0; }
.doc-title { font-size: 2rem; line-height: 1.15; margin-bottom: .5rem; }
.doc-lead { font-size: 1.125rem; color: var(--th-text); max-width: 62ch; }
@media (max-width: 575.98px) { .page-title { font-size: 1.375rem; } .doc-title { font-size: 1.625rem; } }

/* ---- Links: visible in text, quiet in chrome ---- */
a { color: var(--th-link); }
main p a:not(.btn):not(.cashtag):not(.mention):not(.stretched-link),
main li a:not(.btn):not(.cashtag):not(.mention):not(.nav-link):not(.dropdown-item):not(.stretched-link):not(.list-link),
main dd a:not(.btn), main td a:not(.btn):not(.cashtag), .doc a:not(.btn), .footer-bottom a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
main p a:hover, main li a:hover, .site-footer a:hover { text-decoration-color: currentColor; }

/* ---- Surfaces ---- */
.card { --bs-card-bg: var(--th-surface); background: var(--th-surface); border: 1px solid var(--th-line); border-radius: var(--th-radius);
  box-shadow: var(--th-shadow-1); }
[data-bs-theme=dark] .card { background-color: var(--th-surface); }
.card-header { background: transparent; border-bottom-color: var(--th-line); }
.dropdown-menu, .ticker-preview, .typeahead-menu { border-radius: var(--th-radius); border: 1px solid var(--th-line); box-shadow: var(--th-shadow-3); padding: .375rem; }
.dropdown-item { border-radius: var(--th-radius-sm); padding: .55rem .75rem; font-size: .9375rem; }
.dropdown-item i { width: 1.25rem; color: var(--th-muted); }
@media (max-width: 575.98px) { .dropdown-item { padding: .75rem .875rem; } }

/* ---- Header: translucent, crisp ---- */
header.header-sticky { background: color-mix(in srgb, var(--th-surface) 88%, transparent) !important;
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--th-line) !important; }
header .navbar { min-height: 60px; }
header .navbar-nav { gap: .25rem !important; }
header .navbar .nav-link { font-weight: 500; color: var(--th-muted); padding: .5rem .75rem !important; border-radius: var(--th-radius-sm); white-space: nowrap; }
header .navbar .nav-link:hover { color: var(--th-ink); background: var(--th-surface-2); }
header .navbar .nav-link.active { color: var(--th-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--th-brass); border-radius: 0; background: transparent; }
header form[role=search] .form-control { background: var(--th-surface-2); border-color: transparent; border-radius: 999px; padding-left: 1rem; height: 40px; }
header form[role=search] .form-control:focus { background: var(--th-surface); border-color: var(--th-focus); }

/* ---- Buttons: one system (primary / secondary / quiet), nowrap, no letter-spacing ---- */
.btn { --bs-btn-font-weight: 600; letter-spacing: 0 !important; text-transform: none !important; border-radius: 10px;
  font-size: .9375rem; padding: .5rem 1rem; white-space: nowrap; line-height: 1.4; transition: background-color .12s, border-color .12s, color .12s, box-shadow .12s; }
.btn-sm { font-size: .8125rem; padding: .375rem .75rem; border-radius: 8px; }
.btn-lg { font-size: 1rem; padding: .75rem 1.25rem; border-radius: 12px; }
.btn-primary { --bs-btn-bg: var(--th-primary-fill); --bs-btn-border-color: var(--th-primary-fill); --bs-btn-hover-bg: var(--th-primary-hover);
  --bs-btn-hover-border-color: var(--th-primary-hover); --bs-btn-active-bg: var(--th-primary-hover); --bs-btn-active-border-color: var(--th-primary-hover);
  --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-disabled-bg: var(--th-primary-fill); --bs-btn-disabled-border-color: var(--th-primary-fill);
  box-shadow: 0 1px 2px rgba(9,37,59,.2); }
.btn-outline-primary, .btn-outline-secondary { --bs-btn-color: var(--th-ink); --bs-btn-border-color: var(--th-line-strong); --bs-btn-bg: var(--th-surface);
  --bs-btn-hover-bg: var(--th-surface-2); --bs-btn-hover-color: var(--th-ink); --bs-btn-hover-border-color: var(--th-control-border);
  --bs-btn-active-bg: var(--th-surface-2); --bs-btn-active-color: var(--th-ink); --bs-btn-active-border-color: var(--th-control-border); }
.btn-light { --bs-btn-bg: var(--th-surface-2); --bs-btn-border-color: transparent; --bs-btn-color: var(--th-ink);
  --bs-btn-hover-bg: color-mix(in srgb, var(--th-surface-2) 70%, var(--th-line-strong)); --bs-btn-hover-border-color: transparent; --bs-btn-hover-color: var(--th-ink); }
[data-bs-theme=dark] .btn-light { background: var(--th-surface-2); border-color: transparent; color: var(--th-ink); }
.btn-link { font-weight: 600; text-decoration: none; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 10px;
  background: transparent; border: 0; color: var(--th-muted); }
.btn-icon:hover { background: var(--th-surface-2); color: var(--th-ink); }
.btn-danger { --bs-btn-bg: #b42318; --bs-btn-border-color: #b42318; }
[data-bs-theme=dark] { --bs-danger: #f07878; --bs-danger-rgb: 240, 120, 120; --bs-danger-text-emphasis: #f07878; }
[data-bs-theme=dark] .text-danger, [data-bs-theme=dark] .link-danger { color: #f07878 !important; }
[data-bs-theme=dark] .btn-outline-danger { --bs-btn-color: #f07878; --bs-btn-border-color: #f07878; --bs-btn-hover-bg: #b42318; --bs-btn-hover-border-color: #b42318; --bs-btn-hover-color: #fff; }

/* ---- Forms: 44px fields, visible borders, 16px on phones (no iOS zoom) ---- */
.form-control, .form-select { border: 1px solid var(--th-line-strong); border-radius: 10px; background-color: var(--th-surface); color: var(--th-text); min-height: 44px; font-size: .9375rem; }
textarea.form-control { min-height: 0; }
.form-control:focus, .form-select:focus { border-color: var(--th-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--th-focus) 22%, transparent); }
.form-label { font-weight: 600; color: var(--th-ink); font-size: .875rem; }
.form-text { color: var(--th-muted); }
.form-check-input:not(.form-switch .form-check-input) { width: 1.15em; height: 1.15em; border: 1.5px solid var(--th-control-border); background-color: var(--th-surface); }
/* Same specificity as the rule above (its :not() counts), or a ticked box stays white and the white tick is invisible. */
.form-check-input:checked, .form-check-input:checked:not(.form-switch .form-check-input) { background-color: var(--th-primary-fill); border-color: var(--th-primary-fill); }
.form-check-label { cursor: pointer; }
[data-bs-theme=dark] .form-control[readonly], [data-bs-theme=dark] .form-control:disabled { background-color: var(--th-surface-2); color: var(--th-muted); border-style: dashed; }
@media (max-width: 767.98px) { .form-control, .form-select, input, select, textarea { font-size: 16px !important; } }

/* Validation: body text + brass marker, not red */
.field-validation-error, .validation-summary-errors, .text-danger.small, span.text-danger { color: var(--th-text) !important; font-weight: 500; }
.field-validation-error::before, span.text-danger:not(:empty)::before { content: "\f06a"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--th-brass-icon); margin-right: .375rem; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.input-validation-error { border-color: var(--th-brass) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--th-brass) 20%, transparent); }

/* Alerts: success is navy, never green */
.alert { border-radius: var(--th-radius); }
.alert-success { --bs-alert-bg: #eef3f8; --bs-alert-border-color: #c9d6e3; --bs-alert-color: var(--th-ink); }
[data-bs-theme=dark] .alert-success { --bs-alert-bg: rgba(141,188,240,.10); --bs-alert-border-color: rgba(141,188,240,.25); --bs-alert-color: #cfe2f7; }
.text-success { color: var(--th-link) !important; }

/* ---- Focus: always visible ---- */
a:focus-visible, button:focus-visible, [role=button]:focus-visible, summary:focus-visible, .btn:focus-visible, .nav-link:focus-visible,
.dropdown-item:focus-visible, .form-check-input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--th-focus) !important; outline-offset: 2px !important; box-shadow: none !important; }
.form-control:focus-visible, .form-select:focus-visible { outline: 0 !important; }
.stream-message:focus-visible { outline-offset: -2px !important; }

/* ---- Tabs: one style (ink text, brass underline) ---- */
.stream-tab, .nav-tabs .nav-link, .tv-tab { color: var(--th-muted); font-weight: 600; }
.stream-tab.active, .stream-tab:hover, .nav-tabs .nav-link.active, .tv-tab.active, .tv-tab[aria-selected=true] { color: var(--th-ink) !important; border-bottom-color: var(--th-brass) !important; }

/* ---- Chips and badges ---- */
.badge { font-weight: 600; border-radius: 999px; padding: .3em .6em; }
.chip, .related-tickers a { display: inline-flex; align-items: center; gap: .375rem; min-height: 32px; padding: .25rem .75rem; border-radius: 999px;
  border: 1px solid var(--th-line); background: var(--th-surface); color: var(--th-ink); font-weight: 600; font-size: .8125rem; text-decoration: none; }
.chip:hover, .related-tickers a:hover { border-color: var(--th-line-strong); background: var(--th-surface-2); }
.text-brass { color: var(--th-brass-ink) !important; }
.th-brass-icon, .why-point > i, .verified-label i, .scorecard .fa-bullseye { color: var(--th-brass-icon) !important; }

/* A $TICKER looks the same everywhere */
.cashtag, a.ticker-link { color: var(--th-ticker) !important; font-weight: 600; text-decoration: none; }
.cashtag:hover, a.ticker-link:hover { text-decoration: underline; }

/* ---- Stream ---- */
.stream-message { padding-top: .8rem !important; padding-bottom: .65rem !important; }
.stream-message:hover { background: var(--th-surface-2); }
.stream-message .post-body { font-size: .9688rem; line-height: 1.5; color: var(--th-text); }
.post-actions { margin-top: .25rem !important; }
.post-actions a, .post-actions .reaction, .post-actions button { border-radius: 999px; }
.post-actions a:hover, .post-actions .reaction:hover, .post-actions button:hover { background: color-mix(in srgb, var(--th-ticker) 10%, transparent); color: var(--th-ticker); }
[data-new-posts] .btn { border-radius: 999px; box-shadow: var(--th-shadow-2); }

/* ---- Empty states ---- */
.empty-state { text-align: center; padding: 2.5rem 1.25rem; }
.empty-state > i { font-size: 2rem; color: var(--th-muted); margin-bottom: .75rem; display: block; }
.empty-state h2, .empty-state .empty-title { font-size: 1.0625rem; margin-bottom: .25rem; }
.empty-state p { color: var(--th-muted); margin: 0 auto 1rem; max-width: 36ch; }

/* ---- Footer ---- */
.site-footer { background: transparent; border-top: 1px solid var(--th-line) !important; color: var(--th-muted); }
.site-footer a { color: var(--th-muted); }
.site-footer a:hover { color: var(--th-ink); }

/* ---- Bottom nav (phones and tablets): full-width targets ---- */
.bottom-nav { background: color-mix(in srgb, var(--th-surface) 92%, transparent) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--th-line); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.bottom-nav a { flex: 1 1 0; min-height: 52px; justify-content: center; font-size: .6875rem; font-weight: 600; color: var(--th-muted); position: relative; }
.bottom-nav a i { font-size: 1.2rem; }
.bottom-nav a.active { color: var(--th-ink); }
.bottom-nav a.active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 2px; background: var(--th-brass); }
.bottom-nav .badge { position: absolute; top: 4px; left: calc(50% + 6px); }

/* ---- Phones: mobile-first stream, full-bleed ---- */
@media (max-width: 575.98px) {
  body.has-stream main > .container, body.full-bleed main > .container { padding-left: 0; padding-right: 0; }
  body.has-stream main > .container > .row, body.full-bleed main > .container > .row { margin-left: 0; margin-right: 0; }
  body.has-stream main > .container > .row > [class*="col"], body.full-bleed main > .container > .row > [class*="col"] { padding-left: 0; padding-right: 0; }
  body.has-stream main .card, body.full-bleed main .card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  body.has-stream main .card.card-inset { margin-left: 12px; margin-right: 12px; border-radius: var(--th-radius); border: 1px solid var(--th-line); }
  .stream-message { padding-left: 14px !important; padding-right: 14px !important; }
  .stream-message .avatar-initials, .stream-message .avatar-img { width: 38px !important; height: 38px !important; font-size: 15px !important; }
  main { padding-top: .75rem !important; }
}
/* Toasts clear the bottom tab bar wherever it shows (it's d-md-none, so up to 767px). */
@media (max-width: 767.98px) {
  .toast-container, .th-toast { bottom: calc(var(--th-bottom-nav-h) + env(safe-area-inset-bottom)) !important; }
}

/* Tablet: comfortable centred column */
@media (min-width: 576px) and (max-width: 991.98px) {
  main > .container { max-width: 720px; }
}

/* Reduced motion: no looping or sliding */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Footer layout */
.footer-legal { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer-brand { display: inline-flex; opacity: .85; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
@media (max-width: 767.98px) {
  .site-footer .container { text-align: center; }
  .footer-legal { justify-content: center; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; text-align: center; }
  .footer-links a { padding: .375rem 0; }
}

/* Message action row: 36px round hit areas (44 on phones via padding), aligned to the text column */
.post-actions { gap: .25rem; margin-left: -8px; flex-wrap: nowrap; }
.post-action { display: inline-flex; align-items: center; gap: .375rem; min-width: 36px; height: 36px; padding: 0 .5rem; justify-content: center;
  border: 0; background: transparent; color: var(--th-muted); border-radius: 999px; text-decoration: none; font-size: .8125rem; font-weight: 500; cursor: pointer; }
.post-action i { font-size: .95rem; }
.post-action:hover, .post-action.active, .post-action.is-on, .btn-check:checked + .post-action { color: var(--th-ticker); background: color-mix(in srgb, var(--th-ticker) 10%, transparent); }
.post-count:empty { display: none; }
.reaction-group { gap: .25rem; }
@media (max-width: 575.98px) {
  /* The row compresses instead of overflowing (counts are compact: 1.2K). */
  .post-action { min-width: 40px; height: 40px; padding: 0 .35rem; gap: .25rem; }
  .post-actions { justify-content: space-between; margin-left: -10px; margin-right: 0; }
  .post-actions > * { flex: 0 1 auto; min-width: 0; }
  .post-actions .post-count { font-size: .78rem; }
}

/* Selectable cards (welcome step, filters) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .5rem; }
.choice { position: relative; margin: 0; cursor: pointer; }
.choice-input { position: absolute; opacity: 0; pointer-events: none; }
.choice-body { display: flex; align-items: center; gap: .625rem; min-height: 56px; padding: .5rem .75rem; border: 1px solid var(--th-line); border-radius: var(--th-radius);
  background: var(--th-surface); transition: border-color .12s, background-color .12s; }
.choice:hover .choice-body { border-color: var(--th-line-strong); }
.choice-tick { margin-left: auto; color: transparent; font-size: .8rem; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid var(--th-control-border);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.choice-input:checked + .choice-body { border-color: var(--th-primary-fill); background: color-mix(in srgb, var(--th-primary-fill) 5%, var(--th-surface)); }
.choice-input:checked + .choice-body .choice-tick { background: var(--th-primary-fill); border-color: var(--th-primary-fill); color: #fff; }
.choice-input:focus-visible + .choice-body { outline: 2px solid var(--th-focus); outline-offset: 2px; }
details > summary { cursor: pointer; }

/* Signed-out composer band */
.composer-join { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.composer-join-text { color: var(--th-muted); }
.composer-join-actions { display: flex; gap: .5rem; margin-left: auto; }
@media (max-width: 575.98px) {
  .composer-join-text { width: 100%; }
  .composer-join-actions { width: 100%; margin-left: 0; }
  .composer-join-actions .btn { flex: 1; }
}

/* ---- Ticker page header ---- */
.ticker-head { padding: 1rem 1.25rem; }
.ticker-head-top { display: flex; align-items: flex-start; gap: .875rem; }
.ticker-title { font-size: 1.5rem; line-height: 1.15; margin: 0; }
.ticker-name { font-weight: 500; color: var(--th-text); text-wrap: balance; }
.ticker-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .8125rem; color: var(--th-muted); margin-top: .125rem; }
.ticker-meta a { color: var(--th-muted); text-decoration: none; }
.ticker-meta a:hover { color: var(--th-ink); text-decoration: underline; }
.ticker-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-shrink: 0; }
/* Ticker page composer: the "$T " prefill is muted until the first keystroke (it's a hint, not a typed message). */
.composer textarea.is-prefill { color: var(--th-muted); }
/* Watch ⇄ Watching keeps one width, so a tap never re-wraps the header's meta line on phones. */
.ticker-actions [data-watch] { min-width: 8.25em; } /* fits "Watching" with its icon (8.0em at 13px), so the toggle never changes width */
.ticker-note { margin-top: .75rem; padding: .5rem .75rem; border-radius: var(--th-radius-sm); background: var(--th-surface-2); font-size: .8125rem; color: var(--th-muted); }
.ticker-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem; margin-top: 1rem; }
.tstat { padding: .625rem .75rem; border-radius: var(--th-radius-sm); background: var(--th-surface-2); min-width: 0; }
.tstat-value { font-family: 'Geist', 'Inter', sans-serif; font-size: 1.25rem; font-weight: 600; color: var(--th-ink); line-height: 1.2; display: flex; align-items: baseline; gap: .375rem; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.tstat-sm { font-size: 1rem; }
.tstat-unit { font-size: .8125rem; font-weight: 500; color: var(--th-muted); margin-left: .125rem; }
.tstat-empty { font-size: .9375rem; color: var(--th-muted); }
.tstat-label { font-size: .75rem; color: var(--th-muted); margin-top: .125rem; line-height: 1.35; }
.tstat-spark { margin-top: .25rem; }
.chg-pill { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 700; padding: .125rem .5rem; border-radius: 999px; }
.chg-pill.is-up { color: var(--th-bullish-ink); background: color-mix(in srgb, var(--th-bullish-ink) 12%, transparent); }
.chg-pill.is-down { color: var(--th-bearish-ink); background: color-mix(in srgb, var(--th-bearish-ink) 12%, transparent); }
.lean-bar { height: 4px; border-radius: 2px; background: var(--th-bearish, #d64545); overflow: hidden; margin: .375rem 0 .25rem; }
.lean-bar i { display: block; height: 100%; background: var(--th-bullish, #1a9d5b); }
.ticker-related { display: flex; align-items: center; gap: .375rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ticker-related::-webkit-scrollbar { display: none; }
.ticker-related-label { font-size: .75rem; font-weight: 600; color: var(--th-muted); white-space: nowrap; margin-right: .125rem; }
.ticker-working { margin-top: .75rem; font-size: .8125rem; color: var(--th-muted); }
.ticker-working summary { font-weight: 600; }
/* Lean history (67o): today vs yesterday, 7 and 30 days ago, then people per day. 2 × 2 on phones, one row from 576px. */
.lean-history { margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--th-line); }
.lean-history-title { font-size: .8125rem; font-weight: 600; color: var(--th-ink); margin: 0 0 .375rem; }
.lean-history-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .75rem; margin: 0; }
.lean-history-point dt { font-size: .75rem; font-weight: 500; color: var(--th-muted); }
.lean-history-point dd { margin: 0; display: flex; flex-direction: column; }
.lean-history-value { font-family: 'Geist', 'Inter', sans-serif; font-size: 1.0625rem; font-weight: 600; color: var(--th-ink); line-height: 1.25; font-variant-numeric: tabular-nums; }
.lean-history-none { font-size: .8125rem; font-weight: 500; color: var(--th-ink); line-height: 1.6; }
.lean-history-meta { font-size: .75rem; color: var(--th-muted); font-variant-numeric: tabular-nums; }
.lean-history-spark { margin-top: .625rem; max-width: 296px; }
.lean-history-spark svg { width: 100%; height: auto; }
.lean-history-note { font-size: .75rem; margin: .375rem 0 0; }
@media (min-width: 576px) { .lean-history-points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .ticker-head { padding: .875rem 14px; }
  .ticker-head .ticker-mark { width: 40px !important; height: 40px !important; }
  .ticker-title { font-size: 1.25rem; }
  .ticker-stats { display: flex; overflow-x: auto; scrollbar-width: none; gap: .5rem; margin-left: -14px; margin-right: -14px; padding: 0 14px; }
  .ticker-stats::-webkit-scrollbar { display: none; }
  .tstat { flex: 0 0 auto; min-width: 136px; }
  .tstat-spark { display: none; }
}

/* TradingView card: collapsed to its tab bar below lg until a tab is opened */
.tv-tabs { align-items: center; }
.tv-collapse { margin-left: auto; background: none; border: 0; color: var(--th-muted); width: 40px; height: 40px; border-radius: 10px; }
.tv-card.is-collapsed .tv-collapse { display: none !important; }
@media (max-width: 991.98px) {
  .tv-card.is-collapsed [role=tabpanel], .tv-card.is-collapsed .tv-note { display: none !important; }
  .tv-card.is-collapsed .tv-tabs { border-bottom: 0; padding-bottom: .5rem; }
  .tv-card.is-collapsed .tv-tabs [role=tab][aria-selected=true] { border-bottom-color: transparent; color: var(--th-muted); }
}
@media (min-width: 992px) { :root { --tv-h-chart: 260px; } }

/* ---- Floor list: whole row is the link ---- */
.floor-item { position: relative; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; border-top: 1px solid var(--th-line); min-height: 64px; }
.floor-list > .floor-item:first-child { border-top: 0; }
.floor-item:hover { background: var(--th-surface-2); }
.floor-rank { width: 1.25rem; text-align: right; color: var(--th-muted); font-weight: 600; font-size: .8125rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.floor-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; row-gap: .125rem; min-width: 0; }
.floor-line .floor-flag { margin-left: 0; }
@media (max-width: 575.98px) { .floor-line .floor-flag { white-space: normal; max-width: 100%; line-height: 1.2; border-radius: .375rem; } }
/* Long poll options wrap instead of being cut (the theme's .btn is nowrap + overflow hidden). */
.btn.poll-option { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
/* In-page anchors (#requests, #floor, #founders) land below the sticky header. */
html { scroll-padding-top: 76px; scroll-padding-bottom: 72px; }
/* A reply opened from Your Tape or a link (/p/{root}#p{reply}) is highlighted in its conversation: the same brass
   wash as a new message, fading to the normal surface, and a brass bar that stays while it's the target. */
.stream-message:target { box-shadow: inset 3px 0 0 var(--th-brass); animation: th-highlight 2.4s var(--th-ease); }
.floor-line .cashtag { font-size: 1rem; }
.floor-name { color: var(--th-muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.floor-why { font-size: .8125rem; color: var(--th-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floor-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.floor-chg { font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.floor-chg.is-up { color: var(--th-bullish-ink); } .floor-chg.is-down { color: var(--th-bearish-ink); }
.floor-lean { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; width: 88px; }
.floor-lean .lean-bar { width: 100%; margin: 0; }
.floor-lean-label { font-size: .75rem; color: var(--th-muted); font-variant-numeric: tabular-nums; }
.floor-lean-none { font-size: .75rem; color: var(--th-muted); }
.floor-multiple { font-family: 'Geist', 'Inter', sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--th-ink); font-variant-numeric: tabular-nums; }
.floor-item a.stretched-link:focus-visible::after { outline: 2px solid var(--th-focus); outline-offset: -2px; border-radius: 0; }
@media (max-width: 575.98px) {
  .floor-item { padding: .625rem 14px; gap: .625rem; }
  .floor-name { display: none; }
  .floor-lean { width: 64px; }
}
.rail-list { margin: 0; }
.rail-item { position: relative; display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-top: 1px solid var(--th-line); }
.rail-item:hover { background: var(--th-surface-2); }

/* ---- Profile header ---- */
.profile-head { padding: 1.25rem; }
.profile-top { display: flex; align-items: center; gap: 1rem; }
.profile-avatar { flex-shrink: 0; display: inline-flex; }
.profile-name { font-size: 1.375rem; margin: 0; display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }
.profile-name .fa-circle-check { font-size: 1rem; }
.profile-handle { color: var(--th-muted); font-size: .875rem; }
.profile-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-shrink: 0; align-self: flex-start; }
.profile-counts { display: flex; gap: 1.25rem; margin-top: .875rem; font-size: .875rem; color: var(--th-muted); }
.profile-counts strong { color: var(--th-ink); font-variant-numeric: tabular-nums; }
.scorecard { margin-top: .875rem; padding: .75rem .875rem; border-radius: var(--th-radius-sm); background: var(--th-surface-2); font-size: .8125rem; }
.chip-static { font-weight: 500; color: var(--th-text); cursor: default; }
.chip.is-active { border-color: var(--th-primary-fill); background: color-mix(in srgb, var(--th-primary-fill) 7%, var(--th-surface)); }
@media (max-width: 575.98px) {
  .profile-head { padding: 1rem 14px; }
  .profile-avatar > * { width: 64px !important; height: 64px !important; font-size: 26px !important; }
  .profile-name { font-size: 1.1875rem; }
}
.composer-hint { font-size: .8125rem; color: var(--th-muted); padding: .375rem .625rem; border-radius: var(--th-radius-sm); background: var(--th-surface-2); margin: .25rem 0 .5rem; }

.empty-icon { width: 56px; height: 56px; margin: 0 auto .75rem; border-radius: 16px; display: grid; place-items: center; background: var(--th-surface-2); color: var(--th-brass-icon); font-size: 1.4rem; }
.request-box { margin: 1rem auto 0; padding: .875rem 1rem; border: 1px solid var(--th-line); border-radius: var(--th-radius); max-width: 440px; }
.progress { background: var(--th-surface-2); border-radius: 999px; }
.progress-bar { background: var(--th-primary-fill); border-radius: 999px; }

/* ---- Watchlist quote list ---- */
.watch-head { gap: .75rem; padding: .5rem 1.25rem; font-size: .75rem; font-weight: 600; color: var(--th-muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--th-line); }
.watch-head .flex-grow-1 { padding-left: 44px; }
.watch-row { position: relative; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; border-top: 1px solid var(--th-line); }
.watch-row:first-child { border-top: 0; }
.watch-row:hover { background: var(--th-surface-2); }
.watch-col { width: 84px; flex-shrink: 0; text-align: right; line-height: 1.3; }
.watch-col-lean { width: 88px; flex-shrink: 0; }
.watch-col-menu { width: 40px; flex-shrink: 0; }
@media (max-width: 575.98px) { .watch-row { padding: .625rem 14px; gap: .5rem; } .watch-col { width: 68px; } }

/* Search box with inline icon */
.search-box { position: relative; display: flex; gap: .5rem; }
.search-box > i { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--th-muted); pointer-events: none; }
.search-box .form-control { padding-left: 2.5rem; border-radius: 999px; }
.search-box .btn { border-radius: 999px; }

/* Floor tape refinements */
.floor-tape { height: 44px; background: var(--th-surface) !important; border-bottom: 1px solid var(--th-line); }
.floor-tape.is-paused .floor-tape-track { animation-play-state: paused; }
.floor-tape-pause { flex: none; width: 44px; border: 0; border-left: 1px solid var(--th-line); background: var(--th-surface); color: var(--th-muted); }
.floor-tape-pause:hover { color: var(--th-ink); background: var(--th-surface-2); }
.floor-tape-item { color: var(--th-text); }
.floor-tape-sym { color: var(--th-ticker); }
.floor-tape-busy { font-style: normal; font-size: .6875rem; font-weight: 700; text-transform: none; color: var(--th-brass-ink); }
.floor-tape-chg.is-up { color: var(--th-bullish-ink); } .floor-tape-chg.is-down { color: var(--th-bearish-ink); }
@media (max-width: 575.98px) { .floor-tape { height: 40px; } .floor-tape-label span { display: inline; font-size: .75rem; } .floor-tape-label { padding: 0 .5rem; } }

/* Auth pages: brand moment */
.auth-brand { display: flex; justify-content: center; margin: .5rem 0 1rem; }
.auth-card { box-shadow: var(--th-shadow-2); border-radius: var(--th-radius-lg); }
@media (max-width: 575.98px) { .auth-card { padding: 1.25rem !important; } }
.auth-or { display: flex; align-items: center; gap: .75rem; margin: 1rem 0; color: var(--th-muted); font-size: .8125rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--th-line); }

/* Message header: name · handle · time on one line, tags at the right */
.post-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .125rem; min-width: 0; }
.post-who { display: flex; align-items: baseline; gap: .3rem; min-width: 0; flex: 1 1 auto; white-space: nowrap; overflow: hidden; }
.post-name { font-weight: 600; color: var(--th-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; min-width: 0; }
.post-name:hover { text-decoration: underline; }
.post-verified { font-size: .8rem; }
.post-handle, .post-dot, .post-time { color: var(--th-muted); font-size: .8125rem; text-decoration: none; flex-shrink: 0; }
.post-handle { flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; }
.post-time:hover { text-decoration: underline; color: var(--th-ink); }
.post-tags { display: flex; gap: .25rem; flex-shrink: 0; margin-left: auto; }
.post-tags .badge { font-size: .6875rem; padding: .25em .55em; }
.badge-bullish { background: color-mix(in srgb, var(--th-bullish-ink) 11%, transparent); color: var(--th-bullish-ink) !important; }
.badge-bearish { background: color-mix(in srgb, var(--th-bearish-ink) 11%, transparent); color: var(--th-bearish-ink) !important; }
.badge-pinned { background: var(--th-surface-2); color: var(--th-muted); }
@media (max-width: 575.98px) {
  .post-handle { display: none; }
  .post-head { flex-wrap: wrap; row-gap: .125rem; }
}

/* ---- Composer ---- */
.composer textarea.form-control { font-size: 1rem; min-height: 0; padding-top: .25rem; background: transparent; }
.composer-bar { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.composer-tools { display: flex; align-items: center; gap: .125rem; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.composer-tools::-webkit-scrollbar { display: none; }
.composer-send { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.lean-toggle { display: inline-flex; gap: .25rem; margin-right: .25rem; }
.lean-opt { display: inline-flex; align-items: center; gap: .3rem; height: 32px; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--th-line-strong);
  font-size: .8125rem; font-weight: 600; cursor: pointer; white-space: nowrap; background: var(--th-surface); }
.lean-opt.is-bull { color: var(--th-bullish-ink); } .lean-opt.is-bear { color: var(--th-bearish-ink); }
.btn-check:checked + .lean-opt.is-bull { background: var(--th-bullish-ink); border-color: var(--th-bullish-ink); color: #fff; }
.btn-check:checked + .lean-opt.is-bear { background: var(--th-bearish-ink); border-color: var(--th-bearish-ink); color: #fff; }
.btn-check:focus-visible + .lean-opt { outline: 2px solid var(--th-focus); outline-offset: 2px; }
/* Unverified members see Bullish/Bearish, switched off, with the reason beside the composer (update 64e). */
.btn-check:disabled + .lean-opt { opacity: .55; cursor: not-allowed; }
.composer-position-wrap { position: relative; display: inline-flex; align-items: center; gap: .3rem; height: 32px; padding: 0 .6rem; border-radius: 999px; color: var(--th-muted); cursor: pointer; }
.composer-position-wrap:hover { background: var(--th-surface-2); color: var(--th-ink); }
.composer-position { border: 0; background: transparent; color: inherit; font-size: .8125rem; font-weight: 600; padding: 0; appearance: none; cursor: pointer; min-height: 0 !important; min-width: 0; field-sizing: content; }
.composer-position:focus-visible { outline: 2px solid var(--th-focus); }
/* The dropdown list itself: without this the options inherit the muted text colour onto the
   browser's own (light) list, so in dark mode they were near-invisible. */
.composer-position option { background-color: var(--th-surface); color: var(--th-ink); font-weight: 500; }
.composer .btn-icon { width: 36px; height: 36px; flex-shrink: 0; }
.gif-glyph { font-size: .6875rem; font-weight: 800; border: 1.5px solid currentColor; border-radius: 4px; padding: 0 .2rem; line-height: 1.3; }
.composer-error:empty { display: none; }
.composer-error { display: block; margin-top: .375rem; }
.composer-error:not(:empty)::before { content: "\f06a"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--th-brass-icon); margin-right: .375rem; }
@media (max-width: 575.98px) {
  .lean-opt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .lean-opt { width: 36px; padding: 0; justify-content: center; }
  .composer-position-wrap .composer-position { width: 64px; }
}

/* Header: icon buttons with 40px targets, badges, account toggle */
.header-icon { color: var(--th-text); font-size: 1.15rem; }
.header-badge { position: absolute; top: 3px; right: 1px; font-size: .625rem; min-width: 17px; padding: .2em .4em; }
.user-toggle { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 .375rem; border-radius: 999px; color: var(--th-ink); text-decoration: none; }
.user-toggle:hover { background: var(--th-surface-2); }
.user-toggle-name { font-size: .875rem; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row:hover { background: var(--th-surface-2); }

/* Your Tape rows */
.tape-row { position: relative; display: flex; gap: .875rem; align-items: flex-start; padding: .875rem 1.25rem .875rem 1.75rem; border-top: 1px solid var(--th-line); color: var(--th-text); text-decoration: none; }
.tape-row:hover { background: var(--th-surface-2); color: var(--th-text); }
.tape-row.is-unread { background: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface)); }
.tape-row.is-unread::before { content: ""; position: absolute; left: .7rem; top: 1.85rem; width: 6px; height: 6px; border-radius: 50%; background: var(--th-brass); }
.tape-avatar { position: relative; flex-shrink: 0; width: 36px; height: 36px; align-self: flex-start; }
.tape-kind { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .55rem; background: #09253B; color: #fff; border: 2px solid var(--th-surface); }
[data-bs-theme=dark] .tape-kind { background: var(--th-brass); color: #09253B; }
.tape-excerpt { display: block; margin-top: .15rem; color: var(--th-muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tape-row.is-unread .tape-kind { border-color: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface)); }
/* Phones: the time drops under the text so titles get the full width (not 3 squeezed lines). */
@media (max-width: 575.98px) {
  .tape-row { flex-wrap: wrap; row-gap: .125rem; }
  .tape-row > .tape-time { order: 3; flex-basis: 100%; padding-left: calc(36px + .875rem); font-size: .8rem; }
  .tape-row > .flex-grow-1 { flex-basis: 0; } /* the text stays beside the icon instead of wrapping under it */
}
.tape-icon { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: var(--th-surface-2); color: var(--th-ink); flex-shrink: 0; font-size: .85rem; }

/* Inline company marks inside text: centre the disc on the text's x-height, not on the letter's baseline
   (inline-flex aligns by its inner letter, which dropped monograms below the line). */
.cashtag > .cashtag-logo, .cashtag > .cashtag-monogram { vertical-align: middle !important; position: relative; top: -.08em; }
.cashtag > .cashtag-logo { width: 1.15em; height: 1.15em; }
.cashtag > .cashtag-monogram { font-size: .62em; width: 1.85em; height: 1.85em; margin-right: .4em; }
/* Rows: marks and tickers share one centre line */
.rail-item, .floor-item, .watch-row, .list-row, .floor-tape-item { align-items: center; }
.rail-item .cashtag, .floor-line .cashtag { line-height: 1.2; }
.share-nudge { margin: 1rem auto 0; max-width: 440px; padding: .875rem 1rem; border-radius: var(--th-radius); background: color-mix(in srgb, var(--th-brass) 8%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-brass) 30%, transparent); }

/* ---- Settings: left nav on desktop, scrolling pills on phones ---- */
.settings-layout { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 1000px; margin: 0 auto; }
.settings-main { min-width: 0; }
.account-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .375rem; overflow-x: auto; scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 88%, transparent); }
.account-nav-list::-webkit-scrollbar { display: none; }
.account-nav-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .5rem .875rem; border-radius: 999px; white-space: nowrap;
  color: var(--th-muted); font-weight: 600; font-size: .875rem; text-decoration: none; border: 1px solid var(--th-line); background: var(--th-surface); }
.account-nav-link:hover { color: var(--th-ink); background: var(--th-surface-2); }
.account-nav-link.active { color: #fff; background: var(--th-primary-fill); border-color: var(--th-primary-fill); }
.account-nav-link i { width: 1rem; text-align: center; }
@media (min-width: 992px) {
  .settings-layout { grid-template-columns: 240px 1fr; align-items: start; }
  .account-nav { position: sticky; top: 76px; }
  .account-nav-list { flex-direction: column; overflow: visible; mask-image: none; gap: .125rem; }
  .account-nav-link { border: 0; background: transparent; border-radius: var(--th-radius-sm); width: 100%; }
  .account-nav-link.active { background: var(--th-surface); color: var(--th-ink); box-shadow: var(--th-shadow-1); border-left: 3px solid var(--th-brass); border-radius: 0 var(--th-radius-sm) var(--th-radius-sm) 0; }
}
[data-bs-theme=dark] .account-nav .nav-link.active { background-color: transparent !important; }

/* Tape & alerts settings on phones: all four columns fit (the lock rows show the icon only; "Your Tape" may wrap). */
@media (max-width: 575.98px) {
  .notif-table > :not(caption) > * > * { padding-inline: .25rem; }
  .notif-table th { white-space: normal; }
  .notif-table .cell-toggle { padding-inline: .25rem; }
}

/* Backroom thread on phones: full-height, composer pinned, no bottom nav or footer */
.dm-bubble.mine { background: var(--th-primary-fill); }
.dm-bubble.theirs { background: var(--th-surface-2); color: var(--th-text); }
@media (max-width: 767.98px) {
  body.full-height-page .bottom-nav, body.full-height-page .site-footer { display: none !important; }
  body.full-height-page main { padding: 0 !important; margin: 0 !important; }
  body.full-height-page main > .container { padding: 0; }
  body.full-height-page main > .container > .row { margin-inline: 0; } /* the row's gutters made the page 15px wider than the phone */
  body.full-height-page main > .container > .row > * { padding-inline: 0; }
  body.full-height-page .dm-thread { height: calc(100dvh - 61px); display: flex; flex-direction: column; border-radius: 0; border: 0; margin: 0 !important; }
  body.full-height-page .dm-scroll { flex: 1 1 auto; max-height: none; }
  body.full-height-page .dm-composer { padding-bottom: calc(.75rem + env(safe-area-inset-bottom)) !important; }
}

/* Add-to-home-screen nudge: a small card above the bottom nav, never a blocking modal */
.install-nudge { position: fixed; left: 12px; right: 12px; bottom: calc(var(--th-bottom-nav-h) + env(safe-area-inset-bottom)); z-index: 1040; display: flex; align-items: center; gap: .75rem;
  padding: .75rem .75rem .75rem .875rem; border-radius: var(--th-radius-lg); background: var(--th-surface); border: 1px solid var(--th-line); box-shadow: var(--th-shadow-3);
  animation: nudge-in .25s ease-out; }
.install-nudge img { border-radius: 10px; flex-shrink: 0; }
.install-nudge-text { display: flex; flex-direction: column; font-size: .8125rem; color: var(--th-muted); line-height: 1.35; min-width: 0; }
.install-nudge-text strong { color: var(--th-ink); font-size: .9375rem; }
@keyframes nudge-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- Round 2 fixes ---- */
/* Settings: grid track may shrink below the pill nav's width (no sideways scroll on phones) */
.settings-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .settings-layout { grid-template-columns: 240px minmax(0, 1fr); } }
.account-nav { min-width: 0; }
main li a.account-nav-link { text-decoration: none; }
/* The theme gives every <section> big vertical padding; our sections are cards */
main section { padding-top: 0; padding-bottom: 0; }
main section.card.p-4, main section.card.p-3 { padding: 1.5rem !important; }
@media (max-width: 575.98px) { main section.card.p-4, main section.card.p-3 { padding: 1rem !important; } }
/* Full-bleed only for cards on stream pages; headings, forms and tabs keep a 14px gutter */
@media (max-width: 575.98px) {
  body.has-stream main > .container > .row > [class*="col"] > :not(.card):not(section.card):not(.stream) { margin-left: 14px; margin-right: 14px; }
  body.has-stream main > .container > .row > [class*="col"] > nav.stream-tabs { padding-left: 0; }
  main { padding-top: .5rem !important; }
}
/* Links outside paragraphs: distinguish by weight + underline on hover; form links underlined */
main .form-check-label a, main .auth-card a:not(.btn), main .small > a:not(.btn):not(.cashtag):not(.post-action):not(.chip), .why-point a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
/* Input borders: 3:1 against the surface (#808b99 = 3.46:1 on white; dark #6a7c92 = 4:1 on the dark surface) */
:root, [data-bs-theme=light] { --th-line-strong: #808b99; }
[data-bs-theme=dark] { --th-line-strong: #6a7c92; }
.card, .dropdown-menu { border-color: var(--th-line); }
/* Focus rings not clipped inside the one-line message header and the tape */
.post-who { overflow: visible; }
.post-name { max-width: 60%; }
.floor-tape-item:focus-visible { outline-offset: -3px !important; }
/* Phone clipping */
@media (max-width: 575.98px) {
  .watch-head-actions .btn, .page-head-action { display: none; }
  .ticker-stats { mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tv-tabs { mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
.dm-inbox-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chg-pill:not(.is-up):not(.is-down) { background: var(--th-surface-2); color: var(--th-muted); }
/* The overview widget needs ~340px for its header, price, range buttons AND the line; 220px squashed the chart to a sliver. */
@media (min-width: 992px) { :root { --tv-h-chart: 340px; } .ticker-head { padding: .875rem 1.125rem; } .ticker-stats { margin-top: .75rem; } .ticker-working { margin-top: .5rem; } }
.tv-note { font-size: .6875rem; padding: .375rem .875rem; color: var(--th-muted); }
.floor-multiple-unit { font-size: .6875rem; font-weight: 600; color: var(--th-muted); margin-left: .2rem; font-family: Inter, sans-serif; }

/* Joining steps */
.steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; counter-reset: step; font-size: .75rem; font-weight: 600; color: var(--th-muted); justify-content: center; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: .375rem; }
.steps li::before { content: counter(step); width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid var(--th-line-strong); font-size: .6875rem; }
.steps li + li::after { order: -1; content: ""; width: 16px; height: 1.5px; background: var(--th-line-strong); }
.steps li.current { color: var(--th-ink); } .steps li.current::before { border-color: var(--th-primary-fill); background: var(--th-primary-fill); color: #fff; }
.steps li.done::before { content: "✓"; border-color: var(--th-primary-fill); color: var(--th-primary-fill); }

/* ---- Round 3 fixes ---- */
.account-nav-link { text-decoration: none !important; }
[data-bs-theme=dark] .form-control, [data-bs-theme=dark] .form-select { border-color: var(--th-line-strong) !important; }
.ticker-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-box { position: relative; }
@media (max-width: 575.98px) {
  body.has-stream main { padding-top: 0 !important; }
  body.has-stream main > .container > .row { --bs-gutter-y: 0; }
  /* Composer: one line until you tap in; tools appear with focus (Post stays visible) */
  .composer textarea.form-control { min-height: 40px; }
  .composer:not(:focus-within):not(.has-content) .composer-tools { display: none; }
  .composer:not(:focus-within):not(.has-content) .composer-bar { margin-top: 0; justify-content: flex-end; }
  .welcome-actions { position: sticky; bottom: calc(var(--th-bottom-nav-h) + env(safe-area-inset-bottom)); background: var(--th-surface); padding: .75rem 0; border-top: 1px solid var(--th-line); z-index: 2; }
}
.ticker-note-flag { background: color-mix(in srgb, var(--th-brass) 10%, var(--th-surface)); color: var(--th-text); }
.avatar-preview, [data-avatar-preview] { width: 72px !important; height: 72px !important; max-width: none; object-fit: cover; flex-shrink: 0; }
.dm-bubble, .dm-text, .page-title, .post-body, .quote-card-text { overflow-wrap: anywhere; }
.dm-thread { max-width: 100%; overflow-x: hidden; }
.dm-thread .d-flex > * { min-width: 0; } .dm-composer textarea { min-width: 0; }

/* Ticker page, desktop: the chart sits in the right column beside the header so the conversation starts
   on the first screen. One DOM order serves every width; below lg the chart stays above the stream. */
@media (min-width: 992px) {
  .ticker-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "head chart" "stream side"; column-gap: 1.5rem; row-gap: 0; margin: 0; align-items: start; }
  .ticker-layout > * { width: auto; max-width: none; padding: 0; margin-top: 0; }
  .ticker-layout > .ticker-main { display: contents; }
  .ticker-layout { grid-template-areas: "head chart" "stream chart" "stream side"; grid-template-rows: auto auto 1fr; }
  .ticker-layout .ticker-head { grid-area: head; }
  .ticker-layout .tv-card { grid-area: chart; }
  .ticker-layout .ticker-main > .stream { grid-area: stream; }
  .ticker-layout > .ticker-side { grid-area: side; }
  .ticker-layout:not(:has(.tv-card)) > .ticker-side { grid-row: 1 / span 3; }
  .ticker-layout .tv-tabs [role=tab] { padding-inline: .45rem; font-size: .8125rem; }
}

/* Replies on phones: a lighter indent and tighter action targets so the row fits the card. */
@media (max-width: 575.98px) {
  .replies .stream-message { padding-left: 1.25rem !important; }
  .replies .post-action { min-width: 36px; padding: 0 .375rem; }
  .replies .post-actions { margin-right: 0; }
}

/* Message page context panel: tagged tickers, price when posted, since then. */
.post-context { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .875rem 2rem; padding: 1rem 1.5rem; border-top: 1px solid var(--bs-border-color); background: var(--bs-tertiary-bg); font-size: .875rem; }
.post-context-label { font-size: .6875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-secondary-color); margin-bottom: .25rem; }
.post-context-value { font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.post-context-more { margin-left: auto; align-self: center; font-weight: 600; text-decoration: none; white-space: nowrap; }
.post-context-more:hover { text-decoration: underline; }
/* Only the Tagged chips (no market vendor, so no price columns): line the link up with the chips, not the label above them. */
@media (min-width: 576px) { .post-context:not(:has(.post-context-group + .post-context-group)) .post-context-more { align-self: flex-end; display: inline-flex; align-items: center; gap: .25rem; min-height: 2rem; } }
@media (max-width: 575.98px) { .post-context { padding: .875rem 1rem; gap: .75rem 1.5rem; } .post-context-more { margin-left: 0; flex-basis: 100%; } }

/* Ticker header on phones: price across the top, then the other stats as a compact row of three (no sideways scroll). */
@media (max-width: 575.98px) {
  .ticker-stats { display: flex; flex-wrap: wrap; gap: .375rem; margin: .75rem 0 0; padding: 0; overflow: visible; mask-image: none; }
  .ticker-stats .tstat { flex: 1 1 0; }
  .ticker-stats .tstat { min-width: 0; padding: .5rem .625rem; }
  .ticker-stats .tstat-price { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; }
  .ticker-stats .tstat-price .tstat-label + .tstat-label { display: none; }
  .ticker-stats .tstat:not(.tstat-price) .tstat-value { font-size: .9375rem; }
  .ticker-stats .tstat:not(.tstat-price) .tstat-label { font-size: .6875rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ticker-stats .tstat:not(.tstat-price) .tstat-empty + .tstat-label { -webkit-line-clamp: 3; } /* "Needs 5 Bullish/Bearish today" in full */
  .ticker-stats .tstat:not(.tstat-price) .tstat-unit { font-size: .6875rem; }
  .ticker-name { -webkit-line-clamp: 1; }
}
@media (min-width: 576px) {
  .ticker-stats { display: flex; }
  .ticker-stats .tstat { flex: 1 1 0; }
  .ticker-stats .tstat-price { flex: 1.7 1 0; }
}
@media (max-width: 575.98px) { .floor-why { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
.floor-chg { min-width: 3.5rem; text-align: right; }

/* ---- Footer (round 4): brand + grouped link columns, legal line underneath ---- */
.site-footer { padding: 2.5rem 0 1.5rem; font-size: .8125rem; }
.site-footer .container { display: block !important; text-align: left !important; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.4fr); gap: 2rem 3rem; }
.footer-about p { margin: .75rem 0 0; max-width: 34ch; line-height: 1.55; }
.footer-brand { opacity: 1; text-decoration: none !important; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.footer-cols h2 { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--th-ink); margin: 0 0 .625rem; }
.footer-cols a { display: block; padding: .25rem 0; color: var(--th-muted); text-decoration: none; }
.footer-cols a:hover { color: var(--th-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--th-line); font-size: .75rem; }
@media (max-width: 991.98px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) {
  .site-footer { padding-top: 2rem; }
  .site-footer .container { align-items: stretch !important; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .footer-cols a { padding: .375rem 0; }
  .footer-bottom { flex-direction: column; }
}

/* TradingView: skeleton while loading, a clear fallback if it's blocked */
.tv-widget.is-loading .tv-widget-body { background: linear-gradient(100deg, var(--th-surface-2) 30%, color-mix(in srgb, var(--th-surface-2) 40%, transparent) 50%, var(--th-surface-2) 70%) 0 0 / 300% 100%; animation: th-shimmer 1.4s ease-in-out infinite; border-radius: var(--th-radius-sm); margin: .75rem; }
@keyframes th-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .tv-widget.is-loading .tv-widget-body { animation: none; } }
.tv-fallback { height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem; padding: 1.25rem; text-align: center; color: var(--th-muted); font-size: .8125rem; }
.tv-fallback i { font-size: 1.5rem; opacity: .6; }
.tv-fallback p { margin: 0; max-width: 34ch; }
.tv-widget.is-failed .tradingview-widget-copyright { display: none; }
.dm-inbox-name { flex-shrink: 0; max-width: 60%; }
.dm-inbox-handle { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 575.98px) { .dm-inbox-handle { display: none; } }
/* Scrolling tab rows fade at the edge so it's clear there's more */
@media (max-width: 575.98px) { .stream-tabs.overflow-auto { mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.stream-tabs.overflow-auto { position: relative; }
.profile-handle { display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; row-gap: .125rem; }
.profile-joined { color: var(--th-muted); }
.profile-joined::before { content: "·"; margin-right: .5rem; }
.badge-follows { font-size: .6875rem; font-weight: 600; padding: .125rem .5rem; border-radius: 999px; background: var(--th-surface-2); color: var(--th-muted); }
@media (max-width: 575.98px) { .profile-joined { flex-basis: 100%; } .profile-joined::before { content: none; } }
@media (max-width: 575.98px) { body.has-stream main .col-lg-8 > .page-title:first-child { padding-top: 1rem; } }
@supports not (field-sizing: content) { .composer-position { width: 4.5rem; } }
/* Phone composer: Position shows as an icon (the select still opens natively), so the toolbar fits */
@media (max-width: 575.98px) {
  .composer-position-wrap { padding: 0; width: 36px; justify-content: center; overflow: hidden; }
  .composer-position-wrap .composer-position { position: absolute; inset: 0; width: 100% !important; opacity: 0; }
  .composer-position-wrap:has(.composer-position option:checked:not([value=""])) { color: var(--th-ticker); }
}
/* Less dead space above the footer on phones */
@media (max-width: 575.98px) { main.pb-5 { padding-bottom: 1rem !important; } main.mb-4 { margin-bottom: 0 !important; } }
.settings-title { margin-bottom: 1rem; }
.empty-state .empty-title { color: var(--th-ink); font-size: 1rem; }
@media (max-width: 575.98px) { .post-actions { margin-right: 0 !important; } }

/* ---- Round 5 P3 ---- */
/* Sectors as tiles */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .625rem; }
.sector-tile { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: .875rem 1rem; border: 1px solid var(--th-line); border-radius: var(--th-radius-sm); background: var(--th-surface); transition: border-color .15s, box-shadow .15s; }
.sector-tile:hover { border-color: var(--th-line-strong); box-shadow: 0 2px 8px rgba(9, 37, 59, .06); }
.sector-name { font-weight: 600; color: var(--th-ink); text-decoration: none !important; }
.sector-count { font-size: .8125rem; color: var(--th-muted); }
.sector-top { display: flex; gap: .5rem; font-size: .8125rem; margin-top: .125rem; }
/* Collapsed chart card on phones/tablets: read as a control, not a dead tab strip (glyph: fa-chevron-down, kept in the icon subset) */
@media (max-width: 991.98px) {

}
/* Settings pill nav fades at the edge on phones */
@media (max-width: 575.98px) { .account-nav-list { mask-image: linear-gradient(90deg, #000 85%, transparent); } }
/* Ticker page: one rhythm between cards */
@media (min-width: 992px) { .ticker-layout .ticker-head { margin-bottom: 1rem !important; } .ticker-layout .tv-card { margin-bottom: 1rem !important; } }

/* Collapsed chart card (phones/tablets): one clear button instead of a dead tab strip */
.tv-expand { display: none; }
@media (max-width: 991.98px) {
  .tv-card.is-collapsed .tv-tabs { display: none !important; }
  .tv-card.is-collapsed .tv-expand { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .75rem 1rem; background: none; border: 0; text-align: left; color: var(--th-ink); }
  .tv-card.is-collapsed .tv-expand:hover { background: var(--th-surface-2); }
  .tv-expand-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--th-ticker) 12%, transparent); color: var(--th-ticker); flex-shrink: 0; }
  .tv-expand-text { display: flex; flex-direction: column; line-height: 1.25; }
  .tv-expand-text strong { font-size: .9375rem; font-weight: 600; }
  .tv-expand-text span { font-size: .75rem; color: var(--th-muted); }
  .tv-expand > .fa-chevron-down { color: var(--th-muted); font-size: .8125rem; }
}

/* Inset prefix inside a field (Register "@"): one control, not a grey box bolted on */
.field-prefix { position: relative; }
.field-prefix-mark { position: absolute; left: .875rem; top: 50%; transform: translateY(-50%); color: var(--th-muted); font-weight: 600; pointer-events: none; }
.field-prefix .form-control { padding-left: 2rem; }

/* Segmented control (Settings → Appearance) */
.segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--th-surface-2); max-width: 420px; }
.segmented-opt { border: 0; background: transparent; border-radius: 9px; padding: .5rem .5rem; font-size: .875rem; font-weight: 600; color: var(--th-muted); white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .375rem; }
.segmented-opt:hover { color: var(--th-ink); }
.segmented-opt.is-on { background: var(--th-surface); color: var(--th-ink); box-shadow: 0 1px 3px rgba(9, 37, 59, .12); }
.segmented-opt:focus-visible { outline: 2px solid var(--th-focus); outline-offset: 1px; }
.segmented-opt .me-1 { margin-right: 0 !important; }

/* Auth pages: quiet footer, no bottom nav (the page has one job) */
.auth-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; padding: 2rem 1rem 2.5rem; font-size: .8125rem; color: var(--th-muted); }
.auth-footer nav { display: flex; gap: 1rem; }
.auth-footer a { color: var(--th-muted); text-decoration: none; }
.auth-footer a:hover { color: var(--th-ink); text-decoration: underline; text-underline-offset: 3px; }
body.auth-page .bottom-nav { display: none !important; }
body.auth-page main { padding-bottom: 0 !important; margin-bottom: 0 !important; }
/* Legal pages: contents box instead of a run-on line of links */
.doc-toc { margin: 1.25rem 0 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--th-line); border-radius: var(--th-radius-sm); background: var(--th-surface-2); }
.doc-toc-title { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--th-muted); margin-bottom: .5rem; }
.doc-toc ol { margin: 0; padding-left: 1.25rem; columns: 2; column-gap: 2rem; font-size: .875rem; }
.doc-toc li { padding: .1875rem 0; break-inside: avoid; }
.doc-toc a { text-decoration: none !important; }
.doc-toc a:hover { text-decoration: underline !important; }
@media (max-width: 575.98px) { .doc-toc ol { columns: 1; } }
/* Earnings calendar: five trading days, always */
.earnings-day { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin: 0; padding: .75rem 1.5rem .5rem; font-size: .9375rem; font-weight: 600; color: var(--th-ink); background: var(--th-surface-2); border-top: 1px solid var(--th-line); }
.earnings-day span { font-size: .8125rem; font-weight: 500; color: var(--th-muted); }
.earnings-day-block.is-empty .earnings-day { background: transparent; color: var(--th-muted); font-weight: 500; }
.earnings-row { position: relative; display: flex; align-items: center; gap: .875rem; padding: .625rem 1.5rem; border-top: 1px solid var(--th-line); }
.earnings-row:hover { background: color-mix(in srgb, var(--th-ticker) 4%, transparent); }
.earnings-when { font-size: .8125rem; color: var(--th-muted); white-space: nowrap; }
.earnings-later { padding: 1rem 1.5rem .25rem; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--th-muted); border-top: 1px solid var(--th-line); }
@media (max-width: 575.98px) { .earnings-day, .earnings-row, .earnings-later { padding-left: 1rem; padding-right: 1rem; } }

/* Label/value lists (Settings → Account) */
.kv { display: grid; grid-template-columns: 5.5rem 1fr; row-gap: .5rem; font-size: .875rem; }
.kv dt { font-weight: 500; color: var(--th-muted); margin: 0; }
.kv dd { margin: 0; color: var(--th-ink); min-width: 0; overflow-wrap: anywhere; }
.kv-ok { color: var(--th-ink); font-weight: 600; font-size: .8125rem; margin-left: .375rem; } /* success is navy, never green */
.kv-ok i { color: var(--th-brass-icon); }
.kv-warn { color: var(--th-brass-ink); font-weight: 600; font-size: .8125rem; }

/* Ticker heading: symbol, then company name on its own line (both part of the h1) */
.ticker-title .ticker-sym { display: block; }
.ticker-title .ticker-name { display: block; font-weight: 500; font-size: 1rem; line-height: 1.35; margin-top: .125rem; letter-spacing: 0; }
@media (max-width: 575.98px) { .ticker-title .ticker-name { font-size: .9375rem; } }
/* Infinite scroll without layout shift: while more messages remain, the "load older" slot reserves a
   screen of space, so the next page fills space that already exists instead of pushing the footer
   (CLS). The slot is replaced by the next page well before the reader reaches it. */
/* Phones: the ticker side column (related tickers) sits below the stream, so it moves for the same reason. */
@media (scripting: enabled) and (max-width: 991.98px) {
  body.has-stream:has(.stream-more[data-more-url]:not(.is-paused)) .ticker-side { display: none; }
}
@media (scripting: enabled) {
  body.has-stream .stream-more[data-more-url]:not(.is-paused) { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; }
  /* On a slow connection the reader can scroll into that space before the page arrives; with the footer
     out of the layout until the stream ends, nothing visible moves when it does (CLS 0.49 → 0 on mobile). */
  body.has-stream:has(.stream-more[data-more-url]:not(.is-paused)) .site-footer { display: none; }
}

.floor-flag { position: relative; z-index: 2; margin-left: .5rem; font-size: .6875rem; font-weight: 600; padding: .125rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--th-brass) 16%, transparent); color: var(--th-brass-ink); text-decoration: none !important; white-space: nowrap; }
.sector-top { flex-wrap: wrap; column-gap: .5rem; row-gap: .125rem; }
@media (max-width: 575.98px) { .ticker-title .ticker-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }

/* Ticker Filings tab */
.filing-row { display: flex; align-items: center; gap: .875rem; padding: .75rem 1.5rem; border-top: 1px solid var(--th-line); }
.filing-list .filing-row:first-child { border-top: 0; }
.filing-form { flex-shrink: 0; min-width: 4.5rem; text-align: center; font-family: 'Geist', 'Inter', sans-serif; font-size: .75rem; font-weight: 600; padding: .25rem .5rem; border-radius: 6px; background: var(--th-surface-2); color: var(--th-ink); }
.filing-title { font-size: .9375rem; color: var(--th-ink); }
.filing-title::first-letter { text-transform: uppercase; }
.filing-meta { font-size: .8125rem; color: var(--th-muted); }
/* Stream filters (68q): one compact row of chips under the composer; scrolls sideways on phones, never wraps. */
.stream-filter { display: flex; gap: .5rem; padding: .5rem 1.5rem; border-bottom: 1px solid var(--th-line); overflow-x: auto; scrollbar-width: none; }
.stream-filter::-webkit-scrollbar { display: none; }
.stream-filter .chip { flex-shrink: 0; white-space: nowrap; font-weight: 500; color: var(--th-muted); }
.stream-filter .chip.is-active { color: var(--th-ink); }
.stream-filter .chip.is-active { font-weight: 600; }
@media (max-width: 575.98px) { .stream-filter { padding: .5rem 1rem; } }
/* Recent events (68q): past 8-K items, one line each, above the Filings list. */
.filing-events { padding: .875rem 1.5rem; border-bottom: 1px solid var(--th-line); }
.filing-event { padding: .1875rem 0; font-size: .875rem; color: var(--th-muted); }
.filing-event a { color: var(--th-ink); }
.filing-event a::first-letter { text-transform: uppercase; }
.filing-events-note { margin-top: .375rem; font-size: .75rem; color: var(--th-muted); }
@media (max-width: 575.98px) { .filing-events { padding: .75rem 1rem; } }
@media (max-width: 575.98px) { .filing-row { padding: .75rem 1rem; gap: .625rem; } .filing-form { min-width: 3.5rem; } }
/* Facts card (Symbols/_TickerFacts): the filings list sits inside the card's own padding, so rows don't indent twice. */
[data-ticker-facts] .filing-row { padding-left: 0; padding-right: 0; }

/* Insiders tab (68p): Form 4/5 lines as a table where there's room, stacked rows otherwise. Buys and sales are words,
   never green/red (those mean Bullish/Bearish). */
.insider-summary-line { font-family: 'Geist', 'Inter', sans-serif; font-weight: 600; font-size: .9375rem; color: var(--th-ink); }
.insider-table { --bs-table-bg: transparent; --bs-table-color: var(--th-text); font-size: .875rem; }
.insider-table > :not(caption) > * > * { padding: .75rem .375rem; border-bottom: 0; border-top: 1px solid var(--th-line); vertical-align: top; }
.insider-table > thead > tr > * { border-top: 0; font-size: .75rem; font-weight: 600; color: var(--th-muted); white-space: nowrap; }
.insider-table > :not(caption) > * > *:last-child { padding-right: 1.25rem; }
.insider-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.insider-table .filing-title { font-size: .875rem; }
.insider-label { font-weight: 600; color: var(--th-ink); }
.insider-code { min-width: 1.75rem; padding: .125rem .375rem; }
.insider-date { min-width: 5.5rem; }
.insider-link .filing-link { white-space: nowrap; }
.insider-scroll { overflow-x: auto; }
.insider-table > :not(caption) > * > *:first-child { padding-left: 1.5rem; }
/* Stacked where the column is narrow: phones, and the two-column ticker layout below 1200px. */
@media (max-width: 767.98px), (min-width: 992px) and (max-width: 1199.98px) {
  .insider-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .insider-table, .insider-table tbody, .insider-table tr { display: block; width: 100%; }
  .insider-table tr { display: flex; flex-wrap: wrap; column-gap: 1rem; row-gap: .25rem; padding: .75rem 1rem; border-top: 1px solid var(--th-line); }
  .insider-table tbody tr:first-child { border-top: 0; }
  .insider-table > :not(caption) > * > * { display: block; padding: 0 !important; border: 0; }
  .insider-table .insider-who, .insider-table .insider-what { flex: 1 1 100%; }
  .insider-table .insider-date { order: -1; flex: 1 1 100%; display: flex; gap: .5rem; align-items: baseline; font-size: .8125rem; color: var(--th-muted); }
  .insider-table .num { flex: 1 1 calc(50% - .5rem); text-align: left; }
  .insider-table .num::before { content: attr(data-label); display: block; font-size: .75rem; color: var(--th-muted); }
  .insider-table .insider-link { flex: 1 1 100%; }
}

/* Founders: the arch (our logo's shape) in brass. */
.post-founder { color: var(--th-brass-icon); margin-left: .2rem; display: inline-flex; vertical-align: -.1em; }
.founder-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--th-ink); background: color-mix(in srgb, var(--th-brass) 16%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-brass) 45%, transparent); text-decoration: none; }
.founder-badge .arch-mark { color: var(--th-brass-icon); }
a.founder-badge:hover { color: var(--th-ink); background: color-mix(in srgb, var(--th-brass) 24%, var(--th-surface)); }
[data-bs-theme=dark] .founder-badge { background: transparent; border-color: color-mix(in srgb, var(--th-brass) 60%, transparent); }
/* Staff-given designations ("Beta tester"…): quieter than Founder, navy outline. */
.designation-badge { display: inline-flex; align-items: center; padding: .15rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--th-ink); background: var(--th-surface); border: 1px solid color-mix(in srgb, var(--th-ink) 30%, transparent); }
.post-designation { display: inline-block; margin-left: .3rem; padding: 0 .4rem; border-radius: 999px; font-size: .7rem; font-weight: 600; line-height: 1.5;
  color: var(--th-ink); border: 1px solid color-mix(in srgb, var(--th-ink) 25%, transparent); vertical-align: .1em; white-space: nowrap;
  max-width: 9rem; overflow: hidden; text-overflow: ellipsis; }

/* Our own sponsored placements: quiet, clearly labelled, never in the stream. */
.house-ad { padding: 1rem; border: 1px dashed var(--th-line-strong, var(--th-line)); border-radius: .75rem; background: var(--th-surface-2); }
.house-ad-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--th-muted); margin-bottom: .35rem; }
.house-ad-headline { font-weight: 600; color: var(--th-ink); margin-bottom: .25rem; }
.house-ad-body { font-size: .875rem; color: var(--th-text); margin-bottom: .6rem; }
.house-ad-disclosure { font-size: .8125rem; color: var(--th-muted); margin-top: .5rem; }

.founder-welcome { padding: .75rem 1rem; border-radius: .75rem; background: color-mix(in srgb, var(--th-brass) 14%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-brass) 40%, transparent); color: var(--th-ink); font-weight: 500; }
.founder-welcome .arch-mark { color: var(--th-brass-icon); margin-right: .4rem; }
[data-pick-count].is-met { color: var(--th-ink) !important; font-weight: 600 !important; }

.founder-callout { display: flex; gap: .5rem; align-items: flex-start; text-align: left; padding: .6rem .8rem; border-radius: .6rem; font-size: .875rem;
  background: color-mix(in srgb, var(--th-brass) 12%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-brass) 40%, transparent); color: var(--th-ink); }
.founder-callout .arch-mark { color: var(--th-brass-icon); flex-shrink: 0; margin-top: .2em; }
.choice .cashtag, .choice:hover .cashtag { text-decoration: none !important; }
[data-pick-count].is-met i { color: var(--th-brass-icon); }

/* Owner credit in the footer (Mobilize Cloud LLC) */
.footer-owner { color: inherit; text-decoration: none; white-space: nowrap; }
.footer-owner:hover { text-decoration: underline; }
/* Plain inline, nudged onto the text baseline (inline-flex took its baseline from the image and dropped the © line 5px). */
.footer-owner-logo { display: inline-block; width: 20px; height: 15px; object-fit: contain; vertical-align: -3px; margin-right: .3rem; }

/* Composer: the borderless textarea gets a visible focus marker on the composer itself. */
.composer:focus-within { box-shadow: inset 3px 0 0 var(--th-focus); }

/* Page-level <header> elements (page titles) must not join the site header's stacking level: the theme gives every
   <header> z-index 1020, so a page title painted over the search suggestions when it sat right under the site header. */
header:not(.header-sticky) { z-index: auto; }

/* Company logos carry built-in white padding: trim 5px a side at 40px (scaled for other sizes) so the mark fills the circle. */
.ticker-mark img { transform: scale(1.15); } /* 1.333 cropped wide wordmark "icons" ($SLS showed "ELLAS") */

/* Chip-style choices (brokerages, trading style): a picked chip is solid navy with a tick, clearly different from unpicked. */
.btn-check:checked + .btn-outline-primary { background: var(--th-primary-fill); border-color: var(--th-primary-fill); color: #fff; }
.btn-check:checked + .btn-outline-primary::before { content: "\2713"; margin-right: .35em; font-weight: 700; }
.btn-check:not(:checked) + .btn-outline-primary:hover { background: var(--th-surface-2); color: var(--th-ink); }

/* Founder invitation on your own profile and settings until you verify a phone (while places last). */
.founder-invite { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; margin-bottom: 1rem; border-radius: var(--th-radius);
  background: color-mix(in srgb, var(--th-brass) 12%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-brass) 55%, transparent); }
.founder-invite-mark { color: var(--th-brass-icon); font-size: 2rem; line-height: 1; flex-shrink: 0; }
.founder-invite-mark svg { width: 2rem; height: 2rem; }
.founder-invite-title { font-size: 1.125rem; margin: 0 0 .25rem; }
.founder-invite-body { min-width: 0; font-size: .9375rem; }
.founder-invite-left { font-weight: 600; color: var(--th-brass-ink); font-size: .875rem; }
[data-bs-theme=dark] .founder-invite { background: transparent; border-color: color-mix(in srgb, var(--th-brass) 65%, transparent); }
@media (max-width: 575.98px) { .founder-invite { flex-direction: column; gap: .5rem; padding: 1rem; } }


/* TradingView iframes: when the page is dark (Bootstrap sets color-scheme: dark) and the widget's
   own document isn't, Chrome paints the iframe an opaque white instead of transparent. Matching the
   iframe's colour scheme to its document keeps it see-through, so the dark widget sits on our card. */
.tv-widget iframe { color-scheme: normal; }

/* ==========================================================================
   Update 63c: UI/UX polish (filing posts, empty states, dark tokens, touch)
   ========================================================================== */

/* SEC filing posts: a quiet official citation, navy and neutral only (brass stays for Founder/Verified). */
.stream-message.is-filing { padding-top: .75rem !important; padding-bottom: .5rem !important; }
.stream-message.is-filing .avatar-img, .stream-message.is-filing .avatar-initials { width: 32px !important; height: 32px !important; font-size: 13px !important; }
.badge-filing { background: var(--th-surface-2); color: var(--th-muted); font-weight: 500; }
.filing-link { margin-top: .375rem; font-size: .8125rem; font-weight: 500; color: var(--th-link); text-decoration: none; }
.filing-link:hover { color: var(--th-link); }
.filing-link .filing-ext { font-size: .6875rem; color: var(--th-muted); }
.filing-link:focus-visible { outline: 2px solid var(--th-focus); outline-offset: 2px; }
/* Phones: when the long official name pushes the tag to its own line, it sits under the name (a byline label), not floating right. */
@media (max-width: 575.98px) { .is-filing .post-tags { margin-left: 0; } }
.is-filing .post-actions { margin-top: .25rem !important; }
.market-filing { align-items: flex-start; }
.market-filing > i { margin-top: .2rem; }
.market-filing .filing-title { font-size: .8125rem; color: var(--th-text); text-decoration: none; }
.market-filing .cashtag { font-size: .8125rem; position: relative; z-index: 2; }
.market-filing .filing-meta { font-size: .75rem; }

/* Message action row: lighter resting weight (full --th-muted kept for 3:1 on the icons). */
.post-actions { margin-top: .125rem !important; }

/* Long streams: off-screen messages skip layout and paint until they're near (the text stays in the DOM).
   An open menu inside a message lifts the containment so it isn't clipped. */
.stream-message { content-visibility: auto; contain-intrinsic-size: auto 160px; }
.stream-message:has(.dropdown-menu.show), .stream-message:focus-within { content-visibility: visible; }

/* Ticker header: one invitation tile instead of two zero tiles (same brass tint as .share-nudge). */
.tstat-invite { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  background: color-mix(in srgb, var(--th-brass) 8%, var(--th-surface-2)); border: 1px solid color-mix(in srgb, var(--th-brass) 30%, transparent); }
.tstat-invite .tstat-value { color: var(--th-ink); }
.tstat-invite-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.tstat-invite .lean-opt { text-decoration: none; }
@media (min-width: 576px) { .ticker-stats .tstat.tstat-invite { flex: 2.4 1 0; } }
@media (max-width: 575.98px) {
  .ticker-stats .tstat.tstat-invite { flex: 1 0 100%; min-width: 0; }
  .ticker-stats .tstat.tstat-invite .tstat-label { display: block; -webkit-line-clamp: unset; }
  .tstat-invite .lean-opt { width: auto; padding: 0 .7rem; }
  .tstat-invite .lean-opt span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
/* A partly filled header: the empty tile matches the filled one's type, in muted so it doesn't read as a value. */
.tstat-empty { font-family: 'Geist', 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--th-muted); }
/* A lean picked from the header shows the composer's tools on phones too. */
@media (max-width: 575.98px) {
  .composer:has(.btn-check:checked) .composer-tools { display: flex; }
  .composer:has(.btn-check:checked) .composer-bar { margin-top: .5rem; justify-content: initial; }
}

/* Empty states: one pattern (brass icon tile, why, what to do next, optional suggestions). */
.empty-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.empty-suggest { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--th-line); }
.empty-suggest-label { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--th-muted); margin-bottom: .5rem !important; }
.empty-state.is-compact { padding: 1.25rem 1rem; }
.empty-state.is-compact p { margin-bottom: 0; }
.empty-state.is-compact .empty-icon { width: 40px; height: 40px; border-radius: var(--th-radius); font-size: 1rem; margin-bottom: .5rem; }

/* Signed-out home: what TickerHall is, in one compact band (~140px on phones). */
.hall-intro { padding: 1.25rem 1.5rem; }
.hall-intro .page-lead { margin-bottom: .75rem; }
.hall-intro-points { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .8125rem; font-weight: 500; color: var(--th-text); }
.hall-intro-points i { margin-right: .375rem; }
.hall-intro-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
/* The band already invites joining, so the signed-out composer stand-in under it would repeat the same two buttons. */
.hall-intro ~ .stream .composer-join { display: none; }
@media (max-width: 575.98px) {
  body.has-stream main .card.hall-intro { margin: .75rem 12px; border-radius: var(--th-radius); border: 1px solid var(--th-line); padding: .875rem 1rem; }
  .hall-intro .page-title { font-size: 1.1875rem; }
  .hall-intro .page-lead, .hall-intro-points { display: none; }   /* phones: H1 + two buttons, so messages start on the first screen */
  .hall-intro .page-title { margin-bottom: .625rem; }
  .hall-intro-actions { flex-wrap: nowrap; }
  .hall-intro-actions .btn { flex: 1 1 auto; padding: .5rem .625rem; font-size: .875rem; }
}
/* First run after onboarding (Following, once). */
.welcome-run { padding: 1rem 1.25rem; background: color-mix(in srgb, var(--th-brass) 8%, var(--th-surface)); border-color: color-mix(in srgb, var(--th-brass) 30%, transparent); }
@media (max-width: 575.98px) { body.has-stream main .card.welcome-run { margin: .75rem 12px; border-radius: var(--th-radius); border: 1px solid color-mix(in srgb, var(--th-brass) 30%, transparent); } }

/* Dark theme: readable selected lean (white on #4cc98a was 2.1:1), card edges that show, avatar edges. */
[data-bs-theme=dark] .btn-check:checked + .lean-opt.is-bull, [data-bs-theme=dark] .btn-check:checked + .lean-opt.is-bear { color: var(--th-canvas); }
[data-bs-theme=dark] { --th-line: #26364b; }
[data-bs-theme=dark] .card { box-shadow: inset 0 1px 0 rgba(255,255,255,.04), var(--th-shadow-1); }
[data-bs-theme=dark] .avatar-img { box-shadow: 0 0 0 1px rgba(255,255,255,.14); }

/* Transparency tables: long setting names wrap instead of widening the page. */
.table-wrap td { overflow-wrap: anywhere; }

/* Bottom nav: one height token; the Tape badge sits on its icon. */
.bottom-nav { box-sizing: border-box; height: calc(var(--th-bottom-nav-h) + env(safe-area-inset-bottom)); }

/* Notched phones in landscape: content clears the notch and rounded corners. */
header .container, main > .container, .site-footer .container {
  padding-left: max(calc(var(--bs-gutter-x, 1.5rem) * .5), env(safe-area-inset-left));
  padding-right: max(calc(var(--bs-gutter-x, 1.5rem) * .5), env(safe-area-inset-right)); }
@media (max-width: 575.98px) {
  body.has-stream main > .container { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .stream-message { padding-left: max(14px, env(safe-area-inset-left)) !important; padding-right: max(14px, env(safe-area-inset-right)) !important; }
}
.lightbox-close, .lightbox-count { margin-top: env(safe-area-inset-top); }

/* Touch screens (any width): the core actions get 40-44px targets. The message row and lean pills keep their
   look and grow an invisible hit area instead, so the stream's density doesn't change. */
@media (pointer: coarse) {
  .btn-sm, .btn:not(.btn-icon), .segmented-opt { min-height: 40px; } /* default .btn is 38.5px */
  .chip, .composer-position-wrap { min-height: 40px; height: auto; }
  .composer .btn-icon { width: 44px; height: 44px; }
  .composer button[type=submit] { min-width: 72px; }
  .lean-opt, .post-action { position: relative; }
  .lean-opt::before { content: ""; position: absolute; inset: -6px -2px; }
  .post-action::before { content: ""; position: absolute; inset: -4px -4px; } /* ≥40px wide even when the phone row compresses */
  .stream-tab { position: relative; }
  .stream-tab::before { content: ""; position: absolute; inset: -6px 0 0; } /* 40px tall hit area, same look */
  /* The facts card's "More about" toggle: a 40px hit area without changing the card's height. */
  [data-ticker-facts] summary { padding-block: 10px; margin-block: -10px; }
}

/* ==========================================================================
   Motion (update 63d). Every animation and transition on the public site lives here.
   Rules: only opacity, transform, translate and scale move; nothing that is already in the
   server-rendered HTML animates in; 120/180/240 ms (--th-dur-1/2/3) except the realtime
   highlight, skeleton shimmer, spinners and the navigation bar; presses answer on pointer-down;
   reduced motion = colour change only (spinners and progress keep running: they are information).
   Press feedback uses the individual `scale`/`translate` properties so it never fights a
   `transform` set elsewhere (Popper menus, .translate-middle-*, the logo zoom).
   ========================================================================== */
:root {
  --th-dur-1: 120ms;                               /* press, hover, toggles */
  --th-dur-2: 180ms;                               /* small things entering: rows, pills, menus */
  --th-dur-3: 240ms;                               /* dialogs, toasts, pops */
  --th-ease: cubic-bezier(.2, 0, 0, 1);            /* standard: quick start, soft landing */
  --th-ease-emph: cubic-bezier(.34, 1.56, .64, 1); /* tiny overshoot, pops only */
  --th-ease-exit: cubic-bezier(.4, 0, 1, 1);       /* exit: accelerate away */
}

/* ---- Press: every tappable thing acknowledges the press in the same frame ---- */
.btn, .btn-icon, .post-action, .chip, .related-tickers a, .stream-tab, .bottom-nav a, .dropdown-item, header .navbar .nav-link, .choice-body,
.lean-opt, .segmented-opt, .account-nav-link, .floor-tape-pause {
  transition: background-color var(--th-dur-1) var(--th-ease), border-color var(--th-dur-1) var(--th-ease), color var(--th-dur-1) var(--th-ease),
    box-shadow var(--th-dur-1) var(--th-ease), scale var(--th-dur-1) var(--th-ease);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bottom-nav a i { transition: scale var(--th-dur-1) var(--th-ease); }
.btn:active:not(:disabled):not(.disabled), .chip:active, .related-tickers a:active { scale: .97; transition-duration: 60ms; }
/* The composer's Bullish/Bearish, the theme switch, the settings tabs and the tape pause press like buttons too. */
.lean-opt:active, .segmented-opt:active, .account-nav-link:active { scale: .97; transition-duration: 60ms; }
.floor-tape-pause:active { background: color-mix(in srgb, var(--th-surface-2) 60%, var(--th-line-strong)); }
.btn-icon:active, .post-action:active { scale: .9; transition-duration: 60ms; }
.bottom-nav a:active i, .stream-tab:active { scale: .94; transition-duration: 60ms; }
/* A press is darker than a hover (Bootstrap's active fill equalled the hover fill). */
.btn-primary { --bs-btn-active-bg: color-mix(in srgb, var(--th-primary-fill) 82%, black); --bs-btn-active-border-color: var(--bs-btn-active-bg); }
.btn-outline-primary, .btn-outline-secondary, .btn-light { --bs-btn-active-bg: color-mix(in srgb, var(--th-surface-2) 60%, var(--th-line-strong)); }
.btn-icon:active, .chip:active, .related-tickers a:active { background: color-mix(in srgb, var(--th-surface-2) 60%, var(--th-line-strong)); }
.post-actions .post-action:active { background: color-mix(in srgb, var(--th-ticker) 18%, transparent); color: var(--th-ticker); }
.dropdown-item:active { background: color-mix(in srgb, var(--th-surface-2) 60%, var(--th-line-strong)); color: var(--th-ink); }

/* ---- Working → done (Post and every submitted form). The label stays in the DOM (transparent), so
   the button keeps its width and its accessible name. Done is navy, never green. ---- */
.btn.is-busy, .btn.is-done { pointer-events: none; opacity: 1 !important; }
.btn.is-busy { color: transparent !important; position: relative; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 1.05em; height: 1.05em; border-radius: 50%;
  border: 2px solid var(--th-busy-ink, #fff); border-right-color: transparent; animation: th-spin .6s linear infinite; }
.btn-outline-primary.is-busy, .btn-outline-secondary.is-busy, .btn-light.is-busy { --th-busy-ink: var(--th-ink); }
.btn.is-done::before { content: "\f00c"; content: "\f00c" / ""; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: .4em;
  display: inline-block; animation: th-pop var(--th-dur-3) var(--th-ease-emph); }
@keyframes th-spin { to { transform: rotate(360deg); } }

/* ---- Toggles (thumbs, save, watch, follow, reshare): pop when turned on, counts tick ---- */
@keyframes th-pop { 0% { scale: 1; } 45% { scale: 1.3; } 100% { scale: 1; } }
.is-popping > i { animation: th-pop var(--th-dur-3) var(--th-ease-emph); }
.post-count { display: inline-block; }
@keyframes th-tick-up { from { translate: 0 45%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes th-tick-down { from { translate: 0 -45%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.tick-up { animation: th-tick-up var(--th-dur-2) var(--th-ease); }
.tick-down { animation: th-tick-down var(--th-dur-2) var(--th-ease); }

/* ---- Content that arrives after first paint (infinite scroll, live slot-in, link cards).
   Never applied to server-rendered items. Stagger capped at 5 items x 35 ms. ---- */
@keyframes th-enter { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
.th-enter { animation: th-enter var(--th-dur-2) var(--th-ease) backwards; animation-delay: calc(min(var(--i, 0), 4) * 35ms); }
/* Loading older messages: a sweep over the sentinel (the box keeps its height; the link comes back on failure). */
.stream-more.is-loading { position: relative; overflow: hidden; border-radius: var(--th-radius-sm); background: var(--th-surface-2); }
.stream-more.is-loading > a { visibility: hidden; }
.stream-more.is-loading::after { content: ""; position: absolute; inset: 0; translate: -100% 0;
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--th-surface) 70%, transparent) 50%, transparent 70%);
  animation: th-sweep 1.4s ease-in-out infinite; }
@keyframes th-sweep { to { translate: 100% 0; } }
@keyframes th-pill-in { from { opacity: 0; translate: 0 -8px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
[data-new-posts]:not(.d-none) .btn { animation: th-pill-in var(--th-dur-3) var(--th-ease-emph); }

/* ---- Highlights: someone else's new message, and your own (which keeps a brass bar: "this is yours").
   Background colour is the one non-transform animation allowed (the realtime highlight). ---- */
/* No `to` and no fill-mode: the wash ends on the message's own background (hover included), never a leftover tint. */
@keyframes th-highlight { from { background-color: var(--th-highlight-wash); } }
.stream-message.just-arrived, .stream-message.just-posted { animation: th-highlight 2.4s var(--th-ease); }
.stream-message.th-enter.just-arrived { animation: th-enter var(--th-dur-2) var(--th-ease) backwards, th-highlight 2.4s var(--th-ease); }
.stream-message.just-posted { box-shadow: inset 3px 0 0 var(--th-brass); }
/* site.js focuses the message it lands on (tabindex=-1) for keyboard and screen-reader users. Its focus mark is the
   brass bar, not the 2px ring, which boxed the reply in blue for as long as it kept focus. */
.stream-message[tabindex="-1"]:focus-visible { outline: none !important; box-shadow: inset 3px 0 0 var(--th-brass) !important; }

/* ---- Overlays: menus, dialogs, viewer, toasts. Menus animate opacity + translate only: Popper owns
   `transform`, and a scale would multiply its offset. ---- */
@keyframes th-menu-in { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } }
.dropdown-menu.show { animation: th-menu-in var(--th-dur-2) var(--th-ease); }
.dropdown-menu[data-popper-placement^=top].show { animation-name: th-menu-in-up; }
@keyframes th-menu-in-up { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
.modal.fade .modal-dialog { transform: translateY(12px) scale(.98); transition: transform var(--th-dur-3) var(--th-ease); }
.modal.show .modal-dialog { transform: none; }
.modal.fade { transition: opacity var(--th-dur-2) linear; }
.modal-backdrop.fade { transition: opacity var(--th-dur-2) linear; }
@keyframes th-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox[open] { animation: th-fade var(--th-dur-2) var(--th-ease); }
[data-toasts] .toast { box-shadow: var(--th-shadow-3); border-radius: var(--th-radius); }
[data-toasts] .toast.th-toast-error { box-shadow: inset 3px 0 0 var(--th-brass), var(--th-shadow-3); } /* errors: brass marker, never red */
@keyframes th-toast-in { from { opacity: 0; translate: 0 12px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes th-out { to { opacity: 0; translate: 0 4px; scale: .98; } }
.th-toast-in { animation: th-toast-in var(--th-dur-3) var(--th-ease-emph); }
.th-toast-out, .th-leaving { animation: th-out var(--th-dur-2) var(--th-ease-exit) forwards; pointer-events: none; }

/* ---- Navigation: a thin brass bar only when a page takes more than 100 ms (site.js). No render blocking.
   (Cross-document view transitions were tried in update 63 and removed before launch: Chromium skipped most of
   them and threw an uncaught "opt-in disabled" error. Revisit once a real-browser check shows them reliable.) ---- */
.th-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 1100; pointer-events: none; background: var(--th-brass);
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0; view-transition-name: none; }
html.is-navigating .th-progress { opacity: 1; animation: th-progress 10s cubic-bezier(.08, .7, .2, 1) forwards; }
@keyframes th-progress { from { transform: scaleX(.08); } to { transform: scaleX(.92); } }

/* ---- TradingView: skeleton until the chart has painted, then a fade (site.js adds .is-ready on the
   iframe's load event, or after 1.5 s at most). ---- */
.tv-widget iframe { opacity: 0; transition: opacity var(--th-dur-3) var(--th-ease); }
.tv-widget.is-ready iframe, .tv-widget:not(.is-loading) iframe { opacity: 1; }

/* ---- Images: a quiet resting fill while they load; images that arrive after first paint fade in. ---- */
.post-media-item, .avatar-img { background-color: var(--th-surface-2); }
img.th-fade { opacity: 0; transition: opacity var(--th-dur-2) var(--th-ease); }
img.th-fade.is-loaded { opacity: 1; }

/* ---- Reduced motion: presses change colour only; no slides, pops, ticks, sweeps or page fades.
   Spinners and the navigation bar keep moving (they tell you something is happening). ---- */
@media (prefers-reduced-motion: reduce) {
  .btn:active, .btn-icon:active, .post-action:active, .chip:active, .related-tickers a:active, .stream-tab:active, .bottom-nav a:active i,
  .lean-opt:active, .segmented-opt:active, .account-nav-link:active { scale: none; }
  .stream-message.just-posted, .stream-message.just-arrived { box-shadow: inset 3px 0 0 var(--th-brass); }
  .stream-more.is-loading::after { animation: none; display: none; }
  .spinner-border, .btn.is-busy::after, .composer-thumb.is-uploading::after { animation-duration: .8s !important; animation-iteration-count: infinite !important; }
  html.is-navigating .th-progress { animation-duration: 10s !important; }
}

/* ---- Update 66i: TradingView price on phones, watchlist prices, a shorter phone ticker page. ---- */
/* Ticker header quote (below lg only; the chart beside the header shows the price on desktop). The height is reserved
   so nothing moves when TradingView paints; the skeleton and fade are the shared TradingView ones above. */
:root { --tv-h-quote: 132px; }
.ticker-quote { margin-top: .75rem; border-radius: var(--th-radius-sm); background: var(--th-surface-2); overflow: hidden; }
.ticker-quote .tv-widget-body { overflow: hidden; }
.ticker-quote.is-loading .tv-widget-body { margin: .5rem; }
.ticker-quote .tv-fallback { min-height: 0; flex-direction: row; gap: .5rem; padding: .5rem .75rem; text-align: left; }
.ticker-quote .tv-fallback i { font-size: 1rem; }
.ticker-quote .tv-fallback p { font-size: .75rem; }
/* Watchlist prices box: the widget's own table, on the card surface. */
.watch-quotes .tv-widget-body { overflow: hidden; }
/* SEC facts card: the same 1rem padding as before; on phones one line (heading + "More about $T"), the details open below. */
.ticker-facts { padding-top: 1rem; padding-bottom: 1rem; }
.company-about { border-left: 3px solid var(--th-brass, #D49A35); padding-left: .75rem; max-width: 70ch; }
@media (max-width: 575.98px) {
  .ticker-facts { display: flex; flex-wrap: wrap; align-items: center; column-gap: .75rem; padding-top: .625rem; padding-bottom: .625rem; }
  .ticker-facts > h2 { margin: 0 !important; font-size: .875rem; }
  .ticker-facts > .ticker-meta { display: none; }
  .ticker-facts > .ticker-working { margin: 0 0 0 auto; }
  .ticker-facts > .ticker-working[open] { flex-basis: 100%; margin: .375rem 0 0; }
  .ticker-facts > .ticker-working > summary { padding: .375rem 0; }
}
/* Phone composer at rest (Hall and ticker pages): one row, the text box with Post beside it. Tapping in opens the
   full composer (tools, two lines), as before. */
@media (max-width: 575.98px) {
  form.composer:not(:focus-within):not(.has-content) { display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; }
  form.composer:not(:focus-within):not(.has-content) > * { flex: 1 0 100%; }
  form.composer:not(:focus-within):not(.has-content) > textarea { order: -2; flex: 1 1 0; min-width: 0; height: 40px; overflow: hidden; }
  form.composer:not(:focus-within):not(.has-content) > .composer-bar { order: -1; flex: 0 0 auto; margin-top: 0; }
}

/* ---- 67m: cookie choices (consent.js); update 69: a full-width bar in its own colour, so it reads as a choice to make.
   Light: navy bar, white text. Dark: one step above the page with a brass edge. Never a modal; z-index stays under modals.
   Accept, Reject and Settings stay alike (equal weight is what the consent rules ask for). ---- */
.consent-banner { position: fixed; z-index: 1040; left: 0; right: 0; bottom: 0;
  background: var(--th-surface-raised); color: var(--th-text); border-top: 3px solid var(--th-brass);
  box-shadow: 0 -8px 28px rgba(16,24,40,.18); padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); }
.consent-banner[hidden] { display: none; }
.consent-inner { max-width: 1140px; margin-inline: auto; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 2rem; align-items: center; }
.consent-inner > :not(.consent-actions) { grid-column: 1; }
.consent-actions { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.consent-title { font-size: 1.0625rem; font-weight: 700; color: var(--th-ink); margin-bottom: .25rem; }
.consent-inner > p { margin-bottom: 0 !important; max-width: 68ch; }
.consent-panel { border-top: 1px solid var(--th-line); padding-top: .625rem; margin-top: .625rem; }
.consent-actions .btn { min-height: 44px; min-width: 104px; font-weight: 600; }
.consent-banner :focus-visible { outline: 2px solid var(--th-brass); outline-offset: 2px; box-shadow: none; }
[data-bs-theme=light] .consent-banner { background: var(--th-navy); color: rgba(255,255,255,.9); border-top-color: var(--th-brass); }
[data-bs-theme=light] .consent-banner .consent-title { color: #fff; }
[data-bs-theme=light] .consent-banner a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
[data-bs-theme=light] .consent-banner a:hover { color: var(--th-brass); }
[data-bs-theme=light] .consent-banner .text-body-secondary { color: rgba(255,255,255,.72) !important; }
[data-bs-theme=light] .consent-banner .consent-panel { border-top-color: rgba(255,255,255,.2); }
[data-bs-theme=light] .consent-banner .form-check-input { border-color: rgba(255,255,255,.6); }
[data-bs-theme=light] .consent-banner .form-check-input:checked { background-color: var(--th-brass); border-color: var(--th-brass); }
[data-bs-theme=light] .consent-banner .btn-outline-primary { --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255,255,255,.75);
  --bs-btn-hover-color: var(--th-navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--th-navy); --bs-btn-active-bg: #fff; --bs-btn-active-border-color: #fff; }
[data-bs-theme=light] .consent-banner .btn-primary { --bs-btn-color: var(--th-navy); --bs-btn-bg: var(--th-brass); --bs-btn-border-color: var(--th-brass);
  --bs-btn-hover-color: var(--th-navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--th-navy); --bs-btn-active-bg: #fff; --bs-btn-active-border-color: #fff; }
@media (max-width: 991.98px) { .consent-inner { grid-template-columns: minmax(0,1fr); }
  .consent-actions { grid-column: 1; grid-row: auto; justify-content: stretch; margin-top: .75rem; } .consent-actions .btn { flex: 1 1 0; min-width: 0; } .consent-actions [data-consent-save] { flex-basis: 100%; } }
@media (max-width: 767.98px) { .consent-banner { bottom: calc(var(--th-bottom-nav-h) + env(safe-area-inset-bottom)); padding: .875rem 1rem; box-shadow: 0 -6px 20px rgba(16,24,40,.18); } }
.auth-page .consent-banner { bottom: 0; padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }
/* ---- Update 67l: stream feel, accessibility and the installed app (UX2-A-1, UX2-B, UX2-C, UX2-D). ---- */
/* Header search submit: a real 36px target inside the field (40px on touch), not a 23px-high link (C-13). */
.header-search-go { width: 36px; height: 36px; border-radius: 999px; margin-right: 2px; }
@media (pointer: coarse) { .header-search-go { width: 40px; height: 40px; margin-right: 0; } }
/* Phones: the bottom bar has Tape, so the header shows "Post" in the bell's place (A-1). The Backroom thread hides the
   bottom bar, so it keeps the bell. */
.btn-icon.header-post { display: none; }
@media (max-width: 767.98px) {
  body:not(.full-height-page) .btn-icon.header-post { display: inline-flex; }
  body:not(.full-height-page) .btn-icon.header-tape { display: none; }
}
/* 320px and 400% zoom (C-5): the Arch alone, so the header stays one 61px row; short screens get their height back. */
@media (max-width: 359.98px) {
  header .navbar-brand { width: 34px; flex: none; overflow: hidden; margin-right: .5rem !important; }
}
@media (max-height: 500px) {
  header.header-sticky, .bottom-nav { position: static !important; }
  [data-new-posts] { top: 8px; }
}
/* Installed app: a Back chevron on pages that aren't a tab (UX2D-7), and the dark header drawn under a translucent iOS
   status bar pads itself by the safe area (UX2D-8; 0 everywhere else). */
.header-back { display: none; }
@media (display-mode: standalone) { .header-back { display: inline-flex; margin-left: -8px; margin-right: .25rem; } }
header.header-sticky { padding-top: env(safe-area-inset-top); }
/* Floor tape: Pause is first for the keyboard, last on screen (C-8). */
.floor-tape-pause { order: 1; }
/* Links in running text are underlined, not colour alone (C-12); a picked $TICKER choice reads at 4.5:1. */
.form-text a, legend a, .founder-welcome a, .founder-callout a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.choice-input:checked + .choice-body .cashtag { color: var(--th-link) !important; }
/* A message row answers the tap at once (UX2D-3): lit on pointer-down (site.js .is-pressed; :active as the no-script
   fallback), never while an inner control is the thing pressed. A colour change only, so reduced motion keeps it. */
.stream-message.is-pressed, .stream-message[data-href]:active:not(:has(a:active, button:active, input:active, textarea:active, label:active)) {
  background: var(--th-surface-2); transition: background 0s; }
/* Shared ticker and message pages, signed out: what TickerHall is, in one line (B). */
.hall-intro.is-compact { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .625rem 1rem; padding: .875rem 1.25rem; }
.hall-intro-line { display: flex; gap: .5rem; align-items: flex-start; flex: 1 1 22rem; margin: 0; font-size: .875rem; color: var(--th-text); }
.hall-intro-line .arch-mark { color: var(--th-brass-icon); flex-shrink: 0; margin-top: .2em; }
.hall-intro.is-compact .hall-intro-actions { flex: none; }
@media (max-width: 575.98px) {
  .hall-intro.is-compact { padding: .625rem .875rem; gap: .5rem; }
  .hall-intro.is-compact .hall-intro-actions { flex: 1 1 100%; }
  .hall-intro-line { font-size: .8125rem; line-height: 1.4; }
  .hall-intro-more { display: none; }   /* phones: one sentence, so the band stays under 120px */
}
/* After the replies on a signed-out message page (B-6): the join prompt's card, in the page. */
.join-card { padding: 0; }
.join-card-lead { max-width: 32rem; }
.join-card .btn { min-width: 11rem; }
@media (max-width: 575.98px) { .join-card .btn { width: 100%; } }
[data-stream].is-trimming { overflow-anchor: none; }
/* ---- Nov 7 mobile fixes ---- */
/* Stream tabs stay on one line each ("$SLS messages" and "All mentions" were wrapping beside one-line "Filings"); the bar scrolls. */
.stream-tab { white-space: nowrap; flex: 0 0 auto; }
/* Touch screens give buttons a 40px minimum height, but .btn is inline-block, so the label sat at the top of the taller
   box (header Join, Watch, "Start the conversation"). Grow the padding instead so the label stays centred. */
@media (pointer: coarse) {
  .btn-sm, .btn:not(.btn-icon) { padding-block: max(var(--bs-btn-padding-y, .375rem), calc((40px - 2px - 1lh) / 2)); }
}
/* TradingView blocked, phone header quote: the "Open on TradingView" button was clipped; the text gives way instead. */
.ticker-quote .tv-fallback p { flex: 1 1 auto; min-width: 0; }
.ticker-quote .tv-fallback .btn { flex: 0 0 auto; white-space: nowrap; }

/* Company portal (/company, update 87): navy hero, KPI cards with week-on-week chips and column sparklines,
   Bullish/Bearish charts. Green and red mean Bullish and Bearish (or up/down chips) only. */
.portal-hero { background: linear-gradient(135deg, #09253B 0%, #12385a 100%); color: #fff; border-radius: var(--th-radius-lg); padding: 1.5rem; position: relative; overflow: hidden; box-shadow: var(--th-shadow-2); }
.portal-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(212,154,53,.18); pointer-events: none; }
.portal-hero > * { position: relative; z-index: 1; }
.portal-hero-mark { display: inline-flex; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.portal-eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #F0B64A; font-weight: 600; }
.portal-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.portal-title span { font-weight: 400; color: rgba(255,255,255,.75); }
.portal-headline { color: rgba(255,255,255,.85); }
.portal-headline strong { color: #fff; }
.portal-updated { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .8rem; color: rgba(255,255,255,.65); }
.portal-btn-ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.55) !important; background: transparent; }
.portal-btn-ghost:hover { background: rgba(255,255,255,.12); }
.portal-hero .btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.5); --bs-btn-hover-bg: rgba(255,255,255,.12); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; }
.portal-hero .btn-light { --bs-btn-bg: #fff; --bs-btn-color: #09253B; --bs-btn-border-color: #fff; font-weight: 600; }
.portal-kpi { padding: 1rem 1.125rem .875rem; display: flex; flex-direction: column; gap: .3rem; }
.portal-kpi .kpi-label { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--th-muted); font-weight: 600; }
.portal-kpi .kpi-value { font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.portal-kpi .kpi-value small { font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-left: .25rem; }
.portal-kpi .kpi-delta { font-size: .8rem; display: inline-flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.portal-kpi .kpi-spark { margin-top: auto; padding-top: .5rem; display: block; }
.portal-kpi .kpi-foot { font-size: .75rem; color: var(--th-muted); }
.kpi-spark rect.bar { fill: currentColor; opacity: .22; }
.kpi-spark rect.now { fill: var(--th-brass); }
.lean-num.is-bull, .is-bull { color: var(--th-bullish-ink); }
.lean-num.is-bear, .is-bear { color: var(--th-bearish-ink); }
.text-bull { color: var(--th-bullish-ink); } .text-bear { color: var(--th-bearish-ink); }
.portal-lean-bar { height: 8px; border-radius: 4px; margin-top: .4rem; }
.kpi-tilt .mid { stroke: currentColor; opacity: .3; stroke-dasharray: 2 2; }
.pc-bull { fill: var(--th-bullish, #1a9d5b); } .pc-bear { fill: var(--th-bearish, #d64545); } .pc-flat { fill: currentColor; opacity: .28; }
.pc-bull-bg { background: var(--th-bullish, #1a9d5b); } .pc-bear-bg { background: var(--th-bearish, #d64545); } .pc-flat-bg { background: color-mix(in srgb, currentColor 28%, transparent); }
.pc-stacked, .pc-tilt { display: block; overflow: visible; }
.pc-stacked .grid { stroke: currentColor; opacity: .1; } .pc-tilt .mid { stroke: currentColor; opacity: .3; stroke-dasharray: 3 3; }
.pc-stacked .axis, .pc-tilt .axis { font-size: 10px; fill: currentColor; opacity: .55; }
.pc-stacked g:hover rect, .pc-tilt rect:hover { opacity: .8; }
.portal-legend { font-size: .8rem; display: inline-flex; align-items: center; gap: .3rem; color: var(--th-muted); }
.portal-legend strong { color: var(--th-text); }
.portal-legend .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.portal-mix { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.portal-mix span { display: block; height: 100%; }
@media (max-width: 575.98px) { .portal-hero { padding: 1.125rem; } .portal-title { font-size: 1.3rem; } .portal-kpi .kpi-value { font-size: 1.6rem; } }
.portal-fact { background: var(--th-surface-2); border-radius: var(--th-radius-sm); padding: .6rem .75rem; display: flex; flex-direction: column; }
.portal-fact span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--th-muted); font-weight: 600; }
.portal-fact strong { font-size: 1.15rem; } .portal-fact small { font-size: .75rem; color: var(--th-muted); }
.pc-filing { fill: var(--th-brass); stroke: var(--th-surface, #fff); stroke-width: 1.5; }
.pc-own { fill: var(--th-navy, #09253B); stroke: var(--th-surface, #fff); stroke-width: 1.5; }
[data-bs-theme="dark"] .pc-own { fill: #9fc3e6; }
.pc-event-line { stroke: var(--th-brass); stroke-width: 1; stroke-dasharray: 2 3; opacity: .7; }
.portal-legend .diamond { width: 9px; height: 9px; background: var(--th-brass); transform: rotate(45deg); display: inline-block; margin: 0 2px; }
.portal-legend .own { width: 9px; height: 9px; border-radius: 50%; background: var(--th-navy, #09253B); display: inline-block; }
.portal-ranks { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.portal-rank { background: rgba(240,182,74,.16); color: #F0B64A; border: 1px solid rgba(240,182,74,.4); border-radius: 999px; padding: .15rem .6rem; font-size: .8rem; font-weight: 600; }
.portal-rank-note { font-size: .75rem; color: rgba(255,255,255,.6); }
.portal-tools { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .75rem; font-size: .85rem; }
.portal-tools a { color: #fff; text-decoration: none; opacity: .85; } .portal-tools a:hover { opacity: 1; text-decoration: underline; }
.portal-shield-icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--th-navy, #09253B) 10%, transparent); color: var(--th-navy, #09253B); font-size: 1.2rem; }
.portal-shield-icon.is-check { background: color-mix(in srgb, var(--th-brass) 16%, transparent); color: var(--th-brass-icon, #A87618); }
[data-bs-theme="dark"] .portal-shield-icon { color: #9fc3e6; }
.portal-big { font-size: 1.6rem; font-weight: 700; margin-right: .25rem; color: var(--th-text); }
.chip-sm { font-size: .78rem; padding: .1rem .5rem; }
.portal-posts td, .portal-posts th { font-size: .85rem; }
.portal-posts th { font-weight: 600; color: var(--th-muted); }
.portal-often li { display: grid; grid-template-columns: 4.5rem 1fr 2rem; align-items: center; gap: .5rem; padding: .3rem 0; }
.portal-often-bar { height: 8px; border-radius: 4px; background: color-mix(in srgb, currentColor 10%, transparent); overflow: hidden; }
.portal-often-bar i { display: block; height: 100%; background: var(--th-brass); border-radius: 4px; }
/* Company 30-day report (/company/report): one page when printed. */
.report-sheet { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: var(--th-radius-lg); padding: 1.5rem; max-width: 900px; margin: 0 auto; }
.report-eyebrow { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--th-brass-ink, #8a6417); font-weight: 700; }
.report-head { border-bottom: 2px solid var(--th-brass); padding-bottom: .75rem; }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.report-kpis > div { background: var(--th-surface-2); border-radius: var(--th-radius-sm); padding: .6rem .75rem; display: flex; flex-direction: column; }
.report-kpis span { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--th-muted); font-weight: 600; }
.report-kpis strong { font-size: 1.5rem; line-height: 1.15; } .report-kpis small { font-size: .72rem; color: var(--th-muted); }
.report-list li { display: flex; gap: .5rem; justify-content: space-between; border-bottom: 1px solid var(--th-line); padding: .25rem 0; flex-wrap: wrap; }
.report-list small { width: 100%; color: var(--th-muted); }
.report-foot { font-size: .7rem; color: var(--th-muted); }
.report-actions { max-width: 900px; margin: 0 auto; }
@media (max-width: 575.98px) { .report-kpis { grid-template-columns: repeat(2, 1fr); } }
@media print {
  @page { size: letter; margin: 12mm; }
  body:has(.company-report) .header-sticky, body:has(.company-report) .site-footer, body:has(.company-report) .bottom-nav,
  body:has(.company-report) .cookie-bar, body:has(.company-report) [data-cookie-bar] { display: none !important; }
  body:has(.company-report) { background: #fff !important; }
  .report-sheet { border: 0; padding: 0; max-width: none; }
  .company-report * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.badge-clear { background: color-mix(in srgb, var(--th-navy, #09253B) 10%, transparent); color: var(--th-navy, #09253B); font-weight: 600; }
[data-bs-theme="dark"] .badge-clear { color: #9fc3e6; background: rgba(159,195,230,.14); }
.portal-seatbar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; background: color-mix(in srgb, var(--th-brass) 12%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-brass) 35%, transparent); border-radius: var(--th-radius); padding: .6rem 1rem; font-size: .875rem; }
.portal-team-initial { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--th-navy, #09253B); color: #fff; font-weight: 700; flex: 0 0 auto; }

/* Landing pages (/companies, /why-tickerhall, /about, signed-out home): lp-* blocks. Screenshots are framed like a browser window. */
.lp-page { max-width: 1140px; margin: 0 auto; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem; align-items: center; padding: 2.5rem 0 3rem; }
.lp-eyebrow { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--th-brass-ink, #8a6417); margin-bottom: .5rem; }
.lp-title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin-bottom: 1rem; color: var(--th-text); }
.lp-title span { color: var(--th-brass-ink, #8a6417); }
.lp-lead { font-size: 1.125rem; color: var(--th-muted); margin-bottom: 1.5rem; max-width: 38rem; }
.lp-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .9rem; color: var(--th-muted); }
.lp-trust i { color: var(--th-brass); margin-right: .35rem; }
.lp-trust-stack { flex-direction: column; }
.lp-shot { position: relative; border-radius: 14px; overflow: hidden; background: var(--th-surface); border: 1px solid var(--th-line); box-shadow: 0 24px 60px -24px rgba(9, 37, 59, .35), 0 2px 6px rgba(9, 37, 59, .08); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-shot-hero { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); transform-origin: left center; }
.lp-frame { display: flex; align-items: center; gap: 6px; padding: .5rem .75rem; background: var(--th-surface-2); border-bottom: 1px solid var(--th-line); }
.lp-frame span { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--th-navy, #09253B) 18%, transparent); }
.lp-frame em { margin-left: .5rem; font-style: normal; font-size: .75rem; color: var(--th-muted); background: var(--th-surface); border-radius: 6px; padding: .1rem .6rem; }
.lp-tour { padding: 1rem 0 2rem; border-top: 1px solid var(--th-line); }
.lp-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; padding: 3.25rem 0; }
.lp-feature + .lp-feature { border-top: 1px dashed var(--th-line); }
.lp-feature.is-flipped { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lp-feature.is-flipped .lp-feature-copy { order: 2; }
.lp-feature h2 { font-size: 1.6rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.2; margin-bottom: .75rem; }
.lp-feature p { color: var(--th-muted); font-size: 1.02rem; }
.lp-kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--th-brass-ink, #8a6417); background: color-mix(in srgb, var(--th-brass) 13%, transparent); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .75rem; }
.lp-list { list-style: none; padding: 0; margin: 0; }
.lp-list li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; }
.lp-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--th-brass); transform: rotate(45deg); }
.lp-shot-narrow { max-width: 380px; justify-self: center; }
.lp-shot-stack { display: grid; gap: 1rem; }
.lp-shot-pair { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; align-items: start; }
.lp-shot-pair .lp-shot:first-child { margin-top: 2rem; }
.lp-note { font-size: .8rem; color: var(--th-muted); text-align: center; margin: 1rem 0 0; }
.lp-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1rem 0 3rem; }
.lp-rules { background: linear-gradient(135deg, #09253B 0%, #12385a 100%); color: rgba(255,255,255,.88); border-radius: var(--th-radius-lg); padding: 2rem; }
.lp-rules h2 { color: #fff; } .lp-rules a { color: #F0B64A; }
.lp-rules ul { padding-left: 1.1rem; } .lp-rules li { margin-bottom: .45rem; } .lp-rules li::marker { color: #F0B64A; }
.lp-steps { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: var(--th-radius-lg); padding: 2rem; }
.lp-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.lp-steps li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; }
.lp-steps li:last-child { margin-bottom: 0; }
.lp-steps li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--th-brass); color: #09253B; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lp-faq { max-width: 820px; margin: 0 auto 3rem; }
.lp-faq details { border-bottom: 1px solid var(--th-line); padding: .9rem 0; }
.lp-faq summary { font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--th-brass-ink, #8a6417); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: .6rem 0 0; color: var(--th-muted); }
.lp-claim { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; padding: 2.5rem; margin-bottom: 2rem; border-radius: var(--th-radius-lg); background: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface-2)); border: 1px solid var(--th-line); scroll-margin-top: 80px; }
.lp-claim-intro p { color: var(--th-muted); }
.lp-claim-card { box-shadow: var(--th-shadow-2); }
@media (max-width: 991.98px) {
  .lp-hero, .lp-feature, .lp-feature.is-flipped, .lp-trust-grid, .lp-claim { grid-template-columns: 1fr; gap: 1.5rem; }
  .lp-feature.is-flipped .lp-feature-copy { order: 0; }
  .lp-shot-hero { transform: none; }
  .lp-feature { padding: 2.25rem 0; }
  .lp-claim { padding: 1.25rem; }
}
@media (max-width: 575.98px) { .lp-shot-pair { grid-template-columns: 1fr; } .lp-shot-pair .lp-shot:first-child { margin-top: 0; } .lp-hero { padding-top: 1.25rem; } }
@media (prefers-reduced-motion: no-preference) { .lp-shot-hero { transition: transform .4s ease; } .lp-shot-hero:hover { transform: none; } }
/* Landing page extras (why-tickerhall, about, home hero) */
.lp-compare { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.lp-compare-card { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: var(--th-radius-lg); padding: 1.25rem; box-shadow: var(--th-shadow-2); display: flex; flex-direction: column; gap: .6rem; }
.lp-compare-dots { display: flex; flex-wrap: wrap; gap: 5px; min-height: 64px; align-content: flex-start; }
.lp-compare-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--th-navy, #09253B); opacity: .85; }
.lp-compare-dots.is-one i { width: 40px; height: 40px; background: var(--th-brass); opacity: 1; }
[data-bs-theme="dark"] .lp-compare-dots i { background: #9fc3e6; }
.lp-compare-msgs { display: grid; gap: 4px; }
.lp-compare-msgs span { height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 14%, transparent); }
.lp-compare-msgs span:nth-child(3n) { width: 70%; } .lp-compare-msgs span:nth-child(4n) { width: 85%; }
.lp-compare-what { font-size: .9rem; color: var(--th-muted); }
.lp-compare-count { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--th-text); margin-top: auto; }
.lp-compare-count small { font-size: .9rem; font-weight: 600; color: var(--th-muted); }
.lp-compare-card.is-many .lp-compare-count { color: var(--th-brass-ink, #8a6417); }
.lp-compare-note { grid-column: 1 / -1; font-size: .85rem; color: var(--th-muted); margin: 0; text-align: center; }
.lp-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lp-cards li { display: flex; gap: .8rem; background: var(--th-surface); border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 1rem 1.1rem; font-size: .92rem; color: var(--th-muted); }
.lp-cards li strong { color: var(--th-text); }
.lp-cards li > i { color: var(--th-brass); font-size: 1.1rem; margin-top: .15rem; flex: 0 0 auto; width: 1.2rem; text-align: center; }
.lp-steps-band { margin: 1rem 0 3rem; padding: 2.5rem 2rem; border-radius: var(--th-radius-lg); background: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface-2)); border: 1px solid var(--th-line); }
.lp-steps-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lp-steps-row li { background: var(--th-surface); border-radius: var(--th-radius); padding: 1.25rem; box-shadow: var(--th-shadow-1); color: var(--th-muted); font-size: .95rem; }
.lp-steps-row li strong { display: block; color: var(--th-text); margin-bottom: .25rem; }
.lp-step-num { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--th-brass); color: #09253B; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .6rem; }
.lp-glossary { max-width: 820px; margin: 0 auto 2.5rem; }
.lp-faq .why-faq { border-bottom: 1px solid var(--th-line); padding: .9rem 0; }
.lp-faq .why-faq summary { font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.lp-faq .why-faq summary::-webkit-details-marker { display: none; }
.lp-faq .why-faq summary::after { content: "+"; color: var(--th-brass-ink, #8a6417); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.lp-faq .why-faq[open] summary::after { content: "–"; }
.lp-faq .why-faq p { margin: .6rem 0 0; color: var(--th-muted); }
.lp-final { text-align: center; padding: 3rem 1.5rem; border-radius: var(--th-radius-lg); background: linear-gradient(135deg, #09253B 0%, #12385a 100%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; margin-bottom: 1rem; }
.lp-final::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 32px solid rgba(212,154,53,.18); }
.lp-final h2 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.015em; max-width: 34rem; margin: 0 auto .5rem; }
.lp-final .btn-light { --bs-btn-bg: #fff; --bs-btn-color: #09253B; font-weight: 700; position: relative; z-index: 1; }
@media (max-width: 991.98px) { .lp-steps-row, .lp-cards { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .lp-compare { grid-template-columns: 1fr; } .lp-steps-band { padding: 1.5rem 1rem; } }
/* The Hall's welcome band for signed-out visitors (_HallIntro full). Static markup, light theme only (anonymous pages). */
.hall-hero { position: relative; overflow: hidden; border-radius: var(--th-radius-lg); padding: 1.75rem 1.75rem 1.25rem; color: rgba(255,255,255,.86); background: linear-gradient(135deg, #09253B 0%, #12385a 100%); box-shadow: var(--th-shadow-2); }
.hall-hero::after { content: ""; position: absolute; right: -70px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 30px solid rgba(212,154,53,.17); pointer-events: none; }
.hall-hero > * { position: relative; z-index: 1; }
.hall-hero-eyebrow { display: flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; color: #F0B64A; margin-bottom: .5rem; }
.hall-hero-eyebrow svg { height: 16px; width: auto; }
.hall-hero-title { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: .6rem; max-width: 32rem; }
.hall-hero-title span { color: #F0B64A; }
.hall-hero-lead { font-size: 1rem; max-width: 34rem; margin-bottom: .9rem; }
.hall-hero-points { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; list-style: none; padding: 0; margin: 0 0 1.1rem; font-size: .85rem; font-weight: 600; color: #fff; }
.hall-hero-points i { color: #F0B64A; margin-right: .4rem; }
.hall-hero-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.hall-hero .btn-light { --bs-btn-bg: #fff; --bs-btn-color: #09253B; --bs-btn-border-color: #fff; font-weight: 700; }
.hall-hero-ghost { color: #fff !important; border: 1px solid rgba(255,255,255,.55) !important; background: transparent; --bs-btn-active-bg: rgba(255,255,255,.2); }
.hall-hero .btn-light:hover { background: #eef2f6; border-color: #eef2f6; }
.hall-hero .btn-light:active { background: #dfe6ee !important; border-color: #dfe6ee !important; }
.hall-hero-ghost:active { background: rgba(255,255,255,.2) !important; }
.hall-hero-ghost:hover { background: rgba(255,255,255,.12); }
.hall-hero-founders { display: flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border-radius: var(--th-radius); background: rgba(240,182,74,.13); border: 1px solid rgba(240,182,74,.35); color: rgba(255,255,255,.9); font-size: .85rem; text-decoration: none; }
.hall-hero-founders:hover { background: rgba(240,182,74,.2); color: #fff; }
.hall-hero-founders > i:first-child { color: #F0B64A; font-size: 1.05rem; }
.hall-hero ~ .stream .composer-join { display: none; }
@media (max-width: 575.98px) {
  body.has-stream main .hall-hero { margin: .75rem 12px; padding: 1rem 1rem .85rem; }
  .hall-hero-lead, .hall-hero-points, .hall-hero-eyebrow { display: none; }   /* phones: H1, buttons and the Founders line, so messages start on the first screen */
  .hall-hero-title { font-size: 1.25rem; margin-bottom: .7rem; }
  .hall-hero-actions { margin-bottom: .7rem; display: grid; grid-template-columns: 1fr 1fr; } /* two equal buttons, standard size */
  .hall-hero-founders { font-size: .78rem; padding: .5rem .65rem; }
}
/* Sign-up page: the form beside a "what you get" panel (stacked under the form on phones). */
.join-split { max-width: 1040px; margin: 0 auto; }
@media (min-width: 992px) { .join-split { padding-top: 1.5rem; } }
.join-panel { border-radius: var(--th-radius-lg); padding: 1.75rem; color: rgba(255,255,255,.85); background: linear-gradient(150deg, #09253B 0%, #12385a 100%); position: relative; overflow: hidden; box-shadow: var(--th-shadow-2); }
.join-panel::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(212,154,53,.16); pointer-events: none; }
.join-panel > * { position: relative; z-index: 1; }
.join-panel-logo { margin-bottom: 1.25rem; color: #fff; }
.join-panel-logo { --th-logo-ink: #ffffff; --th-logo-brass: #F0B64A; }
.join-founders { background: rgba(240,182,74,.12); border: 1px solid rgba(240,182,74,.35); border-radius: var(--th-radius); padding: 1rem 1.1rem; margin-bottom: 1.5rem; font-size: .88rem; }
.join-founders-count strong { font-size: 2rem; font-weight: 800; color: #F0B64A; line-height: 1; }
.join-founders-count span { color: rgba(255,255,255,.7); font-weight: 600; }
.join-founders-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #F0B64A; margin-bottom: .3rem; }
.join-founders-head { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: .5rem; letter-spacing: -.01em; }
.join-founders-head span { color: #F0B64A; }
.join-founders-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; margin-bottom: .65rem; }
.join-founders-bar i { display: block; height: 100%; background: #F0B64A; }
.join-panel-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: #F0B64A; margin: 0 0 .65rem; }
.join-panel-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .65rem; font-size: .9rem; }
.join-panel-list li { display: flex; gap: .7rem; }
.join-panel-list i { color: #F0B64A; width: 1.1rem; text-align: center; margin-top: .2rem; flex: 0 0 auto; }
.join-panel-list strong, .join-panel-steps strong { color: #fff; }
.join-panel-steps { margin: 0; padding-left: 1.1rem; font-size: .88rem; display: grid; gap: .4rem; }
.join-panel-steps li::marker { color: #F0B64A; font-weight: 700; }

/* Methodology page (91): hero, numbered sections and small explanatory diagrams. */
.mth-page { max-width: 1100px; margin: 0 auto; }
.mth-hero { text-align: center; padding: 2.25rem 1rem 1.5rem; }
.mth-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; color: var(--th-ink); margin-bottom: .6rem; }
.mth-lead { max-width: 640px; margin: 0 auto 1.25rem; font-size: 1.08rem; color: var(--bs-secondary-color); }
.mth-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.mth-jump a { font-size: .85rem; padding: .3rem .75rem; border: 1px solid var(--th-line); border-radius: 999px; background: var(--th-surface); color: var(--th-ink); text-decoration: none; }
.mth-jump a:hover { border-color: var(--th-brass); }
.mth-body { line-height: 1.6; }
.mth-h2 { display: flex; align-items: center; gap: .65rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--th-line); font-weight: 800; scroll-margin-top: 80px; }
.mth-body > .mth-h2:first-of-type { margin-top: .5rem; border-top: 0; padding-top: 0; }
.mth-num { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--th-brass); color: #09253B; font-size: .95rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.mth-list li { margin-bottom: .35rem; }
.mth-funnel, .mth-ramp, .mth-gauge { margin: 1rem 0 1.25rem; padding: 1rem 1.1rem; border: 1px solid var(--th-line); border-radius: 12px; background: var(--th-surface-2); }
.mth-funnel figcaption, .mth-ramp figcaption { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--bs-secondary-color); margin-bottom: .75rem; }
.mth-funnel ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.mth-funnel li { position: relative; background: var(--th-surface); border: 1px solid var(--th-line); border-radius: 10px; padding: .7rem .6rem; text-align: center; font-size: .82rem; line-height: 1.3; }
/* The arrow sits centred in the gap (right = half the gap), level with the step icons. */
.mth-funnel li:not(:last-child)::after { content: "\203A"; position: absolute; right: -.625rem; top: 1.75rem; transform: translate(50%, -50%); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding-bottom: 2px; font-size: 1.1rem; font-weight: 700; line-height: 1; background: var(--th-surface); border: 1px solid var(--th-line-strong); color: var(--bs-secondary-color); z-index: 1; }
.mth-funnel li small { color: var(--bs-secondary-color); }
.mth-funnel-n { display: block; font-size: 1.6rem; font-weight: 800; color: var(--th-ink); font-variant-numeric: tabular-nums; }
.mth-funnel li.is-final { background: linear-gradient(150deg, #09253B 0%, #12385a 100%); border-color: #09253B; color: #fff; }
.mth-funnel li.is-final .mth-funnel-n, .mth-funnel li.is-final small { color: #fff; }
.mth-funnel li.is-final small { opacity: .8; }
@media (max-width: 767.98px) { .mth-funnel ol { grid-template-columns: 1fr; } .mth-funnel li { display: flex; align-items: center; gap: .75rem; text-align: left; } .mth-funnel-n { min-width: 3rem; } .mth-funnel li:not(:last-child)::after { content: none; } }
.mth-ramp svg { display: block; max-height: 190px; }
.mth-axis { stroke: var(--th-line-strong); stroke-width: 1.5; }
.mth-grid { stroke: var(--th-line); stroke-dasharray: 4 4; }
.mth-area { fill: color-mix(in srgb, var(--th-primary-fill) 12%, transparent); }
.mth-line { fill: none; stroke: var(--th-primary-fill); stroke-width: 3; stroke-linejoin: round; }
.mth-founder { stroke: var(--th-brass); stroke-width: 3; stroke-dasharray: 8 5; }
.mth-lbl { font-size: 13px; fill: var(--bs-secondary-color); }
.mth-lbl-brass { fill: var(--th-brass-ink); font-weight: 700; }
[data-bs-theme="dark"] .mth-line { stroke: #7fb0e3; } [data-bs-theme="dark"] .mth-area { fill: rgba(127,176,227,.15); }
.mth-checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: .75rem 0 1rem; }
.mth-checks li { border: 1px solid var(--th-line); border-radius: 12px; padding: .9rem 1rem; background: var(--th-surface); font-size: .93rem; }
.mth-checks li > i { display: inline-flex; width: 2rem; height: 2rem; border-radius: 8px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--th-brass) 18%, transparent); color: var(--th-brass-icon); margin-right: .5rem; }
@media (max-width: 767.98px) { .mth-checks { grid-template-columns: 1fr; } }
.mth-gauge { padding: 1.5rem 1.25rem 1rem; }
.mth-gauge-scale { position: relative; height: 14px; border-radius: 999px; margin: 2.6rem .5rem .4rem; background: linear-gradient(90deg, var(--th-bearish-ink, #c0392b), var(--th-line-strong) 50%, var(--th-bullish-ink, #1e8a5a)); }
.mth-gauge-marker { position: absolute; top: -2.55rem; transform: translateX(-50%); text-align: center; line-height: 1.1; white-space: nowrap; }
.mth-gauge-marker b { display: block; font-size: 1.25rem; color: var(--th-ink); }
.mth-gauge-marker small { color: var(--bs-secondary-color); font-size: .75rem; }
.mth-gauge-marker::after { content: ""; display: block; width: 4px; height: 22px; margin: .15rem auto 0; background: var(--th-ink); border-radius: 2px; }
.mth-gauge-ends { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; margin: 0 .25rem; }
.mth-gauge figcaption { font-size: .82rem; color: var(--bs-secondary-color); margin-top: .5rem; }
.mth-never { margin-top: 2.5rem; padding: 1.25rem 1.4rem; border-radius: 12px; background: linear-gradient(135deg, #09253B 0%, #12385a 100%); color: rgba(255,255,255,.88); border: 1px solid color-mix(in srgb, #F0B64A 35%, transparent); }
.mth-never h2 { color: #fff; font-weight: 800; }
.mth-never a { color: #F0B64A; }

/* About page (91). Reuses mth-hero and lp-cards. */
.abt-page { max-width: 1040px; margin: 0 auto; }
.abt-section { margin: 1rem 0 2rem; }
.abt-h2 { font-weight: 800; text-align: center; margin-bottom: 1rem; }
.abt-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (max-width: 767.98px) { .abt-cards { grid-template-columns: 1fr; } }
.abt-band { margin: 0 0 2rem; padding: 2.5rem 2rem; border-radius: var(--th-radius-lg); background: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface-2)); border: 1px solid var(--th-line); }
.abt-band h2 { color: var(--th-ink); font-weight: 800; text-align: center; margin-bottom: .5rem; }
.abt-band-lead { text-align: center; max-width: 680px; margin: 0 auto 1.5rem; color: var(--th-muted); }
.abt-promises { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.abt-promises li { background: var(--th-surface); border-radius: var(--th-radius); padding: 1.25rem; box-shadow: var(--th-shadow-1); color: var(--th-muted); font-size: .95rem; line-height: 1.55; }
.abt-promises strong { display: block; color: var(--th-text); margin-bottom: .25rem; }
@media (max-width: 991.98px) { .abt-promises { grid-template-columns: 1fr; } } @media (max-width: 575.98px) { .abt-band { padding: 1.5rem 1rem; } }
.abt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 767.98px) { .abt-grid { grid-template-columns: 1fr; } }
.abt-tile { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: 14px; padding: 1.4rem; line-height: 1.6; scroll-margin-top: 80px; }
.abt-tile h2 { font-weight: 800; }
.abt-tile-icon { width: 2.6rem; height: 2.6rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--th-brass) 18%, transparent); color: var(--th-brass-icon); font-size: 1.15rem; margin-bottom: .75rem; }
.abt-founders { display: flex; align-items: center; gap: 1.5rem; border: 2px solid var(--th-brass); border-radius: 16px; padding: 1.5rem 1.6rem; margin-bottom: 2rem; background: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface)); line-height: 1.6; scroll-margin-top: 80px; }
.abt-founders h2 { font-weight: 800; }
.abt-founders .flex-none { flex: none; }
@media (max-width: 767.98px) { .abt-founders { flex-direction: column; align-items: flex-start; } }
.abt-contact { text-align: center; padding: 1rem 0 .5rem; color: var(--bs-secondary-color); }
.abt-contact h2 { color: var(--th-ink); }

/* House rules (93) */
.rules-promises { list-style: none; padding: 0; margin: 0 auto 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; font-size: .92rem; }
.rules-promises li { display: flex; align-items: center; gap: .5rem; color: var(--th-muted); }
.rules-promises strong { color: var(--th-ink); }
.rules-promises i { color: var(--th-brass-icon); }
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 767.98px) { .rules-grid { grid-template-columns: 1fr; } }
.rules-card, .rules-wide { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: 14px; padding: 1.15rem 1.25rem; line-height: 1.55; scroll-margin-top: 80px; }
.rules-wide { margin-bottom: 1rem; }
.rules-card-head { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.rules-card-head h2 { font-weight: 800; color: var(--th-ink); }
.rules-icon { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--th-brass) 18%, transparent); color: var(--th-brass-icon); }
.rules-person { margin-left: auto; flex: none; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--th-line-strong); color: var(--th-muted); white-space: nowrap; }
.rules-how summary { color: var(--th-link, var(--bs-link-color)); cursor: pointer; font-weight: 600; }
.rules-ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; counter-reset: rl; }
.rules-ladder.is-five { grid-template-columns: repeat(5, 1fr); margin-bottom: .9rem; }
.rules-ladder li { position: relative; border-radius: 10px; padding: .7rem .8rem; background: var(--th-surface-2); border: 1px solid var(--th-line); text-align: center; }
.rules-ladder li b { display: block; color: var(--th-ink); }
.rules-ladder li small { color: var(--th-muted); font-size: .75rem; }
.rules-ladder li:not(:last-child)::after { content: "\203A"; position: absolute; right: -.25rem; top: 50%; transform: translate(50%, -50%); color: var(--th-muted); z-index: 1; }
.rules-ladder li:nth-child(2) { background: color-mix(in srgb, var(--th-brass) 8%, var(--th-surface-2)); }
.rules-ladder li:nth-child(3) { background: color-mix(in srgb, var(--th-brass) 15%, var(--th-surface-2)); }
.rules-ladder li:nth-child(4) { background: color-mix(in srgb, var(--th-brass) 22%, var(--th-surface-2)); }
.rules-ladder li:nth-child(5) { background: color-mix(in srgb, var(--th-brass) 30%, var(--th-surface-2)); }
@media (max-width: 767.98px) { .rules-ladder, .rules-ladder.is-five { grid-template-columns: 1fr; } .rules-ladder li:not(:last-child)::after { content: none; } }
.rules-escalate { margin: 1.5rem 0 1rem; padding: 1.5rem; border-radius: var(--th-radius-lg); background: color-mix(in srgb, var(--th-brass) 7%, var(--th-surface-2)); border: 1px solid var(--th-line); }
.rules-escalate h2 { font-weight: 800; text-align: center; margin-bottom: 1rem; color: var(--th-ink); }
.rules-escalate > p { color: var(--th-muted); text-align: center; }

/* Contact (93) */
.contact-split { display: grid; grid-template-columns: 1fr 1.45fr; gap: 1.25rem; align-items: start; max-width: 1000px; margin: 0 auto; }
@media (max-width: 991.98px) { .contact-split { grid-template-columns: 1fr; } .contact-form { order: -1; } }
.contact-routes h2 { font-weight: 800; color: var(--th-ink); margin-bottom: .75rem; }
.contact-route { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; margin-bottom: .6rem; border: 1px solid var(--th-line); border-radius: 12px; background: var(--th-surface); color: var(--th-muted); text-decoration: none; font-size: .9rem; line-height: 1.45; }
.contact-route strong { color: var(--th-ink); }
.contact-route:hover { border-color: var(--th-brass); }
.contact-form { border-top: 3px solid var(--th-brass) !important; }

/* Transparency (93) */
.tr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.tr-stat { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--th-surface); border: 1px solid var(--th-line); color: var(--th-muted); text-decoration: none; font-size: .92rem; line-height: 1.3; }
.tr-stat:hover { border-color: var(--th-brass); }
.tr-stat-n { font-size: 2.2rem; font-weight: 800; color: var(--th-ink); font-variant-numeric: tabular-nums; min-width: 2.5rem; text-align: center; }
.tr-stat small { font-size: .78rem; }
.tr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 767.98px) { .tr-stats, .tr-grid { grid-template-columns: 1fr; } }
.tr-list { list-style: none; padding: 0; margin: 0 0 .5rem; }
.tr-list li { padding: .35rem 0; border-bottom: 1px solid var(--th-line); }
.tr-months { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .6rem; }
.tr-months a { display: block; padding: .75rem 1rem; border: 1px solid var(--th-line); border-radius: 10px; text-decoration: none; background: var(--th-surface-2); }
.tr-months a:hover { border-color: var(--th-brass); }
.tr-months strong { display: block; color: var(--th-ink); }
.tr-months small { color: var(--th-muted); }
.tr-covers { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.tr-covers li { background: var(--th-surface); border-radius: var(--th-radius); padding: 1rem; text-align: center; box-shadow: var(--th-shadow-1); color: var(--th-text); font-size: .9rem; font-weight: 600; }
.tr-covers i { display: block; font-size: 1.25rem; color: var(--th-brass-icon); margin-bottom: .45rem; }
.tr-page .rules-escalate > p { text-align: center; color: var(--th-muted); }
@media (max-width: 767.98px) { .tr-covers { grid-template-columns: 1fr 1fr; } }
.app-roadmap { display: flex; gap: .85rem; align-items: flex-start; margin: 1rem 0; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--th-brass) 45%, transparent); background: color-mix(in srgb, var(--th-brass) 8%, var(--th-surface)); line-height: 1.5; }

/* Sectors (93): one icon and accent per sector (never green/red). */
.sector-grid-v2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.sector-grid-v2 .sector-tile { padding: 1.2rem 1.25rem 1.1rem; border-radius: 14px; border-top: 4px solid var(--sec); gap: .35rem; overflow: hidden; }
.sector-grid-v2 .sector-tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: color-mix(in srgb, var(--sec) 9%, transparent); pointer-events: none; }
.sector-grid-v2 .sector-tile:hover { border-color: var(--th-line-strong); border-top-color: var(--sec); transform: translateY(-2px); box-shadow: var(--th-shadow-2); }
.sector-icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #fff; background: var(--sec); margin-bottom: .35rem; }
.sector-grid-v2 .sector-name { font-size: 1.1rem; font-weight: 800; color: var(--th-ink); text-decoration: none; }
.sector-blurb { font-size: .85rem; color: var(--th-muted); line-height: 1.4; }
.sector-grid-v2 .sector-count { font-size: .8rem; font-weight: 700; color: var(--sec); }
[data-bs-theme=dark] .sector-grid-v2 .sector-count { color: color-mix(in srgb, var(--sec) 45%, #fff); }
[data-bs-theme=dark] .sector-icon { background: color-mix(in srgb, var(--sec) 75%, #fff 0%); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
@media (prefers-reduced-motion: reduce) { .sector-grid-v2 .sector-tile:hover { transform: none; } }

/* Methodology funnel animation (93): steps light up in turn, numbers count, a bar under each shows what's left. */
.mth-funnel figcaption { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.mth-replay { border: 1px solid var(--th-line-strong); background: var(--th-surface); color: var(--th-ink); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: .2rem .7rem; text-transform: none; letter-spacing: 0; }
.mth-replay:hover { border-color: var(--th-brass); }
.mth-funnel li { padding-bottom: 1rem; }
.mth-bar { position: absolute; left: .6rem; right: .6rem; bottom: .5rem; height: 5px; border-radius: 3px; background: var(--th-line); }
.mth-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px; background: var(--th-brass); }
.mth-funnel li.is-final .mth-bar { background: rgba(255,255,255,.2); }
.mth-funnel li.is-final .mth-bar::after { background: #F0B64A; }
@media (max-width: 767.98px) { .mth-bar { left: auto; right: 1rem; width: 30%; bottom: auto; top: 50%; transform: translateY(-50%); } }
/* Animated only when the script has set it up (no script / reduced motion: the finished picture). */
.mth-funnel.is-armed li { opacity: .35; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease, background-color .45s ease, border-color .45s ease, color .45s ease; }
.mth-funnel.is-armed li.is-final { background: var(--th-surface); border-color: var(--th-line); color: inherit; }
.mth-funnel.is-armed li.is-final .mth-funnel-n { color: var(--th-ink); }
.mth-funnel.is-armed li.is-final small { color: var(--bs-secondary-color); }
.mth-funnel.is-armed li .mth-bar::after { width: 0; transition: width .7s cubic-bezier(.2,.7,.2,1); }
.mth-funnel.is-armed li.is-on { opacity: 1; transform: none; border-color: var(--th-brass); }
.mth-funnel.is-armed li.is-on .mth-bar::after { width: var(--w); }
.mth-funnel.is-armed li.is-final.is-on { background: linear-gradient(150deg, #09253B 0%, #12385a 100%); border-color: #09253B; color: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, #F0B64A 40%, transparent); }
.mth-funnel.is-armed li.is-final.is-on .mth-funnel-n, .mth-funnel.is-armed li.is-final.is-on small { color: #fff; }
.mth-funnel.is-armed li.is-done:not(.is-final) { border-color: var(--th-line); }
.mth-funnel.is-armed li:not(:last-child)::after { transition: color .3s, background-color .3s, border-color .3s, transform .3s; }
.mth-funnel.is-armed li.is-done:not(:last-child)::after { background: #F0B64A; border-color: #F0B64A; color: #09253B; transform: translate(50%, -50%) scale(1.1); }
.mth-funnel:not(.is-armed) li:not(:last-child)::after { background: #F0B64A; border-color: #F0B64A; color: #09253B; }
.mth-step-icon { display: inline-flex; width: 2.1rem; height: 2.1rem; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: .35rem; font-size: .95rem; background: color-mix(in srgb, var(--th-brass) 18%, transparent); color: var(--th-brass-icon); }
.mth-funnel li.is-final .mth-step-icon { background: #F0B64A; color: #09253B; }
.mth-funnel.is-armed li.is-final .mth-step-icon { background: color-mix(in srgb, var(--th-brass) 18%, transparent); color: var(--th-brass-icon); }
.mth-funnel.is-armed li.is-final.is-on .mth-step-icon { background: #F0B64A; color: #09253B; }
.mth-funnel.is-armed li .mth-step-icon { transform: scale(.7); transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.mth-funnel.is-armed li.is-on .mth-step-icon { transform: scale(1); }
@media (max-width: 767.98px) { .mth-step-icon { margin-bottom: 0; flex: none; } }
.mth-replay { display: none; }
.mth-funnel.is-armed .mth-replay { display: inline-block; visibility: hidden; }
.mth-funnel.is-armed .mth-replay.is-ready { visibility: visible; }

/* Methodology: "Watch it count" simulation (94). A scripted example on a made-up ticker: messages arrive in a
   mock stream, each gets a verdict, the rule that applied lights up, and the coordination check fires at the end.
   Built by site.js; shown only once ready (no script: the funnel below tells the same story). Never green/red. */
.fs { display: none; margin: 1rem 0 1.5rem; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--th-line); border-radius: 14px; background: var(--th-surface-2); }
.fs.is-ready { display: block; }
.fs-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .8rem; }
.fs-kicker { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--bs-secondary-color); }
.fs-kicker span { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .78rem; }
.fs-play { flex: none; border: 1px solid var(--th-line-strong); background: var(--th-surface); color: var(--th-ink); border-radius: 999px; font-size: .75rem; font-weight: 700; padding: .25rem .75rem; }
.fs-play:hover { border-color: var(--th-brass); }
.fs-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1rem; }
@media (max-width: 767.98px) { .fs-body { grid-template-columns: 1fr; } }
.fs-stream { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: 12px; overflow: hidden; box-shadow: var(--th-shadow-1); height: 430px; position: relative; }
.fs-stream::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(transparent, var(--th-surface)); pointer-events: none; }
@media (max-width: 767.98px) { .fs-stream { height: 380px; } }
.fs-bar { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-bottom: 1px solid var(--th-line); font-size: .75rem; color: var(--th-muted); }
.fs-tick { font-weight: 800; color: var(--th-ink); font-size: .8rem; }
.fs-live { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--th-brass-ink); }
.fs-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--th-brass); animation: fs-blink 1.6s ease-in-out infinite; }
.fs.is-paused .fs-live i { animation: none; opacity: .4; }
@keyframes fs-blink { 50% { opacity: .25; } }
.fs-list { list-style: none; margin: 0; padding: 0; }
.fs-msg { display: grid; grid-template-columns: 30px 1fr auto; gap: .2rem .6rem; align-items: center; padding: .55rem .8rem; border-bottom: 1px solid var(--th-line); font-size: .8rem; animation: fs-in .45s cubic-bezier(.2,.7,.2,1) both; }
.fs-msg.is-dim .fs-txt, .fs-msg.is-dim .fs-who { opacity: .55; }
@keyframes fs-in { from { opacity: 0; transform: translateY(-10px); max-height: 0; } to { opacity: 1; transform: none; max-height: 80px; } }
.fs-av { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .75rem; }
.fs-who { font-weight: 700; color: var(--th-ink); }
.fs-who small { font-weight: 500; color: var(--th-muted); margin-left: .3rem; }
.fs-txt { grid-column: 2; color: var(--th-text); line-height: 1.35; }
.fs-txt b { color: var(--th-ink); }
.fs-verdict { grid-row: span 2; grid-column: 3; align-self: center; font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; border: 1px solid var(--th-line-strong); color: var(--th-muted); background: var(--th-surface); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s cubic-bezier(.3,1.6,.5,1); }
.fs-verdict.is-shown { opacity: 1; transform: none; }
.fs-verdict.is-yes { background: #09253B; border-color: #09253B; color: #fff; }
[data-bs-theme=dark] .fs-verdict.is-yes { background: #F0B64A; border-color: #F0B64A; color: #09253B; }
.fs-verdict.is-flag { border-color: var(--th-brass); color: var(--th-brass-ink); background: color-mix(in srgb, var(--th-brass) 14%, var(--th-surface)); }
.fs-msg.is-flagged { background: color-mix(in srgb, var(--th-brass) 8%, transparent); }
.fs-side { display: flex; flex-direction: column; gap: .75rem; }
.fs-tally { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.fs-tally > div { background: var(--th-surface); border: 1px solid var(--th-line); border-radius: 12px; padding: .6rem .8rem; }
.fs-tally b { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.1; color: var(--th-ink); font-variant-numeric: tabular-nums; }
.fs-tally small { color: var(--th-muted); font-size: .75rem; }
.fs-tally .is-people { border-color: var(--th-brass); }
.fs-tally b.is-bump { animation: fs-bump .45s ease; }
@keyframes fs-bump { 40% { transform: scale(1.18); color: var(--th-brass-ink); } }
.fs-rules { list-style: none; margin: 0; padding: 0; background: var(--th-surface); border: 1px solid var(--th-line); border-radius: 12px; }
.fs-rules li { display: flex; gap: .6rem; align-items: center; padding: .5rem .75rem; border-bottom: 1px solid var(--th-line); font-size: .78rem; line-height: 1.25; transition: background-color .35s; }
.fs-rules li:last-child { border-bottom: 0; }
.fs-rules li > i { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; background: color-mix(in srgb, var(--th-brass) 16%, transparent); color: var(--th-brass-icon); transition: background-color .35s, color .35s, transform .35s; }
.fs-rules strong { display: block; color: var(--th-ink); }
.fs-rules small { color: var(--th-muted); }
.fs-rules li.is-hit { background: color-mix(in srgb, var(--th-brass) 12%, transparent); }
.fs-rules li.is-hit > i { background: #F0B64A; color: #09253B; transform: scale(1.12); }
.fs-floor { display: flex; flex-direction: column; gap: .3rem; border-radius: 12px; padding: .7rem .85rem; color: rgba(255,255,255,.85); background: linear-gradient(150deg, #09253B 0%, #12385a 100%); font-size: .8rem; }
.fs-floor-cap { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #F0B64A; }
.fs-floor-row { display: flex; justify-content: space-between; align-items: baseline; }
.fs-floor .fs-tick { color: #fff; font-size: .95rem; }
.fs-floor b { color: #fff; font-size: 1.05rem; }
.fs-floor-flag { align-self: flex-start; font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; border: 1px solid #F0B64A; color: #F0B64A; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.fs-floor.is-flagged .fs-floor-flag { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fs-msg, .fs-tally b.is-bump, .fs-live i { animation: none; } }
/* Phones: counts and rules above the stream (so the verdicts and what they change are on screen together), Floor after. */
@media (max-width: 767.98px) {
  .fs-side { display: contents; }
  .fs-tally { order: 1; } .fs-rules { order: 2; } .fs-stream { order: 3; height: 300px; } .fs-floor { order: 4; }
  .fs-body { gap: .6rem; }
  .fs-tally b { font-size: 1.4rem; }
  .fs-rules { display: grid; grid-template-columns: 1fr 1fr; }
  .fs-rules li { padding: .4rem .5rem; gap: .4rem; border-bottom: 1px solid var(--th-line); }
  .fs-rules li:nth-child(odd) { border-right: 1px solid var(--th-line); }
  .fs-rules li:nth-last-child(-n+2) { border-bottom: 0; }
  .fs-rules small { display: none; }
  .fs-rules li > i { width: 1.5rem; height: 1.5rem; font-size: .7rem; }
  .fs-msg { grid-template-columns: 26px 1fr; padding: .5rem .65rem; }
  .fs-av { width: 26px; height: 26px; grid-row: 1 / span 3; align-self: start; }
  .fs-who { grid-row: 1; grid-column: 2; }
  .fs-txt { grid-row: 2; }
  .fs-verdict { grid-row: 3; grid-column: 2; justify-self: start; margin-top: .2rem; }
}

/* Position disclosure under the message (95): quiet, one line, no chip. */
.post-disclosure { margin-top: .3rem; font-size: .75rem; color: var(--th-muted); }
.post-disclosure .badge-position { background: none; border: 0; padding: 0; font-weight: 600; color: var(--th-muted); display: inline-flex; align-items: center; gap: .35rem; }
.post-disclosure .badge-position i { color: var(--th-brass-icon); font-size: .7rem; }
.post-disclosure-note { font-weight: 400; }

/* Your Tape header (95): title and lead on the left, a settings icon button top-right (it used to wrap beside the lead). */
.tape-head { display: flex; align-items: flex-start; gap: .75rem; }
.tape-head .btn-icon { flex: none; margin-top: .15rem; }

/* Profile counts are links (95) */
.profile-counts a { color: inherit; text-decoration: none; }
.profile-counts a:hover strong, .profile-counts a:focus-visible strong { text-decoration: underline; }
/* Followers / Following / Watchlist pages (95) */
.plist-head { display: flex; align-items: center; gap: .75rem; }
.plist-back { color: var(--th-ink); width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.plist-back:hover { background: var(--th-surface-2); }
.plist-title { font-size: 1.15rem; font-weight: 800; color: var(--th-ink); }
.plist-people li, .plist-watch li { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--th-line); }
@media (min-width: 576px) { .plist-people li, .plist-watch li { padding: .8rem 1.5rem; } }
.plist-people li:hover, .plist-watch li:hover { background: var(--th-surface-2); }
.plist-name { font-weight: 700; color: var(--th-ink); display: flex; align-items: center; gap: .35rem; }
.plist-name a { color: inherit; text-decoration: none; }
.plist-bio { font-size: .85rem; color: var(--th-text); margin-top: .15rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plist-follow { position: relative; z-index: 2; flex: none; }
.profile-counts { flex-wrap: wrap; row-gap: .35rem; }

/* Static chips are labels, not controls: no hover or press (95). */
.chip.chip-static:hover { border-color: var(--th-line); background: var(--th-surface); }
.chip.chip-static:active { scale: 1; background: var(--th-surface); }
.chip.active:hover, .chip.is-active:hover { background: color-mix(in srgb, var(--th-primary-fill) 12%, var(--th-surface)); }

/* Phones: every app page built as row > col > card goes edge to edge, like the streams (95). Editorial and landing
   pages (no card column) keep their gutters; text beside the cards keeps a 16px gutter. */
@media (max-width: 575.98px) {
  body:not(.has-stream):not(.auth-page) main > .container:has(> .row > [class*="col"] > .card) { padding-left: 0; padding-right: 0; }
  body:not(.has-stream):not(.auth-page) main > .container:has(> .row > [class*="col"] > .card) > .row { margin-left: 0; margin-right: 0; }
  body:not(.has-stream):not(.auth-page) main > .container:has(> .row > [class*="col"] > .card) > .row > [class*="col"] { padding-left: 0; padding-right: 0; }
  body:not(.has-stream):not(.auth-page) main > .container > .row > [class*="col"] > .card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  body:not(.has-stream):not(.auth-page) main > .container:has(> .row > [class*="col"] > .card) > .row > [class*="col"] > :not(.card):not(.row):not(details) { padding-left: 16px; padding-right: 16px; }
  body:not(.has-stream):not(.auth-page) main > .container > .row > [class*="col"] > details.card { border-radius: 0; border-left: 0; border-right: 0; }
}

/* Phones: settings pages edge to edge too (95c). Cards go full width; the tab row, titles and notes keep a 16px gutter. */
@media (max-width: 575.98px) {
  main > .container:has(> .settings-layout) { padding-left: 0; padding-right: 0; }
  .account-nav-list { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; }
  .settings-main > :not(.card):not(form):not(.alert) { padding-left: 16px; padding-right: 16px; }
  .settings-main > .card, .settings-main > form > .card { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .settings-main > .alert { border-radius: 0; border-left: 0; border-right: 0; }
}


/* ===== Design pass 3 (96) ===== */
/* 1. Ticker header: name never cut to "Example…", meta as quiet dot-separated facts, actions aligned to the ticker line. */
.ticker-head-top { align-items: flex-start; }
.ticker-title .ticker-sym { letter-spacing: -.01em; }
.ticker-meta { gap: .2rem 0; margin-top: .3rem; }
.ticker-meta { gap: .35rem; }
.ticker-meta > span, .ticker-meta > a { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: var(--th-surface-2); border: 1px solid var(--th-line); font-size: .75rem; font-weight: 600; color: var(--th-muted); line-height: 1.5; }
.ticker-meta > a:hover { color: var(--th-ink); border-color: var(--th-line-strong); text-decoration: none; }
.ticker-actions { display: flex; align-items: center; gap: .25rem; flex: none; }
.ticker-actions .btn { min-width: 6.5rem; justify-content: center; display: inline-flex; align-items: center; }
@media (max-width: 575.98px) {
  .ticker-head-top { display: grid; grid-template-columns: auto 1fr auto; column-gap: .75rem; }
  .ticker-actions .btn { min-width: 0; }
  .ticker-actions .btn span { display: none; }               /* phones: the star alone, labelled for screen readers below */
  .ticker-actions .btn i { margin: 0 !important; }
  .ticker-actions .btn { width: 40px; height: 40px; padding: 0; border-radius: 10px; }
}

/* 2. Message page: the message you opened reads larger; replies hang off a thread line; context strip calmer. */
.thread-focus .stream-message { padding-top: 1.1rem !important; padding-bottom: 1.1rem !important; }
.thread-focus .post-body { font-size: 1.125rem; line-height: 1.5; color: var(--th-ink); }
.post-context { background: var(--th-surface-2); gap: .75rem 2.25rem; }
.post-context-more { margin-left: auto; align-self: center; font-weight: 600; text-decoration: none; }
.replies-head { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.5rem .25rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--th-muted); }
.replies-head::after { content: ""; flex: 1; height: 1px; background: var(--th-line); }
@media (max-width: 575.98px) { .replies-head { padding: .9rem 14px .25rem; } }
.stream-list.replies { position: relative; }
.stream-list.replies::before { content: ""; position: absolute; top: 0; bottom: 1.5rem; left: calc(1.5rem + 20px); width: 2px; background: var(--th-line); border-radius: 1px; }
@media (max-width: 575.98px) { .stream-list.replies::before { left: calc(14px + 19px); } }
.stream-list.replies .stream-message > .d-flex > a:first-child { position: relative; z-index: 1; }
.stream-list.replies .stream-message > .d-flex > a:first-child > * { box-shadow: 0 0 0 3px var(--th-surface); }

/* 3. Composer: a clear writing box when you're in it (colour only: no size change, so nothing below it moves), tools on one calm row. */
.composer { transition: background-color var(--th-dur-1) var(--th-ease); position: relative; }
.composer:focus-within { background: color-mix(in srgb, var(--th-brass) 5%, var(--th-surface)); }
.composer:focus-within::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--th-brass); }
.composer-bar { padding-top: .5rem; border-top: 1px dashed transparent; }
.composer:focus-within .composer-bar { border-top-color: var(--th-line); }
.composer-bar .btn[type=submit] { min-width: 5rem; }

/* 4. Status and empty pages: one look (icon tile, big code, two clear ways on). */
.status-card { position: relative; overflow: hidden; text-align: center; padding: 2.5rem 1.5rem 2rem !important; }
.status-card::after { content: ""; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid color-mix(in srgb, var(--th-brass) 14%, transparent); pointer-events: none; }
.status-code { display: block; font-size: 3.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--th-brass-ink); margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.status-links { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.empty-icon { width: 3.25rem; height: 3.25rem; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; background: color-mix(in srgb, var(--th-brass) 16%, transparent); color: var(--th-brass-icon); margin-bottom: .9rem; }

/* 6. Ideas board: titles read as headings, not underlined links; vote column lines up. */
[data-idea-list] h2 a { text-decoration: none !important; color: var(--th-ink); font-weight: 700; font-size: 1rem; }
[data-idea-list] h2 a:hover { text-decoration: underline !important; }
[data-idea-list] .chip { min-height: 24px; font-size: .72rem; padding: .05rem .55rem; }
[data-idea-list] > li { padding-bottom: .25rem; }
@media (max-width: 575.98px) { .status-card::after { right: -110px; top: -120px; opacity: .6; } .status-code { font-size: 3rem; } }
.ticker-meta > [hidden] { display: none !important; }
@media (max-width: 575.98px) { .floor-why { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* ===== Design pass 4 (98): launch audit — phone, tablet, desktop ===== */
/* Long button labels wrap inside the button on phones instead of being cut off. */
@media (max-width: 575.98px) { .mth-hero .btn, .status-links .btn, [data-push-toggle] { white-space: normal; text-wrap: balance; max-width: 100%; } }

/* Ticker header on phones: name and actions on the first line, the fact pills on one full-width line below. */
@media (max-width: 575.98px) {
  .ticker-head-top { grid-template-columns: auto 1fr auto; align-items: center; row-gap: .5rem; }
  .ticker-head-text { display: contents; }
  .ticker-head-top > :first-child { grid-row: 1; grid-column: 1; }
  .ticker-head-text > .ticker-title { grid-row: 1; grid-column: 2; min-width: 0; }
  .ticker-head-top > .ticker-actions { grid-row: 1; grid-column: 3; }
  .ticker-head-text > .ticker-meta { grid-row: 2; grid-column: 1 / -1; margin-top: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ticker-head-text > .ticker-meta::-webkit-scrollbar { display: none; }
  .ticker-head-text > .ticker-meta > * { flex: none; }
}

/* Touch targets: about 40px on phones and tablets without changing how anything looks. */
@media (max-width: 991.98px) {
  .post-actions .post-action { min-width: 40px; }
  .post-who { padding: .4rem 0; margin: -.4rem 0; }
  .post-who .post-name, .post-who .post-time { display: inline-block; padding: .4rem 0; margin: -.4rem 0; }
  .stream-tab { min-width: 2.75rem; text-align: center; }
  nav[aria-label="Breadcrumb"] a { display: inline-block; padding: .55rem 0; margin: -.55rem 0; }
  .doc-toc li { padding: 0; }
  .doc-toc a { display: inline-block; padding: .45rem 0; }
  .why-faq > summary, .lp-faq summary { padding-block: .55rem; }
  .ticker-working > summary { padding-block: .5rem; }
  main .form-check:not(.form-switch) .form-check-input { width: 1.25rem; height: 1.25rem; margin-top: .1rem; }
  main .form-check:not(.form-switch) .form-check-label { padding-block: .2rem; }
  .composer-position { min-height: 36px; }
}

/* Profile counts on phones: four even columns, number over label, so nothing wraps and each is a full-size tap. */
@media (max-width: 575.98px) {
  .profile-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: .25rem; font-size: .8125rem; }
  .profile-counts > * { display: flex; flex-direction: column; padding: .35rem 0; min-height: 44px; justify-content: center; }
  .profile-counts strong { font-size: 1.0625rem; line-height: 1.2; }
}

/* Nothing smaller than 12px that people need to read (icon letters and count badges aside). */
.badge-bullish, .badge-bearish, .badge-position, .post-tags .badge { font-size: .75rem; }
.activity-caption, .doc-toc-title, .post-context-label, .tv-note { font-size: .75rem; }
.fs-floor-cap, .fs-floor-flag, .fs-verdict { font-size: .75rem; }
.site-footer h2, footer h2 { font-size: .75rem; }
.bottom-nav .badge { font-size: .6875rem; }
header .header-badge { font-size: .6875rem; }
.bottom-nav a { font-size: .75rem; }
.cashtag > .cashtag-monogram { font-size: .66em; }

/* Sideways rows fade at an edge only while there's more that way (site.js sets the classes). */
.stream-filter, .account-nav-list { mask-image: none; }
.stream-filter.has-more-end, .account-nav-list.has-more-end { mask-image: linear-gradient(90deg, #000 85%, transparent); }
.stream-filter.has-more-start, .account-nav-list.has-more-start { mask-image: linear-gradient(90deg, transparent, #000 15%); }
.stream-filter.has-more-start.has-more-end, .account-nav-list.has-more-start.has-more-end { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
@media (max-width: 575.98px) { .stream-filter { gap: .375rem; } .stream-filter .chip { padding-left: .7rem; padding-right: .7rem; } }
@media (min-width: 992px) { .account-nav-list, .account-nav-list.has-more-end, .account-nav-list.has-more-start { mask-image: none; } }

/* Profile settings: Save stays in reach while you scroll the long form on a phone. */
@media (max-width: 767.98px) {
  .settings-save { position: sticky; bottom: calc(var(--th-bottom-nav-h) + env(safe-area-inset-bottom)); z-index: 3; margin: 1rem -16px 0; padding: .75rem 16px; background: var(--th-surface); border-top: 1px solid var(--th-line); }
  .settings-save .btn { width: 100%; }
}
.settings-save { margin-top: 1rem; }

/* Tablets (768–991px): use the full width, with the sidebar beside the stream instead of hidden. */
@media (min-width: 768px) and (max-width: 991.98px) {
  main > .container { max-width: none; padding-left: 20px; padding-right: 20px; }
  aside.col-md-5 .card { font-size: .9375rem; }
}

/* Empty sidebar Floor card */
.rail-empty a { text-decoration: none; }
.rail-empty a:hover { text-decoration: underline; }
/* Tablet stream column is narrower beside the sidebar: name and time only, the @handle stays on the profile. */
@media (min-width: 768px) and (max-width: 991.98px) { .post-who .post-handle { display: none; } }

/* Phone fields (update 102, _PhoneField): country picker beside the number; the number keeps most of the width. */
.phone-group .phone-country { flex: 0 0 auto; width: 44%; max-width: 13rem; text-overflow: ellipsis; }
.phone-group > .form-control { min-width: 0; }
.phone-field [data-phone-number] { font-variant-numeric: tabular-nums; }

/* Reply in place (Nov 18): the reply box moved under the message being answered, indented to the message text. */
.inline-reply { border-top: 1px solid var(--th-line); background: var(--th-surface-2, rgba(127,127,127,.06)); }
.inline-reply-head { display: flex; align-items: center; gap: .25rem; padding: .6rem 1rem 0; }
@media (min-width: 576px) { .inline-reply { padding-left: calc(42px + 1rem); } .inline-reply-head { padding-left: 1.5rem; padding-right: 1.5rem; } }
.inline-reply > form.composer { border-bottom: 0 !important; }
