/* The rebuilt market page's own sheet (board 06-home-market.html "Market page", 13-b-into-c.html). Shared parts are in
   rb.css; the sheets' look is rb-sheets.css. Phone first: one column, your bar fixed at the foot; from 900px two columns
   (the number and chart left, news right), About as a bar under both, the dock at the foot. */
.rb-market { padding-bottom: calc(var(--rb-hold-h, 5.5rem) + 28px); }
.rb-market .rb-dock { display: none; }
.rb-share { margin-right: -6px; }
.rb-market .rb-bar-r .rb-share { display: grid; }

/* the question */
.rb-m-title { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0 2px; }
.rb-m-title .rb-pic { width: 38px; height: 38px; border-radius: 10px; margin-top: 2px; }
.rb-m-q { min-width: 0; }
.rb-m-q h1 { font: 700 1.375rem/1.18 var(--head); letter-spacing: -.02em; overflow-wrap: anywhere; outline: none; }
.rb-m-q p { margin-top: 3px; font-size: .8125rem; color: var(--muted); }
.rb-m-note { margin-top: 12px; }

/* the number, its caption, the change, the source */
.rb-m-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.rb-m-left { min-width: 0; }
.rb-m-hero { padding-top: 14px; display: grid; gap: 5px; justify-items: start; }
.rb-m-px { font-size: 4rem; letter-spacing: -.02em; display: block; }
.rb-m-cap { font-size: 1rem; color: var(--muted); margin-top: 4px; }
/* board 13 piece 2: the price of each side, small, under the caption */
.rb-m-yn { display: flex; gap: 6px; align-items: center; margin: 2px 0; }
.rb-m-yn span { border: 1px solid var(--line); border-radius: 7px; padding: 3px 8px; font: 500 .78125rem/1.4 var(--body); color: var(--fg); white-space: nowrap; }
.rb-m-yn i { font-style: normal; color: var(--muted); margin-right: 5px; }
/* board 13 piece 4: one fixed-width face for the small numbers (times, chart labels, stats values, the Yes/No prices) */
.rb-m-yn b, [data-rb-page="market"] .rb-time, .rb-mv > span, .rb-ch-y, .rb-ch-x, .rb-ab-facts b { font-family: var(--mono); letter-spacing: -.02em; }
.rb-m-yn b { font-weight: 600; font-size: .92em; }
[data-rb-page="market"] .rb-time, .rb-mv > span { font-size: .92em; }
.rb-m-chg { display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; font-size: .9375rem; }
.rb-m-chg b { font-weight: 500; }
.rb-m-chg > span { color: var(--muted); }
.rb-m-chg b span[aria-hidden] { font-size: .8em; margin-right: 1px; }
.rb-m-chg a { font-weight: 600; min-height: 28px; display: inline-flex; align-items: center; }
.rb-m-chg a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* a holder's change line: "Your side: No · ▼4 pts in 24h" (Head of Design call 3) */
.rb-m-chg-l { min-width: 0; }
/* update 135: on a phone a stand line (A "Still ▼N pts since the … move", B "Back after …") names its move already; the
   "N big moves ›" count beside it would take a second row and push the first story under the bottom bar, so it steps
   aside there (the moves sit under the chart) */
@media (max-width: 899px) { .rb-m-chg:has([data-rb="for-side"][data-state]) > a { display: none; } }
.rb-m-yours { color: var(--muted); }
.rb-m-yours b { color: var(--fg); font-weight: 600; }
.rb-m-src { display: flex; align-items: center; gap: 8px; font-size: .78125rem; color: var(--faint); }
.rb-m-src i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.rb-m-live i { background: var(--sig); }
/* the live dot breathes (board 06 `.live`); still when the reader asks for less motion, grey and still when not live */
@media (prefers-reduced-motion: no-preference) {
  .rb-m-live i { animation: rb-breathe 2.4s ease-in-out infinite; }
  @keyframes rb-breathe { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sig) 45%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
}
.rb-m-title { flex-wrap: wrap; }
.rb-m-title > .rb-m-q { flex: 1 1 0; min-width: 0; }
.rb-m-off { flex: 1 0 100%; margin-bottom: 4px; }

/* your bar: fixed at the foot on a phone */
.rb-m-hold { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px 12px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: rgba(15, 15, 16, .94); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.rb-hold-t { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; font-size: .875rem; color: var(--muted); }
.rb-hold-t b { color: var(--fg); font-weight: 600; }
.rb-hold-t > b:first-child { font-size: .9375rem; flex-basis: 100%; }
.rb-hold-t b.up { color: var(--up); } .rb-hold-t b.dn { color: var(--dn); }
.rb-hold-g { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-hold-r { display: flex; gap: 8px; flex: none; }
.rb-hold-r .rb-btn { min-height: 44px; }
.rb-hold-al { display: none; }
/* words a phone's bar leaves out ("Stop", "Not watching · Yes at 9% saved"); a computer's card says them whole */
.rb-hold-dk { display: none; }
/* "Just watching" on a phone: three buttons do not fit beside the words, so they take their own line and may wrap */
@media (max-width: 899px) {
  .rb-m-hold:has([data-rb="jw"]) { flex-wrap: wrap; }
  .rb-hold-r[data-rb="jw"] { flex: 1 1 100%; flex-wrap: wrap; }
  .rb-hold-r[data-rb="jw"] > .rb-btn:first-child { flex: 1 1 auto; justify-content: center; }
}
.rb-btn-on { color: var(--sig); border-color: rgba(255, 138, 76, .4); }
.rb-m-hold .rb-btn-pri { padding: 0 22px; }

/* the chart: the page's biggest thing. The plot bleeds to the screen's left edge on a phone, the scale sits at the right. */
.rb-ch { position: relative; margin: 14px -16px 0; }
/* the scale's gutter grows with the text size, so "70%" at 200% text never crosses the chart's right edge line (Head of Design, ac67ffe59) */
.rb-ch { --rb-ygut: max(46px, calc(1.8rem + 16px)); }
.rb-ch-plot { position: relative; margin-right: var(--rb-ygut); touch-action: pan-y; cursor: crosshair; outline: none; }
.rb-ch-plot:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 4px; }
.rb-mkc { height: 164px; }
.rb-grid-l { stroke: color-mix(in srgb, var(--line) 75%, transparent); stroke-width: 1; fill: none; } /* board 13 piece 3: faint solid lines */
.rb-mk-area { fill: url(#rb-mkg); stroke: none; }
.rb-mkg0 { stop-color: #ff8a4c; stop-opacity: .13; } .rb-mkg1 { stop-color: #0f0f10; stop-opacity: 0; }
.rb-band { cursor: pointer; }
.rb-ch-end .rb-band { cursor: inherit; } /* the ended page lists no moves for a band to open */
.rb-band-dn { fill: var(--dn-soft); } .rb-band-up { fill: var(--up-soft); }
.rb-bought { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 4; fill: none; }
.rb-now-stale { stroke: var(--muted); }
.rb-bt { position: absolute; left: 16px; transform: translateY(-115%); font-size: .6875rem; color: var(--muted); background: rgba(15, 15, 16, .7); padding: 0 4px; border-radius: 4px; pointer-events: none; white-space: nowrap; }
.rb-bt-up { top: 0; transform: none; } .rb-bt-dn { bottom: 0; transform: none; }
.rb-at-0 { top: 0; transform: translateY(15%); } .rb-at-1 { top: 5%; transform: translateY(15%); } .rb-at-2 { top: 10%; } .rb-at-3 { top: 15%; } .rb-at-4 { top: 20%; } .rb-at-5 { top: 25%; } .rb-at-6 { top: 30%; }
.rb-at-7 { top: 35%; } .rb-at-8 { top: 40%; } .rb-at-9 { top: 45%; } .rb-at-10 { top: 50%; } .rb-at-11 { top: 55%; } .rb-at-12 { top: 60%; } .rb-at-13 { top: 65%; }
.rb-at-14 { top: 70%; } .rb-at-15 { top: 75%; } .rb-at-16 { top: 80%; } .rb-at-17 { top: 85%; } .rb-at-18 { top: 90%; } .rb-at-19 { top: 95%; } .rb-at-20 { top: 100%; }
.rb-ch-y { position: absolute; top: -.55em; right: 10px; height: calc(164px + 1.1em); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: .6875rem; line-height: 1.1; color: var(--faint); font-variant-numeric: tabular-nums; pointer-events: none; }
.rb-ch-x { display: flex; justify-content: space-between; gap: 8px; padding: 8px var(--rb-ygut) 0 16px; font-size: .6875rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.rb-ch-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding: 8px 16px 0 10px; min-height: 40px; }
/* the trades line (boards 06 and 13): one quiet line, at the right of the range row on a computer, its own line on a phone */
.rb-ch-crowd { flex: 1 0 100%; min-width: 0; margin: 0; padding: 6px 0 2px 6px; font-size: .75rem; line-height: 1.4; color: var(--faint); overflow-wrap: anywhere; }
/* "Prices from Polymarket" sits on the line under the chart's hours (Head of Design phone call 1) */
.rb-ch-src { flex: 0 1 auto; min-width: 0; margin: 0; padding: 4px 0 4px 6px; }
.rb-ch-hint { flex: 1 1 0; min-width: 0; margin-left: auto; font-size: .75rem; color: var(--faint); text-align: right; } /* shrinks beside the tabs, never takes a row of its own */
.rb-ch-foot .rb-tabs button { min-height: 40px; min-width: 40px; }
/* update 130 live, market 4718 at 390: beside 1D 1W 1M All and the source line the hint squeezed to one word a line.
   Head of Design (update 131): keep it; on a phone it takes its own line under the range row and the source line,
   left-aligned with the source words, and wraps normally at 200% text. A computer still hides it (below). */
@media (max-width: 899px) {
  .rb-ch-hint { flex: 1 0 100%; margin-left: 0; padding: 0 0 0 6px; text-align: left; }
}
/* the one label under the finger or the pointer (the browser places these three) */
.rb-ch-tip { position: absolute; top: -12px; z-index: 2; transform: translate(-50%, -100%); background: var(--surf2); border: 1px solid var(--line); color: var(--fg); font: 600 .6875rem/1 var(--mono); letter-spacing: -.02em; padding: 5px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.rb-ch-rule { position: absolute; top: -8px; bottom: 0; width: 1px; background: repeating-linear-gradient(to bottom, var(--muted) 0 3px, transparent 3px 6px); pointer-events: none; }
/* board 13 piece 1: untouched, the readout rests on the latest price (its label by the live dot; the dot itself is the chart's) */
.rb-ch-rest .rb-ch-tip { transform: translate(-50%, calc(-100% - 12px)); }
.rb-ch-rest .rb-ch-tip.rb-ch-tip-under { transform: translate(-50%, 12px); }
/* update 141 (F-chart-pill): the client places it from its top edge, clear of the line (rb/charts.js restTip) */
.rb-ch-rest .rb-ch-tip.rb-ch-tip-at { transform: translate(-50%, 0); }
.rb-ch-rest .rb-ch-rule { top: 0; }
.rb-ch-rest .rb-ch-pt { display: none; }
.rb-ch-pt { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg); pointer-events: none; }

/* About on a phone: one quiet row; the bar is the computer's */
.rb-ab-row { display: flex; width: 100%; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 56px; }
.rb-ab-row > span:first-child { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rb-ab-row b { font: 600 .9375rem var(--body); }
.rb-ab-row small { font-size: .78125rem; color: var(--muted); }
.rb-ab-row > span:last-child { color: var(--muted); font-size: 1.125rem; }
.rb-ab-bar { display: none; }
.rb-m-about { display: grid; }
.rb-ab-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px 20px; }
.rb-ab-facts span, .rb-ab-rule > span { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 4px; }
.rb-ab-facts b { font-weight: 500; font-size: .9375rem; }
.rb-ab-rule p { font-size: .9375rem; line-height: 1.45; overflow-wrap: anywhere; }
.rb-ab-rule .rb-link { display: inline-flex; min-height: 36px; align-items: center; font-size: .84375rem; }
.rb-ab-how p { color: var(--muted); font-size: .875rem; }
.rb-ab-sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 86vh; background: var(--surf); color: var(--fg); border-radius: 18px 18px 0 0; border-top: 1px solid var(--line); overflow: auto; }
.rb-ab-sheet::backdrop { background: rgba(0, 0, 0, .6); }
.rb-ab-in { display: grid; gap: 18px; padding: 14px 18px max(24px, env(safe-area-inset-bottom)); }
.rb-ab-in header { display: flex; align-items: center; justify-content: space-between; }
.rb-ab-in h2 { font: 700 1.0625rem var(--head); }
.rb-ab-in .rb-x { width: 44px; height: 44px; margin-right: -10px; }
.rb-ab-q { font: 600 1rem/1.3 var(--head); }

/* news and posts */
.rb-m-feed { margin-top: 16px; min-width: 0; scroll-margin-top: 12px; }
.rb-m-feed .rb-hd { scroll-margin-top: 12px; margin-bottom: 10px; }
.rb-m-feed .rb-hd h2 { font-size: 1.1875rem; }
.rb-mv { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; margin-top: 10px; scroll-margin-top: 14px; outline: none; }
.rb-mv-dn { background: rgba(238, 107, 132, .12); } .rb-mv-up { background: rgba(79, 195, 138, .11); }
.rb-mv b { font-weight: 600; font-size: .9375rem; }
.rb-mv b span[aria-hidden] { font-size: .8em; margin-right: 1px; }
.rb-mv > span { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rb-mv-go { box-shadow: 0 0 0 2px var(--fg); }
.rb-mv-yours { font-style: normal; font-size: .875rem; font-weight: 600; color: var(--fg); }
.rb-mv-yours span[aria-hidden] { font-size: .8em; margin-right: 1px; }
/* the move and its first story, one card (Head of Design phone call 1); the move's other stories follow under it */
.rb-mvx { margin-top: 10px; border-radius: 12px; }
.rb-mvx-dn { background: rgba(238, 107, 132, .12); } .rb-mvx-up { background: rgba(79, 195, 138, .11); }
.rb-mvx > .rb-mv { margin-top: 0; padding-bottom: 2px; background: none; }
.rb-mvx > .rb-tl { margin: 0; padding: 0 14px 2px; }
.rb-mvx > .rb-tl > .rb-it { border-bottom: 0; padding: 6px 0 12px; }
.rb-mvx > .rb-tl > .rb-it::before, .rb-mvx > .rb-tl > .rb-it::after { display: none; }
.rb-mvx > .rb-mv-go { box-shadow: none; }
.rb-mvx:has(> .rb-mv-go) { box-shadow: 0 0 0 2px var(--fg); }
.rb-mv-more { margin-top: 2px; }
.rb-mv-none { padding: 10px 0 4px; }
/* B9 run 8 (KHA-208): on a phone a holder's move card puts its time beside "Price moved" (wrapping under it when it does not fit), so the lead story's headline clears
   the bar at the foot on the first screen (for a holder only the chart is 124px there, the feed 8px closer, for the same reason).
   KHA-210: at 390 a signed-out visitor's lead headline ran under the bar too, so 30px of gaps around the chart's foot come out
   on a phone (the hint's bottom padding above; the hint, the range tabs and their 40px targets all stay). The news header and
   the first move card share one collapsed margin, so both drop to 6px. */
@media (max-width: 899px) {
  .rb-ch { margin: 8px -16px 0; }
  .rb-ch-x { padding: 4px var(--rb-ygut) 0 16px; }
  .rb-ch-foot { padding: 2px 16px 0 10px; }
  .rb-ch-crowd { padding: 2px 0 0 6px; }
  .rb-m-feed .rb-hd { margin-bottom: 6px; }
  .rb-m-feed .rb-hd + .rb-mv, .rb-m-feed .rb-hd + .rb-mvx { margin-top: 6px; }
  .rb-m-held .rb-mkc { height: 124px; }
  .rb-m-held .rb-ch-y { height: calc(124px + 1.1em); }
  .rb-m-feed { margin-top: 8px; }
  .rb-mv:has(> .rb-mv-yours) { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 12px; }
  .rb-mv:has(> .rb-mv-yours) > span { order: 1; }
  .rb-mv:has(> .rb-mv-yours) > .rb-mv-yours { order: 2; flex: 1 0 100%; }
}
/* KHA-210: on a 320 phone a holder's lead headline still ran 81px under the bar at the foot (the question, the move card and
   the headline each take a line more than at 390), so under 360px wide the question, the number and the holder's chart are
   smaller and the gaps above the chart tighter. Nothing is hidden; 390 and wider are unchanged.
   KHA-223: a signed-out visitor's lead headline still ended 35px under the Watch bar there, so a watcher's chart is 120px
   under 360px wide too (a holder's stays 96px, it has the Your Yes line to fit). */
@media (max-width: 359px) {
  .rb-m-title { padding-top: 2px; }
  .rb-m-q h1 { font-size: 1.25rem; }
  .rb-m-hero { padding-top: 8px; gap: 3px; }
  .rb-m-px { font-size: 3.25rem; }
  .rb-m-cap { margin-top: 0; }
  .rb-ch { margin-top: 4px; }
  .rb-mkc { height: 120px; }
  .rb-ch-y { height: calc(120px + 1.1em); }
  .rb-m-held .rb-mkc { height: 96px; }
  .rb-m-held .rb-ch-y { height: calc(96px + 1.1em); }
}
.rb-sub { font: 600 .8125rem var(--body); color: var(--muted); margin: 22px 0 2px; }
.rb-last { padding-top: 0; }
/* a card's first line wraps at large text (the time drops under the source), so it never pushes the page wide */
.rb-m-feed .rb-meta { flex-wrap: wrap; row-gap: 2px; }
/* an ended market's cards carry long timing words ("14 min after the result"): they wrap, so large text never widens the page */
.rb-m-ended .rb-meta { flex-wrap: wrap; row-gap: 2px; }
.rb-m-ended .rb-time { white-space: normal; text-align: right; flex: 0 1 auto; min-width: 0; }
.rb-m-ended .rb-meta > span.rb-time { white-space: normal; }
.rb-m-feed .rb-foot { margin-top: 2px; gap: 2px 14px; }
.rb-m-feed .rb-foot a { min-height: 24px; display: inline-flex; align-items: center; }
.rb-it-fold { padding-top: 4px; padding-bottom: 4px; }
.rb-it-fold::after { display: none; }
.rb-it-fold summary { cursor: pointer; font-size: .8125rem; font-weight: 600; color: var(--muted); min-height: 36px; display: flex; align-items: center; list-style: none; }
.rb-it-fold summary::-webkit-details-marker { display: none; }
.rb-it-fold summary:hover { color: var(--fg); }
.rb-it-fold .rb-it:last-child { border-bottom: 0; }
.rb-more { margin-top: 14px; width: 100%; min-height: 44px; }

/* also on Sweat */
.rb-also-on { margin-top: 30px; }
.rb-also-on h2 { font: 700 1.0625rem var(--head); margin-bottom: 6px; }
.rb-also-on a { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 56px; }
.rb-also-q { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rb-also-q b { font-weight: 600; font-size: .90625rem; overflow-wrap: anywhere; }
.rb-also-q small, .rb-also-p small { font-size: .75rem; color: var(--muted); }
.rb-also-p { display: grid; justify-items: end; gap: 3px; flex: none; }
.rb-also-p .px { font-size: 1.125rem; }
.rb-also-p small.up { color: var(--up); } .rb-also-p small.dn { color: var(--dn); }
.rb-also-on a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* the page's own small toast (a copied link) */
.rb-m-toast { position: fixed; z-index: 40; left: 50%; bottom: calc(var(--rb-hold-h, 4.5rem) + 12px); transform: translateX(-50%); background: #dcd7d1; color: #18181a; font: 600 .8125rem/1 var(--body); padding: 11px 16px; border-radius: 10px; box-shadow: 0 18px 40px -16px #000; white-space: nowrap; }
/* the sheets' toast sits above your bar */
.rb-market [data-rb-sheets] .toast { bottom: calc(var(--rb-hold-h, 4.5rem) + 12px); }

/* your bar is not drawn when it has nothing to say (an ended market with no side, after Stop) */
.rb-m-hold:empty { display: none; }

/* the free day of X: a locked post (ghost lines, "Post locked · Pro shows it") and the day's line over the feed */
.rb-lk { display: grid; gap: 8px; margin-top: 2px; }
.rb-lk-ghost { display: grid; gap: 7px; }
.rb-lk-ghost i { display: block; height: 9px; border-radius: 5px; background: var(--surf2); }
.rb-lk-ghost i:last-child { width: 62%; }
.rb-lk-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: .84375rem; color: var(--muted); }
.rb-lk-msg b { color: var(--fg); font-weight: 600; }
.rb-lk-i { width: 15px; height: 15px; flex: none; }
.rb-lk-go { display: inline-flex; align-items: center; min-height: 40px; padding: 0; font: 600 .84375rem var(--body); color: var(--sig); text-decoration: underline; text-decoration-color: rgba(255, 138, 76, .4); text-underline-offset: 3px; cursor: pointer; }
.rb-lk-go:hover { text-decoration-color: currentColor; }
.rb-xday { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-bottom: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surf); font-size: .84375rem; color: var(--muted); }
.rb-xday .rb-lk-i { margin: 8px 0; }
.rb-xday > span { flex: 1 1 14em; min-width: 0; }

/* an ended market: the banner, the result, what it meant for your side, the biggest moves */
.rb-end-ban { display: grid; gap: 1px; padding: 10px 14px; border-radius: 12px; background: var(--surf); border: 1px solid var(--line); font-size: .8125rem; color: var(--muted); margin-bottom: 6px; }
.rb-end-ban b { color: var(--fg); font-weight: 600; font-size: .90625rem; }
.rb-m-ended .rb-m-hero { padding-top: 14px; }
.rb-end-res { display: flex; align-items: center; gap: 10px; font: 700 2.25rem/1.1 var(--head); letter-spacing: -.02em; overflow-wrap: anywhere; }
.rb-end-res b { font-weight: 700; min-width: 0; }
.rb-end-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; background: var(--surf2); color: var(--muted); }
.rb-end-mark svg { width: 18px; height: 18px; }
.rb-end-yes .rb-end-mark { background: var(--up-soft); color: var(--up); }
.rb-end-no .rb-end-mark { background: var(--dn-soft); color: var(--dn); }
.rb-end-meta { font-size: .875rem; }
.rb-end-note { font-size: .875rem; color: var(--muted); }
.rb-end-note b { font-weight: 600; margin-left: 6px; }
.rb-end-note b.up { color: var(--up); } .rb-end-note b.dn { color: var(--dn); }
.rb-m-hero > .rb-link, .rb-collect { display: inline-flex; align-items: center; min-height: 40px; font-size: .875rem; }
.rb-end-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 420px; margin-top: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); }
.rb-end-box > span { display: grid; gap: 1px; min-width: 0; }
.rb-end-box b { font-weight: 600; font-size: .9375rem; }
.rb-end-box small { font-size: .78125rem; color: var(--muted); }
.rb-end-won { border-color: rgba(79, 195, 138, .4); }
.rb-end-amt { font: 700 1.125rem var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-end-tag { position: absolute; top: 4px; right: 4px; z-index: 1; font-size: .6875rem; color: var(--muted); background: rgba(15, 15, 16, .7); padding: 0 4px; border-radius: 4px; pointer-events: none; white-space: nowrap; }
.rb-mk-n { position: absolute; top: 24px; z-index: 1; transform: translateX(-50%); min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 4px; border-radius: 9px; background: var(--fg); color: #18181a; font: 700 .6875rem/1 var(--body); pointer-events: none; }
.rb-px-0 { left: 0%; } .rb-px-1 { left: 1%; } .rb-px-2 { left: 2%; } .rb-px-3 { left: 3%; } .rb-px-4 { left: 4%; } .rb-px-5 { left: 5%; } .rb-px-6 { left: 6%; } .rb-px-7 { left: 7%; } .rb-px-8 { left: 8%; } .rb-px-9 { left: 9%; } .rb-px-10 { left: 10%; } .rb-px-11 { left: 11%; } .rb-px-12 { left: 12%; } .rb-px-13 { left: 13%; } .rb-px-14 { left: 14%; } .rb-px-15 { left: 15%; } .rb-px-16 { left: 16%; } .rb-px-17 { left: 17%; } .rb-px-18 { left: 18%; } .rb-px-19 { left: 19%; } .rb-px-20 { left: 20%; } .rb-px-21 { left: 21%; } .rb-px-22 { left: 22%; } .rb-px-23 { left: 23%; } .rb-px-24 { left: 24%; } .rb-px-25 { left: 25%; } .rb-px-26 { left: 26%; } .rb-px-27 { left: 27%; } .rb-px-28 { left: 28%; } .rb-px-29 { left: 29%; } .rb-px-30 { left: 30%; } .rb-px-31 { left: 31%; } .rb-px-32 { left: 32%; } .rb-px-33 { left: 33%; } .rb-px-34 { left: 34%; } .rb-px-35 { left: 35%; } .rb-px-36 { left: 36%; } .rb-px-37 { left: 37%; } .rb-px-38 { left: 38%; } .rb-px-39 { left: 39%; } .rb-px-40 { left: 40%; } .rb-px-41 { left: 41%; } .rb-px-42 { left: 42%; } .rb-px-43 { left: 43%; } .rb-px-44 { left: 44%; } .rb-px-45 { left: 45%; } .rb-px-46 { left: 46%; } .rb-px-47 { left: 47%; } .rb-px-48 { left: 48%; } .rb-px-49 { left: 49%; } .rb-px-50 { left: 50%; } .rb-px-51 { left: 51%; } .rb-px-52 { left: 52%; } .rb-px-53 { left: 53%; } .rb-px-54 { left: 54%; } .rb-px-55 { left: 55%; } .rb-px-56 { left: 56%; } .rb-px-57 { left: 57%; } .rb-px-58 { left: 58%; } .rb-px-59 { left: 59%; } .rb-px-60 { left: 60%; } .rb-px-61 { left: 61%; } .rb-px-62 { left: 62%; } .rb-px-63 { left: 63%; } .rb-px-64 { left: 64%; } .rb-px-65 { left: 65%; } .rb-px-66 { left: 66%; } .rb-px-67 { left: 67%; } .rb-px-68 { left: 68%; } .rb-px-69 { left: 69%; } .rb-px-70 { left: 70%; } .rb-px-71 { left: 71%; } .rb-px-72 { left: 72%; } .rb-px-73 { left: 73%; } .rb-px-74 { left: 74%; } .rb-px-75 { left: 75%; } .rb-px-76 { left: 76%; } .rb-px-77 { left: 77%; } .rb-px-78 { left: 78%; } .rb-px-79 { left: 79%; } .rb-px-80 { left: 80%; } .rb-px-81 { left: 81%; } .rb-px-82 { left: 82%; } .rb-px-83 { left: 83%; } .rb-px-84 { left: 84%; } .rb-px-85 { left: 85%; } .rb-px-86 { left: 86%; } .rb-px-87 { left: 87%; } .rb-px-88 { left: 88%; } .rb-px-89 { left: 89%; } .rb-px-90 { left: 90%; } .rb-px-91 { left: 91%; } .rb-px-92 { left: 92%; } .rb-px-93 { left: 93%; } .rb-px-94 { left: 94%; } .rb-px-95 { left: 95%; } .rb-px-96 { left: 96%; } .rb-px-97 { left: 97%; } .rb-px-98 { left: 98%; } .rb-px-99 { left: 99%; } .rb-px-100 { left: 100%; }
.rb-bml { display: grid; }
.rb-bm { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rb-bn { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--surf2); font: 700 .75rem var(--body); }
.rb-bt2 { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rb-bt2 b { font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.rb-bt2 b span[aria-hidden] { font-size: .8em; margin-right: 1px; }
.rb-bt2 small { font-size: .78125rem; color: var(--muted); }
.rb-bm > span:last-child { color: var(--muted); font-size: 1.125rem; }
.rb-bm:hover b { text-decoration: underline; text-underline-offset: 3px; }
.rb-m-ended .rb-bml + .rb-mv { margin-top: 22px; }
.rb-m-ended .rb-m-feed .rb-hd:not(:first-child) { margin-top: 26px; }
/* board 08's ended News: the result's row first, then the last stories */
.rb-end-row { display: grid; gap: 2px; margin: 4px 0 6px; padding: 10px 14px; border-radius: 12px; background: var(--surf); font-size: .8125rem; color: var(--muted); }
.rb-end-row b { color: var(--fg); font-weight: 600; }
.rb-around-n { padding: 0 0 6px; font-size: .8125rem; }
/* board 08 "Stop and Undo": one wide toast, the market on the first line, "Your side stays saved." under it, Undo as a chip */
.rb-m-toast-undo { display: flex; align-items: center; justify-content: space-between; gap: 14px; white-space: normal; width: calc(100vw - 32px); max-width: 440px; padding: 10px 10px 10px 14px; font: 500 .8125rem/1.35 var(--body); }
.rb-tst-s { display: block; font-weight: 400; color: #4a4744; }
.rb-m-toast-undo button { flex: 0 0 auto; font: 600 .8125rem var(--body); background: #c6c0b9; color: #18181a; border-radius: 8px; padding: 0 14px; min-height: 40px; min-width: 44px; }
.rb-m-toast-undo button:focus-visible { outline: 2px solid #18181a; outline-offset: 2px; }

@media (min-width: 900px) {
  .rb-market { padding-bottom: 120px; }
  .rb-market .rb-dock { display: flex; }
  .rb-m-title { padding-top: 2px; align-items: center; }
  .rb-m-q h1 { font-size: 1.625rem; }
  .rb-m-grid { grid-template-columns: minmax(0, 1.72fr) minmax(320px, 1fr); gap: 0 56px; margin-top: 10px; align-items: start; }
  .rb-m-top { display: flex; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
  .rb-m-px { font-size: 5rem; }
  .rb-m-cap { font-size: 1.0625rem; }
  /* your bar: a compact card beside the number, never a row of its own above the chart (B9 F-signed-out-03: at 1280x800
     the chart's hours and range tabs must clear the dock) */
  .rb-m-top { flex-wrap: nowrap; justify-content: space-between; }
  .rb-m-hold { position: static; flex: 0 1 300px; min-width: 0; flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surf); backdrop-filter: none; }
  .rb-m-hold .rb-hold-t { flex: none; padding: 0 4px; }
  .rb-m-hold .rb-hold-r { flex-wrap: wrap; }
  .rb-m-hold .rb-hold-r .rb-btn { flex: 1 1 auto; justify-content: center; }
  .rb-hold-r .rb-btn { min-height: 40px; }
  .rb-hold-al, .rb-hold-dk { display: inline; }
  .rb-ch { margin: 22px 0 0; }
  .rb-ch { --rb-ygut: max(52px, calc(1.8rem + 8px)); }
  .rb-ch-plot { margin-right: var(--rb-ygut); }
  /* the chart is as tall as the window allows under the number and over the dock: 268px at 800 high, 300px at most */
  .rb-market { --rb-ch-h: clamp(200px, calc(100vh - 532px), 300px); }
  .rb-mkc { height: var(--rb-ch-h); }
  .rb-ch-y { height: calc(var(--rb-ch-h) + 1.1em); right: 0; width: calc(var(--rb-ygut) - 8px); align-items: flex-start; }
  .rb-bt { left: 4px; }
  .rb-ch-x { padding: 8px var(--rb-ygut) 0 0; }
  .rb-ch-foot { padding: 10px var(--rb-ygut) 0 0; }
  .rb-ch-hint { display: none; }
  .rb-ch-crowd { flex: 0 1 auto; margin-left: auto; padding: 0; text-align: right; }
  .rb-ab-row { display: none; }
  .rb-ab-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px 56px; margin-top: 34px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .rb-ab-sheet { margin: auto; border-radius: 18px; border: 1px solid var(--line); }
  .rb-m-feed { margin-top: 6px; }
  .rb-also-on > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
  .rb-m-toast, .rb-market [data-rb-sheets] .toast { bottom: 96px; }
  /* an ended market's bar sits under its chart as one row (board 08 "An ended market") */
  /* the ended chart has no range tabs, and its hint is hidden here: no empty foot between the chart and the bar */
  .rb-m-ended .rb-ch-end .rb-ch-foot:not(:has(> :not(.rb-ch-hint))) { display: none; }
  .rb-m-ended .rb-m-left > .rb-m-hold { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 16px; padding: 8px 8px 8px 14px; }
  .rb-m-ended .rb-m-left > .rb-m-hold .rb-hold-r { flex-wrap: nowrap; }
  .rb-m-ended .rb-m-left > .rb-m-hold .rb-hold-r .rb-btn { flex: 0 0 auto; }
  /* after Stop on a live market the card is one row, the words then Watch again (board 08 "Stop and Undo") */
  .rb-m-hold:has([data-rb="not-watching"]) { flex-direction: row; align-items: center; flex-basis: 380px; padding: 8px 8px 8px 14px; }
  .rb-m-hold:has([data-rb="not-watching"]) .rb-hold-t { flex: 1 1 auto; padding: 0; font-size: .875rem; }
  .rb-m-hold:has([data-rb="not-watching"]) .rb-hold-r .rb-btn { flex: 0 0 auto; }
}
/* large text on a narrow screen: your bar stacks rather than squeezing */
@media (max-width: 899px) {
  .rb-m-hold { flex-wrap: wrap; } .rb-hold-r { margin-left: auto; }
  /* the "bought 42%" label gets the price pill's backing, so the line never runs through its words (Head of Design, 200% text) */
  .rb-bt { background: var(--surf2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; z-index: 1; }
  /* a holder's bar at large text (its inside under 18em: 150% text or more on a phone, never a 320 phone at 100%, which is 19.2em): the words take the top line, "bought at"
     shortens before it wraps, and the money sits on the button row: two lines, not four (Head of Design, 200% text) */
  .rb-m-hold { container: rb-hold / inline-size; }
  /* phone tap targets, 40px or more: a card's source link, "N moves", a fold's line (a card's words: rb.css a.rb-h) */
  .rb-m-feed .rb-foot a, .rb-m-chg a { min-height: 40px; }
  .rb-it-fold summary { min-height: 40px; }
}
@container rb-hold (max-width: 18em) {
  .rb-hold-t[data-rb="yours"] { display: contents; }
  .rb-hold-t[data-rb="yours"] > span { flex: 1 0 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
.rb-it[data-go] { box-shadow: -3px 0 0 var(--sig); }
@media (prefers-reduced-motion: no-preference) { .rb-mv { transition: box-shadow var(--rb-t-fast) var(--rb-ease); } }

/* update 133: the held side's top line ("▲6 pts for your Yes in 24h"; "Your Yes: ▲1 pt in 24h · calm"); its Big move tag
   ends the Yes/No line, so the change line keeps one line on a phone */
.rb-m-yn { flex-wrap: wrap; }
.rb-m-calm { color: var(--muted); }

/* update 135 (Head of Design and the CTO, B9 run 4 F-pro-five-04): a computer's toast in the dock row, never over the page
   (src/fp/rb/dockToast.client.js measures the dock and the content edge): the pill's top and height, right-aligned to the content,
   16px or more right of the search, at most 320px, on the page ground. With no room in the row it sits directly above the
   dock when that space is empty, and waits (hidden) otherwise. The phone keeps today's toast above the bar. */
@media (min-width: 900px) {
  .rb-market [data-rb-sheets] .toast.rb-dt { position: fixed; z-index: 46; top: var(--rb-dt-top, auto); bottom: auto; left: auto; right: var(--rb-dt-r, 16px); transform: none; margin: 0;
    box-sizing: border-box; width: max-content; max-width: var(--rb-dt-w, 320px); height: var(--rb-dt-h, 50px); min-height: 0; display: flex; align-items: center; gap: 10px;
    padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); box-shadow: none; font: 500 .8125rem/1.3 var(--body); }
  .rb-market [data-rb-sheets] .toast.rb-dt > span { flex: 1 1 auto; min-width: 0; padding: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  /* the swap's line is one line: "Swapped to {short title}", cut with … past its width */
  .rb-market [data-rb-sheets] .toast.rb-dt[data-ref="toast.swapped"] > span { display: block; white-space: nowrap; text-overflow: ellipsis; }
  .rb-market [data-rb-sheets] .toast.rb-dt button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 8px; background: var(--surf2); color: var(--fg); font: 600 .8125rem var(--body); }
  .rb-market [data-rb-sheets] .toast.rb-dt button:focus-visible { outline: 2px solid var(--sig); outline-offset: 2px; }
  .rb-market [data-rb-sheets]:not([data-rb-dt="row"]):not([data-rb-dt="above"]) .toast.rb-dt { visibility: hidden; }
  /* update 139: the first save's "Pro: …" line under the dock toast's words; the toast grows to hold it */
  .rb-market [data-rb-sheets] .toast.rb-dt:has(> .rb-pro-line) { top: auto; bottom: calc(100vh - var(--rb-dt-top, 0px) - var(--rb-dt-h, 50px)); height: auto; min-height: var(--rb-dt-h, 50px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1px 10px; padding: 3px 6px 4px 14px; }
  .rb-market [data-rb-sheets] .toast.rb-dt:has(> .rb-pro-line) > .rb-pro-line { grid-column: 1 / -1; }
  /* update 141 (m140c, cause found by a Fable helper): the dock band is opaque at the foot; the first save's toast (with the
     Pro line) grew 32px above it onto the story row there. In the dock row it now stays inside the band: 10px lower, its
     button 30px and the Pro line 1.25 tall (about 70px, was 95) */
  .rb-market [data-rb-sheets][data-rb-dt="row"] .toast.rb-dt:has(> .rb-pro-line) { bottom: calc(100vh - var(--rb-dt-top, 0px) - var(--rb-dt-h, 50px) - 10px); }
  .rb-market [data-rb-sheets] .toast.rb-dt:has(> .rb-pro-line) button { min-height: 30px; }
  /* update 140: while the dock toast shows, room at the page's bottom equal to its height (dockToast.client.js --rb-dt-room) */
  .rb-market [data-rb-sheets]:is([data-rb-dt="row"], [data-rb-dt="above"]):has(.toast.rb-dt) { padding-bottom: var(--rb-dt-room, 0px); }
  .rb-market [data-rb-sheets] .toast.rb-dt > .rb-pro-line { display: block; overflow: visible; -webkit-line-clamp: none; padding: 0 8px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.25; }
}

/* update 137 (careDecision_1114): the holder's label (kit holderCare) leads the change line, on its own line above it */
.rb-m-chg > .rb-m-care { flex-basis: 100%; font: 600 .8125rem/1.3 var(--body); letter-spacing: .01em; }
.rb-m-care.rb-care-against { color: var(--dn); }
.rb-m-care.rb-care-big { color: var(--up); }
.rb-m-care.rb-care-back, .rb-m-care.rb-care-quiet { color: var(--muted); font-weight: 500; }
/* update 140 (m139c): "Stop watching" reads with one word space, not the button's 7px flex gap (the span keeps its own
   leading space) */
.rb-hold-r .rb-stop { column-gap: 0; }
.rb-hold-r .rb-stop .rb-hold-dk { white-space: pre; }

/* KHA-93: the question, the number and the chart stay beside the news on a computer, right under the bar (rb.css, desktop
   scroll); the feed starts level with the question */
@media (min-width: 900px) {
  .rb-m-grid { margin-top: 0; }
  .rb-m-left > .rb-m-title { padding-top: 6px; }
  .rb-m-feed { margin-top: 10px; }
  .rb-m-about { grid-column: 1 / -1; }
}
/* KHA-124: About sits in the grid under the news, so the left column spans the whole page; on a market with a short feed
   the column used to end with the feed and scroll away under the About bar before anything else moved */
@media (min-width: 900px) and (min-height: 46em) {
  .rb-m-grid { grid-template-rows: auto 1fr; }
  .rb-m-about { grid-column: 2; grid-row: 2; align-self: start; }
  .rb-m-about .rb-ab-bar { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rb-m-about .rb-also-on > div { grid-template-columns: minmax(0, 1fr); }
  .rb-m-left { grid-row: 1 / span 2; position: sticky; top: var(--rb-bar-h); max-height: calc(100vh - var(--rb-bar-h) - var(--rb-page-foot)); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; margin: 0 -8px; padding: 0 8px; }
}

/* KHA-96, RULES 51 option B ("the page builds itself"): the fill's card under the chart, the chart's rings, a story
   dropping in, the price ticking. One curve and the three durations (assets/rb.css --rb-t-*); one 1px line; status marks
   at 1.5px; no skeleton, shimmer or spinner. Less motion: fades only, nothing loops. */
.rb-m-fill:empty { display: none; }
.rb-m-fill { margin-top: 14px; }
.rb-fl { position: relative; display: grid; gap: 12px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surf); overflow: hidden; }
.rb-fl:not(.rb-fl-done):not(.rb-fl-rest)::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sig) 70%, transparent), transparent); }
.rb-fl-top { display: flex; align-items: center; justify-content: space-between; font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.rb-fl-live { display: inline-flex; align-items: center; gap: 7px; color: var(--sig); }
.rb-fl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sig) 22%, transparent); }
.rb-fl-clock { font-variant-numeric: tabular-nums; color: var(--muted); letter-spacing: .02em; text-transform: none; }
.rb-fl-hd { display: flex; gap: 12px; align-items: flex-start; }
.rb-fl-mk { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; }
.rb-fl-mk svg { width: 12px; height: 12px; }
.rb-fl-mk-run { display: none; }
.rb-fl-mk-ok { background: var(--up); color: var(--bg); }
.rb-fl-mk-rest { border: 1.5px solid var(--faint); }
.rb-fl-t { min-width: 0; }
.rb-fl-t h2 { font: 600 1rem/1.3 var(--head); }
.rb-fl-t p { margin-top: 3px; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.rb-fl-when { color: var(--faint); }
.rb-fl-v { margin-left: auto; padding-left: 12px; font: 500 .75rem/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.rb-fl-when .rb-fl-v { margin: 0; padding: 0; color: var(--faint); }
.rb-fl-steps { position: relative; display: grid; gap: 10px; margin-left: 1px; font-size: .8125rem; color: var(--faint); }
.rb-fl-steps::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.rb-fl-steps li { position: relative; display: flex; align-items: center; gap: 10px; transition: color var(--rb-t-base) var(--rb-ease); }
.rb-fl-lb { min-width: 0; }
.rb-fl-sm { flex: none; display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line); background: var(--surf);
  transition: background-color var(--rb-t-base) var(--rb-ease), border-color var(--rb-t-base) var(--rb-ease); }
.rb-fl-sm svg { width: 9px; height: 9px; }
.rb-fl-steps li[data-state="working"] { color: var(--fg); }
.rb-fl-steps li[data-state="working"] .rb-fl-sm { border-color: var(--sig); }
.rb-fl-steps li[data-state="working"] .rb-fl-sm::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--sig); }
.rb-fl-steps li[data-state="working"] .rb-fl-v { color: var(--fg); }
.rb-fl-steps li[data-state="done"] { color: var(--muted); }
.rb-fl-steps li[data-state="done"] .rb-fl-sm { border-color: var(--up); background: var(--up); color: var(--bg); }
.rb-fl-steps li[data-state="empty"] .rb-fl-sm::before { content: '–'; font-size: 9px; line-height: 1; }
.rb-fl-new { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surf2); font-size: .8125rem; color: var(--muted); }
.rb-fl-nw { display: flex; align-items: baseline; }
.rb-fl-new b { font-weight: 600; color: var(--fg); }
.rb-fl-nh { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; color: var(--fg); }
.rb-fl-out { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-fl-chip { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font: 500 .6875rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.rb-fl-more { color: var(--faint); }
.rb-fl-tail { font-size: .8125rem; color: var(--faint); }
.rb-fl-long { color: var(--muted); }
.rb-fl-done { padding: 12px 16px; }
/* the rings: two round dots on the line (the box stretches, so never a circle) */
.rb-ring-o, .rb-ring-i { fill: none; stroke-linecap: round; }
.rb-ring-o { stroke: var(--fg); stroke-width: 11px; }
.rb-ring-i { stroke: var(--bg); stroke-width: 7px; transition: stroke var(--rb-t-slow) var(--rb-ease); }
.rb-ring-f .rb-ring-o { stroke: var(--sig); }
.rb-ring-f .rb-ring-i { stroke: var(--sig); }
@media (prefers-reduced-motion: no-preference) {
  .rb-fl-dot, .rb-fl-steps li[data-state="working"] .rb-fl-sm::before { animation: rb-breathe-dot 2.4s ease-in-out infinite; }
  .rb-fl:not(.rb-fl-done):not(.rb-fl-rest) [data-rb="fill-title"], .rb-fl-steps li[data-state="working"] .rb-fl-lb {
    background: linear-gradient(100deg, currentColor 40%, color-mix(in srgb, currentColor 35%, transparent) 50%, currentColor 60%) 0 0 / 250% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rb-shimmer 2.4s linear infinite; }
  @keyframes rb-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
  .rb-fl:not(.rb-fl-done):not(.rb-fl-rest)::before { animation: rb-scan 2.4s var(--rb-ease) infinite; }
  @keyframes rb-scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
  .rb-fl-chip { animation: rb-fl-rise var(--rb-t-base) var(--rb-ease) both; }
  @keyframes rb-breathe-dot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .rb-ring-s .rb-ring-o { animation: rb-ring-seek 2.4s ease-in-out infinite; }
  @keyframes rb-ring-seek { 0%, 100% { stroke-width: 11px; } 50% { stroke-width: 17px; } }
  .rb-fl-new, .rb-fl-done { animation: rb-fl-rise var(--rb-t-base) var(--rb-ease) both; }
  @keyframes rb-fl-rise { from { opacity: 0; transform: translateY(4px); } }
  .rb-in { animation: rb-in-drop var(--rb-t-base) var(--rb-ease) both; }
  .rb-glow { animation: rb-glow 1.8s var(--rb-ease) 1 both; }
  @keyframes rb-glow { from { box-shadow: 0 0 0 2px color-mix(in srgb, var(--sig) 55%, transparent); } to { box-shadow: 0 0 0 2px transparent; } }
  @keyframes rb-in-drop { from { opacity: 0; transform: translateY(-6px); } }
  .rb-tick-up { animation: rb-tick-up var(--rb-t-slow) var(--rb-ease); }
  .rb-tick-dn { animation: rb-tick-dn var(--rb-t-slow) var(--rb-ease); }
  @keyframes rb-tick-up { from { color: var(--up); } }
  @keyframes rb-tick-dn { from { color: var(--dn); } }
}
@media (prefers-reduced-motion: reduce) {
  .rb-in, .rb-fl-new, .rb-fl-done { animation: rb-fl-fade var(--rb-t-base) var(--rb-ease) both; }
  @keyframes rb-fl-fade { from { opacity: 0; } }
}

