/* =====================================================================
   FX Syndicate - the one design system (loaded last on every page).

   COLOUR   white is the page. Blue is the touch - a deep, rich navy, the logo's own:
            night  #051a36   headings, main buttons, the logo on white
            deep   #072a57   blue bands and the live card
            royal  #0b3f86   the glow inside blue bands, hover of main buttons
            blue   #114a94   links, small highlights, charts
            mist   #e9f1fa   quiet tints behind chips and icons
   TYPE     Outfit for headings and numbers, Inter for reading text.
   MOTION   one style everywhere: things rise 16px and fade in, .6s, the same curve.
            Nothing is ever blurred, tilted or scaled while it holds text.
   ===================================================================== */
:root, body.site, body.adm{
  --fx-night:#051a36; --fx-deep:#072a57; --fx-royal:#0b3f86; --fx-blue:#114a94; --fx-mist:#e9f1fa; --fx-steel:#8fc0ea;
  --fx-ease:cubic-bezier(.23,1,.32,1); --fx-t:.5s; --fx-t-fast:.16s;
  --fx-band:radial-gradient(120% 85% at 50% 125%,#0d4a99 0%,rgba(13,74,153,0) 60%),radial-gradient(70% 55% at 90% -12%,rgba(110,170,235,.20) 0%,rgba(110,170,235,0) 60%),linear-gradient(168deg,#08305f 0%,#041731 85%);
  --fx-card-sh:0 1px 2px rgba(5,26,54,.05),0 10px 24px -14px rgba(5,26,54,.16);
  --fx-card-sh-up:0 2px 4px rgba(5,26,54,.06),0 26px 46px -22px rgba(5,26,54,.30);
}
body.site{
  --ink:#051a36; --navy:#051a36; --navy-2:#072a57; --navy-deep:#03112a;
  --gold:#114a94; --gold-2:#0b3f86; --chart:#114a94; --chart-2:#051a36;
  --blue-grad:linear-gradient(100deg,#072a57 0%,#0f4a9c 60%,#1a5fc0 100%);
  --grad:var(--blue-grad);
  --shadow:var(--fx-card-sh);
}

/* ---------- sharp text, always ---------- */
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.botpanel,.orb-pill,.mcta,.sim-bar,.tape-track,.mw{will-change:auto!important}
.botpanel{transform:none!important;transform-style:flat}
.js .rv.pre{opacity:0;transform:translate3d(0,16px,0);filter:none}
.js .rv.pre.in{opacity:1;transform:none;filter:none;transition:opacity var(--fx-t) var(--fx-ease),transform var(--fx-t) var(--fx-ease);transition-delay:var(--d,0ms)}
@media (prefers-reduced-motion:reduce){.js .rv.pre{opacity:1;transform:none}}

/* ---------- the logo: cut clean from the artwork, no tile, sharp at every size ---------- */
img.lk{display:block;flex:none;height:auto;max-width:none;object-fit:contain;image-rendering:auto}
.logo{display:inline-flex;align-items:center}
.fnav .logo img.lk{width:72px}
.navbar .logo img.lk{width:62px}
footer.f3 .logo img.lk{width:150px}
.auth-h img.lk{width:170px;margin:2px auto 18px}
.adm-brand img.lk{width:54px}
.adm-side .adm-brand img.lk{width:58px}
@media (max-width:860px){.fnav .logo img.lk,.navbar .logo img.lk{width:56px}footer.f3 .logo img.lk{width:132px}}
img.lk.bp-lk{width:56px;margin:0 2px 0 0}
@media (max-width:520px){img.lk.bp-lk{width:46px}}

/* ---------- blue bands: every blue surface on the site is the same blue as the logo ---------- */
.botpanel{background:var(--fx-band);border:1px solid rgba(125,185,226,.28);
  box-shadow:0 1px 2px rgba(4,23,49,.25),0 44px 70px -38px rgba(4,23,49,.7),inset 0 1px 0 rgba(255,255,255,.10)}
.bp-stats div,.bp-row,.bp-cgrid>div{background:rgba(255,255,255,.06);border-color:rgba(125,185,226,.2)}
.bp-id span,.bp-eq>span,.bp-stats span,.bp-row span{color:#b4cfe3}

/* ---------- headline words (motion.js) ---------- */
.mw{display:inline-block}
.ml{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}

/* ---------- cards: clean white, a fine line, a soft deep shadow; they lift when pointed at ---------- */
body.site .card,body.site .kpi,body.site .pf-card,body.site .pcard,body.site .mod,body.site .step4,body.site .botcard,body.site .faq details{
  border:1px solid #dfe7f1;box-shadow:var(--fx-card-sh);background-clip:padding-box;
  transition:transform .2s var(--fx-ease),box-shadow .2s var(--fx-ease),border-color .2s var(--fx-ease)}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.site .kpi:hover,body.site .pf-card:hover,body.site .pcard:hover,body.site .mod:hover,body.site .step4:hover,body.site .botcard:hover,body.site a.card:hover{
    transform:translate3d(0,-4px,0);box-shadow:var(--fx-card-sh-up);border-color:#b9cde6}
}
body.adm .card,body.adm .tile,body.adm .stat{transition:box-shadow .3s var(--fx-ease),border-color .3s var(--fx-ease)}

/* ---------- buttons: one height, one curve; they lift a hair on hover and settle on press ---------- */
body.site .btn,body.adm .btn{transition:transform .18s var(--fx-ease),box-shadow .22s var(--fx-ease),background-color .2s,border-color .2s,color .2s;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation}
html body.site .btn:not(.ghost):not(.plain):not(.danger):not(.white):not(.gold):not(.sm){background:linear-gradient(180deg,#0b3a78 0%,#051a36 100%);border-color:#051a36;color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.16) inset,0 1px 2px rgba(5,26,54,.3),0 10px 20px -10px rgba(5,26,54,.55)}
@media (hover:hover) and (pointer:fine){
  body.site .btn:hover,body.adm .btn:hover{transform:translate3d(0,-1px,0)}
  html body.site .btn:not(.ghost):not(.plain):not(.danger):not(.white):not(.gold):not(.sm):hover{background:linear-gradient(180deg,#0f4a9c 0%,#072a57 100%);
    box-shadow:0 1px 0 rgba(255,255,255,.2) inset,0 2px 4px rgba(5,26,54,.3),0 16px 26px -12px rgba(11,63,134,.6)}
  body.site .btn.ghost:hover{border-color:#9db7d8;box-shadow:0 8px 18px -12px rgba(5,26,54,.35)}
}
body.site .btn:active,body.adm .btn:active{transform:scale(.97);transition-duration:.06s}

/* ---------- fields: the line turns blue and a soft ring opens when you type ---------- */
body.site input:not([type=checkbox]):not([type=radio]):not([type=range]),body.site select,body.site textarea,
body.adm input:not([type=checkbox]):not([type=radio]):not([type=range]),body.adm select,body.adm textarea{
  transition:border-color .18s var(--fx-ease),box-shadow .22s var(--fx-ease),background-color .18s}
body.site input:not([type=checkbox]):not([type=radio]):not([type=range]):hover,body.site select:hover,body.site textarea:hover{border-color:#b3c5dc}
body.site input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,body.site select:focus,body.site textarea:focus,
body.adm input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,body.adm select:focus,body.adm textarea:focus{
  border-color:#114a94;box-shadow:0 0 0 4px rgba(17,74,148,.14);outline:0}
body.site .btn:focus-visible,body.site a:focus-visible,body.site button:focus-visible{outline:3px solid rgba(17,74,148,.4);outline-offset:2px}

/* on blue, names and links are white / light steel - never the sky blue meant for white paper */
.pod .pn,.navy .pn{color:#fff}

/* ---------- the balance chart (chart.js): a trading screen, drawn sharp at its own size ---------- */
.fxc-box{position:relative;display:block!important;min-height:0!important;flex:none!important;width:100%;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.fxc-box svg.fxc{display:block;width:100%;height:auto!important;min-height:0!important;overflow:visible;cursor:crosshair}
svg.fxc text{font:500 11px/1 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
svg.fxc.fxc-go .fxc-line{stroke-dasharray:1;stroke-dashoffset:1;animation:fxcDraw 1.1s cubic-bezier(.3,.6,.2,1) forwards}
svg.fxc.fxc-go .fxc-area{animation:fxcFade .9s ease .35s backwards}
svg.fxc.fxc-go .fxc-end{animation:fxcFade .35s ease 1s backwards}
svg.fxc .fxc-pulse{transform-box:fill-box;transform-origin:center;animation:fxcPulse 2.2s ease-out infinite}
.fxc-tip{position:absolute;left:0;top:0;z-index:3;pointer-events:none;display:grid;gap:2px;padding:9px 12px;border-radius:12px;background:#051a36;color:#fff;
  box-shadow:0 14px 30px -14px rgba(5,26,54,.6);white-space:nowrap;font:500 12px/1.2 Inter,system-ui,sans-serif}
.fxc-tip span{color:#9fbfe0;font-size:11px}
.fxc-tip b{font:600 16px/1.15 var(--font-display,"Outfit",sans-serif);letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.fxc-tip i{font-style:normal;font-weight:600;font-size:11.5px}.fxc-tip i.up{color:#9fd0ff}.fxc-tip i.dn{color:#ff9088}
@keyframes fxcDraw{to{stroke-dashoffset:0}}
@keyframes fxcFade{from{opacity:0}}
@keyframes fxcPulse{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(3.4);opacity:0}}
@media (prefers-reduced-motion:reduce){svg.fxc .fxc-pulse{animation:none;opacity:0}}

/* ---------- the result card around it (home planner) ---------- */
.pl-out .mode{gap:18px}
.pl-out .pbig b{font-size:clamp(34px,3.8vw,50px);font-weight:700;line-height:1.02;margin-top:6px;white-space:nowrap}
.pl-out:not(.solo) .pbig b{font-size:clamp(28px,2.9vw,40px)}
.pl-out .pbig .nt{display:inline-block;margin-top:10px;padding:6px 12px;border-radius:999px;background:#e7f6ee;color:#0f7a4a;font-size:13.5px;font-weight:600}
.pl-out .booster .pbig .nt{background:rgba(95,224,166,.14);color:#6ee7a8}
.pl-out .mini>div{border:1px solid #e3eaf3;background:#fff;border-radius:14px}
.pl-out .booster .mini>div{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
.sim-card .chart.fxc-box{margin-top:14px}

/* amount chips: "Recommended start" on the starting amount, "Popular" on $1,000 */
.capchips button.pop{border-color:#b5cbe8}
.capchips button.pop i{position:absolute;left:50%;top:-11px;transform:translateX(-50%);font-style:normal;font-size:7px;font-weight:700;letter-spacing:.04em;line-height:1;
  padding:3px 7px;border-radius:999px;background:#e9f1fa;color:#0b3f86;border:1px solid #b5cbe8;white-space:nowrap;text-transform:none}
.capchips.sm button.pop i{padding:2px 5px;top:-10px}
.capchips button.pop.on{border-color:var(--navy)}
.sim-card #c-dd{padding-right:58px}
@media (max-width:560px){.sim-card #c-dd{padding-right:46px}}

/* ---------- the result card stays white; its colours are deep and rich (navy line, navy bars, navy number) ---------- */
html body.site .pl-out .mode.prime{background:#fff;border:1px solid #c7d6ea;box-shadow:0 1px 2px rgba(5,26,54,.06),0 34px 60px -30px rgba(5,26,54,.38)}
.pl-out .mode.booster{border:1px solid rgba(240,185,85,.42)}
.pl-out .mode.prime .modetag.prime{background:#051a36;color:#fff;border-color:#051a36}
.pl-out .mode.prime .mf{color:#3d5674}
.pl-out .mode.prime .pbig span{color:#3d5674;font-weight:600}
.pl-out .mode.prime .pbig b{background:linear-gradient(100deg,#03112a 0%,#0b3f86 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.pl-out .mode.prime .pbig .nt{background:#e4eefb;color:#0a3a7e;box-shadow:0 0 0 1px #b9cfee inset}
.pl-out .mode.prime .mini>div{background:#f3f7fc;border-color:#d3e0f0}
.pl-out .mode.prime .mini span{color:#3d5674}
.pl-out .mode.prime .mini b{color:#03112a}
.sim-card #c-dd{margin-top:14px!important}

/* home, first screen: the words stay where they are when the live card opens its investor-login drawer */
@media (min-width:961px){.h4grid{align-items:start}.h4grid>.h4copy{padding-top:clamp(40px,7vh,96px)}}

/* the hard stop said in dollars, wherever a client sets or sees his risk */
.mp-lose{margin:12px 0 0;padding:11px 14px;border-radius:12px;background:#f3f7fc;border:1px solid #d3e0f0;color:#051a36;font-size:13.5px;line-height:1.5}
.mp-lose:empty{display:none}
.riskstrip small.rk-usd{display:block;margin-top:4px;font-size:12.5px;font-weight:500;opacity:.85}

/* bot page: stopped at the loss limit */
.botcard.lossstop{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;align-items:center;margin:16px 0;border:1px solid #f0c9c4;background:#fff6f5}
.botcard.lossstop h3{color:#a3271d;margin:0 0 6px}
.botcard.lossstop p{margin:0 0 6px}
.botcard.lossstop form{display:grid;gap:10px;justify-items:start;max-width:320px}
.botcard.lossstop .ck{display:flex;gap:8px;align-items:flex-start;font-size:13.5px}
@media (max-width:760px){.botcard.lossstop{grid-template-columns:1fr}}


/* ---------- interface details (audit against Emil Kowalski's UI rules) ---------- */
/* a press is answered at once, everywhere: no 300ms tap delay, the control gives a little under the finger */
a,button,summary,label,input,select,textarea,[role=button]{touch-action:manipulation}
.capchips button,.seg button,.tabs a,.chip,.linkbtn,summary,.mcard,.fnav .links a,.adm-side nav a.it{-webkit-tap-highlight-color:transparent}
.capchips button:active,.seg button:active,.stepper button:active,.mcard:active,.fab:active{transform:scale(.97);transition-duration:.06s}
.capchips button,.seg button,.stepper button,.mcard,.fab{transition:transform .16s var(--fx-ease),background-color .18s,border-color .18s,color .18s,box-shadow .2s}
/* numbers that change never jitter */
.pbig b,.kpi b,.bp-eq b,.orb-pill b,.sim-bar b,.fxc-tip b,.mini b,.rm-usd b,[data-count],[data-o]{font-variant-numeric:tabular-nums}
/* big headings sit a little tighter; small capital labels a little wider */
body.site h1{letter-spacing:-.03em}body.site h2{letter-spacing:-.024em}
/* reading text never runs too long */
body.site .faq details p,body.site .legalbox p,body.site .prose p{max-width:68ch}
/* round and square marks keep their shape in a tight row */
.avatar,.av,.pf-ic,.mc-ico,.stepdot,img.lk,.bp-row>i,.tag>i{flex-shrink:0}
/* people who ask their device for less transparency or less motion get solid surfaces and still pages */
@media (prefers-reduced-transparency:reduce){.fnav,.mcta,.sim-bar,.adm-top,.mmenu{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:#fff!important}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  body.site .btn,body.site .card,.capchips button{transition:none!important}svg.fxc.fxc-go .fxc-line{animation:none;stroke-dashoffset:0}svg.fxc.fxc-go .fxc-area,svg.fxc.fxc-go .fxc-end{animation:none}}

/* ---------- second pass, with the full skill (emil-design-eng + apple-design) ---------- */
/* hover lifts are for a mouse only: on a phone a tap must not leave a card stuck in its lifted state */
@media (hover:none),(pointer:coarse){
  body.site .btn:hover,body.adm .btn:hover,.fab:hover,.lbr:hover,.mcard:hover,a.pod:hover,.netbtn:hover,.bt-card:hover,.bpk:hover,.ct-card:hover,
  body.adm a.card:hover,.todo:hover,a.kpi:hover,body.site .kpi:hover,body.site .pf-card:hover,body.site .pcard:hover,body.site .mod:hover,
  body.site .step4:hover,body.site .botcard:hover,body.site a.card:hover{transform:none}
  .cn-go .btn:hover svg{transform:none}
}
/* the menu opens from its button (top right), quickly, and never starts slowly */
.fnav.open .mmenu{transform-origin:top right;animation:drop .2s var(--fx-ease)}
/* things that answer a pointer do it in 200ms or less */
.capchips button,.copybtn,.wv-chips button,.size,.type,.ratepick .rp{transition-duration:.18s}
/* people who ask for more contrast get firm edges and solid ground */
@media (prefers-contrast:more){
  body.site .card,body.site .kpi,body.site .pf-card,body.site .pcard,body.site .mod,body.site .step4,body.site .botcard,.capchips button,
  body.site input,body.site select,body.site textarea,body.site .btn.ghost{border-color:#051a36!important}
  .fnav,.mcta,.sim-bar{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:#fff!important}
  body.site{--sec:#22364d;--mute:#3d5674}
}
@keyframes drop{from{opacity:0;transform:translate3d(0,-6px,0) scale(.97)}to{opacity:1;transform:none}}

/* ---------- profit share panel (My bots + wallet): one place for all bots ---------- */
.botcard.sp{margin:0 0 16px;padding:22px 24px;border:1px solid #d3e0f0;background:linear-gradient(180deg,#fff 0%,#f7faff 100%);box-shadow:var(--fx-card-sh)}
.sp-top{display:flex;justify-content:space-between;align-items:flex-start;gap:18px 28px;flex-wrap:wrap}
.sp-lab{display:block;font-size:12.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#4d6682}
.sp-amt b{display:block;font:700 clamp(30px,4vw,40px)/1.05 var(--font-display,"Outfit",sans-serif);letter-spacing:-.02em;color:#051a36;margin:6px 0 4px;font-variant-numeric:tabular-nums}
.sp-amt em,.sp-when em{font-style:normal;font-size:13px;color:#5b7391}
.sp-when{display:flex;gap:12px;flex-wrap:wrap}
.sp-when>div{min-width:132px;padding:11px 14px;border:1px solid #dfe8f3;border-radius:14px;background:#fff}
.sp-when span{display:block;font-size:12px;color:#5b7391}
.sp-when b{display:block;font:600 17px/1.25 var(--font-display,"Outfit",sans-serif);color:#051a36;margin:2px 0 1px}
.sp-bar{height:6px;border-radius:99px;background:#e6eef8;margin:18px 0 0;overflow:hidden}
.sp-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f4fa8,#051a36)}
.sp-warn{display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;padding:11px 14px;border-radius:12px;background:#eef4fc;color:#1d3553;font-size:13.5px;line-height:1.5}
.sp-warn svg{flex:none;width:18px;height:18px;margin-top:1px;fill:none;stroke:#0b3f86;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sp-warn.bad{background:#fff3f1;color:#7a1f17}.sp-warn.bad svg{stroke:#c2372b}
.sp-act{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:16px}
.sp-act form{margin:0}
.sp-note{font-size:13px;color:#5b7391}
/* due now: pay it on its own - USDT straight to us (network buttons), or from the wallet when it covers it */
.sp-pay{display:grid;gap:10px;margin-top:16px}
.sp-paylab{font-size:13.5px;font-weight:600;color:#051a36}
.sp-nets{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px}
.sp-nets form{margin:0}
.sp-pay .sp-note{margin:0}
.sp-wal{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin:2px 0 0;padding-top:12px;border-top:1px dashed #dfe8f3}
.botcard.sp.sp-due .sp-amt b{color:#051a36}
.botcard.sp.sp-due.sp-bad .sp-amt b{color:#b42318}
@media (max-width:640px){.sp-wal .btn{width:100%;justify-content:center}}
.botcard.sp.sp-bad{border-color:#f0c9c4}
.botcard.sp.sp-bad .sp-bar i{background:linear-gradient(90deg,#e0594d,#a3271d)}
.botcard.sp.sp-zero .sp-amt b{color:#5b7391}
@media (max-width:640px){.botcard.sp{padding:18px}.sp-when{width:100%}.sp-when>div{flex:1}.sp-act .btn{width:100%;justify-content:center}}
.botcard.sp-hint{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap;margin:0 0 16px;padding:16px 20px;border:1px solid #b9cfee;background:#f1f6fd}
.sp-hint b{display:block;color:#051a36;margin-bottom:3px}.sp-hint span{font-size:13.5px;color:#3d5674}
.sp-hint-act{display:flex;gap:8px}.sp-hint-act form{margin:0}

/* ---------- MT5 account summary (bot page, admin account page) ---------- */
.mt5s{margin-top:16px}
.mt5s-h{gap:10px;flex-wrap:wrap;align-items:center}
.mt5s-sub{margin:4px 0 14px}
.mt5s-tag{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:999px;border:1px solid}
.mt5s-tag svg{width:14px;height:14px}
.mt5s-tag.ok{color:#0f7a4b;background:#ecf8f2;border-color:#b6e2cb}
.mt5s-tag.wait{color:#0b3f86;background:#eef4fc;border-color:#c4d6f0}
.mt5s-tag.bad{color:#b4322a;background:#fdf0ef;border-color:#f1c4c0}
.mt5s-l{margin:0;border:1px solid #dfe8f2;border-radius:14px;overflow:hidden}
.mt5s-l>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 16px;border-top:1px solid #e9eff6}
.mt5s-l>div:first-child{border-top:0}
.mt5s-l dt{color:#3d5674;font-size:14px;min-width:0}
.mt5s-l dt small{display:block;font-size:12px;color:#7d93ab;margin-top:2px}
.mt5s-l dd{margin:0;font-weight:600;color:#051a36;font-variant-numeric:tabular-nums;white-space:nowrap}
.mt5s-l dd.good{color:var(--good,#16935b)}.mt5s-l dd.bad{color:var(--bad,#d9443a)}
.mt5s-l>div.tot{background:#f3f7fc}
.mt5s-l>div.tot dt{color:#051a36;font-weight:600}
.mt5s-l>div.tot dd{font-size:17px}
.mt5s-f{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:14px;padding:13px 16px;border-radius:14px;background:#072a57;color:#dbe7f6}
.mt5s-f span{font-size:14px}
.mt5s-f b{font-size:18px;color:#fff;font-variant-numeric:tabular-nums}
.mt5s-f b.good{color:#8ff0bf}.mt5s-f b.bad{color:#ffb4ad}
.mt5s-n{margin-top:10px}
@media (max-width:520px){.mt5s-l>div{padding:10px 13px}.mt5s-f{padding:12px 13px}}

/* ---------- affiliate: referral link, same look as the code box above it ---------- */
.af-linkbox{gap:12px;border-radius:14px;padding:8px 8px 8px 16px;min-height:52px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.22)}
.af-url{flex:1;min-width:0;font-family:var(--font-display);font-size:15.5px;font-weight:500;letter-spacing:.01em;color:#e6eefa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-ligatures:none}
.af-url i{font-style:normal;color:rgba(230,238,250,.55)}
.af-url b{font-weight:700;color:#fff;letter-spacing:.06em}
.af-link a.af-share{color:#d3e2f5;margin-top:2px}
.af-link a.af-share:hover{color:#fff}
.af-linkbox .copybtn{flex:none;white-space:nowrap}.af-linkbox .copybtn .af-cl{display:inline}
@media (max-width:480px){.af-linkbox{gap:8px;padding-left:14px}.af-url{font-size:14px;letter-spacing:0}.af-url i,.af-linkbox .copybtn .af-cl{display:none}.af-linkbox .copybtn{padding:6px 12px}}
@media (max-width:374px){.af-url{white-space:normal;line-height:1.35;font-size:13.5px}.af-url b{white-space:nowrap}}

/* ---------- leaderboard ---------- */
/* real bots are links: keep their text white on the navy board (the site's link colour is blue) */
body.site .lbwrap a.lbl,body.site .lbwrap a.lbl:hover,body.site .lbwrap a.pod,body.site .lbwrap a.pod:hover{color:#fff}

/* ---------- pending profit share of a stopped bot (bot page, Connect page) ---------- */
.botcard.owed{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 16px;border:1px solid #f1c4c0;background:#fff7f6}
.botcard.owed>svg{flex:none;width:26px;height:26px;fill:none;stroke:#c0392b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.owed-t{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:4px}
.owed-t b{color:#8f241b;font-size:16px}
.owed-t span{color:#5d3a37;font-size:14px;line-height:1.5}
.owed-t span b{font-size:inherit;color:#5d1a14}
.botcard.owed .btn{flex:none}
@media (max-width:560px){.botcard.owed .btn{width:100%;justify-content:center}}
@media (max-width:860px){.lbl .nm small{white-space:normal;line-height:1.4}}

/* ---------- Request more risk (bot page) ---------- */
.riskreq{margin-top:16px;transition:border-color .3s,box-shadow .3s}
.riskreq:target{border-color:#9dbbe6;box-shadow:0 0 0 4px rgba(11,63,134,.10),var(--shadow)}
.rq-head h3{margin:0 0 6px}
.rq-head p{margin:0 0 14px;max-width:720px}
.rq-form{display:grid;grid-template-columns:minmax(0,190px) minmax(0,1fr) auto;gap:12px;align-items:end}
.rq-form .field{margin:0}
.rq-contact{margin-top:12px}
@media (max-width:700px){.rq-form{grid-template-columns:1fr}.rq-form .btn{width:100%;justify-content:center}}
/* leaderboard badge: the bot the account runs (gold bar / ₿ / Nasdaq; two for a combo) */
.lbwrap .av .bi{display:flex;align-items:center;justify-content:center;gap:3px}
.lbwrap .av .bi svg{width:60%;height:60%;flex:none;overflow:visible}
.lbwrap .av .bi.combo{gap:1px}.lbwrap .av .bi.combo svg{width:42%;height:42%}
.bi-gold path{fill:#f3c95c;stroke:#a8781f;stroke-width:.7;stroke-linejoin:round}
.bi-btc circle{fill:#f7931a}
.bi-btc text{fill:#fff;font:700 14px/1 Inter,Arial,sans-serif}
.bi-ndx path{fill:none;stroke:#8fd4ff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cn-plan.cut{align-items:flex-start;background:#fff7e6;color:#7a4b00;line-height:1.5}
.cn-plan.cut svg{stroke:#c98a00;margin-top:2px}
.cn-why{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#fdf0ef;border:1px solid #f1c4c0;color:#8f241b;font-size:13.5px;line-height:1.5;text-align:left}
.btn[disabled],.btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}

/* ---------- Back arrow in the top bar (every page but Home / My bots) ---------- */
.nb-left{display:flex;align-items:center;gap:12px;min-width:0;flex:none}
.hdr-back{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;border:1px solid #dbe4ef;background:#fff;color:#072a57!important;
  transition:background-color .18s var(--fx-ease,ease),border-color .18s,transform .12s}
.hdr-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hdr-back:active{transform:scale(.94)}
.hdr-back:focus-visible{outline:3px solid rgba(17,74,148,.4);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.hdr-back:hover{background:#f1f6fc;border-color:#c4d6f0}}
@media (max-width:860px){.nb-left{gap:8px}.hdr-back{width:38px;height:38px;border-radius:11px}}
/* home planner: never wider than a small phone */
.pl-in,.pl-out{min-width:0}
@media (max-width:360px){.pl-in{padding:20px 16px}}
/* simulators: a risk above the start limit is shown, with how connecting works */
.lim-note{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#fff7e6;border:1px solid #f3d9a4;color:#6b4a00;font-size:13px;line-height:1.5}
.lim-note b{color:#4a3300}
/* Connect: Request more risk (above the 50% start limit) - type the risk, press Send request (sent with the bot) */
.mp-askhint{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;margin:12px 0 0;padding:12px 14px;border-radius:12px;
  background:#f3f7fc;border:1px solid #d6e3f3;color:#072a57;font-size:14px;line-height:1.45}
.mp-ask{margin-top:12px;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px 16px 16px;border-radius:14px;background:#f6f9fd;border:1px solid #d6e3f3}
.mp-ask-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mp-ask-h b{font-size:15px;color:#072a57}
.mp-ask-h .linkbtn{font-size:13px;font-weight:600;color:#4a6283}
.mp-ask [data-mp="usetop"]{align-self:flex-start}
.mp-askhint[hidden],.mp-ask[hidden],.mp-askok[hidden],.mp-askpct small[hidden],.bpop-rq[hidden]{display:none}
.mp-askpct{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;width:100%}
.mp-askpct label{font-size:14px;font-weight:600;color:#072a57}
.mp-pct{display:inline-flex;align-items:center;gap:6px}
.mp-pct input{width:84px;text-align:center;font-weight:600}
.mp-pct i{font-style:normal;font-weight:600;color:#072a57}
.mp-send{margin-left:auto}
.mp-askpct small{flex-basis:100%;color:#4a6283;font-size:12.5px}
.mp-askok{display:flex;gap:10px;align-items:flex-start;margin:0;padding:11px 13px;border-radius:12px;background:#eef8f3;border:1px solid #c3e6d2;color:#12452c;font-size:13.5px;line-height:1.5}
.mp-askok svg{flex:none;width:18px;height:18px;margin-top:1px;fill:none;stroke:#0b8a55;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mp-askok b{color:#0a3a24}
.bpop .bpop-rq{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#eef4fc;border:1px solid #c4d6f0;color:#1c2f45;font-size:11px;line-height:1.5;text-align:left}
.bpop .bpop-rq b{font-weight:600;color:#072a57}
@media (max-width:520px){.mp-send{margin-left:0;width:100%;justify-content:center}}
.rq-jump{white-space:nowrap}
/* Request more risk: where the client's request stands (bot page + My bots) */
.rq-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border-radius:999px;border:1px solid;font-size:12px;font-weight:650;font-style:normal;line-height:1.4;white-space:nowrap;text-decoration:none}
.rq-badge::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:currentColor}
.rq-badge.pending{background:#fff6e1;border-color:#f3dca6;color:#a36a08}
.rq-badge.approved{background:#e8f8f0;border-color:#bfe9d3;color:#0b8a55}
.rq-badge.rejected{background:#fdeceb;border-color:#f5c6c1;color:#c2362c}
.rq-badge.cancelled{background:#f1f4f7;border-color:#dbe3ea;color:#5b7484}
a.rq-badge{transition:filter .15s}@media(hover:hover){a.rq-badge:hover{filter:brightness(.96)}}
a.rq-badge.rq-jump{padding:7px 13px;font-size:13px}
.br-rq{margin-top:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rq-line{display:flex;align-items:center;gap:10px 12px;margin-top:10px;padding:11px 16px;border-radius:14px;background:#fff;border:1px solid var(--line);color:inherit;text-decoration:none;font-size:13.5px;line-height:1.45}
.rq-line span{flex:1;min-width:0;color:#4a6283}
.rq-line span b{color:#072a57;margin-right:4px}
.rq-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#e2a23a}
.rq-line.approved .rq-dot{background:#17a86b}.rq-line.rejected .rq-dot{background:#c2362c}
@media(hover:hover){.rq-line:hover{border-color:#c4d6f0}}
.rq-status{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px;padding:14px 16px;border-radius:14px;border:1px solid}
.rq-status.pending{background:#fffaf0;border-color:#f3dca6}
.rq-status.approved{background:#f0fbf5;border-color:#bfe9d3}
.rq-status.rejected{background:#fef5f4;border-color:#f5c6c1}
.rq-status.cancelled{background:#f6f8fa;border-color:#dbe3ea}
.rq-ic{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1.5px solid currentColor}
.rq-ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.rq-status.pending .rq-ic{color:#a36a08}.rq-status.approved .rq-ic{color:#0b8a55}.rq-status.rejected .rq-ic{color:#c2362c}.rq-status.cancelled .rq-ic{color:#5b7484}
.rq-st-txt{flex:1;min-width:0}
.rq-st-txt b{display:block;font-size:15px;color:#072a57}
.rq-st-txt span{display:block;margin-top:2px;font-size:13.5px;font-weight:600;color:#1e3a5f}
.rq-st-txt small{display:block;margin-top:4px;font-size:13px;color:#4a6283;line-height:1.5}
.rq-status .btn{flex:none;align-self:center}
/* "All your requests": a quiet link that opens the list (not the big FAQ-style box other details get) */
body.site details.rq-hist:not(.es-act):not(.bp-cred),body.site details.rq-hist:not(.es-act):not(.bp-cred)[open]{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:14px 0 0}
body.site details.rq-hist:not(.es-act):not(.bp-cred) summary{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-family:inherit;font-size:13.5px;font-weight:600;color:#0b3f86;max-width:100%}
body.site details.rq-hist summary::-webkit-details-marker{display:none}
body.site details.rq-hist:not(.es-act):not(.bp-cred) summary:after{content:"";width:6px;height:6px;margin:0 0 3px 2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);font-size:0}
body.site details.rq-hist:not(.es-act):not(.bp-cred)[open] summary:after{transform:rotate(-135deg);margin-bottom:-3px}
.rq-hist .table-wrap{margin-top:10px}
/* phones: each request is one tidy block - the date, then what was asked on the left and its status on the right */
@media (max-width:560px){
  body.site .rq-hist .table-wrap table,body.site .rq-hist .table-wrap tbody{display:block;width:100%}
  body.site .rq-hist .table-wrap tr:first-child{display:none}
  body.site .rq-hist .table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:11px 14px;border-top:1px solid #edf3f7}
  body.site .rq-hist .table-wrap tr:nth-child(2){border-top:0}
  body.site .rq-hist .table-wrap td{padding:0;border:0;font-size:13.5px;white-space:normal}
  body.site .rq-hist .table-wrap td:nth-child(1){grid-column:1/-1;font-size:12px;color:#5b7484}
  body.site .rq-hist .table-wrap td:nth-child(2){font-weight:600;color:#072a57}
  body.site .rq-hist .table-wrap td:nth-child(4){display:none}
}
@media (max-width:560px){.rq-status{flex-wrap:wrap}.rq-status .btn{width:100%;justify-content:center}.rq-line{flex-wrap:wrap}.rq-line span{flex-basis:calc(100% - 24px)}.rq-line .rq-badge{margin-left:21px}}

/* new bot welcome card: its heading is white on the navy card (the general heading colour was winning) */
body.site .nb-copy h2{color:#fff}
.nb-copy .nb-rq{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-2px 0 14px;font-size:14px;color:#ffe3a3}
.nb-copy .nb-rq a{color:#fff;font-weight:600}
/* a 'profit share payment': the statements it pays */
.sp-parts span{display:block;padding:2px 0}

/* ---- Risk test (unlocks risk above 50%) ---- */
.rt-card{max-width:760px}
.rt-ask{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.rt-ask>div{padding:12px 14px;border:1px solid var(--line,#e5ecf1);border-radius:14px;background:#f8fafc}
.rt-ask small{display:block;font-size:12px;color:var(--sec,#4a6283);margin-bottom:3px}
.rt-ask b{font-size:15.5px;color:var(--navy,#082750)}
.rt-lead{margin:0 0 18px;color:var(--sec,#4a6283);font-size:14px;line-height:1.55}
.rt-form{display:grid;gap:16px}
.rt-q{border:0;padding:0;margin:0;min-width:0;display:grid;gap:8px}
.rt-q legend{padding:0;margin:0 0 4px;font-weight:650;font-size:15px;line-height:1.45;color:var(--navy,#082750);display:flex;gap:10px;align-items:flex-start}
.rt-n{flex:0 0 26px;height:26px;border-radius:50%;background:var(--navy,#082750);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center}
.rt-opt{display:flex;align-items:flex-start;gap:10px;padding:11px 14px;border:1px solid var(--line,#e5ecf1);border-radius:12px;background:#fff;cursor:pointer;font-size:14px;line-height:1.45;color:var(--ink,#0b2547);transition:border-color .15s,background .15s}
body.site .rt-opt input[type=radio]{appearance:auto;-webkit-appearance:radio;width:18px;height:18px;min-height:0;flex:0 0 18px;margin:1px 0 0;padding:0;border:0;box-shadow:none;background:none;accent-color:var(--navy,#082750)}
.rt-opt span{flex:1 1 auto;min-width:0}
.rt-opt:hover{border-color:#b9c8d6}
.rt-opt:has(input:checked){border-color:var(--navy,#082750);background:#f2f6fb}
.rt-opt:has(input:focus-visible){outline:2px solid var(--blue,#1b6fd0);outline-offset:2px}
body.site label.check.rt-true{margin:4px 0 0}
.rt-acts{display:flex;gap:10px;flex-wrap:wrap}
.rt-foot{margin:0;line-height:1.5}
.rq-buf{margin:0 0 14px;padding:12px 14px;border:1px solid var(--line,#e5ecf1);border-radius:14px;background:#f8fafc;font-size:13.5px;line-height:1.5;color:var(--sec,#4a6283)}
.rq-buf b{color:var(--navy,#082750)}
.rq-buf i{display:block;height:6px;border-radius:99px;background:#e3eaf1;margin-top:8px;overflow:hidden}
.rq-buf i u{display:block;height:100%;border-radius:99px;background:var(--navy,#082750)}
.rq-buf.ok{background:#f0fbf5;border-color:#bfe9d3}
.rq-status .rq-st-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
@media (max-width:700px){.rt-ask{grid-template-columns:1fr}.rt-acts .btn{flex:1 1 auto;justify-content:center;text-align:center}.rq-status .rq-st-acts{width:100%}.rq-status .rq-st-acts .btn{flex:1 1 auto;text-align:center;justify-content:center}}
body.site .rt-q label.rt-opt{margin:0}

/* ---- Affiliate programme: rank card + application ---- */
.rk{margin-top:16px}
.rk-h{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.rk-now{display:flex;gap:14px;align-items:center;min-width:0;flex:1 1 320px}.rk-now small,.rk-next small{display:block;font-size:12px;color:var(--sec,#4a6283)}
.rk-now h3{margin:1px 0 3px;font-size:22px}.rk-now p{margin:0;font-size:13.5px;color:var(--sec,#4a6283);line-height:1.5}.rk-now p b{color:var(--navy,#082750)}.rk-now p em{font-style:normal;color:#9a6b00}
.rk-badge{flex:0 0 52px;height:52px;border-radius:16px;background:var(--navy,#082750);color:#fff;font-size:22px;font-weight:750;display:grid;place-items:center}
.rk-next{flex:0 1 300px;min-width:0;padding:12px 14px;border:1px solid var(--line,#e5ecf1);border-radius:14px;background:#f8fafc}
.rk-next b{display:block;font-size:15.5px;color:var(--navy,#082750);margin:2px 0}.rk-next span{font-size:12.5px;color:var(--sec,#4a6283);line-height:1.45}
.rk-next.top{background:#f0fbf5;border-color:#bfe9d3}
.rk-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.rk-goal{padding:14px 16px;border:1px solid var(--line,#e5ecf1);border-radius:14px;min-width:0}
.rk-gl{display:flex;justify-content:space-between;gap:10px;align-items:baseline;flex-wrap:wrap}.rk-gl span{font-size:13px;color:var(--sec,#4a6283)}
.rk-gl b{font-size:17px;color:var(--navy,#082750)}.rk-gl b i{font-style:normal;font-weight:500;font-size:13px;color:var(--sec,#4a6283)}
.rk-bar{display:block;height:8px;border-radius:99px;background:#e3eaf1;margin:10px 0 8px;overflow:hidden}.rk-bar u{display:block;height:100%;border-radius:99px;background:var(--navy,#082750);min-width:2px}
.rk-goal small{font-size:12.5px;color:var(--sec,#4a6283)}.rk-goal small b{color:var(--navy,#082750)}
.rk-split{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1.1fr);gap:10px;align-items:center;margin-top:14px}
.rk-split>div{padding:12px 14px;border:1px solid var(--line,#e5ecf1);border-radius:14px;min-width:0;background:#fff}.rk-split>div.tot{background:#f2f6fb;border-color:#c9d8e8}
.rk-split small{display:block;font-size:12px;color:var(--sec,#4a6283)}.rk-split b{display:block;font-size:16px;color:var(--navy,#082750);margin:2px 0;overflow-wrap:anywhere}
.rk-split span{font-size:12px;color:var(--sec,#4a6283)}.rk-split>i{font-style:normal;font-weight:700;color:#8fa3b8;font-size:16px}
.rk-note{margin:14px 0 0;line-height:1.55;max-width:900px}
details.rk-all{margin-top:12px}.rk-all summary{cursor:pointer;font-weight:600;font-size:13.5px;color:var(--navy,#082750)}.rk-all table{margin-top:10px}.rk-all tr.on td{background:#f2f6fb}
.rk-all td,.rk-all th{white-space:nowrap}
.afa-form{display:grid;gap:4px}.afa-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.afa-dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:16px 0 0}.afa-dl .w{grid-column:1/-1}
.afa-dl dt{font-size:12px;color:var(--sec,#4a6283);margin:0 0 2px}.afa-dl dd{margin:0;font-weight:600;font-size:14px;overflow-wrap:anywhere}
.afa-side td,.afa-side th{font-size:12.5px}
.aff-inv{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 16px;margin:0 0 14px;border:1px solid #bfe9d3;background:#f0fbf5;border-radius:16px}
.aff-inv b{display:block;color:var(--navy,#082750)}.aff-inv span{font-size:13.5px;color:var(--sec,#4a6283)}
@media (max-width:900px){.rk-split{grid-template-columns:repeat(2,minmax(0,1fr))}.rk-split>i{display:none}.rk-split>div.tot{grid-column:1/-1}}
@media (max-width:700px){.rk-goals{grid-template-columns:1fr}.rk-next{flex:1 1 100%}.afa-acts .btn{flex:1 1 auto;justify-content:center;text-align:center}.afa-form>.btn{width:100%;justify-content:center}.aff-inv .btn{width:100%;justify-content:center;text-align:center}}
.afa-side td:last-child{white-space:normal;min-width:150px}
