

.ax {
  --ax-page: #07080a;
  --ax-grey-800: #0c0d0f; --ax-grey-700: #111214; --ax-grey-600: #1b1c1e; --ax-grey-500: #2f3031;
  --ax-grey-400: #434345; --ax-grey-300: #6a6b6c; --ax-grey-200: #9c9c9d; --ax-grey-100: #cdcece;
  --ax-grey-50: #e6e6e6; --ax-white: #ffffff;
  --ax-text: #ffffff; --ax-text-body: #9c9c9d; --ax-text-muted: #6a6b6c;
  --ax-line: rgba(255, 255, 255, .06); --ax-line-strong: rgba(255, 255, 255, .08);
  --ax-line-bright: rgba(255, 255, 255, .14);
  --ax-fill-faint: rgba(255, 255, 255, .03); --ax-fill-soft: rgba(255, 255, 255, .05);
  --ax-fill-hover: rgba(255, 255, 255, .10);
  --ax-bullish: #27a644; --ax-bearish: #eb5757;
  --ax-bull-rgb: 39, 166, 68; --ax-bear-rgb: 235, 87, 87; --ax-lilac-rgb: 154, 170, 255;
  --ax-amber-rgb: 245, 211, 139; --ax-amber: #f5d38b;
  --ax-gold-rgb: 240, 201, 120;              
  --ax-lilac-text: #c3ccff;                  
  --ax-bull-deep: #0f1c13;                   
  --ax-panel: linear-gradient(137deg, #111214 4.87%, #0c0d0f 75.88%);
  --ax-panel-glass: linear-gradient(137deg, rgba(17, 18, 20, .75) 4.87%, rgba(12, 13, 15, .90) 75.88%);
  --ax-raised: linear-gradient(137deg, #222326 4.87%, #151619 75.88%);
  --ax-r-1: 4px; --ax-r-2: 6px; --ax-r-3: 8px; --ax-r-4: 12px; --ax-r-5: 16px; --ax-r-6: 20px;
  --ax-ring-top: inset 0 1px 1px rgba(255, 255, 255, .15);
  --ax-shadow-card: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .45);
  --ax-pitch: 50px;                          
  --ax-gap: 4px;                             

  display: block; margin: 0; min-width: 0; cursor: default; text-align: left;
  color: var(--ax-text);
  font: 400 14px/22.4px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "calt", "kern", "liga", "ss03";
  letter-spacing: .2px;
  -webkit-font-smoothing: antialiased;
}
.ax *, .ax *::before, .ax *::after { box-sizing: border-box; }

.ax :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, figure, blockquote) { margin: 0; padding: 0; }
.ax :where(ul, ol) { list-style: none; }
.ax :where(h1, h2, h3, h4, h5, h6) { font-size: inherit; line-height: inherit; font-weight: 600; color: inherit; }
.ax :where(p) { color: inherit; }
.ax :where(b, strong) { font-weight: 600; }
.ax :where(i, em) { font-style: normal; }

.ax :where(svg, img) { display: inline; }

.ax > figcaption { margin-top: 12px; font-size: 12px; line-height: 20px; color: var(--ax-text-muted); }

.ax .ax-tn { font-variant-numeric: tabular-nums; }                          
.ax .ax-muted { color: var(--ax-text-muted); }                              
.ax .ax-body { color: var(--ax-text-body); }                                
.ax .ax-long { color: var(--ax-bullish); }                                  
.ax .ax-short { color: var(--ax-bearish); }                                 
.ax .ax-amber { color: var(--ax-amber); }                                   

.ax .ax-title { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.012em; }

.ax .ax-heading { font-size: 16px; line-height: 24px; font-weight: 600; }

.ax .ax-label { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--ax-text-muted);
                text-transform: uppercase; letter-spacing: .06em; }

.ax .ax-note { font-size: 12px; line-height: 18px; color: var(--ax-text-muted); }

.ax .ax-hstack { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.ax .ax-vstack { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ax .ax-top { align-items: flex-start; }
.ax .ax-gap-4 { gap: 4px; }   .ax .ax-gap-6 { gap: 6px; }   .ax .ax-gap-10 { gap: 10px; }
.ax .ax-gap-12 { gap: 12px; } .ax .ax-gap-16 { gap: 16px; } .ax .ax-gap-22 { gap: 22px; }
.ax .ax-spacer { flex-grow: 1; }                                            
.ax .ax-sep { width: 1px; align-self: stretch; background: var(--ax-line-strong); }   
.ax .ax-divider { height: 1px; background: var(--ax-line); }                

.ax .ax-ico-line { display: inline-block; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5;
                   stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.ax .ax-panel { position: relative; border-radius: var(--ax-r-6); background: var(--ax-panel);
                border: 1px solid var(--ax-line); box-shadow: var(--ax-shadow-card); padding: 20px 22px;
                overflow: hidden; }
.ax .ax-panel--glass { background: var(--ax-panel-glass); }

.ax .ax-card { position: relative; border-radius: var(--ax-r-6); background: var(--ax-panel);
               border: 1px solid var(--ax-line); box-shadow: var(--ax-shadow-card); padding: 18px 20px;
               display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ax .ax-card__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px;
                     border-top: 1px solid var(--ax-line); }

.ax .ax-banner { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-radius: var(--ax-r-4);
                 font-size: 13px; line-height: 20px; background: var(--ax-fill-faint);
                 border: 1px solid var(--ax-line-bright); color: var(--ax-text-body); }
.ax .ax-banner--warn { border-color: rgba(var(--ax-amber-rgb), .45); background: rgba(var(--ax-amber-rgb), .06);
                       color: var(--ax-amber); }

.ax .ax-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding-inline: 16px;
              border-radius: var(--ax-r-3); font-size: 14px; font-weight: 500; white-space: nowrap; flex-shrink: 0;
              background: linear-gradient(rgba(255, 255, 255, .03), rgba(255, 255, 255, .10)); color: var(--ax-text);
              box-shadow: inset 0 0 0 1px var(--ax-line-bright); }
.ax .ax-btn--small { height: 30px; padding-inline: 10px; font-size: 13px; }                 
.ax .ax-btn--tiny { height: 26px; padding-inline: 8px; font-size: 12px; border-radius: var(--ax-r-2); }  
.ax .ax-btn--primary { background: var(--ax-grey-50); color: #08090a; box-shadow: none; }   
.ax .ax-btn--ghost { background: none; box-shadow: none; color: var(--ax-text-body); }     
.ax .ax-btn--on { box-shadow: inset 0 0 0 1px rgba(var(--ax-lilac-rgb), .55);              
                  background: rgba(var(--ax-lilac-rgb), .12); }
.ax .ax-btn--amber { box-shadow: inset 0 0 0 1px rgba(var(--ax-amber-rgb), .5); color: var(--ax-amber); }  

.ax .ax-iconbtn { position: relative; width: 44px; height: 44px; border-radius: 22px; display: inline-flex;
                  align-items: center; justify-content: center; flex-shrink: 0; background: var(--ax-panel-glass);
                  border: 1px solid var(--ax-line); box-shadow: var(--ax-ring-top); color: var(--ax-text-body); }
.ax .ax-iconbtn--small { width: 30px; height: 30px; border-radius: var(--ax-r-2); background: var(--ax-fill-faint);
                         box-shadow: none; border-color: var(--ax-line-bright); }
.ax .ax-iconbtn--tiny { width: 26px; height: 26px; border-radius: var(--ax-r-2); background: var(--ax-fill-faint);
                        box-shadow: none; border-color: var(--ax-line-bright); }

.ax .ax-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--ax-fill-faint);
              border: 1px solid var(--ax-line); }
.ax .ax-seg__opt { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
                   color: var(--ax-text-body); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ax .ax-seg__opt--on { background: var(--ax-raised); color: var(--ax-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }

.ax .ax-tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--ax-line); }
.ax .ax-tab { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; color: var(--ax-text-body);
              font-size: 13px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ax .ax-tab--on { color: var(--ax-text); border-bottom-color: var(--ax-white); }

.ax .ax-switch { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 2px;
                 color: var(--ax-text-body); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ax .ax-switch__track { position: relative; width: 32px; height: 18px; flex-shrink: 0; border-radius: 9px;
                        background: var(--ax-grey-500); box-shadow: inset 0 0 0 1px var(--ax-line-bright); }
.ax .ax-switch__track::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px;
                               border-radius: 7px; background: var(--ax-grey-100); }
.ax .ax-switch--on { color: var(--ax-text); }
.ax .ax-switch--on .ax-switch__track { background: rgba(var(--ax-lilac-rgb), .55); }
.ax .ax-switch--on .ax-switch__track::after { transform: translateX(14px); background: var(--ax-white); }

.ax .ax-field { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 30px;
                padding: 0 6px; border-radius: var(--ax-r-2); background: var(--ax-fill-soft);
                border: 1px solid var(--ax-line-bright); color: var(--ax-text); font-size: 13px;
                font-variant-numeric: tabular-nums; white-space: nowrap; }
.ax .ax-field--wide { width: auto; min-width: 56px; justify-content: flex-start; padding: 0 10px; }

.ax .ax-input-label { display: block; font-size: 12px; line-height: 18px; color: var(--ax-text-body); margin-bottom: 4px; }
.ax .ax-input { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; gap: 6px; border-radius: var(--ax-r-3);
                background: var(--ax-fill-soft); border: 1px solid var(--ax-line-bright);
                font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ax .ax-input__value { width: 64px; white-space: nowrap; overflow: hidden; }
.ax .ax-input__unit { font-size: 12px; font-weight: 400; color: var(--ax-text-muted); }

.ax .ax-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px;
              font-size: 12px; font-weight: 500; background: var(--ax-fill-soft); border: 1px solid var(--ax-line);
              color: var(--ax-text-body); white-space: nowrap; flex-shrink: 0; }
.ax .ax-tag--small { height: 20px; font-size: 11px; }                       
.ax .ax-tag--long { color: var(--ax-bullish); border-color: rgba(var(--ax-bull-rgb), .5); background: rgba(var(--ax-bull-rgb), .10); }
.ax .ax-tag--short { color: var(--ax-bearish); border-color: rgba(var(--ax-bear-rgb), .5); background: rgba(var(--ax-bear-rgb), .10); }
.ax .ax-tag--lilac { color: var(--ax-text); border-color: rgba(var(--ax-lilac-rgb), .5); background: rgba(var(--ax-lilac-rgb), .12); }
.ax .ax-tag--warn { color: var(--ax-amber); border-color: rgba(var(--ax-amber-rgb), .45); background: rgba(var(--ax-amber-rgb), .08); }
.ax .ax-tag--range { color: #b9c6ff; border-color: rgba(var(--ax-lilac-rgb), .45); background: rgba(var(--ax-lilac-rgb), .10); }
.ax .ax-tag--trend { color: #9ee2b5; border-color: rgba(var(--ax-bull-rgb), .45); background: rgba(var(--ax-bull-rgb), .10); }

.ax .ax-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px;
               border: 1px solid var(--ax-line-bright); background: var(--ax-fill-soft); color: var(--ax-text);
               font-size: 13px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.ax .ax-chip--coin { padding: 0 14px; }
.ax .ax-chip--off { color: var(--ax-text-muted); background: none; }       

.ax .ax-badge { width: 28px; height: 28px; border-radius: 14px; display: inline-flex; align-items: center;
                justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 600;
                background: rgba(var(--ax-lilac-rgb), .14); border: 1px solid rgba(var(--ax-lilac-rgb), .4); }

.ax .ax-box { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
              width: 56px; height: 56px; border-radius: var(--ax-r-4); border: 1px solid var(--ax-line-bright);
              background: var(--ax-fill-faint); font-size: 18px; font-weight: 600; color: var(--ax-text-body); }
.ax .ax-box--now { width: 70px; height: 70px; font-size: 28px; letter-spacing: -.02em; color: var(--ax-text); }  
.ax .ax-box--small { width: 44px; height: 44px; font-size: 15px; }         
.ax .ax-box--long { background: rgba(var(--ax-bull-rgb), .16); border-color: rgba(var(--ax-bull-rgb), .7); color: var(--ax-white); }
.ax .ax-box--short { background: rgba(var(--ax-bear-rgb), .16); border-color: rgba(var(--ax-bear-rgb), .7); color: var(--ax-white); }
.ax .ax-box--none { color: var(--ax-text-muted); }

.ax .ax-box--forming::after { content: ""; position: absolute; inset: 0; border-radius: 11px; pointer-events: none;
                              border: 1.5px solid rgba(var(--ax-lilac-rgb), .85); opacity: .75; }

.ax .ax-box--gold { box-shadow: 0 0 0 1px rgba(var(--ax-gold-rgb), .85), 0 0 26px rgba(var(--ax-gold-rgb), .22); }

.ax .ax-now { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 86px; }
.ax .ax-under { font-size: 13px; line-height: 18px; color: var(--ax-text-body); text-align: center; white-space: nowrap;
                font-variant-numeric: tabular-nums; }
.ax .ax-under b { color: var(--ax-text); font-weight: 600; }

.ax .ax-grow { display: flex; gap: 10px; }
.ax .ax-gcol { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ax .ax-dash { height: 30px; line-height: 30px; color: var(--ax-text-muted); font-size: 13px; }

.ax .ax-facts { display: grid; grid-template-columns: auto auto; gap: 4px 14px; font-size: 13px; line-height: 20px;
                align-content: start; }
.ax .ax-facts dt { color: var(--ax-text-muted); }
.ax .ax-facts dd { color: var(--ax-text); font-weight: 500; font-variant-numeric: tabular-nums; }

.ax .ax-facts dd.ax-long { color: var(--ax-bullish); }
.ax .ax-facts dd.ax-short { color: var(--ax-bearish); }

.ax .ax-readat { font-size: 13px; color: var(--ax-text-muted); white-space: nowrap; }
.ax .ax-readat__when { color: var(--ax-text); font-weight: 500; font-variant-numeric: tabular-nums; }

.ax .ax-gbadge { flex-shrink: 0; min-width: 42px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center;
                 justify-content: center; border-radius: var(--ax-r-3); border: 1px solid var(--ax-line-bright);
                 background: var(--ax-fill-faint); color: var(--ax-text-muted); font-size: 14px; font-weight: 600;
                 font-variant-numeric: tabular-nums; }
.ax .ax-gbadge--long { color: #9ee2b5; background: rgba(var(--ax-bull-rgb), .16); border-color: rgba(var(--ax-bull-rgb), .5); }
.ax .ax-gbadge--short { color: #f19a9a; background: rgba(var(--ax-bear-rgb), .16); border-color: rgba(var(--ax-bear-rgb), .5); }
.ax .ax-gbadge--forming { border-style: dashed; border-color: rgba(var(--ax-lilac-rgb), .8); }   

.ax .ax-strips { display: flex; flex-direction: column; gap: 4px; }

.ax .ax-srow { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2px; align-items: center; }
.ax .ax-rhead { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 18px; }
.ax .ax-rhead__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ax .ax-rhead__sub { color: var(--ax-text-muted); white-space: nowrap; }

.ax .ax-rhead__scope { color: var(--ax-text-body); white-space: nowrap; flex-shrink: 0; }
.ax .ax-rhead__num { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ax .ax-rhead__num--long { color: var(--ax-bullish); }
.ax .ax-rhead__num--short { color: var(--ax-bearish); }
.ax .ax-rhead__num--none { color: var(--ax-text-muted); }

.ax .ax-ticket { position: relative; border-radius: var(--ax-r-4); background: var(--ax-panel); border: 1px solid var(--ax-line);
                 box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); padding: 7px 22px 4px; overflow: hidden; }
.ax .ax-ticket + .ax-ticket { margin-top: 3px; }
.ax .ax-ticket .ax-cells { padding-top: 2px; padding-bottom: 2px; }
.ax .ax-ticket .ax-cell { height: 28px; }

.ax .ax-lane { position: relative; overflow: hidden; }
.ax .ax-cells { display: flex; gap: var(--ax-gap); padding: 4px 2px; width: max-content; }

.ax .ax-lane--end { display: flex; flex-direction: column; align-items: flex-end; }

.ax .ax-lane--fit .ax-cells, .ax .ax-lane--fit .ax-times { width: auto; }
.ax .ax-lane--fit .ax-cell, .ax .ax-lane--fit .ax-times span { flex: 1 1 0; width: auto; min-width: 0; }

.ax .ax-cell { display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
               width: calc(var(--ax-pitch) - var(--ax-gap)); height: 34px; border-radius: var(--ax-r-2);
               border: 1px solid transparent; background: var(--ax-fill-faint); color: var(--ax-text-muted);
               font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

.ax .ax-cell--long-1 { background: rgba(var(--ax-bull-rgb), .14); color: var(--ax-white); }
.ax .ax-cell--long-2 { background: rgba(var(--ax-bull-rgb), .28); color: var(--ax-white); }
.ax .ax-cell--long-3 { background: rgba(var(--ax-bull-rgb), .45); color: var(--ax-white); }
.ax .ax-cell--long-4 { background: rgba(var(--ax-bull-rgb), .66); color: var(--ax-white); }
.ax .ax-cell--short-1 { background: rgba(var(--ax-bear-rgb), .14); color: var(--ax-white); }
.ax .ax-cell--short-2 { background: rgba(var(--ax-bear-rgb), .28); color: var(--ax-white); }
.ax .ax-cell--short-3 { background: rgba(var(--ax-bear-rgb), .45); color: var(--ax-white); }
.ax .ax-cell--short-4 { background: rgba(var(--ax-bear-rgb), .66); color: var(--ax-white); }

.ax .ax-cell--grade { font-size: 13px; font-weight: 600; color: var(--ax-text-body); }
.ax .ax-cell--grade-long { background: rgba(var(--ax-bull-rgb), .22); color: var(--ax-white); }
.ax .ax-cell--grade-short { background: rgba(var(--ax-bear-rgb), .22); color: var(--ax-white); }

.ax .ax-cell--na { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 4px, transparent 4px 8px);
                   color: var(--ax-text-muted); }

.ax .ax-cell--at { border-color: var(--ax-white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }

.ax .ax-cell--forming { box-shadow: inset 0 0 0 1px rgba(var(--ax-lilac-rgb), .85); }
.ax .ax-cell--forming.ax-cell--at { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(var(--ax-lilac-rgb), .85); }

.ax .ax-cell--slot { background: rgba(var(--ax-lilac-rgb), .06); border: 1px dashed rgba(var(--ax-lilac-rgb), .55);
                     color: transparent; }

.ax .ax-cell--join { margin-left: calc(-1 * var(--ax-gap)); width: var(--ax-pitch); color: transparent;
                     border-top-left-radius: 0; border-bottom-left-radius: 0; }
.ax .ax-cell--joinnext { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.ax .ax-lane--fit .ax-cell--join { margin-left: 0; }

.ax .ax-cell--cut { color: transparent; }

.ax .ax-times { display: flex; gap: var(--ax-gap); padding: 0 2px 10px; width: max-content; overflow: hidden;
                font-size: 11px; line-height: 14px; color: var(--ax-text-muted); font-variant-numeric: tabular-nums; }
.ax .ax-times span { width: calc(var(--ax-pitch) - var(--ax-gap)); flex-shrink: 0; white-space: nowrap; overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .ax, .ax *, .ax *::before, .ax *::after { animation: none !important; transition: none !important; }
}
