/* (feedbtn2) the Feed button carries its name, like Discord does, and gives it up when the row is tight */#tbarFeed .tbar-seg-txt{display:inline;font-size:10.5px;font-weight:700;letter-spacing:.2px;color:var(--text)}#tbarFeed:hover .tbar-seg-txt,#tbarFeed:hover svg{color:var(--accent);stroke:var(--accent)}#tbarFeed svg{width:15px;height:15px}#tbarFeed .tbf-out{width:9px;height:9px;margin-left:3px;opacity:.5}#tbarFeed:hover .tbf-out{opacity:1}@media(max-width:1279px){#tbarFeed .tbar-seg-txt{display:none}}#tbarDiscord svg.i-discord{width:15px;height:15px;fill:#5865F2;stroke:none}#tbarDiscord .tbar-seg-txt{display:inline;font-size:10.5px;font-weight:700;letter-spacing:.2px;color:var(--text)}#tbarDiscord:hover .tbar-seg-txt{color:var(--accent)}#tbarTheme{padding:0 8px}#tbarTheme svg.tsw{width:31px;height:17px;fill:none;stroke:none}#tbarTheme .tsw-track{fill:rgba(127,127,140,.16);stroke:var(--border);stroke-width:1.3}#tbarTheme:hover .tsw-track{stroke:rgba(var(--ui-rgb,0,255,136),.55)}#tbarTheme .tsw-knob{fill:#e3e8ff}#tbarTheme .tsw-sun{fill:#f59e0b}#tbarTheme .tsw-rays{stroke:#f59e0b;stroke-width:1.6;stroke-linecap:round}#tbarTheme .tsw-light{display:none}[data-theme="light"] #tbarTheme .tsw-dark{display:none}[data-theme="light"] #tbarTheme .tsw-light{display:inline}@media(max-width:640px){#tbarDiscord .tbar-seg-txt{display:none !important}}
/* (tradeseg1) Trade, left of Feed, dressed like Feed: icon + name, name gives way when the row is tight */#tbarTrade .tbar-seg-txt{display:inline;font-size:10.5px;font-weight:700;letter-spacing:.2px;color:var(--text)}#tbarTrade svg{width:15px;height:15px;color:var(--accent)}#tbarTrade:hover .tbar-seg-txt{color:var(--accent)}@media(max-width:1279px){#tbarTrade .tbar-seg-txt{display:none}}
/* (chartbtn1) owner 31 Oct: Movers and Community beside Feed, dressed like Feed (icon, name, the new-tab arrow), and Feed's
   own icon is a newspaper with a live dot. The dot breathes slowly and pings when an item lands on the price stream
   (chart-panels-1.js sets .tbf-ping, plus .tbf-hot for a breaking one). Movers wears green up and red down arrows that part
   on hover; Community's typing dots hop on hover. */
#tbarFeed svg.tbf-ic{overflow:visible}
#tbarFeed .tbf-live{fill:var(--red);stroke:none}
#tbarFeed .tbf-ring{fill:none;stroke:var(--red);stroke-width:1.6;opacity:0;transform-box:fill-box;transform-origin:center}
#tbarMovers .tbar-seg-txt,#tbarFloor .tbar-seg-txt,#tbarTerm .tbar-seg-txt{display:inline;font-size:10.5px;font-weight:700;letter-spacing:.2px;color:var(--text)}
#tbarMovers svg.tbm-ic,#tbarFloor svg.tbc-ic,#tbarTerm svg.tbt-ic{width:15px;height:15px}
/* (term1) the Terminal: a screen with a prompt, its caret in our green, which blinks while you point at it */
#tbarTerm .tbt-cur{stroke:var(--accent)}
#tbarTerm .tbt-gt{transition:transform .22s cubic-bezier(.3,1.6,.5,1)}
#tbarTerm:hover .tbt-gt{transform:translateX(1px)}
#tbarTerm:hover .tbar-seg-txt,#tbarTerm:hover svg.tbt-ic{color:var(--accent)}
#tbarMovers .tbm-up{stroke:var(--accent)}
#tbarMovers .tbm-dn{stroke:var(--red)}
#tbarFloor .tbc-d{fill:var(--accent);stroke:none;transform-box:fill-box;transform-origin:center}
#tbarMovers .tbm-up,#tbarMovers .tbm-dn{transition:transform .22s cubic-bezier(.3,1.6,.5,1)}
#tbarMovers:hover .tbm-up{transform:translateY(-1.5px)}
#tbarMovers:hover .tbm-dn{transform:translateY(1.5px)}
#tbarMovers:hover .tbar-seg-txt,#tbarFloor:hover .tbar-seg-txt{color:var(--accent)}
#tbarFloor:hover svg.tbc-ic{color:var(--accent)}
#tbarMovers .tbf-out,#tbarFloor .tbf-out,#tbarTerm .tbf-out{width:9px;height:9px;margin-left:3px;opacity:.5}
#tbarMovers:hover .tbf-out,#tbarFloor:hover .tbf-out,#tbarTerm:hover .tbf-out{opacity:1}
@media(max-width:1279px){#tbarMovers .tbar-seg-txt,#tbarFloor .tbar-seg-txt,#tbarTerm .tbar-seg-txt{display:none}}
@media(prefers-reduced-motion:no-preference){
  #tbarFeed .tbf-ring{animation:tbfBreathe 3.2s ease-out infinite}
  #tbarFeed.tbf-ping .tbf-ring{animation:tbfPing .9s ease-out 3}
  #tbarFeed.tbf-ping.tbf-hot .tbf-ring{animation:tbfPing .7s ease-out 8}
  #tbarFeed.tbf-ping .tbf-live{animation:tbfBlink .9s ease-in-out 3}
  #tbarFeed.tbf-ping.tbf-hot .tbf-live{animation:tbfBlink .7s ease-in-out 8}
  #tbarFloor:hover .tbc-d{animation:tbcHop .9s ease-in-out infinite}
  #tbarFloor:hover .tbc-d:nth-of-type(2){animation-delay:.15s}
  #tbarFloor:hover .tbc-d:nth-of-type(3){animation-delay:.3s}
  #tbarTerm:hover .tbt-cur{animation:tbtBlink 1s steps(1) infinite}
}
@keyframes tbfBreathe{0%{opacity:.55;transform:scale(1)}70%,100%{opacity:0;transform:scale(2)}}
@keyframes tbfPing{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(2.6)}}
@keyframes tbfBlink{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes tbtBlink{50%{opacity:0}}
@keyframes tbcHop{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-1.6px)}}
@media(prefers-reduced-motion:reduce){#tbarMovers .tbm-up,#tbarMovers .tbm-dn,#tbarTerm .tbt-gt{transition:none}#tbarTerm:hover .tbt-gt{transform:none}#tbarMovers:hover .tbm-up,#tbarMovers:hover .tbm-dn{transform:none}}
/* (chartbtn1) phones: Movers and Community keep their names in the swipe strip, as Feed does (feedmob1) */
@media(max-width:768px){html body .tbar-seg #tbarMovers .tbar-seg-txt,html body .tbar-seg #tbarFloor .tbar-seg-txt,html body .tbar-seg #tbarTerm .tbar-seg-txt{display:inline !important;margin-left:4px}
  html body .tbar-seg #tbarMovers .tbf-out,html body .tbar-seg #tbarFloor .tbf-out,html body .tbar-seg #tbarTerm .tbf-out{display:none}}
@media(max-width:340px){html body .tbar-seg #tbarMovers .tbar-seg-txt,html body .tbar-seg #tbarFloor .tbar-seg-txt,html body .tbar-seg #tbarTerm .tbar-seg-txt{display:none !important}}
/* (tbcompact1) owner 1 Nov: "this is nice but it takes up too much space". On a computer the four places that open in a new
   tab (Feed, Movers, Community, Terminal) show their icons only, side by side with no lines between them, and Trade keeps its
   name as the one action in the strip. Each one's name and what it does still show on hover, in the chart's quick label for
   every title (chart-2.js). The strip goes from 512 px to about 250, so the candle size shortcuts stay on smaller windows.
   Phones keep the names in the swipe strip (feedmob1). */
@media(min-width:769px){
  .topbar #tbarFeed .tbar-seg-txt,.topbar #tbarMovers .tbar-seg-txt,.topbar #tbarFloor .tbar-seg-txt,.topbar #tbarTerm .tbar-seg-txt,
  .topbar #tbarFeed .tbf-out,.topbar #tbarMovers .tbf-out,.topbar #tbarFloor .tbf-out,.topbar #tbarTerm .tbf-out{display:none !important}
  /* (tbwide1) owner 17 Nov: "too slim and are hard to click ... just make them a bit wider": 32 to 40 px, and Layout beside them too */
  .topbar #tbarFeed,.topbar #tbarMovers,.topbar #tbarFloor,.topbar #tbarTerm,.topbar #tbarLayout{width:40px;padding:0;justify-content:center}
  .topbar #tbarMovers,.topbar #tbarFloor,.topbar #tbarTerm{border-left:0}
  .topbar #tbarFeed svg.tbf-ic,.topbar #tbarMovers svg.tbm-ic,.topbar #tbarFloor svg.tbc-ic,.topbar #tbarTerm svg.tbt-ic{width:16px;height:16px}
}
