/* Bad Ute — Over/Under workspace. House-gold replica of the reference Milli X
   (which used cyan/teal). Same layout; gold branding so users tell them apart
   by colour. OVER stays green, UNDER stays red (contract semantics), the
   headline execution is house-gold. */

.bu-workspace{width:100%;flex-direction:column;gap:16px;
  color:#e9edf5;font-size:13px;}
.bu-workspace .gold{color:#f0c75e;}

/* Header */
.bu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;border-radius:14px;
  background:linear-gradient(135deg,rgba(46,37,14,.65),rgba(20,18,12,.6));
  border:1px solid rgba(212,175,55,.28);}
.bu-head-left{display:flex;align-items:center;gap:12px;min-width:0;}
.bu-logo{width:38px;height:38px;flex:0 0 auto;display:flex;align-items:center;
  justify-content:center;border-radius:10px;font-size:20px;font-weight:800;
  color:#0e0e0e;background:linear-gradient(135deg,#f0c75e,#d4af37);
  box-shadow:0 2px 12px rgba(212,175,55,.4);}
.bu-title{font-size:17px;font-weight:800;letter-spacing:.02em;color:#f6e9c4;}
.bu-badge{font-size:9.5px;font-weight:800;letter-spacing:.08em;vertical-align:middle;
  margin-left:6px;padding:2px 7px;border-radius:999px;color:#d4af37;
  background:rgba(212,175,55,.14);border:1px solid rgba(212,175,55,.4);}
.bu-sub{font-size:11px;color:rgba(240,199,94,.6);margin-top:2px;}
.bu-head-right{display:flex;align-items:center;gap:6px;font-size:11px;
  color:rgba(240,199,94,.75);white-space:nowrap;}
.bu-live-dot{width:8px;height:8px;border-radius:50%;background:#34d399;
  box-shadow:0 0 8px rgba(52,211,153,.8);animation:bu-pulse 1.6s infinite;}
@keyframes bu-pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* Bad Ute lives in the app's fixed ~396px right-hand workspace panel (like every
   other strategy), so it renders as ONE column — which is exactly the reference's
   own grid-cols-1 layout at narrow widths. A 2-column grid here squeezed each card
   to ~190px and knocked everything out of alignment. Cards stack full-width, in
   the reference's reading order (analysis, then settings, then history). */
.bu-grid{display:flex;flex-direction:column;gap:16px;min-width:0;}
.bu-col{display:flex;flex-direction:column;gap:16px;min-width:0;}

/* Cards */
.bu-card{background:linear-gradient(160deg,#15151b,#101015);border-radius:14px;
  border:1px solid rgba(226,182,104,.14);padding:15px;}
.bu-analyzer-card{background:linear-gradient(160deg,rgba(30,24,10,.55),rgba(16,15,12,.7));
  border-color:rgba(212,175,55,.2);}
.bu-settings-card{background:linear-gradient(160deg,rgba(36,28,10,.55),rgba(16,14,10,.75));
  border-color:rgba(212,175,55,.24);}
.bu-card-head{display:flex;align-items:flex-start;justify-content:space-between;
  gap:10px;margin-bottom:12px;}
.bu-card-title{font-size:13.5px;font-weight:700;color:#f0c75e;}
.bu-card-sub{font-size:10.5px;color:rgba(255,255,255,.4);margin-top:2px;}

/* Gold pill buttons (replace the reference's cyan "Start Analysis") */
.bu-btn-gold{padding:7px 14px;border-radius:9px;font-size:12px;font-weight:700;
  font-family:inherit;cursor:pointer;color:#0e0e0e;border:1px solid rgba(212,175,55,.5);
  background:linear-gradient(135deg,#f0c75e,#d4af37);transition:filter .15s;white-space:nowrap;}
.bu-btn-gold:hover{filter:brightness(1.08);}
.bu-btn-gold.busy{opacity:.6;cursor:progress;}
/* Live analyzer running: button flips to a stop state */
.bu-btn-gold.live{background:linear-gradient(135deg,#f87171,#dc2626);color:#fff;
  border-color:rgba(248,113,113,.6);box-shadow:0 0 12px rgba(220,38,38,.35);}
.bu-scanning{color:rgba(240,199,94,.7);animation:bu-pulse 1.4s infinite;}

/* Analysis mode chips — a neat 5-across grid on every device (label spans the
   full row) instead of an uneven wrap. */
.bu-mode-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;
  margin-bottom:12px;align-items:center;}
.bu-mode-lbl{grid-column:1 / -1;font-size:10.5px;color:rgba(255,255,255,.4);}
.bu-mode-btn{padding:6px 2px;border-radius:7px;font-size:10px;font-weight:700;
  text-align:center;white-space:nowrap;
  font-family:inherit;cursor:pointer;color:rgba(240,199,94,.6);
  background:rgba(30,25,12,.5);border:1px solid rgba(212,175,55,.25);transition:all .15s;}
.bu-mode-btn:hover{color:#f0c75e;border-color:rgba(212,175,55,.5);}
.bu-mode-btn.active{background:linear-gradient(135deg,#d4af37,#b8860b);color:#0e0e0e;
  border-color:#f0c75e;font-weight:700;}

/* Analyzer results */
.bu-empty{font-size:11px;color:rgba(255,255,255,.32);text-align:center;padding:16px 8px;
  line-height:1.5;}
.bu-note{margin-top:10px;font-size:9.5px;line-height:1.5;color:rgba(240,199,94,.5);}
/* Rarity Scanner — reference layout (always-on, fixed digits 0/1/8/9).
   House-gold chrome; low digits (0,1) green, high digits (8,9) blue — the
   semantic split the reference uses. */
.bu-rar-head{display:flex;align-items:center;gap:8px;margin-bottom:10px;}
.bu-rar-dot{width:7px;height:7px;border-radius:50%;background:#f0c75e;
  box-shadow:0 0 8px rgba(240,199,94,.8);animation:bu-pulse 1.6s infinite;flex:0 0 auto;}
.bu-rar-title{font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:#f0c75e;}
.bu-rar-meta{margin-left:auto;font-size:9.5px;color:rgba(255,255,255,.38);white-space:nowrap;}
.bu-rar-row{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:7px 10px;border-radius:7px;margin-bottom:6px;cursor:pointer;
  background:rgba(20,22,30,.6);border:1px solid rgba(226,182,104,.12);transition:all .15s;}
.bu-rar-row:hover{background:rgba(46,37,14,.55);border-color:rgba(212,175,55,.35);}
.bu-rar-left{display:flex;align-items:center;gap:8px;min-width:0;}
.bu-rar-rank{font-size:10px;font-weight:800;color:rgba(255,255,255,.4);flex:0 0 auto;}
.bu-rar-row:first-child .bu-rar-rank{color:#f0c75e;}
.bu-rar-name{font-size:11.5px;font-weight:600;color:#f4f6fb;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;}
.bu-rar-ticks{font-size:9px;font-family:ui-monospace,Consolas,monospace;color:#f0c75e;
  background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.25);
  padding:1px 6px;border-radius:4px;flex:0 0 auto;}
.bu-rar-digs{display:flex;gap:7px;font-size:10px;font-weight:600;white-space:nowrap;flex:0 0 auto;}
.bu-rar-dig.low{color:#34d399;}
.bu-rar-dig.high{color:#60a5fa;}

/* Advanced / Burst execution card (fires the analyzer mode, 1 or 2 trades) */
.bu-exec-card{padding:13px;}
.bu-exec-grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:11px;}
.bu-adv-btn,.bu-burst-btn{display:flex;align-items:center;justify-content:center;gap:7px;
  padding:13px 8px;border-radius:11px;font-size:12px;font-weight:800;letter-spacing:.01em;
  font-family:inherit;cursor:pointer;color:#0e0e0e;border:1px solid rgba(240,199,94,.55);
  transition:filter .15s,transform .1s;line-height:1.15;text-align:center;}
.bu-adv-btn{background:linear-gradient(135deg,#f5d97a,#d4af37);}
.bu-burst-btn{background:linear-gradient(135deg,#f5b942,#e0800f);color:#1a1206;
  border-color:rgba(224,128,15,.6);}
.bu-adv-btn:hover,.bu-burst-btn:hover{filter:brightness(1.07);}
.bu-adv-btn:active,.bu-burst-btn:active{transform:scale(.98);}
.bu-adv-btn:disabled,.bu-burst-btn:disabled{opacity:.45;cursor:not-allowed;filter:none;}
.bu-exec-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.bu-exec-hint{font-size:9.5px;color:rgba(240,199,94,.5);}
.bu-tradecount{display:flex;gap:6px;flex:0 0 auto;}
.bu-tc-btn{padding:5px 11px;border-radius:6px;font-size:10.5px;font-weight:600;font-family:inherit;
  cursor:pointer;color:rgba(240,199,94,.6);background:rgba(30,25,12,.55);
  border:1px solid rgba(212,175,55,.28);transition:all .15s;}
.bu-tc-btn:hover{color:#f0c75e;border-color:rgba(212,175,55,.5);}
.bu-tc-btn.active{background:linear-gradient(135deg,#d4af37,#b8860b);color:#0e0e0e;border-color:#f0c75e;}

/* ── Live Best Pairs (reference layout, house gold) ─────────────────────────── */
.bu-timer{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:9px;
  background:rgba(20,22,30,.7);border:1px solid rgba(212,175,55,.2);margin-bottom:10px;}
.bu-timer-lbl{font-size:10.5px;font-weight:700;letter-spacing:.06em;color:#f0c75e;}
.bu-timer-bar{width:100%;height:6px;border-radius:4px;background:rgba(255,255,255,.07);overflow:hidden;}
.bu-timer-bar > span{display:block;height:100%;border-radius:4px;transition:width 1s linear;
  background:linear-gradient(90deg,#d4af37,#f0c75e);}
.bu-bp-mode{font-size:11.5px;font-weight:800;color:#f0c75e;margin-bottom:9px;}
/* In-analyzer ALOE POINT launcher (the reference's START M BURST slot) —
   slightly compact variant of the main gold fire button. */
.bu-inline-aloe{padding:11px 0;font-size:12px;margin-bottom:10px;}
.bu-bp-card{padding:10px 11px;border-radius:9px;margin-bottom:8px;cursor:pointer;
  background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.28);transition:all .15s;}
.bu-bp-card:hover{background:rgba(16,185,129,.16);border-color:rgba(16,185,129,.5);}
.bu-bp-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;min-width:0;}
.bu-bp-rank{width:22px;height:22px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  border-radius:50%;font-size:10px;font-weight:800;color:#6ee7b3;
  background:rgba(5,150,105,.2);border:1px solid rgba(16,185,129,.5);}
.bu-bp-name{font-size:12px;font-weight:700;color:#f4f6fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.bu-bp-hint{font-size:9.5px;color:#6ee7b3;white-space:nowrap;flex:0 0 auto;}
.bu-bp-right{margin-left:auto;text-align:right;flex:0 0 auto;display:flex;flex-direction:column;line-height:1.2;}
.bu-bp-right b{font-size:15px;font-weight:800;color:#34d399;}
.bu-bp-right small{font-size:9px;color:rgba(255,255,255,.45);}
.bu-bp-digits{display:flex;flex-wrap:wrap;gap:4px;}
.bu-bp-dig{width:22px;height:22px;display:flex;align-items:center;justify-content:center;
  border-radius:5px;font-size:10.5px;font-weight:700;}
.bu-bp-dig.win{color:#6ee7b3;background:rgba(5,150,105,.3);border:1px solid rgba(16,185,129,.5);}
.bu-bp-dig.lose{color:rgba(229,231,235,.95);background:rgba(75,85,99,.3);border:1px solid rgba(107,114,128,.5);}

/* ── Live Intelligent Barrier (reference layout, house gold) ───────────────── */
.bu-reco-card{padding:11px;border-radius:11px;cursor:pointer;margin-bottom:11px;
  background:linear-gradient(135deg,rgba(16,185,129,.16),rgba(13,148,136,.14));
  border:1px solid rgba(16,185,129,.5);transition:all .15s;}
.bu-reco-card:hover{border-color:rgba(52,211,153,.7);filter:brightness(1.06);}
.bu-reco-card:active{transform:scale(.985);}
.bu-reco-head{display:flex;align-items:flex-start;gap:8px;margin-bottom:9px;color:#34d399;
  font-size:12px;font-weight:800;}
.bu-reco-head span{display:flex;flex-direction:column;gap:1px;}
.bu-reco-head b{color:#fff;font-size:11.5px;}
.bu-reco-head small{font-size:9.5px;font-weight:500;color:#6ee7b3;}
.bu-reco-body{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px;border-radius:9px;background:rgba(0,0,0,.3);}
.bu-reco-big{font-size:19px;font-weight:800;color:#6ee7b3;line-height:1.1;}
.bu-reco-sub{font-size:9.5px;color:rgba(255,255,255,.5);margin-top:3px;}
.bu-reco-sub b{color:#34d399;}
.bu-reco-trend{text-align:center;flex:0 0 auto;font-size:20px;line-height:1.1;}
.bu-reco-trend small{display:block;font-size:9px;color:rgba(255,255,255,.5);margin-top:2px;}
.bu-perf-title{font-size:11px;font-weight:700;color:rgba(255,255,255,.75);margin:2px 0 8px;}
.bu-perf-row{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;margin-bottom:6px;
  background:rgba(20,22,30,.6);border:1px solid rgba(226,182,104,.13);}
.bu-perf-row.top{border-color:rgba(212,175,55,.4);background:rgba(46,37,14,.4);}
.bu-perf-star{width:16px;flex:0 0 auto;font-size:11px;}
.bu-perf-lbl{display:flex;flex-direction:column;gap:1px;font-size:11.5px;font-weight:700;color:#f4f6fb;min-width:0;}
.bu-perf-lbl small{font-size:9px;font-weight:500;color:rgba(255,255,255,.42);}
.bu-perf-pct{margin-left:auto;font-size:13px;font-weight:800;color:#34d399;flex:0 0 auto;}
.bu-perf-trend{font-size:9px;font-weight:700;color:rgba(255,255,255,.55);white-space:nowrap;flex:0 0 auto;}


/* Fields / inputs / selects */
.bu-field{display:block;margin-bottom:11px;}
.bu-field>span{display:block;font-size:10.5px;color:rgba(255,255,255,.45);
  margin-bottom:5px;font-weight:600;}
.bu-field-lbl{font-size:10.5px;color:rgba(255,255,255,.45);margin-bottom:7px;font-weight:600;}
.bu-input,.bu-select{width:100%;box-sizing:border-box;background:rgba(20,22,30,.85);
  color:#f4f6fb;border:1px solid rgba(212,175,55,.22);border-radius:9px;padding:10px 12px;
  font-size:13px;font-family:inherit;}
.bu-input:focus,.bu-select:focus{outline:none;border-color:rgba(212,175,55,.6);}
.bu-select{appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,#d4af37 50%),linear-gradient(135deg,#d4af37 50%,transparent 50%);
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;
  background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:34px;}

/* Digit threshold row (0-9) */
.bu-digit-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin-bottom:12px;}
.bu-digit-btn{padding:9px 0;border-radius:8px;font-size:13px;font-weight:700;font-family:inherit;
  cursor:pointer;color:rgba(233,237,245,.85);background:rgba(30,33,45,.9);
  border:1px solid rgba(226,182,104,.16);transition:all .12s;}
.bu-digit-btn:hover{border-color:rgba(212,175,55,.5);color:#f0c75e;}
.bu-digit-btn.active{background:linear-gradient(135deg,#f0c75e,#d4af37);color:#0e0e0e;
  border-color:#f0c75e;box-shadow:0 0 12px rgba(212,175,55,.5);}
.bu-digit-btn.last{outline:2px solid rgba(52,211,153,.7);}

/* Aloe Point (reference KILLER G) — the headline gold-fire button */
.bu-aloe-btn{width:100%;padding:13px 0;border-radius:11px;font-size:13px;font-weight:800;
  letter-spacing:.03em;font-family:inherit;cursor:pointer;color:#0e0e0e;margin-bottom:10px;
  border:1px solid rgba(240,199,94,.6);
  background:linear-gradient(135deg,#f5cf5f,#e0a915 55%,#c8860a);
  box-shadow:0 3px 16px rgba(212,175,55,.35);transition:filter .15s,box-shadow .15s;}
.bu-aloe-btn:hover{filter:brightness(1.06);box-shadow:0 4px 22px rgba(212,175,55,.5);}
.bu-aloe-btn.on{background:linear-gradient(135deg,#ff7a45,#e0480f);color:#fff;
  border-color:rgba(255,138,64,.8);box-shadow:0 0 20px rgba(224,72,15,.6);
  animation:bu-fire 1s infinite;}
@keyframes bu-fire{0%,100%{box-shadow:0 0 16px rgba(224,72,15,.5)}50%{box-shadow:0 0 26px rgba(224,72,15,.85)}}

/* Stat grid (price / change / ticks) */
.bu-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px;}
.bu-stat{padding:10px;border-radius:10px;background:rgba(255,255,255,.03);
  border:1px solid rgba(226,182,104,.13);}
.bu-stat-lbl{display:block;font-size:9.5px;color:rgba(255,255,255,.4);margin-bottom:4px;}
.bu-stat-val{font-size:15px;font-weight:800;color:#f4f6fb;}
.bu-stat-val.up{color:#34d399;}
.bu-stat-val.down{color:#f87171;}

/* Inner cards (threshold analysis / reading / stream) */
.bu-inner-card{padding:12px;border-radius:10px;margin-bottom:10px;
  background:rgba(20,22,30,.6);border:1px solid rgba(226,182,104,.14);}
.bu-inner-title{font-size:11px;font-weight:700;color:rgba(255,255,255,.75);margin-bottom:9px;}
/* Digit Threshold Analysis — horizontal bars + digit counts (reference Milli X
   layout), house-gold branded: Above = green, Below/Equal = gold. */
.bu-thresh-card{background:rgba(20,22,30,.65);border:1px solid rgba(212,175,55,.2);}
.bu-thresh-title{font-size:11.5px;font-weight:700;color:#f0c75e;margin-bottom:13px;
  display:flex;align-items:center;gap:6px;}
.bu-thresh-ico{color:#d4af37;font-size:13px;}
.bu-thresh-line{margin-bottom:13px;}
.bu-thresh-line:last-child{margin-bottom:0;}
.bu-thresh-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.bu-thresh-lbl{font-size:12px;font-weight:700;}
.bu-thresh-pct{font-size:14px;font-weight:800;}
.bu-thresh-line.above .bu-thresh-lbl,.bu-thresh-line.above .bu-thresh-pct{color:#34d399;}
.bu-thresh-line.below .bu-thresh-lbl,.bu-thresh-line.below .bu-thresh-pct{color:#f0c75e;}
.bu-thresh-bar{width:100%;height:9px;border-radius:6px;background:rgba(255,255,255,.06);overflow:hidden;}
.bu-thresh-bar > span{display:block;height:100%;border-radius:6px;transition:width .35s ease;}
.bu-thresh-line.above .bu-thresh-bar > span{background:linear-gradient(90deg,#059669,#34d399);}
.bu-thresh-line.below .bu-thresh-bar > span{background:linear-gradient(90deg,#b8860b,#f0c75e);
  box-shadow:0 0 8px rgba(212,175,55,.4);}
.bu-thresh-cnt{margin-top:5px;font-size:10px;color:rgba(255,255,255,.42);}
/* Over/Under Reading — styled like the reference "Prediction Summary" card, in
   house gold. HONEST: it reads the recent stream, it never forecasts. */
.bu-summary-card{background:rgba(20,22,30,.6);border:1px solid rgba(226,182,104,.14);}
.bu-summary-title{font-size:12px;font-weight:700;color:#e9edf5;margin-bottom:11px;
  display:flex;align-items:center;gap:7px;}
.bu-summary-ico{color:#f0c75e;}
.bu-summary-box{border-radius:12px;padding:14px;background:rgba(30,25,12,.4);
  border:1px solid rgba(212,175,55,.5);box-shadow:inset 0 0 18px rgba(212,175,55,.1);}
.bu-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.bu-summary-left{display:flex;align-items:center;gap:11px;min-width:0;}
.bu-summary-target{width:34px;height:34px;flex:0 0 auto;display:flex;align-items:center;
  justify-content:center;border-radius:50%;font-size:17px;font-weight:800;color:#0e0e0e;
  background:radial-gradient(circle,#f5d97a,#d4af37);box-shadow:0 0 12px rgba(212,175,55,.5);}
.bu-summary-side{font-size:22px;font-weight:800;line-height:1.05;color:#f0c75e;}
.bu-summary-side.over{color:#34d399;}
.bu-summary-side.under{color:#f87171;}
.bu-summary-sub{font-size:10.5px;color:rgba(255,255,255,.5);margin-top:2px;}
.bu-summary-right{text-align:right;flex:0 0 auto;}
.bu-summary-pct{font-size:22px;font-weight:800;color:#f0c75e;line-height:1.05;}
.bu-summary-analysis{border-radius:9px;padding:11px;background:rgba(20,22,30,.7);
  border:1px solid rgba(226,182,104,.14);}
.bu-summary-analysis-title{font-size:11.5px;font-weight:700;color:#f0c75e;margin-bottom:6px;}
.bu-reading-note{font-size:10.5px;line-height:1.5;color:rgba(255,255,255,.58);}

/* Live digit stream — 5-col big cards + progress bars + ghost highlight on the
   LAST digit (reference Milli X layout, re-housed in gold). */
.bu-stream{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.bu-stream-cell{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;
  padding:14px 6px 12px;border-radius:14px;cursor:pointer;
  background:rgba(20,22,30,.7);border:1px solid rgba(226,182,104,.14);transition:all .15s;}
.bu-stream-cell:hover{border-color:rgba(212,175,55,.5);transform:translateY(-1px);}
.bu-stream-cell.last{background:rgba(212,175,55,.14);border-color:rgba(240,199,94,.75);
  box-shadow:0 0 18px rgba(212,175,55,.45);}
.bu-stream-dig{font-size:26px;font-weight:800;line-height:1;color:#f4f6fb;}
.bu-stream-cell.last .bu-stream-dig{color:#f0c75e;}
.bu-stream-pct{font-size:11px;font-weight:600;color:rgba(255,255,255,.55);}
.bu-stream-cell.last .bu-stream-pct{color:#f0c75e;}
.bu-stream-bar{width:72%;height:3px;border-radius:2px;background:rgba(255,255,255,.08);overflow:hidden;}
.bu-stream-bar > span{display:block;height:100%;border-radius:2px;
  background:linear-gradient(90deg,#d4af37,#f0c75e);}
.bu-stream-ghost{position:absolute;top:-9px;right:-5px;font-size:17px;
  filter:drop-shadow(0 0 5px rgba(212,175,55,.7));}
.bu-stream-foot{margin-top:10px;font-size:10px;color:rgba(240,199,94,.55);text-align:center;}
@media (max-width:520px){.bu-stream-dig{font-size:22px;}.bu-stream-cell{padding:11px 4px 9px;}}

/* Stake note + reinvest strip (house gold, shared with Leads' model) */
.bu-stake-note{font-size:10.5px;color:rgba(255,255,255,.5);margin:-4px 0 12px;}
#bu-stake-boost{color:#34d399;margin-left:6px;}
/* Profit Reinvest reuses Trade X's shared gx-module-* classes (identical look).
   The module block sits flush like the other settings — nudge its top margin. */
.bu-settings-card .gx-module-block{margin-top:0;margin-bottom:12px;}

/* Digit-click execution popup — replica of the reference "Select Trade Type"
   modal, house-gold. */
.bu-modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.7);backdrop-filter:blur(4px);padding:20px;}
.bu-modal-card{width:100%;max-width:400px;border-radius:18px;padding:22px;
  background:linear-gradient(160deg,#181820,#101015);
  border:1px solid rgba(212,175,55,.35);box-shadow:0 20px 60px rgba(0,0,0,.6);}
.bu-modal-title{font-size:16px;font-weight:800;color:#f6e9c4;text-align:center;}
.bu-modal-sub{font-size:11.5px;color:rgba(255,255,255,.5);text-align:center;margin:4px 0 16px;}
.bu-modal-digit{font-size:15px;font-weight:800;color:#f0c75e;}
.bu-modal-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:14px;}
.bu-modal-over,.bu-modal-under,.bu-modal-iover,.bu-modal-iunder{padding:16px 0;border-radius:12px;
  font-size:14px;font-weight:800;letter-spacing:.02em;font-family:inherit;cursor:pointer;color:#fff;
  border:none;transition:filter .15s,transform .1s;}
.bu-modal-over:hover,.bu-modal-under:hover,.bu-modal-iover:hover,.bu-modal-iunder:hover{filter:brightness(1.08);}
.bu-modal-over:active,.bu-modal-under:active,.bu-modal-iover:active,.bu-modal-iunder:active{transform:scale(.98);}
.bu-modal-over{background:linear-gradient(135deg,#16a34a,#15803d);}
.bu-modal-under{background:linear-gradient(135deg,#2563eb,#1e40af);}
.bu-modal-instant-lbl{font-size:10.5px;color:rgba(255,255,255,.4);text-align:center;margin-bottom:9px;}
.bu-modal-instant{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:14px;}
.bu-modal-iover{background:linear-gradient(135deg,#ca8a04,#b8860b);border:1px solid rgba(250,204,21,.5);font-size:12px;}
.bu-modal-iunder{background:linear-gradient(135deg,#6366f1,#4f46e5);border:1px solid rgba(129,140,248,.5);font-size:12px;}
.bu-modal-iover small,.bu-modal-iunder small{display:block;font-size:9px;font-weight:600;opacity:.85;}
.bu-modal-cancel{width:100%;padding:12px 0;border-radius:11px;font-size:13px;font-weight:600;
  font-family:inherit;cursor:pointer;color:rgba(233,237,245,.9);
  background:rgb(51,65,85);border:1px solid rgba(226,182,104,.18);}
.bu-modal-cancel:hover{background:rgb(61,75,95);}
.bu-modal-over:disabled,.bu-modal-under:disabled,.bu-modal-iover:disabled,.bu-modal-iunder:disabled{
  opacity:.32;cursor:not-allowed;filter:none;}

/* Manual Over/Under (green / red — contract semantics kept) */
.bu-manual-title{font-size:11px;font-weight:700;color:rgba(255,255,255,.7);margin:6px 0 8px;}
.bu-manual-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:10px;}
.bu-over-btn,.bu-under-btn{padding:13px 0;border-radius:10px;font-size:13px;font-weight:800;
  letter-spacing:.03em;font-family:inherit;cursor:pointer;color:#fff;border:none;transition:filter .15s;}
.bu-over-btn{background:linear-gradient(135deg,#059669,#10b981);}
.bu-under-btn{background:linear-gradient(135deg,#dc2626,#e11d63);}
.bu-over-btn:hover,.bu-under-btn:hover{filter:brightness(1.08);}
.bu-over-btn:disabled,.bu-under-btn:disabled{opacity:.4;cursor:not-allowed;filter:none;}

/* Gad Speed (reference M SPEED 1) */
.bu-speed-btn{width:100%;padding:11px 0;border-radius:10px;font-size:12.5px;font-weight:700;
  letter-spacing:.03em;font-family:inherit;cursor:pointer;color:rgba(233,237,245,.95);
  margin-bottom:10px;background:rgba(28,31,44,.9);border:1px solid rgba(212,175,55,.28);transition:all .15s;}
.bu-speed-btn:hover{border-color:rgba(212,175,55,.55);color:#f0c75e;}
#bu-speed-tier{color:#f0c75e;font-weight:800;}

/* Aloe live strip + status */
.bu-payout-note{font-size:10px;color:rgba(255,255,255,.5);margin:2px 0 6px;min-height:12px;}
.bu-aloe-live{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:9px;margin-top:8px;
  background:rgba(224,72,15,.12);border:1px solid rgba(255,138,64,.35);font-size:11px;}
.bu-aloe-state{font-size:9.5px;font-weight:800;letter-spacing:.08em;color:#ffb08a;
  background:rgba(224,72,15,.25);padding:2px 7px;border-radius:5px;}
.bu-aloe-radar{width:8px;height:8px;border-radius:50%;background:#ff8a45;
  box-shadow:0 0 8px rgba(255,138,64,.9);animation:bu-pulse 1s infinite;}
.bu-aloe-msg{color:rgba(255,220,200,.9);flex:1;min-width:0;}
.bu-status{font-size:11px;margin-top:8px;min-height:14px;line-height:1.5;color:#93a0ad;}
.bu-status.ok{color:#34d399;}
.bu-status.err{color:#fda4af;}

/* Trade history reuses the shared tx-history-card / trade-card / tc-* classes
   (identical to Logs Man). Only the filter buttons are scoped — matched to Logs
   Man's lm-filter-btn so the whole card reads the same. */
.bu-filter-btn{padding:5px 10px;border-radius:5px;border:1px solid rgba(226,182,104,.16);
  background:transparent;color:rgba(175,195,240,.6);font-size:11px;font-family:inherit;
  cursor:pointer;transition:all .15s;}
.bu-filter-btn:hover{background:rgba(168,85,247,.1);border-color:rgba(168,85,247,.28);color:#c084fc;}
.bu-filter-btn.active{background:rgba(168,85,247,.18);border-color:rgba(168,85,247,.45);color:#c084fc;}

/* Strategy-list icon (gold ≷) */
.strategy-icon-badute{background:linear-gradient(135deg,rgba(240,199,94,.22),rgba(212,175,55,.12))!important;
  border:1px solid rgba(212,175,55,.4)!important;}
.strategy-mark-badute{color:#f0c75e;font-size:19px;font-weight:800;}


/* ── Random Over/Under (Milli X parity — off-state measured 2026-07-31) ────── */
.bu-random-ou-btn {
  width: 100%; margin-top: 8px; padding: 12px 16px; border-radius: 8px;
  background: #1E293B; color: #d1d5db; border: 1px solid rgba(226,182,104,.18);
  font-size: 13px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .3s;
}
.bu-random-ou-btn:hover:not(:disabled) { border-color: rgba(168,85,247,.5); }
.bu-random-ou-btn.on {
  background: linear-gradient(to right, #9333ea, #db2777);
  color: #fff; font-weight: 700; border-color: rgba(192,132,252,.5);
}
.bu-random-ou-btn:disabled { opacity: .5; cursor: not-allowed; }
.bu-random-ou-note { font-size: 11px; color: #fbbf24; text-align: center;
  min-height: 14px; margin-top: 4px; }
