/* Self-hosted Mulish (OFL) — the open stand-in for Yahoo Sans, which is
   proprietary and must never be served from here. Real Yahoo Sans wins for
   anyone who has it installed (it leads the font stack). */
@font-face {
  font-family: Mulish;
  src: url("/fonts/mulish-latin.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Mulish;
  src: url("/fonts/mulish-latin-ext.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #ffffff; --ink: #141413; --muted: #5f6368; --line: #cbd5d7;
  --card: #f3f5f6;
  --brand: #141e55; --accent: #141e55;   /* Julius Baer navy */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Yahoo Sans", Mulish, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
html { scroll-behavior: smooth; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  position: sticky; top: 0; z-index: 10;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
section[id] { scroll-margin-top: 84px; }
.brand { display: flex; align-items: center; }
.brand img { height: 54px; display: block; }
.nav nav a { margin: 0 16px; color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.lang-menu { position: relative; }
.lang-btn {
  display: flex; align-items: center; justify-content: center;
  /* 14px×1.6 text line + 2×9px padding + 2×1px border — the globe
     circle matches the Dashboard button's rendered height exactly */
  width: calc(1.6em + 20px); height: calc(1.6em + 20px);
  padding: 0; font-size: 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--muted); cursor: pointer;
}
.lang-btn:hover { color: var(--ink); border-color: var(--muted); }
.lang-list {
  visibility: hidden; opacity: 0; pointer-events: none;
  position: absolute; right: 0; top: 100%; padding-top: 6px;
  z-index: 20; min-width: 170px; transition: opacity .12s ease;
}
.lang-list > a {
  display: block; padding: 8px 12px; font-size: 14px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line);
  border-top-width: 0;
}
.lang-list > a:first-child { border-top-width: 1px; border-radius: 10px 10px 0 0; }
.lang-list > a:last-child { border-radius: 0 0 10px 10px; }
.lang-list > a:hover { background: var(--card); color: var(--ink); }
.lang-list > a.active { color: var(--brand); font-weight: 600; }
.lang-menu:hover .lang-list, .lang-menu:focus-within .lang-list {
  visibility: visible; opacity: 1; pointer-events: auto;
}
.nav-search-wrap {
  display: flex; align-items: center; gap: 8px;
  flex: 1; max-width: 340px; margin: 0 24px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--muted);
}
.nav-search-wrap:focus-within { border-color: var(--muted); background: var(--bg); }
.nav-search-wrap svg { flex: none; }
#home-search {
  border: none; outline: none; background: transparent; color: var(--ink);
  font: inherit; font-size: 14px; line-height: 1.4; width: 100%; min-width: 0;
}
#home-search::placeholder { color: var(--muted); }
#home-suggest {
  position: fixed; z-index: 30; background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px;
  max-height: 262px; overflow-y: auto; font-size: 13px;
  box-shadow: 0 10px 24px rgba(20, 20, 19, .12);
}
#home-suggest .suggest-row { padding: 8px 16px; cursor: pointer; white-space: nowrap; }
#home-suggest .suggest-row.active, #home-suggest .suggest-row:hover { background: var(--card); }
#home-suggest .suggest-name { color: var(--muted); }
#home-suggest .hl { color: var(--brand); }
.btn {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; border: 1px solid var(--ink);
  cursor: pointer; background: transparent; color: var(--ink);
}
.btn-solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-solid:hover { opacity: .85; }
.btn-outline:hover { background: var(--card); }
.btn-wide { width: 100%; text-align: center; }
.hero { padding: 96px 0 64px; max-width: 640px; }
.hero h1 { font-size: 44px; line-height: 1.12; letter-spacing: -.02em; }
.hero h1 .h1-sub {
  display: block; margin-top: 12px;
  font-size: 22px; line-height: 1.4; font-weight: 400;
  letter-spacing: 0; color: var(--muted);
}
.hero p { margin: 20px 0 28px; color: var(--muted); font-size: 18px; }
/* split hero: headline left, live-looking desk-run artifact right */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px; align-items: center; max-width: none;
  /* the market tape sits above: tighten the hero's inherited 96px top */
  padding-top: 40px; padding-bottom: 40px;
}
.hero-grid .hero-cta { margin-top: 28px; }
.hero-note { color: var(--muted); font-size: 15px; margin: 12px 0 0; max-width: 460px; }
.demo {
  background: var(--brand); color: #fff; border-radius: 12px;
  padding: 20px 22px; box-shadow: 0 18px 44px rgba(20, 30, 85, .22);
  font: 13px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.demo-bar { display: flex; gap: 10px; margin-bottom: 16px; }
.demo-bar input {
  flex: 1; min-width: 0; background: rgba(255, 255, 255, .08);
  border: 1px solid #2e3a75; border-radius: 8px; padding: 8px 12px;
  color: #fff; font: inherit; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
}
.demo-bar input:focus { outline: none; border-color: #b3bad9; }
.demo-bar .btn { background: #fff; color: var(--brand); border-color: #fff; font-weight: 700; }
.demo-bar .btn:hover { opacity: .9; }
.demo .memo-head {
  color: #b3bad9; border-bottom: 1px solid #2e3a75;
  padding-bottom: 8px; margin-bottom: 10px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.demo pre { font: inherit; white-space: pre; overflow-x: auto; }
.demo-lines {
  border-top: 1px solid #2e3a75; margin-top: 14px; padding-top: 12px;
  display: grid; gap: 8px;
}
.demo-lines > div { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.demo-lines b { color: #b3bad9; font-weight: 400; }
.hero-copy { border-top: 1px solid var(--line); padding: 44px 0 16px; }
.hero-copy .lead {
  font-size: 26px; line-height: 1.35; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink);
  max-width: 720px; margin-bottom: 32px;
}
.hero-copy .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hero-copy .cols > div { border-left: 3px solid var(--accent); padding-left: 20px; }
.hero-copy .cols b {
  display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.hero-copy .cols p { color: var(--muted); font-size: 16px; margin: 0; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line); padding: 32px 0; margin: 48px 0;
}
.stats b { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 14px; }
.feature { border-top: 1px solid var(--line); padding: 56px 0; }
.feature h2 { font-size: 28px; margin-bottom: 12px; }
.feature p { color: var(--muted); max-width: 560px; }
.cta { text-align: center; padding: 72px 0; border-top: 1px solid var(--line); }
.cta h2 { font-size: 32px; margin-bottom: 24px; }
.page-title { text-align: center; font-size: 42px; padding: 56px 0 8px; }
.page-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }
.plans {
  background: var(--card); border-radius: 16px; padding: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.plan h3 { font-size: 18px; }
.plan .price { font-size: 32px; font-weight: 800; margin: 8px 0; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; color: var(--muted); font-size: 14px; flex: 1; }
.plan li { padding: 3px 0; }
.compare { width: 100%; border-collapse: collapse; margin: 48px 0; }
.compare th, .compare td {
  text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.compare td + td, .compare th + th { text-align: center; }
.form-card {
  max-width: 560px; margin: 0 auto 64px; background: var(--card);
  border-radius: 16px; padding: 32px;
}
.form-card label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); font: inherit; font-size: 15px;
}
.form-card textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 76px); }
.split-left { padding: 96px 48px; }
.split-left h1 { font-size: 40px; line-height: 1.15; max-width: 420px; }
.split-right {
  background: var(--card); display: flex; flex-direction: column;
  justify-content: center; padding: 48px; text-align: center;
}
.split-right h2 { font-size: 26px; margin-bottom: 8px; }
.split-right p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.split-right form { max-width: 360px; margin: 0 auto; width: 100%; }
.split-right input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; margin-bottom: 12px; background: var(--bg);
}
.foot {
  border-top: 1px solid var(--line); padding: 32px;
  display: flex; justify-content: center; align-items: center;
  gap: 10px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.foot a:hover { color: var(--ink); }
.legal { max-width: 720px; margin: 0 auto 64px; padding: 0 24px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal .updated { font-size: 13px; margin-bottom: 8px; }
.billing-toggle { display: flex; justify-content: center; gap: 6px; margin-bottom: 28px; }
.toggle-btn {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); font: inherit; font-size: 14px; font-weight: 600;
  color: var(--muted); cursor: pointer;
}
.toggle-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.toggle-btn .pill {
  font-size: 11px; font-weight: 700; margin-left: 4px; padding: 2px 7px;
  border-radius: 999px; background: #e8f0e8; color: #1b5e20;
}
.toggle-btn.active .pill { background: rgba(255,255,255,.18); color: #fff; }
.plan { position: relative; }
.plan-featured { border: 2px solid var(--brand); box-shadow: 0 6px 24px rgba(20,30,85,.12); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.price-note { color: var(--muted); font-size: 13px; margin-top: -6px; }
.payg {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 24px; margin: 24px 0 8px;
}
.payg span { color: var(--muted); font-size: 14px; display: block; }
.section-title { font-size: 26px; margin: 56px 0 16px; text-align: center; }
.compare .group td {
  font-weight: 700; color: var(--ink); padding-top: 24px; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
}
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.cta-banner { text-align: center; padding: 64px 0 72px; }
.cta-banner h2 { font-size: 30px; margin-bottom: 20px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--card); border-radius: 12px; padding: 20px; font-size: 14px; }
.quote footer { margin-top: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 800px) {
  .stats, .plans { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero h1 .h1-sub { font-size: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy .cols { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy .lead { font-size: 21px; }
  .nav { padding: 16px; gap: 8px; flex-wrap: wrap; }
  .nav .btn { padding: 8px 12px; white-space: nowrap; }
  /* search drops to its own full-width row under brand + CTA */
  .nav-search-wrap { order: 3; flex-basis: 100%; max-width: none; margin: 8px 0 0; }
  .quotes { grid-template-columns: 1fr; }
}

/* market tape — index chips under the nav on the home page (bloomberg.png).
   flex only on :not([hidden]) so the UA's [hidden] rule keeps working (the
   auth test bans display:none anywhere in this sheet, nav-protection) */
/* slim (Vivien 2026-10-04): about 48 px with the news banner matching —
   32 px pills, 8 px above and below */
.tape:not([hidden]) {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.tape-track { display: flex; gap: 10px; flex: 1; overflow-x: auto;
  scrollbar-width: none; }
.tape-track::-webkit-scrollbar { width: 0; height: 0; }
.tape-chip {
  display: inline-flex; align-items: baseline; gap: 8px; flex: 0 0 auto;
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: 9px 14px; font-size: 14px; line-height: 1;
}
.tape-chip b { font-weight: 700; }
.tape-pct { font-weight: 700; }
.tape-pct.up { color: #4ade80; }
.tape-pct.down { color: #f87171; }
.tape-pct.flat { color: #cbd5d7; }
.tape-arrow {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); color: var(--muted);
  cursor: pointer; font-size: 16px; line-height: 1;
}
.tape-arrow:hover { color: var(--ink); border-color: var(--muted); }
@media (max-width: 800px) {
  .tape:not([hidden]) { padding: 6px 12px; }
}

/* hero CTA: the get-started button reads a size up from the nav buttons */
.btn-lg { padding: 14px 30px; font-size: 17px; }

/* home market sections — summary grid, macro trio, top news (home-*.png) */
.mkt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px; margin-top: 24px; align-items: stretch; }
.mkt-card { background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 22px; min-width: 0; }
.mkt-head { display: flex; align-items: baseline; gap: 10px; }
.mkt-head b { font-size: 16px; }
.mkt-sym { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 7px; }
.mkt-big { margin: 6px 0 4px; display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap; }
.mkt-big .mkt-val { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.mkt-pct { font-weight: 700; font-size: 14px; white-space: nowrap; }
.mkt-pct.up { color: #0a8043; }
.mkt-pct.down { color: #d93025; }
.mkt-pct.flat { color: var(--muted); }
.spark { width: 100%; height: auto; display: block; margin-top: 10px; }
.mkt-list-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.mkt-row { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mkt-row:last-child { border-bottom: none; padding-bottom: 0; }
.mkt-row-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.mkt-row-name b { font-size: 14px; white-space: nowrap; }
.mkt-row-right { text-align: right; white-space: nowrap; }
.mkt-row-right .v { display: block; font-weight: 700; font-size: 14px; }
.mkt-row-right .mkt-pct { font-size: 12.5px; }
.mkt-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 24px; }
.dom-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden;
  margin: 10px 0 8px; background: var(--line); }
.dom-bar span { height: 100%; }
.dom-bar .b { background: #b45309; border-right: 2px solid var(--card); }
.dom-bar .e { background: #4f46e5; border-right: 2px solid var(--card); }
.dom-bar .o { background: #0d9488; }
.dom-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px;
  color: var(--muted); margin-bottom: 6px; }
.dom-legend i { display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 5px; }
.dom-legend b { color: var(--ink); }
.dom-title { font-size: 13px; font-weight: 700; margin-top: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px 32px; margin-top: 20px; }
.news-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.news-item a { font-size: 15.5px; font-weight: 600; line-height: 1.45;
  color: var(--ink); }
.news-item a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 900px) {
  .mkt-grid, .mkt-trio, .news-grid { grid-template-columns: 1fr; }
}
.mkt-ico { display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; color: #fff;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0; flex: 0 0 auto; }
.mkt-ico-lg { width: 32px; height: 32px; font-size: 11px; margin-right: 2px; }
.mkt-head { display: flex; align-items: center; gap: 10px; }
.mkt-row-name { align-items: center; }
img.mkt-ico { object-fit: cover; background: none; }
/* per Vivien: instrument names and list titles read regular, not bold */
.mkt-head b, .mkt-row-name b, .mkt-list-title, .dom-title { font-weight: 400; }
/* ...and the values too: quotes, percents, dominance figures all regular */
.mkt-big .mkt-val, .mkt-row-right .v, .mkt-pct, .dom-legend b { font-weight: 400; }
.spark-cap { text-align: center; font-size: 11.5px; color: var(--muted);
  margin-top: 4px; letter-spacing: .04em; }
.spark-tip { position: fixed; z-index: 40; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 12.5px;
  padding: 5px 10px; border-radius: 7px; white-space: nowrap; }
.spark { touch-action: pan-y; }
.bar-lab { font-size: 9px; fill: var(--muted); }
.rate-line { display: flex; align-items: baseline; gap: 10px; margin-top: 6px;
  font-size: 13.5px; color: var(--muted); }
.rate-line #rate-val { font-size: 21px; color: var(--ink); }

/* a price that just moved flashes once: green up, red down (home page,
   Vivien 2026-10-04). Only a changed price flashes, so only a market that
   is trading flickers. Stronger and longer, and the arrow blinks (Vivien
   2026-10-07, "flash stronger and longer, arrow blink on change"). */
@keyframes tick-up { 0%, 35% { background: rgba(10, 128, 67, .45); } 100% { background: transparent; } }
@keyframes tick-down { 0%, 35% { background: rgba(217, 48, 37, .42); } 100% { background: transparent; } }
@keyframes tick-up-dark { 0%, 35% { background: rgba(74, 222, 128, .6); } 100% { background: transparent; } }
@keyframes tick-down-dark { 0%, 35% { background: rgba(248, 113, 113, .6); } 100% { background: transparent; } }
@keyframes arrow-blink { 0%, 40%, 80% { opacity: 1; } 20%, 60% { opacity: .1; } 100% { opacity: 1; } }
.live-a { display: inline-block; }
.tick-up .live-v, .tick-up .live-p,
.tick-down .live-v, .tick-down .live-p { border-radius: 4px; }
.tick-up .live-v, .tick-up .live-p { animation: tick-up 2s ease-out; }
.tick-down .live-v, .tick-down .live-p { animation: tick-down 2s ease-out; }
.tape-chip.tick-up .live-v, .tape-chip.tick-up .live-p { animation-name: tick-up-dark; }
.tape-chip.tick-down .live-v, .tape-chip.tick-down .live-p { animation-name: tick-down-dark; }
.tick-up .live-a, .tick-down .live-a { animation: arrow-blink 1.2s linear; }
@media (prefers-reduced-motion: reduce) {
  .tick-up .live-v, .tick-up .live-p, .tick-up .live-a,
  .tick-down .live-v, .tick-down .live-p, .tick-down .live-a { animation: none; }
}

/* the news banner under the market strip: the latest headlines scroll
   past right to left, pause under the pointer (Vivien 2026-10-04) */
/* the same height as the market strip above it (Vivien 2026-10-04): the
   strip's padding, and a label the size of the strip's price pills */
.newsbar:not([hidden]) {
  display: flex; align-items: center; gap: 12px; overflow: hidden;
  padding: 8px 16px; background: var(--card);
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.newsbar-label {
  flex: 0 0 auto; background: var(--brand); color: #fff; font-weight: 700;
  font-size: 14px; line-height: 1; border-radius: 999px; padding: 9px 14px;
  white-space: nowrap;
}
.newsbar-window { height: 32px; display: flex; align-items: center; }
.newsbar-window { flex: 1; overflow: hidden; min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.newsbar-track { display: inline-flex; flex: 0 0 auto; white-space: nowrap; will-change: transform;
  animation: newsbar-scroll var(--newsbar-time, 60s) linear infinite; }
.newsbar-window:hover .newsbar-track,
.newsbar-window:focus-within .newsbar-track { animation-play-state: paused; }
.newsbar-item { display: inline-flex; align-items: baseline; gap: 8px; padding-right: 36px; }
.newsbar-item a { color: var(--ink); font-weight: 600; }
.newsbar-item a:hover { text-decoration: underline; }
.newsbar-item span { color: var(--muted); font-size: 12.5px; }
.newsbar-item::before { content: "\2022"; color: var(--muted); margin-right: 4px; }
@keyframes newsbar-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .newsbar-track { animation: none; }
  .newsbar-window { overflow-x: auto; mask-image: none; }
}
@media (max-width: 800px) {
  .newsbar:not([hidden]) { padding: 6px 12px; }
  .newsbar-label { display: none; }
}
