/* AFT Trading Bots storefront: page styles.
   Loads after /style.css and uses its tokens (--bg, --panel, --line, --text, --dim, --display, --sans ...).
   Everything here is scoped under body.bots and prefixed bx- so it cannot touch another page. */

.bots{
  /* red for this side: the values the homepage's red half already uses, given names */
  --red-brand:#e1191e;
  --red-btn:#d4161b;
  --red-btn-hover:#e61d23;
  --red-edge:#ff5257;
  --red-soft:#ff9a9d;
  --red-tint:rgba(225,25,30,.10);
  /* results: profit and loss, each always shown with its sign as well as its colour */
  --win:var(--green);
  --loss:var(--red);
  --bar-h:72px;
  /* row E802: a strategy's name is coloured by its market, not by the strategy. Each market is one token with a light
     stop before it and an end stop after it (the ladder's --c0, --c1, --c2). MNQ is the colour Continuum's name had,
     MGC the gold of the MGC strategy the owner named, MES a teal chosen for the dark panels (row E815). Every stop is at least
     5.5:1 on --bg, --bg2 and --panel. */
  --mnq-0:#f2f6f3;--mnq:#8ea0ff;--mnq-2:#3ddc84;
  --mgc-0:#fff6dc;--mgc:#f7c948;--mgc-2:#ff8a3d;
  --mes-0:#e3fbf8;--mes:#2dd4c8;--mes-2:#19b9c4;
  padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom,0px));
}
/* keep anything scrolled or tabbed into view clear of the fixed selection bar */
html{scrollbar-gutter:stable;scroll-padding-bottom:88px}

.bx-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bots :focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:6px}

/* The lettering ladder: product names and tier titles are lettered by tier.
   Real text in every case: selectable and read by screen readers; colour clipped to the letters.
   The LEVEL is data-lvl, one of four finishes. The page script works it out from the tier's place among the
   tiers (bots.js: the lowest tier is plain, the top one is sheen, with four or more the one under the top is
   polished, the rest are gradient) and writes it on the tier's card and title, on the names of the tier's
   products, on the tier pill and on the open strategy's name. The PALETTE is the product's own three colours
   (--c0 near-white, --c1 middle, --c2 end), from data/catalog.js; a tier title has its finish's palette.
   Move a product to another tier in the catalog, or add a tier card, and the lettering follows; nothing here changes.
     plain     one near-solid tone, sentence case, the page's heading weight
     gradient  the quiet step: upper case, wide tracking, weight 800, the product's gradient under a matte white
               veil, so the colours are soft. No polish, no light, nothing moves.
     polished  the same letters (same size, width, weight and spacing) in the product's two stronger colours at
               full strength under a satin polish, and a faint sheen that crosses them slowly.
     sheen     the same letters under a mirror polish with a crisp line of light, a soft glow in the product's
               own colour, and a bright sheen that crosses twice as fast. The top tier alone.
   Level is carried by the finish, never by size: each step up adds light. Every colour stop is at least 4.5:1
   on --bg, --bg2 and --panel; the veil, the polish and the sheen only add light, so they only raise contrast.
   A name that has to be cut (a tier row with no room left) ends in an ellipsis; the lit copy is cut the same way. */
.bx-wm{font-family:var(--display);font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;
  background-image:linear-gradient(90deg,var(--c0,#f2f6f3),var(--c1,#8ea0ff) 55%,var(--c2,#3ddc84));
  background-repeat:no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.bx-wm::selection{background:#3d5bd9;color:#fff;-webkit-text-fill-color:#fff}

/* row E802: by tier, lowest first: Base plain (sentence case, one solid colour), Select solid (the upper-case letters in
   one solid colour, no gradient, polish or light), Supreme the sheen, Ultimate the sheen and the lightning (data-bolt). */
.bx-wm[data-lvl="plain"]{font-weight:600;letter-spacing:-.01em;text-transform:none;
  background-image:linear-gradient(90deg,var(--c1,#8ea0ff),var(--c1,#8ea0ff))}
.bx-wm[data-lvl="solid"]{background-image:linear-gradient(90deg,var(--c1,#8ea0ff),var(--c1,#8ea0ff))}

/* The veil (gradient, the quiet step): one even layer of white over the product's gradient. It softens the colours
   to a matte pastel; no light falls on the letters. */
.bx-wm[data-lvl="gradient"]{background-image:
    linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.4)),
    linear-gradient(90deg,var(--c0,#f2f6f3),var(--c1,#8ea0ff) 55%,var(--c2,#3ddc84))}
/* The polish (polished and sheen): a band 1.2em tall centred on the line (the capitals sit between about 21% and 78% of it).
   White only, over the product's colours at full strength. Two strengths, so the two top finishes differ in a still picture too:
     sheen     a mirror polish: light on the upper half of the letters, brightening to a crisp line at the middle,
               the bare colour under it, then lifting again toward the foot
     polished  a satin polish: the light falls off evenly from the top of the letters to the foot, with no bright line */
.bx-wm[data-lvl="polished"],.bx-wm[data-lvl="sheen"]{position:relative;overflow:hidden;overflow:clip;
  background-image:
    linear-gradient(180deg,rgba(255,255,255,.28) 20%,rgba(255,255,255,.55) 43%,rgba(255,255,255,.82) 50%,rgba(255,255,255,0) 50.5%,rgba(255,255,255,0) 63%,rgba(255,255,255,.4) 80%),
    linear-gradient(90deg,var(--c1,#8ea0ff),var(--c2,#3ddc84));
  background-size:100% 1.2em,100% 100%;
  background-position:0 50%,0 0}
.bx-wm[data-lvl="polished"]{background-image:
    linear-gradient(180deg,rgba(255,255,255,.7) 22%,rgba(255,255,255,.34) 48%,rgba(255,255,255,0) 77%),
    linear-gradient(90deg,var(--c1,#8ea0ff),var(--c2,#3ddc84))}
/* The glow (sheen only): a soft light in the name's own middle colour, behind the letters. A filter, so it is drawn
   outside the clipped box and nothing is laid out for it. */
.bx-wm[data-lvl="sheen"]{filter:drop-shadow(0 0 .42em rgba(255,255,255,.2))}
@supports (color:color-mix(in srgb,red,blue)){
  .bx-wm[data-lvl="sheen"]{filter:drop-shadow(0 0 .42em color-mix(in srgb,var(--c1,#8ea0ff) 46%,transparent))}
}
/* The sheen (the two top finishes): a soft slanted band of light that travels across the letters and back again, without end.
   .bx-sh is an empty element over the name, hidden from screen readers; its ::before repeats the name (from data-t)
   in white, and a mask shows a band of it. The band slides one way while the lit letters
   slide the other by the same amount, so the letters stay exactly on the name and only the light appears to move.
   Only transform is animated: no layout, nothing shifts. Without overflow:clip there is no sheen, only the polish.
   The top finish crosses in 3.4s at full strength. The one under it travels the same path in 6.8s, a narrower band
   at under half the strength: it never moves more than the top one. */
.bx-sh{display:none}
@supports (overflow:clip){
  .bx-wm[data-lvl="polished"]>.bx-sh,.bx-wm[data-lvl="sheen"]>.bx-sh{display:block;position:absolute;inset:0;pointer-events:none;-webkit-user-select:none;user-select:none;
    -webkit-mask:linear-gradient(105deg,rgba(0,0,0,0) 26%,#000 46%,#000 54%,rgba(0,0,0,0) 74%) 50% 0/2.8em 100% no-repeat;
    mask:linear-gradient(105deg,rgba(0,0,0,0) 26%,#000 46%,#000 54%,rgba(0,0,0,0) 74%) 50% 0/2.8em 100% no-repeat;
    transform:translateX(-18%);animation:bx-sheen 3.4s ease-in-out infinite alternate}
  .bx-wm[data-lvl="polished"]>.bx-sh::before,.bx-wm[data-lvl="sheen"]>.bx-sh::before{content:attr(data-t);position:absolute;inset:0;overflow:hidden;text-overflow:ellipsis;
    color:#fff;-webkit-text-fill-color:#fff;
    transform:translateX(18%);animation:bx-sheen-hold 3.4s ease-in-out infinite alternate}
  .bx-wm[data-lvl="polished"]>.bx-sh{opacity:.45;-webkit-mask-size:2em 100%;mask-size:2em 100%;animation-duration:6.8s}
  .bx-wm[data-lvl="polished"]>.bx-sh::before{animation-duration:6.8s}
}
@keyframes bx-sheen{from{transform:translateX(-50%)}to{transform:translateX(50%)}}
@keyframes bx-sheen-hold{from{transform:translateX(50%)}to{transform:translateX(-50%)}}
/* reduced motion: the sheen stops and rests as one still highlight on the polished letters */
@media(prefers-reduced-motion:reduce){.bx-wm[data-lvl]>.bx-sh,.bx-wm[data-lvl]>.bx-sh::before{animation:none}}

/* The lightning (row E810; the top tier's names and title, data-bolt): now and then one bolt strikes down through the
   letters. .bx-bolt is an empty element over the name, hidden from screen readers, holding one pre-drawn bolt (bots.js,
   boltSpan()): a crisp, irregular channel with a fork or two, seeded by the name, a white core over a thin glow in the
   name's own colour, both ends fading out just above and below the letters. A strike lasts about 0.4 s of a 7.8 s
   loop: a flash, one flicker, gone, and the letters brighten with it (::after, a white copy of the name). Between
   strikes the name wears its sheen only. Each name on screen takes its own moment in the loop (bots.js, at the start),
   so no two strike together. Only opacity is animated. Off screen, and with reduced motion, nothing strikes. */
.bx-bolt{display:none}
.bx-wm[data-bolt],.bx-srow .bx-sname.bx-wm[data-bolt]{overflow:clip;overflow-clip-margin:.7em}
/* row E815 (E814 F1): on a plan line and a Library line the name is a grid cell as wide as its column; the lit name takes only its
   text's width there, so the bolt (placed in the name's box) strikes through the letters, not the space after them */
.bx-srow>.bx-slink>.bx-sname.bx-wm[data-bolt],.bx-r-id>.bx-sname.bx-wm[data-bolt]{justify-self:start;width:max-content;max-width:100%}
.bx-wm[data-bolt]>.bx-bolt{display:block;position:absolute;inset:0;pointer-events:none;-webkit-user-select:none;user-select:none}
.bx-bolt>svg{position:absolute;top:50%;width:3em;height:2.4em;margin:-1.2em 0 0 -1.5em;overflow:visible;opacity:0;
  -webkit-mask:linear-gradient(180deg,transparent 2%,#000 27%,#000 73%,transparent 98%);mask:linear-gradient(180deg,transparent 2%,#000 27%,#000 73%,transparent 98%);
  filter:drop-shadow(0 0 .09em var(--c1,#8ea0ff))}
.bx-bolt path{fill:none;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:3;vector-effect:non-scaling-stroke}
.bx-bolt .g{stroke:var(--c1,#8ea0ff);stroke-width:2.4px;opacity:.5}
.bx-bolt .c{stroke:#fff;stroke-width:1.1px}
.bx-bolt .fg{stroke-width:1.6px;opacity:.35}
.bx-bolt .fc{stroke-width:.7px;opacity:.85}
.bx-bolt::after{content:attr(data-t);position:absolute;inset:0;overflow:hidden;text-overflow:ellipsis;color:#fff;-webkit-text-fill-color:#fff;
  text-shadow:0 0 .35em var(--c1,#8ea0ff);opacity:0}
.bx-bolt>svg,.bx-bolt::after{animation:bx-strike 7.8s linear var(--bd,0s) infinite}
.bx-bolt::after{animation-name:bx-lit}
.bx-bolt.is-off>svg,.bx-bolt.is-off::after,.bx-ult-holo .bx-bolt::after{animation:none}
@keyframes bx-strike{0%{opacity:0}.3%{opacity:1}.9%{opacity:.95}1.5%{opacity:.08}2.1%{opacity:1}3%{opacity:.75}5.2%{opacity:0}100%{opacity:0}}
@keyframes bx-lit{0%{opacity:0}.3%{opacity:.4}.9%{opacity:.36}1.5%{opacity:.04}2.1%{opacity:.34}3%{opacity:.2}5.2%{opacity:0}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.bx-bolt>svg,.bx-bolt::after{animation:none}}

/* Option B (row E802), behind one switch, off: the class bx-ult-holo on the page root. The top tier's names and title
   then wear a holographic foil instead of the lightning: the sheen's band turns prismatic and crosses slowly, and a
   rainbow copy of the letters sits a pixel off them as a coloured edge, which shifts a little with the pointer on a
   desktop (bots.js sets --hx and --hy). With reduced motion it is still. */
.bx-ult-holo .bx-wm[data-bolt]>.bx-bolt>svg{display:none}
.bx-ult-holo .bx-wm[data-bolt]>.bx-bolt::before{content:attr(data-t);position:absolute;inset:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  background-image:linear-gradient(100deg,#ff5f6d,#ffc371 18%,#47e891 36%,#3fc6ff 54%,#9d7bff 72%,#ff6ad5 90%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  opacity:.55;mix-blend-mode:screen;transform:translate(calc(.7px + var(--hx,0) * 1.4px),calc(var(--hy,0) * .8px));transition:transform .3s ease-out}
@supports (overflow:clip){
  .bx-ult-holo .bx-wm[data-bolt]>.bx-sh{opacity:.9;-webkit-mask-size:4.4em 100%;mask-size:4.4em 100%;animation-duration:7s}
  .bx-ult-holo .bx-wm[data-bolt]>.bx-sh::before{animation-duration:7s;color:transparent;-webkit-text-fill-color:transparent;
    background-image:linear-gradient(100deg,#ff5f6d,#ffc371 18%,#47e891 36%,#3fc6ff 54%,#9d7bff 72%,#ff6ad5 90%);-webkit-background-clip:text;background-clip:text}
}
@media(prefers-reduced-motion:reduce){.bx-ult-holo .bx-wm[data-bolt]>.bx-bolt::before{transform:translate(.7px,0);transition:none}}

@supports not ((-webkit-background-clip:text) or (background-clip:text)){
  .bx-wm,.bx-wm[data-lvl]{background-image:none;color:var(--bright);-webkit-text-fill-color:currentColor}
  .bx-wm>.bx-sh,.bx-wm>.bx-bolt{display:none}
}
@media(forced-colors:active){
  .bx-wm,.bx-wm[data-lvl]{background-image:none;color:CanvasText;-webkit-text-fill-color:CanvasText}
  .bx-wm>.bx-sh,.bx-wm>.bx-bolt{display:none}
}

/* the tier titles keep their tier's own colours, by the card's place on the ladder (the card's data-lvl):
   white, then a slate, then bright polished silver, and gold for the top tier alone. The title's finish is its own
   data-lvl (row E802: Base plain, Select solid, Supreme the sheen, Ultimate the sheen and the lightning). */
.bx-plan[data-lvl="plain"] .bx-tname{--c0:#ffffff;--c1:#ffffff;--c2:#ffffff}
.bx-plan[data-lvl="gradient"] .bx-tname{--c0:#9ba7c3;--c1:#7687ad;--c2:#536799}
.bx-plan[data-lvl="polished"] .bx-tname{--c0:#ffffff;--c1:#f2f5fa;--c2:#c9d3e4;filter:drop-shadow(0 0 .5em rgba(214,224,242,.2))}
.bx-plan[data-lvl="sheen"] .bx-tname{--c0:#fff7df;--c1:#f7c948;--c2:#ffa24f;filter:drop-shadow(0 0 .5em rgba(247,201,72,.22))}

/* buttons */
.bots .bx-btn-red{background:var(--red-btn);border-color:var(--red-edge);color:#fff}
.bots .bx-btn-red:hover{background:var(--red-btn-hover)}

/* hero */
.bx-hero{padding:48px 0 52px;border-bottom:1px solid var(--line);
  background:radial-gradient(120% 95% at 88% -12%,rgba(105,11,18,.62),rgba(70,9,16,.22) 42%,transparent 66%),var(--bg)}
.bx-kicker{margin:0 0 14px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--red-soft)}
.bx-hero h1{max-width:900px;margin-bottom:18px}
.bx-lead{font-size:19px;color:var(--text);max-width:680px;margin:0 0 26px}
.bx-cta{display:flex;flex-direction:column;gap:12px;margin:0 0 30px}
.bx-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px;color:var(--dim);font-size:15.5px}
.bx-facts li{padding-left:22px;position:relative}
.bx-facts li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:2px;background:var(--red-brand)}
@media(min-width:560px){.bx-cta{flex-direction:row;flex-wrap:wrap}}
/* Row E816: on a phone the two hero buttons are 46px tall (the large buttons' padding made them taller); same words */
@media(max-width:559.98px){.bx-hero .bx-cta .btn{min-height:46px;padding-top:10px;padding-bottom:10px;line-height:1.25}}
@media(min-width:900px){.bx-hero{padding:84px 0 76px}.bx-facts{grid-template-columns:repeat(3,auto);justify-content:start;gap:10px 36px}}

/* section heads */
.bx-head{margin:0 0 28px;max-width:820px}
.bx-head h2{margin-bottom:12px}
.bx-sub{color:var(--dim);font-size:18px;margin:0}
/* Row E827: under the plans' intro, what a bot also needs from other companies, with a link to the FAQ item */
.bx-need{margin:10px 0 0;color:var(--text);font-size:15.5px}
.bx-need a{color:var(--bright);font-weight:600;text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
.bx-need a:hover{text-decoration-color:var(--bright)}
.bx-faq details[id]{scroll-margin-top:76px}   /* clear of the sticky top bar, as style.css does for sections */
.bx-strategies,.bx-how{background:var(--bg2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* plans */
.bx-plan-grid{display:grid;gap:12px}
/* A tier card is compact: at phone width the whole card, from its name to its last line, fits one screen.
   Its parts are laid out as one wrapping row. The name and the price share the first line; every other part
   takes a full line of its own, in this order: the line under the name, the Choose button, the strategies,
   the update line, support and access. The card's header is not a box of its own (display:contents), so the
   title and the line under it are parts of that row too. A part added later (a savings line, say) needs only
   its own order and a full line. */
.bx-plan{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px 16px 18px;display:flex;flex-wrap:wrap;align-items:baseline;align-content:flex-start;gap:12px;min-width:0;transition:border-color .15s,box-shadow .15s}
.bx-plan>header{display:contents}
.bx-plan>header>h3{order:1;flex:0 1 auto}
.bx-plan>.bx-price{order:2;flex:0 0 auto;margin-left:auto}
.bx-plan>header>.bx-plan-for{order:3;flex:0 0 100%;margin-top:-7px}
.bx-plan>.bx-choose{order:4}
.bx-plan>.bx-strats{order:5;flex:0 0 100%}
.bx-plan>.bx-inc{order:6;flex:0 0 100%}
.bx-plan>.bx-perks{order:7;flex:0 0 100%}
/* The card ladder, each step adding light and never size:
     plain     the page's own panel and hairline
     gradient  the same flat panel with a slate edge. Not lit.
     polished  a bright silver edge all the way round, light falling in from the top, a soft silver glow
     sheen     a gold edge with a second gold line inside it, gold light from the top corner, the strongest glow */
.bx-plan[data-lvl="gradient"]{border-color:#444d6c}
.bx-plan[data-lvl="polished"]{border-color:transparent;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 26px -10px rgba(206,218,242,.34),0 22px 52px -30px rgba(190,206,238,.5);
  background:linear-gradient(180deg,rgba(214,224,242,.1),rgba(214,224,242,0) 170px) padding-box,
    linear-gradient(var(--panel),var(--panel)) padding-box,
    linear-gradient(165deg,#f6f8fc,rgba(196,206,226,.62) 30%,rgba(150,162,190,.42) 62%,rgba(228,234,246,.9)) border-box}
.bx-plan[data-lvl="sheen"]{border-color:transparent;
  box-shadow:inset 0 0 0 1px rgba(247,201,72,.24),inset 0 1px 0 rgba(255,236,170,.34),0 0 38px -8px rgba(247,201,72,.46),0 28px 66px -28px rgba(255,157,71,.62);
  background:radial-gradient(130% 240px at 0 0,rgba(247,201,72,.15),rgba(247,201,72,0) 70%) padding-box,
    linear-gradient(180deg,rgba(247,201,72,.07),rgba(247,201,72,0) 260px) padding-box,
    linear-gradient(var(--panel),var(--panel)) padding-box,
    linear-gradient(165deg,#ffe58a,#f7c948 24%,rgba(247,201,72,.6) 50%,rgba(255,157,71,.66) 74%,#ffbe5c) border-box}
.bx-plan.is-chosen,.bx-plan[data-plan].is-chosen{border-color:var(--red-edge);box-shadow:0 0 0 1px var(--red-edge) inset,0 14px 44px -20px rgba(225,25,30,.6)}
/* one line height for every title and for the price beside it, so the first line is level across the cards */
.bx-plan h3{width:fit-content;max-width:100%;font-size:22px;line-height:30px;margin:0}
.bx-plan[data-lvl="gradient"] h3.bx-tname,.bx-plan[data-lvl="polished"] h3.bx-tname,.bx-plan[data-lvl="sheen"] h3.bx-tname{font-size:20px}
.bx-plan-for{margin:0;color:var(--dim);font-size:15px;line-height:1.35}
.bx-price{display:flex;align-items:baseline;gap:6px;margin:0;white-space:nowrap}
.bx-amt{font-family:var(--display);font-size:28px;font-weight:700;color:var(--bright);letter-spacing:-.03em;line-height:30px}
.bx-per{color:var(--dim);font-size:14px}
/* a tier whose price is not set yet: the words stand where the figure would, smaller, on the figure's own line height */
.bx-tbs{font-family:var(--display);font-size:18px;font-weight:600;color:var(--bright);letter-spacing:-.01em;line-height:30px}
.bx-bar-price .bx-tbs-bar{margin-left:0;font-size:16px;color:var(--text)}
/* where a card is narrowest (the smallest phones, and four cards across) the price gives way, so the name and the price keep one line */
@media(max-width:379.98px),(min-width:1800px){
  .bx-plan-grid .bx-plan{column-gap:8px}
  .bx-plan-grid .bx-amt{font-size:24px}
  .bx-plan-grid .bx-per{font-size:13px}
}

/* The strategies a tier gives access to: a heading, then one chip per named strategy. The chips sit side by side
   and wrap. A chip is the strategy's name in its own lettering and an arrow; the whole chip is the link that opens
   the strategy. The strategies not named yet are one quiet chip with a dashed edge, which is not a link. Under
   the chips, the "Plus" line: the lower grades this tier also holds, and what is added later. */
.bx-strats{border:1px solid var(--line);border-radius:10px;background:var(--bg2);overflow:hidden}
.bx-list-h{margin:0;padding:9px 12px 0;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--red-soft)}
.bx-strats ul{list-style:none;margin:0;padding:0 var(--ul-pad) 2px;display:grid;gap:0}
/* Row E803: one strategy a line: the name, then its return on drawdown (row E815: a percentage, its column 50 px wide), profit factor and own price in columns that line
   up down the card (fixed widths, tabular numerals), then the arrow; a column head over them and one line under them */
.bx-strats{--fg-cols:minmax(0,1fr) 50px 38px 58px 10px;--fg-gap:8px;--ul-pad:14px}
/* row E815: "Return on drawdown" is written out in full on one line: its head spans the empty name column and ends over
   its own figures, so the figure columns keep their widths and no word is cut short */
.bx-fh span{white-space:nowrap}
.bx-fh .bx-fh-rod{grid-column:1/3}
.bots .bx-srow>.bx-slink{display:grid;grid-template-columns:var(--fg-cols);column-gap:var(--fg-gap);flex:1 1 auto;width:100%}
.bx-fg{justify-self:end;font-family:var(--sans);font-size:13px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;
  letter-spacing:0;white-space:nowrap;text-align:right}
.bx-fg-u{font-weight:500;color:var(--dim)}
.bx-fh{display:grid;grid-template-columns:var(--fg-cols);column-gap:var(--fg-gap);margin:0;padding:8px var(--ul-pad) 0;font-size:11.5px;font-weight:600;
  line-height:1.3;color:var(--dim);letter-spacing:.02em}
.bx-fh span{justify-self:end}
.bx-hypo{margin:0;padding:0 var(--ul-pad) 8px;font-size:12px;line-height:1.35;color:var(--dim)}
.bx-strats{container-type:inline-size}
/* Row E816 (the owner, 2026-11-22: every strategy on one line, so a phone scrolls less): a list narrower than 400px
   (phones, two cards across at 768, four across from 1800px) keeps each name and its figures on one line. The figures
   take 12px in narrower columns; the price column's head says "Price" (row E827: "$/mo" read as monthly profit), and the
   lines leave their "/mo" out of sight (screen
   readers still read it); upper-case names are spaced a little closer; and each name takes the size at which its card's
   widest name fits (bots.js, fitRows: --pr-k; --fix is the room the rest of the line takes), never under 11px. Under
   290px the figures take 11px and the arrow goes. */
.bx-fh-pn{display:none}
@container (max-width:399.98px){
  .bx-strats>*{--fg-cols:minmax(0,1fr) 46px 34px 31px 7px;--fg-gap:6px;--ul-pad:10px;--fix:162px}
  .bots .bx-strats .bx-slink{min-height:36px}
  .bx-strats .bx-fg{font-size:12px}
  .bx-strats .bx-fg-u{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .bx-fh-pw{display:none}
  .bx-fh-pn{display:inline}
  .bx-srow .bx-sname.bx-wm:not([data-lvl="plain"]){letter-spacing:.04em}
  .bx-srow .bx-sname.bx-wm{font-size:clamp(11px,calc((100cqw - var(--fix)) * var(--pr-k,.066)),15px)}
  .bx-srow .bx-sname.bx-wm[data-lvl="plain"]{font-size:clamp(11px,calc((100cqw - var(--fix)) * var(--pr-k,.066)),15.5px)}
  .bx-strats .bx-arw{font-size:13px}
}
@container (max-width:289.98px){
  .bx-strats>*{--fg-cols:minmax(0,1fr) 41px 30px 29px;--fg-gap:5px;--ul-pad:8px;--fix:131px}
  .bx-strats .bx-fg,.bx-strats .bx-fh{font-size:11px}
  .bx-strats .bx-arw,.bx-strats .bx-fh>span:last-child{display:none}
}
/* Row E832 (addendum D): a list narrower than 250px (a window under about 333px wide that keeps 15px of it for a desktop
   scrollbar, or a phone under about 318px) is too narrow for the longest name at 11px beside its figures, so there the
   11px floor gives way to 9px: every name takes the size at which its card's widest name fits (bots.js, fitRows), and
   none is cut. The lettering and its colours are unchanged; from 250px nothing changes. */
@container (max-width:249.98px){
  .bx-srow .bx-sname.bx-wm{font-size:clamp(9px,calc((100cqw - var(--fix)) * var(--pr-k,.066)),15px)}
  .bx-srow .bx-sname.bx-wm[data-lvl="plain"]{font-size:clamp(9px,calc((100cqw - var(--fix)) * var(--pr-k,.066)),15.5px)}
}
/* Row E816: the smallest phones give the cards 4px more room each side, so the lines' names stay at 11px or more */
@media(max-width:379.98px){.bots .bx-plan{padding-left:12px;padding-right:12px}}
/* Row E816: a plan's coming-soon strategies stand under its released ones, in a box of their own inside the list's frame,
   headed by the "Coming soon" tag (the one mark: no line carries it). The box's inset (6px and its 1px edge) comes off its
   lines' own, so their figures stand in the head's columns. */
.bx-soon{margin:2px 6px 6px;border:1px dashed var(--line2);border-radius:8px}
.bx-soon-h{margin:0;padding:6px calc(var(--ul-pad) - 7px) 0;line-height:1}
.bx-soon-h .bx-cs{margin:0}
.bx-strats .bx-soon ul{padding:0 calc(var(--ul-pad) - 7px) 1px}
.bx-srow{display:flex;min-width:0;max-width:100%;margin:0}
.bots .bx-slink{display:flex;align-items:center;gap:6px;min-width:0;min-height:40px;box-sizing:border-box;padding:0;border:0;border-radius:6px;background:none;color:var(--bright);font-weight:600;white-space:nowrap}
.bots .bx-slink:hover{text-decoration:none}
.bots .bx-slink:hover .bx-arw{color:#fff;transform:translateX(2px)}
.bx-arw{transition:transform .15s ease-out}
.bx-sname.bx-wm{font-size:15px;line-height:1.3}
.bx-sname.bx-wm[data-lvl="plain"]{font-size:15.5px}
/* Row E827: a plan line's name is never shortened with an ellipsis, nor are its lit copies: it is sized to fit its column
   (bots.js, fitRows) */
.bx-srow .bx-sname{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:clip}
.bx-srow .bx-sname>.bx-sh::before,.bx-srow .bx-sname>.bx-bolt::after,.bx-ult-holo .bx-srow .bx-sname>.bx-bolt::before{text-overflow:clip}
/* Row E816: a letter's ink can reach a little past the name's box at either end (a plain name's first letter was cut by
   1px); the box takes 2px each side and gives them back, so nothing is cut and nothing moves. The lit copy over a sheen
   name starts 2px in to stay on the letters; a name with the lightning clips with room to spare already (above). */
.bx-srow .bx-sname.bx-wm:not([data-bolt]){padding:0 2px;margin:0 -2px}
.bx-srow .bx-sname.bx-wm:not([data-bolt])>.bx-sh::before{padding:0 2px}
.bx-arw{flex:none;color:var(--red-soft);font-size:15px;font-weight:500;line-height:1}
.bx-tba{margin:0;padding:8px 0;border:0;color:var(--dim);font-size:13.5px;font-weight:500;line-height:1.35}
.bx-tba small{font-size:13px;font-weight:400;color:var(--faint)}
.bx-tba small::before{content:"\00a0\00b7\00a0"}
.bx-plus{margin:0;padding:8px 12px;border-top:1px solid var(--line);font-size:13.5px;font-weight:500;line-height:1.4;color:var(--text);background:var(--red-tint)}

.bx-inc{list-style:none;margin:0;padding:0;font-size:14px;line-height:1.4;color:var(--text)}
.bx-inc li{position:relative;padding-left:22px;margin:0}
.bx-inc li::before{content:"";position:absolute;left:3px;top:.4em;width:9px;height:5px;border-left:2px solid var(--red-soft);border-bottom:2px solid var(--red-soft);transform:rotate(-45deg)}
/* What a tier gives beyond its strategies: one running line. The tier's own lines, each ending in a middle dot;
   with a tier under it they are the lines it adds, bright, each behind a plus sign in the tier's own colour, and
   the line closes with "Plus everything in" the tiers below, quieter. Every line of every tier is in the table
   under the cards (.bx-cmp): tier names upright on a phone, so the four columns stay narrow and a line keeps to
   two rows. */
.bx-perks{margin:0;padding-top:12px;border-top:1px solid var(--line);font-size:14px;line-height:1.5;color:var(--text)}
.bx-perks-h,.bx-rule .bx-perks-h{margin:0;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red-soft)}
.bx-perks .bx-perks-h{margin:0 0 3px;line-height:1.4}
.bx-perks ul{display:inline;list-style:none;margin:0;padding:0}
.bx-perks li{display:inline;margin:0}
.bx-perks li:not(:last-child)::after,.bx-perks ul:has(+ .bx-perks-plus:not([hidden])) li:last-child::after{content:"\00a0\00b7";font-weight:400;color:var(--faint)}
.bx-perks ul.is-add li{color:var(--bright);font-weight:500}
.bx-perks ul.is-add li::before{content:"+\00a0";font-weight:700;color:var(--perk,var(--red-soft))}
.bx-plan[data-lvl="gradient"]{--perk:#aab5d0}
.bx-plan[data-lvl="polished"]{--perk:#f2f5fa}
.bx-plan[data-lvl="sheen"]{--perk:#f7c948}
.bx-perks-plus{display:inline;margin:0;color:var(--dim)}
.bx-perks-plus[hidden]{display:none}
.bx-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bx-cmp{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.bx-cmp table{width:100%;margin:8px 0 0;border-collapse:collapse;font-size:14px;color:var(--text)}
.bx-cmp th,.bx-cmp td{position:relative;padding:7px 0;border-top:1px solid var(--line);text-align:center;vertical-align:middle;font-weight:400}
.bx-cmp thead th,.bx-cmp thead td{padding:0 0 8px;border-top:0;vertical-align:bottom}
.bx-cmp thead th{width:30px;font-size:12.5px;font-weight:600;line-height:30px;color:var(--bright)}
.bx-cmp thead th span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}
.bx-cmp tbody th{padding-right:10px;text-align:left}
.bx-cmp td.is-in::before{content:"";display:inline-block;width:10px;height:5px;margin-bottom:3px;border-left:2px solid var(--red-soft);border-bottom:2px solid var(--red-soft);transform:rotate(-45deg)}
.bx-cmp tbody td:not(.is-in)::before{content:"";display:inline-block;width:8px;height:0;margin-bottom:4px;border-top:1px solid var(--line2)}
@media(min-width:560px){
  .bx-cmp thead th{width:84px;line-height:1.3}
  .bx-cmp thead th span{writing-mode:horizontal-tb;transform:none}
}
/* Under 380 px the four tier columns give up 6 px each, so the longest line still keeps to two rows. */
@media(max-width:379.98px){
  .bx-cmp thead th{width:24px;line-height:24px}
}
/* The short texts of a tier card and of the table under the cards wrap balanced: the lines of a text come out
   near the same length, so none ends on a line that holds one word. Words, sizes and the count of lines stay. */
.bx-plan .bx-plan-for,.bx-plan .bx-life-note,.bx-plan .bx-plus,.bx-plan .bx-inc li,.bx-cmp tbody th{text-wrap:balance}
/* A hyphenated word in those texts stays whole: no line ends at its hyphen. */
.bx-nb{white-space:nowrap}
.bots .bx-choose{width:100%;min-height:44px;padding:9px 16px;font-size:15.5px}
.bots .bx-plan.is-chosen .bx-choose{background:var(--red-btn);border-color:var(--red-edge);color:#fff}

/* The one-time plan: a band under the tier cards, as wide as their grid. It is the top tier paid once and has no
   finish of its own: the page script gives its card and its title the top tier's data-lvl, so the rules above draw them.
   Under 1000px it is laid out like a tier card: its name and price on the first line, then its two lines, then
   its button. From 1000px its words stand on the left and its price and button on the right. */
.bx-life{margin-top:12px}
.bx-life-note{margin:0;color:var(--dim);font-size:14px;line-height:1.4}
.bx-life-buy{display:flex;flex-direction:column;gap:12px}
/* row E796: what Lifetime adds (a short list under its two lines) and its no-refund line (under its button) */
.bx-life-adds{margin:10px 0 0;display:grid;gap:4px}
.bx-life-fine{margin:-4px 0 0;color:var(--dim);font-size:13px;line-height:1.35;text-align:center}
@media(max-width:999.98px){
  .bx-life>.bx-life-main,.bx-life>.bx-life-main>header,.bx-life>.bx-life-buy{display:contents}
  .bx-life h3{order:1;flex:0 1 auto}
  .bx-life .bx-price{order:2;flex:0 0 auto;margin-left:auto}
  .bx-life .bx-plan-for{order:3;flex:0 0 100%;margin-top:-7px}
  .bx-life .bx-life-note{order:3;flex:0 0 100%;margin-top:-8px}
  .bx-life .bx-choose{order:4}
  .bx-life .bx-life-adds{order:3;flex:0 0 100%;margin-top:-2px}
  .bx-life .bx-life-fine{order:5;flex:0 0 100%;margin-top:-6px}
}
.bx-rule{margin:20px 0 0;padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--red-edge);border-radius:10px;background:var(--bg2);max-width:860px}
.bx-rule h3{font-size:19px;margin:0 0 6px}
.bx-rule p{margin:0;color:var(--dim);font-size:15.5px}
.bx-fine{margin:18px 0 0;color:var(--faint);font-size:14px;max-width:760px}
/* what a tier saves against its strategies bought one by one (only when every price is set), under the tier's line */
.bx-save{order:3;flex:0 0 100%;margin:0;color:var(--green);font-size:14.5px;font-weight:600;line-height:1.35}
/* Row E832: Base's line, how many strategies it holds as they release (bots.js), in the place of the other cards' savings line */
.bx-base-line{order:3;flex:0 0 100%;margin:0;color:var(--text);font-size:14.5px;font-weight:600;line-height:1.35;text-wrap:balance}
/* Row E832: a monthly plan's free trial with its price (bots.js), under the price and under the savings line where a card has one */
.bx-trial{order:3;flex:0 0 100%;margin:-6px 0 0;color:var(--bright);font-size:14.5px;font-weight:600;line-height:1.35}
/* Row E803: the line under each monthly tier's name is hidden (it stays in the page as data for the publish check);
   the one-by-one total stands just over the price, read before it, with a red slash through it, so the name and the
   price keep their one line at every width */
.bx-plan[data-kind="monthly"] .bx-plan-for{display:none}
.bx-plan>.bx-price{position:relative}
.bx-was{position:absolute;left:0;top:0;margin:0;color:var(--dim);font-family:var(--display);font-size:17px;font-weight:600;line-height:1.2;
  letter-spacing:-.02em;text-decoration:none;font-variant-numeric:tabular-nums}
.bx-was::after{content:"";position:absolute;left:-3px;right:-3px;top:50%;border-top:2px solid #ff4d55;transform:rotate(-16deg);pointer-events:none}
@media(forced-colors:active){.bx-was{text-decoration:line-through}.bx-was::after{display:none}}
/* where the tier pill shares the name's line, the first line makes room over the price for the struck total, on every
   card of the grid alike so the cards' first lines stay level; where the pill has its own line the total sits beside it.
   Row E816: the total stands in that room, inside the card (it stood above the price's box, over the card's edge). */
@container bxplan (max-width:469.98px){.bx-plan-grid:has(.bx-was) .bx-plan>.bx-price{padding-top:22px}}
/* a card wide enough for all of it on one line has the struck total right before the price */
@container bxplan (min-width:470px){.bx-was{position:relative;left:auto;top:auto;margin:0 4px 0 0}}
@media(max-width:379.98px),(min-width:1800px){.bx-plan-grid .bx-was{font-size:15px}}
/* Row E803: Lifetime's arithmetic against the top tier, under its price */
.bx-life-sum{margin:-4px 0 0;color:var(--text);font-size:14px;line-height:1.4}
@media(max-width:999.98px){.bx-life .bx-life-sum{order:3;flex:0 0 100%;margin-top:-2px}}
/* Row E827 item 15: how Lifetime is paid, under its arithmetic and above its button */
.bx-life-pay{margin:-4px 0 0;color:var(--text);font-size:14px;line-height:1.4}
@media(max-width:999.98px){.bx-life .bx-life-pay{order:3;flex:0 0 100%;margin-top:-2px}}
/* Row E832: Lifetime's four terms (BRAND-62), always shown: under its button below 1000px, under its words from 1000px */
.bx-life-terms{margin:14px 0 0;padding:10px 0 0 18px;border-top:1px solid var(--line);display:grid;gap:5px;color:var(--dim);font-size:13.5px;line-height:1.4}
.bx-life-terms li{margin:0}
@media(max-width:999.98px){.bx-life .bx-life-terms{order:6;flex:0 0 100%;margin-top:-2px}}
/* the way to the Strategies page, under the tiers */
.bx-one{margin:18px 0 0;font-size:17px;font-weight:600}
.bx-one a{color:var(--bright);text-decoration:underline;text-underline-offset:3px}
/* How many cards sit in a row follows how many tiers there are. The grid has twelve columns; a card spans all
   twelve, six, four or three.
     with 3 tiers: one column, then all across from 1000px
     with 4 tiers: one column, two by two from 700px, all four across from 1800px
   Every card's first line (name and price), the line under it and its Choose button are one line each, so they
   sit level across the cards of a row. */
@media(min-width:720px){
  .bx-plan-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:20px}
  .bx-plan{grid-column:span 12;padding:20px 20px 22px}
  .bx-plan:first-child:nth-last-child(4),.bx-plan:first-child:nth-last-child(4)~.bx-plan{grid-column:span 6}
  .bx-life{margin-top:20px}
}
@media(min-width:1000px){
  .bx-plan{grid-column:span 4;padding:24px 24px 26px;row-gap:14px}
  .bx-life{flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:48px;padding:22px 28px}
  .bx-life-main{flex:1 1 auto;min-width:0}
  .bx-life .bx-plan-for{margin-top:4px}
  .bx-life .bx-life-note{margin-top:2px}
  .bx-life-buy{flex:none;width:350px}
}
@media(min-width:1800px){
  .bx-plan:first-child:nth-last-child(4),.bx-plan:first-child:nth-last-child(4)~.bx-plan{grid-column:span 3;padding:22px 18px 24px}
}

/* strategies */
.bx-strat-grid{display:grid;gap:16px}
.bots .bx-strat{display:flex;flex-direction:column;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:14px 16px 12px;color:var(--text);transition:border-color .15s,transform .15s}
.bots .bx-strat:hover{text-decoration:none;border-color:var(--red-edge)}
/* Row E763 (the director's example card): one title line on every card: the name, the market code in a small outlined
   chip beside it, the badge "Tier n" at the right */
.bx-strat-top{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;height:28px;margin:0}
.bx-strat-k{flex:none;margin:0;font-family:var(--sans);font-weight:600;font-size:11.5px;letter-spacing:.08em;line-height:1.5;text-transform:uppercase;color:#ff9a9d;border:1px solid rgba(255,82,87,.35);border-radius:5px;padding:1px 6px}
.bx-tier{flex:none;font-size:11.5px;letter-spacing:.02em;text-transform:none;color:var(--bright);border:1px solid var(--line2);border-radius:999px;padding:1px 9px}
.bx-tier[data-lvl="gradient"]{color:#c3cbe0;border-color:#4d5778}
.bx-tier[data-lvl="polished"]{color:#f4f7fc;border-color:rgba(222,230,244,.82);background:rgba(214,224,242,.09);box-shadow:0 0 10px -3px rgba(206,218,242,.55)}
.bx-tier[data-lvl="sheen"]{color:#ffe08a;border-color:#f7c948;background:rgba(247,201,72,.13);box-shadow:0 0 12px -2px rgba(247,201,72,.7)}
.bots .bx-strat[data-lvl="gradient"]{border-color:#3b4360}
.bots .bx-strat[data-lvl="polished"]{border-color:rgba(214,224,242,.5);box-shadow:0 0 22px -12px rgba(206,218,242,.42)}
.bots .bx-strat[data-lvl="sheen"]{border-color:rgba(247,201,72,.66);box-shadow:inset 0 1px 0 rgba(255,236,170,.2),0 0 28px -10px rgba(247,201,72,.5)}
.bots .bx-strat[data-lvl]:hover{border-color:var(--red-edge)}
/* Row E766: the badge "Tier n" wherever a strategy's tier is shown, and leading each tier card's name */
/* beside the name where the name and the price fit on one line; on a narrow card it stands on its own line above the name,
   on every card alike, so the price keeps its place beside the name */
.bx-plan{container:bxplan/inline-size}
.bx-plan-tl{display:contents}
@container bxplan (max-width:359.98px){.bx-plan-tl{display:flex;flex:0 0 100%;order:0;margin-bottom:-4px}}
.bx-plan .bx-plan-tier{order:0;flex:none;align-self:center;font-family:var(--sans);font-weight:600;font-size:12px;letter-spacing:0;line-height:1.5;padding:2px 10px;white-space:nowrap}
.bx-sheet-k .bx-tier,.bx-bar .bx-tier,.bx-part .bx-tier,.bx-r-sub .bx-tier{display:inline-block;font-family:var(--sans);font-weight:600;font-size:11.5px;letter-spacing:0;line-height:1.4;padding:0 8px;vertical-align:1px;white-space:nowrap;text-transform:none}
.bx-r-sub .bx-tier{font-size:11px;line-height:1.25;padding:0 7px;vertical-align:0}
.bx-strat-top .bx-tier{margin-left:auto;font-family:var(--sans);font-weight:600;font-size:12px;letter-spacing:0;line-height:1.5;padding:2px 10px;white-space:nowrap}
/* Row E763: one name size on the whole grid: 16px, or less where the widest name does not fit beside the code and badge
   (--nm-r, their room; --nm-k, the widest name's width per pixel of font; both set by bots.js, fitNames) */
.bx-strat h3{flex:0 1 auto;min-width:0;margin:0;font-size:16px;line-height:28px;white-space:nowrap}
.bx-strat h3 .bx-wm,.bx-strat h3 .bx-wm[data-lvl]{font-size:min(16px,calc((100cqw - var(--nm-r,110px)) * var(--nm-k,.085)));line-height:1.15}
/* a card's three figures (rows E702, E763): label over figure, one row: left, centre, right; an empty list takes no room */
.bx-hl{display:grid;grid-template-columns:max-content 1fr max-content;align-items:end;gap:10px;margin:12px 0 10px;container-type:inline-size}
.bx-hl:empty{display:none}
.bx-hl-i{min-width:0}
.bx-hl-i:nth-child(2){text-align:center}
.bx-hl-i:nth-child(3){text-align:right}
.bx-hl dt{margin:0;font-size:11px;line-height:1.3;color:var(--dim);white-space:nowrap}
.bx-hl dd{margin:2px 0 0;font-family:var(--display);font-weight:700;font-size:17px;color:var(--bright);letter-spacing:-.02em;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
@container (max-width:300px){.bx-hl{gap:8px}.bx-hl dt{font-size:10.5px}.bx-hl dd{font-size:15.5px}}
/* the card is the container its name size and its figures' small sizes are read from (rows E761, E763) */
.bots .bx-strat{container:bxcard/inline-size}
/* Row E763 (the director's example card): the equity chart, drawn by bots.js at its box's width, 230/600 of it high;
   the total profit written inside it bottom right (top left where the line would cross), a coming-soon mark top left */
.bx-spark{position:relative;margin:auto 0 0;border:1px solid var(--line);border-radius:10px;background:var(--bg2);overflow:hidden;color:var(--faint);font-size:13.5px}
.bx-spark svg{display:block;width:100%;height:auto}
.bx-spark .gl{stroke:#23263a;stroke-width:1}
.bx-spark .gl.z{stroke:#3a3f58;stroke-dasharray:3 3}
.bx-spark .gt{font-family:var(--sans);font-size:10px;fill:#80859c}
.bx-spark-none{display:flex;align-items:center;justify-content:center;min-height:60px}
.bx-spark-tp{position:absolute;right:56px;bottom:26px;text-align:right;line-height:1.15;pointer-events:none}
.bx-spark-tp span{display:block;font-size:11px;color:var(--dim)}
.bx-spark-tp b{font-family:var(--display);font-weight:700;font-size:20px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
.bx-spark-tp.is-top{right:auto;bottom:auto;top:8px;left:10px;text-align:left}
.bx-spark.has-cs .bx-spark-tp.is-top{top:36px}
.bx-spark-tp.is-sm span{font-size:10px}
.bx-spark-tp.is-sm b{font-size:15px}
.bx-spark>.bx-cs{position:absolute;top:8px;left:8px;margin:0}
/* Row E827: the line under each card's chart: "Hypothetical backtest" and that strategy's dates, 12px, 6.6:1 on the card */
.bx-strat-hypo{margin:6px 0 0;font-size:12px;line-height:1.35;color:var(--dim)}
.bx-strat-go{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 0;min-height:44px;font-size:14px}
/* Row E760: bottom left, the max drawdown and the profit factor, one under the other, label then figure */
.bx-risk{display:flex;flex-direction:column;gap:0;min-width:0;font-size:12.5px;line-height:1.45;color:var(--dim)}
.bx-risk:empty{display:none}
.bx-risk-i{white-space:nowrap}
.bx-risk-i b{font-weight:600;color:var(--bright);font-variant-numeric:tabular-nums}
.bx-strat-go .bx-open{margin-left:auto;font-family:var(--display);font-weight:700}   /* row E763: the example card's lettering */
.bx-open{color:var(--bright);font-weight:600;white-space:nowrap}
.bx-open::after{content:" \203A";color:var(--red-soft)}
@media(min-width:860px){.bx-strat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}

/* the six parts and the steps */
.bx-six,.bx-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.bx-six{counter-reset:bx}
.bx-steps{counter-reset:bx}
.bx-six li,.bx-steps li{counter-increment:bx;margin:0;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px 20px 18px}
.bx-six li::before,.bx-steps li::before{content:counter(bx);display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--red-tint);border:1px solid rgba(255,82,87,.4);color:var(--red-soft);font-family:var(--display);font-weight:600;font-size:15px}
.bx-six h3,.bx-steps h3{font-size:20px;margin:12px 0 6px}
.bx-six p,.bx-steps p{margin:0;color:var(--dim);font-size:16px}
@media(min-width:640px){.bx-six{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.bx-six,.bx-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}
.bx-faq{margin-top:44px;max-width:860px}

.bx-foot{padding-bottom:44px}
.bx-foot-line{color:var(--bright);font-weight:600;margin-bottom:10px}
.bx-foot p{max-width:980px}

/* the selection bar */
.bx-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(18,19,28,.97);backdrop-filter:blur(10px);border-top:1px solid var(--line2);padding-bottom:env(safe-area-inset-bottom,0px)}
.bx-bar.has-sel{border-top-color:var(--red-edge)}
.bx-bar-in{box-sizing:border-box;max-width:1160px;margin:0 auto;padding:0 16px;height:var(--bar-h);display:flex;align-items:center;gap:14px}
.bx-bar-sel{flex:1;min-width:0}
.bx-bar-plan{margin:0;font-weight:600;color:var(--bright);font-size:16px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bx-bar-detail{margin:3px 0 0;color:var(--dim);font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bx-bar-price{display:none;margin:0;font-family:var(--display);font-weight:700;font-size:26px;color:var(--bright);letter-spacing:-.02em;white-space:nowrap}
.bx-bar-price small{font-family:var(--sans);font-weight:400;font-size:14px;color:var(--dim);letter-spacing:0;margin-left:6px}
.bx-bar-acts{flex:none;display:flex;gap:10px;min-width:0}
.bots .bx-bar-btn{flex:none;min-height:48px;padding:12px 16px;font-size:15.5px;white-space:nowrap}
.bots .bx-bar-alt[hidden]{display:none}
/* two buttons (Switch and Checkout) do not fit beside the text on a narrow screen: the bar takes a second row */
@media(max-width:899.98px){
  body.bx-bar-two{--bar-h:124px}
  .bx-bar-two .bx-bar-in{flex-wrap:wrap;align-content:center;row-gap:8px}
  .bx-bar-two .bx-bar-acts{flex:1 0 100%}
  .bots.bx-bar-two .bx-bar-btn{flex:0 0 auto;min-width:0;padding-left:14px;padding-right:14px}
  .bots.bx-bar-two .bx-bar-alt{flex:1 1 auto}
}
/* Row E773 (review E769 B1): below 768px a chosen tier's plan line also carries its price, and the "Tier n" badge in
   front of the name pushed the price into the ellipsis; there the badge is left out of that line (the detail line says
   "Tier n strategies") */
@media(max-width:767.98px){
  .bx-bar.has-sel .bx-bar-plan .bx-tier{display:none}
}
@media(min-width:768px){
  .bx-bar-in{padding:0 20px;gap:24px}
  .bx-bp-price{display:none}
  .bx-bar-price{display:block}
  .bx-bar-price[hidden]{display:none}
  .bx-bar-plan{font-size:17px}
  .bots .bx-bar-btn{padding:12px 28px;font-size:16.5px;min-width:190px}
}

/* the open strategy: a bottom sheet on phones, a full view from 900px.
   Its first screen is the name, the chart, the four-figure bar and the monthly P&L; the rest scrolls below. */
.bx-backdrop{position:fixed;inset:0;z-index:40;background:rgba(5,6,10,.7)}
.bx-backdrop[hidden],.bx-sheet[hidden]{display:none}
.bx-sheet{position:fixed;z-index:50;left:0;right:0;top:max(18px,env(safe-area-inset-top,0px));bottom:calc(var(--bar-h) + env(safe-area-inset-bottom,0px));box-sizing:border-box;
  --gut:16px;--peek:50px;
  display:flex;flex-direction:column;background:var(--bg2);border:1px solid var(--line2);border-bottom:0;border-radius:16px 16px 0 0;box-shadow:0 -24px 70px rgba(0,0,0,.65);animation:bx-up .2s ease-out}
.bx-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px var(--gut);border-bottom:1px solid var(--line)}
.bx-sheet-id{flex:1 1 auto;min-width:0;container-type:inline-size}
.bx-sheet-k{margin:0 0 5px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--red-soft);line-height:1.3}
/* the name's line keeps one height at every level (29.7px here, 44px from 900px); every finish above plain shares one size */
.bx-sheet h2{width:fit-content;max-width:100%;font-size:27px;font-size:min(27px,calc(100cqw/(var(--n,9)*.84)));line-height:29.7px;margin:0;outline:0}
.bx-sheet h2[data-lvl="plain"]{font-size:28px;font-size:min(28px,calc(100cqw/(var(--n,9)*.6)))}
.bx-x{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;padding:0 10px;border-radius:10px;border:1px solid var(--line2);background:transparent;color:var(--bright);cursor:pointer;font-family:var(--sans)}
.bx-x:hover{border-color:var(--dim)}
.bx-x-t{display:none;font-size:15.5px;font-weight:600}
.bx-x-i{font-size:26px;line-height:1}
.bx-sheet-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px var(--gut) 24px;container-type:size}
@media(min-width:900px){
  /* full view: the same column as the bar under it */
  .bx-sheet{top:0;border:0;border-radius:0;box-shadow:none;animation-name:bx-in;--gut:max(20px,calc((100% - 1120px)/2));--peek:54px}
  .bx-sheet-head{padding-top:16px;padding-bottom:14px}
  .bx-sheet-k{font-size:12.5px;margin-bottom:7px}
  .bx-sheet h2{font-size:40px;font-size:min(40px,calc(100cqw/(var(--n,9)*.84)));line-height:44px}
  .bx-sheet h2[data-lvl="plain"]{font-size:40px;font-size:min(40px,calc(100cqw/(var(--n,9)*.6)))}
  .bx-x{padding:0 14px 0 16px}
  .bx-x-t{display:inline}
  .bx-sheet-body{padding-top:16px;padding-bottom:28px}
}
@media(min-width:1800px){.bx-sheet{--gut:max(20px,calc((100% - 1280px)/2))}}
@keyframes bx-up{from{transform:translateY(22px);opacity:0}to{transform:none;opacity:1}}
@keyframes bx-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.bx-sheet{animation:none}}

/* first screen: fills the view down to a strip (--peek) that lets the next heading show.
   The chart takes whatever height the bar, the caption and the months leave. */
.bx-first{display:flex;flex-direction:column;gap:10px;min-height:60vh;min-height:calc(100cqh + 24px - var(--peek))}
.bx-chart{position:relative;flex:1 1 auto;min-height:150px;max-height:max(150px,min(100cqw,700px));border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}
.bx-chart svg{position:absolute;left:10px;top:8px;width:calc(100% - 20px);height:calc(100% - 12px);display:block}
.bx-chart .bx-gl{font-family:var(--sans);font-size:11.5px;fill:var(--dim)}
.bx-chart .bx-xl{font-family:var(--sans);font-size:11.5px;fill:var(--dim)}
.bx-kpis{display:grid;grid-template-columns:repeat(4,auto);justify-content:space-between;gap:0 8px;margin:0;padding:8px 12px 9px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.bx-kpi{min-width:0}
.bx-kpi dt{margin:0;font-size:11.5px;color:var(--dim);line-height:1.3;white-space:nowrap}
.bx-kpi dd{margin:2px 0 0;font-family:var(--display);font-weight:600;font-size:17px;color:var(--bright);letter-spacing:-.02em;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
.bx-cap{margin:0;font-size:12px;line-height:1.4;color:var(--dim)}
.bx-mo{display:flex;flex-direction:column;gap:6px}
.bx-mo-h{margin:0;font-family:var(--sans);font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--red-soft);line-height:1.3}
.bx-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none}
.bx-month{margin:0;border-radius:6px;padding:3px 7px 4px;border:1px solid var(--line);background:var(--panel);min-width:0;line-height:1.25}
.bx-month.is-win{background:rgba(52,194,122,.09);border-color:rgba(52,194,122,.38)}
.bx-month.is-loss{background:rgba(255,107,107,.10);border-color:rgba(255,107,107,.45)}
.bx-month span{display:block;font-size:11px;color:var(--dim);white-space:nowrap}
.bx-month b{display:block;font-size:12.5px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.bx-pos{color:var(--win) !important}
.bx-neg{color:var(--loss) !important}
@container (max-width:339.98px){
  .bx-kpis{padding-left:9px;padding-right:9px;gap:0 6px}
  .bx-kpi dd{font-size:16px}
}
@container (min-width:640px){
  .bx-first{gap:12px}
  .bx-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0}
  .bx-kpi{padding:12px clamp(14px,2cqw,22px) 13px;border-left:1px solid var(--line)}
  .bx-kpi:first-child{border-left:0}
  .bx-kpi dt{font-size:13.5px}
  .bx-kpi dd{font-size:clamp(20px,3cqw,28px);margin-top:3px}
  .bx-cap{font-size:13.5px}
  .bx-mo-h{font-size:12.5px}
  .bx-months{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
  .bx-month{padding:5px 10px 6px}
  .bx-month span{font-size:12px}
  .bx-month b{font-size:14px}
}
/* a wide cell reads on one line: the month on the left, its amount on the right */
@container (min-width:960px) and (max-width:1239.98px){
  .bx-month{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:6px 12px}
}
/* the widest column holds a year in one row */
@container (min-width:1240px){
  .bx-months{grid-template-columns:repeat(var(--mo-n,12),minmax(0,1fr))}
}

/* below the first screen: what it is, the test, the other figures, the proof */
.bx-more{display:grid;gap:26px;margin-top:14px;padding-top:16px;border-top:1px solid var(--line)}
.bx-part{margin:0;padding:0;min-width:0}
.bx-part h3{margin:0 0 10px;font-family:var(--sans);font-size:13.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--red-soft);line-height:1.3}
.bx-part > p{margin:0 0 12px;font-size:16.5px;color:var(--text)}
.bx-dl{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);gap:0;margin:0;font-size:15.5px;border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}
.bx-dl dt,.bx-dl dd{margin:0;padding:10px 12px;border-top:1px solid var(--line)}
.bx-dl dt:first-of-type,.bx-dl dt:first-of-type + dd{border-top:0}
.bx-dl dt{color:var(--dim)}
.bx-dl dd{color:var(--bright);text-align:right;overflow-wrap:anywhere}
.bx-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bx-tile{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}
.bx-tile span{display:block;font-size:13px;color:var(--dim);margin-bottom:4px}
.bx-tile b{display:block;font-family:var(--display);font-size:21px;font-weight:600;color:var(--bright);letter-spacing:-.02em;line-height:1.15;white-space:nowrap}
.bx-tile small{display:block;font-size:12.5px;color:var(--faint);margin-top:4px}
.bx-note,.bx-part > p.bx-note{margin:10px 0 0;font-size:13.5px;color:var(--faint)}
.bots .bx-dl a{display:inline-block;padding:12px 0;margin:-12px 0;color:var(--bright);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--red-soft)}
.bx-nofig{border:1px dashed var(--line2);border-radius:10px;padding:16px;background:var(--panel)}
.bx-nofig p{margin:0 0 10px;font-size:16px}
.bx-nofig p:last-child{margin:0;color:var(--dim)}
@container (max-width:379.98px){
  .bx-tile{padding:10px 9px}
  .bx-tile b{font-size:18px}
}
@container (min-width:860px){
  .bx-more{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
  .bx-tile b{font-size:24px}
}

/* wide and very wide screens: a wider column, then the whole page scaled up so it stays readable zoomed out */
@media(min-width:1800px){.bots .wrap,.bx-bar-in{max-width:1320px}}
@media(min-width:2300px){body.bots{zoom:1.3}html{scroll-padding-bottom:114px}}
@media(min-width:3200px){body.bots{zoom:1.9}html{scroll-padding-bottom:166px}}

@media(max-width:380px){
  .bots .bx-bar-btn{padding:12px 13px;font-size:15px}
  .bx-bar-in{gap:10px;padding:0 12px}
  .bx-bar-plan{font-size:15.5px}
}

/* the bar's button while a plan has no checkout link; .bx-open-note is the old note under the plans, unused since row E811 */
.bx-open-note{margin:20px 0 0;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--panel);max-width:860px}
.bx-open-note p{margin:0;color:var(--dim);font-size:15.5px}
.bx-open-note .bx-open-h{margin:0 0 6px;font-family:var(--display);font-size:19px;font-weight:600;color:var(--bright)}
.bx-open-note .bx-open-cta{margin-top:14px}
.bots .bx-bar-btn[aria-disabled="true"]{background:transparent;border-color:var(--line2);color:var(--dim);cursor:default}
.bots .bx-bar-btn[aria-disabled="true"]:hover{background:transparent}

/* the Continuum backtest video */
.bx-replay{margin:0;max-width:900px}
.bx-replay video{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:12px;background:#000}
.bx-replay figcaption{margin:12px 0 0;color:var(--dim);font-size:14.5px;line-height:1.5}

/* the set-up guide line (shown only when bots-config.js switches it on) and the last link */
.bx-guide{margin:22px 0 0;font-size:16px;color:var(--text)}
.bx-guide[hidden]{display:none}
.bots .bx-guide a{color:var(--bright);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--red-soft)}
.bx-cta-end{margin:32px 0 0}

/* a record with the four figures and no trade list: the Strategy Tester's own Overview picture stands where the chart would */
.bx-chart.is-image{display:flex;align-items:center;justify-content:center;background:#0b0c12}
.bx-chart.is-image img{display:block;max-width:100%;max-height:100%;width:auto;height:auto}

/* long amounts: nothing is rounded to make it fit; the figure gets a smaller size or its cell more room instead */
.bx-kpis.is-long .bx-kpi dd{font-size:15px}
.bx-kpis.is-xlong{grid-template-columns:repeat(2,auto);row-gap:6px}
.bx-months.is-long .bx-month{padding-left:5px;padding-right:5px}
.bx-months.is-long .bx-month b{font-size:11.5px;letter-spacing:-.01em}
.bx-months.is-xlong{grid-template-columns:repeat(3,minmax(0,1fr))}
@container (max-width:349.98px){
  .bx-kpis.is-long .bx-kpi dd{font-size:14px}
  .bx-months.is-long{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bx-months.is-long .bx-month{padding-top:2px;padding-bottom:2px}
}
@container (min-width:640px){
  .bx-kpis.is-long .bx-kpi dd{font-size:clamp(18px,2.6cqw,28px)}
  .bx-kpis.is-xlong{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:0}
  .bx-months.is-long .bx-month{padding-left:8px;padding-right:8px}
  .bx-months.is-long .bx-month b{font-size:13px}
  .bx-months.is-xlong{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@container (min-width:960px) and (max-width:1239.98px){
  .bx-months.is-long .bx-month{display:block}
}
@container (min-width:1240px){
  .bx-months.is-long,.bx-months.is-xlong{grid-template-columns:repeat(min(var(--mo-n,12),8),minmax(0,1fr))}
}

/* the open strategy's name takes focus when the view opens (for screen readers); it is not a control, so no ring */
.bots .bx-sheet h2:focus-visible{outline:0}

/* Coming soon (row E754): the one mark, a small plain tag right after the name, never the name's lettering. In a chip it
   keeps its size and the name gives way; beside a lettered title it stays plain text. */
.bx-nt{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.bx-cs{flex:none;display:inline-block;margin-left:8px;padding:1px 7px;border:1px solid var(--line2);border-radius:6px;background:none;
  font-family:var(--sans);font-size:12px;font-weight:600;line-height:1.5;letter-spacing:0;text-transform:none;white-space:nowrap;vertical-align:middle;
  color:var(--text);-webkit-text-fill-color:currentColor;filter:none}
.bx-nt>.bx-cs{margin-left:0}
.bx-srow .bx-nt{flex:0 1 auto}
.bx-nt>.bx-sname{min-width:0;overflow:hidden;text-overflow:ellipsis}
/* Row E758: in a chip the tag goes under the name when both do not fit on one line, so the name is never cut by it */
.bx-srow .bx-nt{flex-wrap:wrap;row-gap:3px;padding:5px 0}
.bx-list-soon{margin:0;padding:3px 12px 0;font-size:12.5px;line-height:1.35;color:var(--dim)}

/* the open record's link to the account rules calculator (row E737) */
.bots .bx-calc-l{margin:14px 0 0;font-size:15.5px;font-weight:600}
.bots .bx-calc-l a{color:var(--bright);text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px}
.bots .bx-calc-l a:hover{text-decoration-color:var(--bright)}
/* Row E816: on a phone every text link is at least 30px tall to tap: padding over and under its words, which an inline
   link adds without moving a line (the words, their size and the line spacing stay) */
@media(max-width:559.98px){
  .bx-perks a,.bots .bx-one a,.bx-steps p a,.bots .bx-guide a,.bx-faq p a,.bots .bx-calc-l a,.bots .bx-need a{padding-top:7px;padding-bottom:7px}
}


/* Daily P&L (rows E732, E735): under the Monthly P&L list, the two latest months by day, the latest first, small; an earlier month pressed in
   that list opens in the place after them. Each cell shows its sign as well as its colour. */
.bx-mo-li{margin:0;min-width:0}
.bx-mo-b{width:100%;margin:0;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;color:inherit;text-align:left;cursor:pointer;-webkit-appearance:none;appearance:none}
:where(.bx-mo-b){display:block}
.bx-mo-b[data-cal="earlier"][aria-expanded="true"]{box-shadow:inset 0 0 0 1px var(--red-soft)}
.bx-daily{display:flex;flex-direction:column;gap:6px;margin-top:14px;min-width:0}
.bx-cals{display:grid;grid-template-columns:minmax(0,1fr);gap:10px 14px;min-width:0}
@container (min-width:900px){.bx-cals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1180px){.bx-cals{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bots .bx-cal{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:2px;margin:0;font-variant-numeric:tabular-nums}
.bots .bx-cal[hidden]{display:none}
.bots .bx-cal caption{caption-side:top;text-align:left;padding:0 2px 2px;font-size:11.5px;font-weight:600;line-height:1.3;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bots .bx-cal th{padding:0;border:0;background:none;font-size:10px;font-weight:500;line-height:1.2;color:var(--dim);text-align:center;white-space:nowrap;vertical-align:bottom}
.bots .bx-cal td{height:24px;padding:1px 3px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text);font-weight:400;text-align:left;white-space:nowrap;vertical-align:top;line-height:1.1;overflow:hidden}
.bots .bx-cal td.is-pad{border-color:transparent;background:none}
.bots .bx-cal td.is-out{opacity:.38}
.bots .bx-cal td.is-win{background:rgba(52,194,122,.09);border-color:rgba(52,194,122,.38)}
.bots .bx-cal td.is-loss{background:rgba(255,107,107,.10);border-color:rgba(255,107,107,.45)}
.bots .bx-cal td i{display:block;font-style:normal;font-size:10px;color:var(--dim)}
.bots .bx-cal td b{display:block;font-size:11px;font-weight:600;text-align:right;white-space:nowrap}
