/* Friday Funded Rush: mobile-first game lobby made up of playable entries.
   There are deliberately no empty campaign or "coming soon" cards here. */
body.rush-page-active {
  --rush-purple: #7b19d7;
  --rush-ink: #08090b;
  --rush-surface: #121317;
  --rush-muted: #92949d;
  --rush-line: rgba(255, 255, 255, 0.085);
  background: var(--rush-ink) !important;
}

body.rush-page-active .app-shell {
  background: var(--rush-ink) !important;
}

body.rush-page-active .topbar {
  min-height: 58px !important;
  margin-bottom: 13px !important;
  padding: 7px 11px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--rush-ink) !important;
  box-shadow: none !important;
}

/* In Telegram the native Close/menu row occupies the very top of the
   WebView. Keep Rush's larger identity lockup below it without creating a
   scrollable blank strip above the header. */
@media (max-width: 768px) {
  html.telegram-miniapp body.rush-page-active:not(.admin-page) .topbar {
    min-height: calc(58px + var(--ff-telegram-header-clearance, 72px)) !important;
    padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 7px) !important;
  }
}

body.rush-page-active .topbar::before {
  display: none !important;
}

body.rush-page-active .topbar .brand-lockup {
  gap: 0 !important;
}

html.miniapp-dashboard body.rush-page-active:not(.admin-page) .topbar .brand-award {
  display: none !important;
}

html.miniapp-dashboard body.rush-page-active:not(.admin-page) .topbar .brand-logo {
  display: block !important;
  width: min(142px, 42vw) !important;
  height: auto !important;
  max-width: min(142px, 42vw) !important;
  flex: 0 0 auto !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
}

body.rush-page-active .topbar .brand-logo {
  display: block !important;
  width: min(142px, 42vw) !important;
  height: auto !important;
  max-width: min(142px, 42vw) !important;
  flex: 0 0 auto !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
}

body.rush-page-active .topbar .brand-award,
body.rush-page-active .topbar .language-switch,
body.rush-page-active .topbar .user-menu-trigger-copy {
  display: none !important;
}

body.rush-page-active .topbar .topbar-tools {
  gap: 8px !important;
}

body.rush-page-active .topbar .support-launch-button {
  display: grid !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px !important;
  background: #121317 !important;
  color: #f4f4f6 !important;
  box-shadow: none !important;
}

body.rush-page-active .topbar .support-launch-button svg {
  width: 21px !important;
  height: 21px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 1.8 !important;
}

body.rush-page-active .topbar .user-menu-trigger {
  display: grid !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.rush-page-active .topbar .user-avatar {
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
}

body.rush-page-active .content-shell {
  padding-top: 0 !important;
}

body.rush-page-active .rush-view {
  min-height: 100dvh;
}

.rush-page-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 0 12px 114px;
  color: #f7f7fa;
}

.rush-banner-placeholder {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 30px;
  background: #292a2f;
}

.rush-banner-primary {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1233 / 564;
  border: 0;
  border-radius: 30px !important;
  object-fit: cover;
  background-clip: padding-box;
  background-color: #7600b5;
}

.rush-promo-row {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 10px;
  margin-top: 13px;
}

.rush-promo-placeholder {
  height: clamp(76px, 23vw, 102px);
  border-radius: 17px;
  background: #25262b;
}

.rush-games-section {
  margin-top: 24px;
}

.rush-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.rush-eyebrow {
  margin: 0 0 5px;
  color: #a9aab2;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-transform: none;
}

.rush-section-heading h2 {
  margin: 0;
  color: #f7f7fa;
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.rush-carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.rush-carousel-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #25262b;
  color: #f4f4f6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rush-carousel-button img,
.rush-dialog-close img {
  display: block;
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.rush-arrow-back {
  transform: rotate(180deg);
}

.rush-game-rail::-webkit-scrollbar {
  display: none;
}

.rush-game-rail {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.rush-game-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--rush-line);
  border-radius: 18px;
  background: var(--rush-surface);
  color: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}

.rush-game-card[hidden] {
  display: none !important;
}

.rush-game-card:disabled {
  cursor: default;
  opacity: 0.58;
}

.rush-game-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.86;
  overflow: hidden;
  background: #2b2c31;
}

.rush-candle-sprint-art {
  background:
    radial-gradient(circle at 82% 26%, rgba(255, 95, 83, 0.38), transparent 21%),
    linear-gradient(142deg, #21151b 0%, #111217 54%, #251617 100%);
}

.rush-candle-sprint-art::before,
.rush-candle-hunter-art::before,
.rush-predictor-art::before,
.rush-asset-race-art::before {
  position: absolute;
  inset: 18% 12% 14%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  content: "";
  opacity: 0.92;
}

.rush-candle-sprint-art::after,
.rush-candle-hunter-art::after,
.rush-predictor-art::after,
.rush-asset-race-art::after {
  position: absolute;
  right: 11%;
  bottom: 13%;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.rush-candle-sprint-art::after {
  content: "↗";
  color: #ff7167;
  text-shadow: 0 8px 24px rgba(246, 67, 61, 0.42);
}

.rush-candle-hunter-art {
  background:
    radial-gradient(circle at 72% 24%, rgba(106, 68, 255, 0.45), transparent 22%),
    linear-gradient(145deg, #171329, #0f1119 57%, #1c1430);
}

.rush-candle-hunter-art::before {
  border-color: rgba(137, 105, 255, 0.35);
  background:
    linear-gradient(90deg, transparent 0 15%, rgba(255,255,255,.08) 15% 16%, transparent 16% 35%, rgba(255,255,255,.08) 35% 36%, transparent 36% 55%, rgba(255,255,255,.08) 55% 56%, transparent 56% 75%, rgba(255,255,255,.08) 75% 76%, transparent 76%),
    linear-gradient(180deg, transparent 0 24%, rgba(255,255,255,.08) 24% 25%, transparent 25% 49%, rgba(255,255,255,.08) 49% 50%, transparent 50% 74%, rgba(255,255,255,.08) 74% 75%, transparent 75%);
}

.rush-candle-hunter-art::after {
  content: "▮▯▮";
  color: #9b7aff;
  font-size: clamp(23px, 5vw, 38px);
  text-shadow: 0 8px 22px rgba(139, 94, 255, 0.42);
}

.rush-game-card-primary {
  border-color: rgba(143, 59, 255, 0.52);
  box-shadow: 0 15px 34px rgba(84, 17, 170, 0.22);
}

.rush-game-card-primary .rush-game-status {
  border-color: rgba(167, 96, 255, 0.38);
  background: rgba(124, 37, 222, 0.18);
  color: #d6b3ff;
}

.rush-predictor-art {
  background: radial-gradient(circle at 73% 30%, rgba(168, 86, 255, .38), transparent 25%), linear-gradient(145deg, #0d1020 0%, #16112a 54%, #0c0d13 100%);
}

.rush-predictor-art::before {
  border-color: rgba(187, 112, 255, 0.34);
  transform: skewY(-8deg);
}

.rush-predictor-art::after {
  content: "⌁";
  color: #c290ff;
  font-size: clamp(48px, 10vw, 76px);
  font-weight: 500;
  text-shadow: 0 8px 24px rgba(158, 79, 255, 0.42);
}

.rush-asset-race-art {
  background: radial-gradient(circle at 50% 42%, rgba(99, 85, 255, .30), transparent 34%), linear-gradient(145deg, #10222b, #15131d 58%, #17143a);
}

.rush-asset-race-art::before {
  border-color: rgba(95, 159, 255, 0.3);
}

.rush-asset-race-art::after {
  content: "₿ Ξ";
  color: #f4f7ff;
  text-shadow: 0 6px 24px rgba(91, 137, 255, 0.46);
}

.rush-game-art-label {
  position: absolute;
  z-index: 1;
  top: 12%;
  left: 12%;
  display: grid;
  gap: 2px;
  color: #f6f6f8;
  line-height: 1;
}

.rush-game-art-label b {
  font-size: clamp(17px, 3.5vw, 24px);
  font-weight: 820;
  letter-spacing: -0.06em;
}

.rush-game-art-label small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.rush-asset-race-dialog { width: min(640px, calc(100vw - 24px)); }
.rush-asset-race-stage { padding: 22px; color: #f6f6f8; }
.rush-asset-race-stage > header { display:flex; align-items:center; justify-content:space-between; color:#a7a8b0; font-size:10px; font-weight:800; letter-spacing:.12em; }
.rush-asset-race-stage > header button { border:0; background:transparent; color:#fff; font-size:28px; cursor:pointer; }
.rush-asset-race-heading { margin: 20px 0 18px; }
.rush-asset-race-heading h2 { margin:0 0 7px; font-size:28px; letter-spacing:-.04em; }
.rush-asset-race-heading p { margin:0; color:#b7b8c1; }
.rush-race-chart-card { margin:0 0 16px; padding:12px 13px 10px; border:1px solid #2d2e37; border-radius:14px; background:linear-gradient(145deg,#17181f,#111216); }
.rush-race-chart-head { display:flex; justify-content:space-between; gap:8px; color:#999ba6; font-size:9px; font-weight:800; letter-spacing:.11em; }
.rush-race-chart { height:108px; margin:7px -2px 6px; overflow:hidden; }
.rush-race-chart svg { display:block; width:100%; height:100%; overflow:visible; }
.rush-race-legend { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.rush-race-legend span { display:flex; align-items:center; gap:5px; color:#b9bac2; font-size:10px; font-weight:750; }
.rush-race-legend i { width:7px; height:7px; flex:none; border-radius:50%; background:#bbb; }
.rush-race-legend .race-legend-btc { background:#ff9e2c; }.rush-race-legend .race-legend-eth { background:#5488ff; }.rush-race-legend .race-legend-gold { background:#ffd52a; }
.rush-race-legend b { margin-left:auto; color:#e8e8ec; font-variant-numeric:tabular-nums; }
.rush-race-legend b.is-positive { color:#58d68d; }.rush-race-legend b.is-negative { color:#ff747d; }
.rush-asset-race-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.rush-asset-race-choices button { display:grid; justify-items:center; gap:6px; padding:15px 8px; border:1px solid #30313a; border-radius:14px; background:#17181e; color:#f5f5f7; cursor:pointer; }
.rush-asset-race-choices button.is-selected { border-color:#a445ff; box-shadow:0 0 0 1px #a445ff inset,0 0 24px rgba(164,69,255,.15); }
.rush-asset-race-choices button:disabled { cursor:default; }
.race-coin { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:#fff; font-style:normal; font-size:22px; font-weight:800; }
.race-btc { background:linear-gradient(145deg,#ffb547,#ee761c); }.race-eth { background:linear-gradient(145deg,#477cff,#174ab9); }.race-gold { background:linear-gradient(145deg,#ffe65a,#f3ad00); color:#765000; font-size:14px; }
.rush-asset-race-choices b { font-size:16px; }.rush-asset-race-choices small { color:#999ba5; font-size:9px; letter-spacing:.1em; }
.rush-asset-race-board { display:grid; gap:7px; margin:16px 0; }
.rush-race-row { display:grid; grid-template-columns:1fr 1.2fr .8fr; align-items:center; padding:11px 13px; border:1px solid #292a32; border-radius:10px; background:#121318; font-size:13px; }
.rush-race-row > span { color:#b9bac2; text-align:center; font-variant-numeric:tabular-nums; }.rush-race-row > strong { text-align:right; font-variant-numeric:tabular-nums; }.rush-race-row.is-selected { border-color:rgba(164,69,255,.55); }
.rush-race-row .is-positive { color:#58d68d; }.rush-race-row .is-negative { color:#ff747d; }
.rush-asset-race-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#c9cad1; font-size:13px; }
.rush-asset-race-footer button { min-height:42px; padding:0 16px; border:0; border-radius:10px; background:#8424dc; color:#fff; font:inherit; font-weight:750; cursor:pointer; }.rush-asset-race-footer button:disabled { opacity:.55; cursor:default; }
.rush-asset-race-note { min-height:18px; margin:12px 0 0; color:#92949e; font-size:11px; }
@media(max-width:480px) { .rush-asset-race-stage { padding:17px; }.rush-asset-race-footer { align-items:stretch; flex-direction:column; }.rush-asset-race-footer button { width:100%; } }

.rush-game-copy {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 116px;
  padding: 12px;
}

.rush-game-status {
  width: fit-content;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  color: #b7b8c1;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.rush-game-copy strong {
  overflow: hidden;
  color: #f5f5f7;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rush-game-copy > span:last-child {
  color: var(--rush-muted);
  font-size: 11px;
  line-height: 1.35;
}

.rush-lobby-note {
  display: flex;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--rush-line);
  border-radius: 17px;
  background: #121317;
}

.rush-lobby-note strong {
  display: block;
  color: #f7f7fa;
  font-size: 15px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.rush-lobby-note p {
  margin: 5px 0 0;
  color: var(--rush-muted);
  font-size: 11px;
  line-height: 1.35;
}

.rush-game-dialog {
  position: fixed;
  inset: 0;
  width: min(1080px, calc(100vw - 32px));
  max-width: 100%;
  max-height: min(900px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: radial-gradient(ellipse at 92% 0%, rgba(240, 82, 75, .12), transparent 35%), #101113;
  color: #f5f5f7;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.rush-game-dialog::backdrop {
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(5px);
}

.rush-game-dialog[open] {
  animation: rush-game-in 180ms ease-out both;
}

.rush-game-dialog[data-rush-fallback-open="1"] {
  z-index: 10000;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.64), 0 30px 100px rgba(0, 0, 0, 0.58);
}

.rush-game-stage {
  box-sizing: border-box;
  max-height: min(900px, calc(100dvh - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px clamp(18px, 3.2vw, 36px) 30px;
  scrollbar-color: #35363b transparent;
}

.rush-dialog-close {
  display: grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--rush-line);
  border-radius: 13px;
  background: #191a1d;
  color: #e5e5e8;
  font: inherit;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.rush-dialog-close:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: #222329;
}

.rush-dialog-close:active {
  transform: scale(0.96);
}

.rush-dialog-close img {
  width: 18px;
  height: 18px;
}

.rush-dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.rush-game-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 50px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rush-line);
}

.rush-game-score {
  display: grid;
  min-width: 0;
  margin-left: auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: #18191d;
  text-align: right;
}

.rush-game-score span {
  color: #898b94;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.09em;
}

.rush-game-score strong {
  color: #f4f4f6;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}

.rush-sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 48px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid rgba(87, 150, 255, 0.25);
  border-radius: 12px;
  background: #162033;
  color: #a9cbff;
  font: inherit;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.rush-sound-toggle b {
  color: #f4f7ff;
  font-size: 8px;
}

.rush-sound-toggle.is-muted {
  border-color: rgba(255, 255, 255, 0.1);
  background: #191a1d;
  color: #858891;
}

.rush-sound-toggle:focus-visible {
  outline: 2px solid rgba(87, 150, 255, 0.72);
  outline-offset: 2px;
}

.rush-game-logo {
  display: block;
  width: min(162px, 52vw);
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.rush-game-topbar-spacer {
  width: 40px;
  height: 40px;
}

.rush-market-chart-foot > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aeb0b7;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.rush-live-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #72d38c;
  box-shadow: 0 0 11px rgba(114, 211, 140, 0.42);
}

.rush-margin-chip {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #191a1d;
  color: #c2c3c9;
  font-size: 9px;
  font-weight: 740;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.rush-game-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.58fr);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 17px;
}

.rush-game-kicker,
.rush-market-chart-head > div:first-child > span,
.rush-round-summary span,
.rush-order-heading > div > span {
  display: block;
  color: #9b9ca4;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.rush-game-kicker {
  color: #ff5a52;
}

.rush-game-dialog h2 {
  margin: 7px 0 5px;
  color: #f8f8fa;
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1;
}

.rush-game-dialog #rushGameDialogCopy {
  margin: 0;
  color: #9b9da5;
  font-size: 13px;
  line-height: 1.45;
}

.rush-game-account-summary {
  display: grid;
  min-width: 0;
  gap: 5px 10px;
  padding: 10px 12px;
  border: 1px solid var(--rush-line);
  border-radius: 14px;
  background: #17181b;
  text-align: left;
}

.rush-game-account-label {
  color: #898b94;
  font-size: 9px;
  font-weight: 680;
}

.rush-game-account-select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 2px 18px 2px 0;
  overflow: hidden;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f1f1f3;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.rush-game-account-select:focus-visible {
  outline: 2px solid rgba(146, 80, 225, 0.7);
  outline-offset: 4px;
}

.rush-game-account-select option {
  background: #17181b;
  color: #f1f1f3;
}

.rush-game-account-summary > span {
  overflow: hidden;
  color: #898b94;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rush-game-account-summary > span:last-child {
  color: #9799a1;
  font-size: 10px;
}

.rush-game-account-summary > span {
  min-width: 0;
  line-height: 1.35;
  white-space: nowrap;
}

.rush-game-account-summary b {
  color: #dedee2;
  font-weight: 700;
}

.rush-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.88fr);
  align-items: start;
  gap: 16px;
}

.rush-market-workspace {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.rush-game-market-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.rush-game-asset-list {
  display: flex;
  min-width: 0;
  gap: 7px;
}

.rush-asset-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 47px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #17181b;
  color: #d1d2d6;
  text-align: left;
  cursor: pointer;
}

.rush-asset-button.is-active {
  border-color: rgba(239, 61, 53, 0.72);
  background: rgba(239, 61, 53, 0.09);
}

.rush-asset-button.is-unavailable {
  opacity: 0.42;
  cursor: not-allowed;
}

.rush-asset-button > span:last-child {
  display: grid;
  gap: 2px;
}

.rush-asset-button b {
  color: #e8e8eb;
  font-size: 10px;
  font-weight: 720;
  white-space: nowrap;
}

.rush-asset-button small {
  color: #898b94;
  font-size: 8px;
  white-space: nowrap;
}

.rush-asset-token {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #292a2f;
  color: #f3f3f5;
  font-size: 15px;
  font-weight: 700;
}

.rush-asset-btc { background: #2b2118; color: #f7a33b; }
.rush-asset-eth { background: #20212a; color: #b8b8ff; }
.rush-asset-not { background: #2b2a20; color: #e2ca45; }

.rush-chart-style-switch {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 11px;
  background: #101114;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.rush-chart-style-switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #777984;
  font: inherit;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.rush-chart-style-switch button svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.rush-chart-style-switch button.is-active {
  background: #292a30;
  color: #f3f3f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rush-chart-style-switch button:focus-visible {
  outline: 2px solid rgba(146, 80, 225, 0.72);
  outline-offset: 2px;
}

.rush-market-chart-card {
  overflow: hidden;
  padding: 14px 15px 11px;
  border: 1px solid var(--rush-line);
  border-radius: 16px;
  background: #151619;
}

.rush-market-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rush-market-chart-head .rush-chart-style-switch {
  width: max-content;
  max-width: 100%;
}

.rush-market-price-main {
  min-width: 0;
}

.rush-market-price-main > span:first-child {
  display: block;
  color: #9b9ca4;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.rush-market-price-value {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
}

.rush-market-price-value > strong {
  display: block;
  min-width: 0;
  color: #f4f4f6;
  font-size: clamp(19px, 3vw, 25px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.rush-chart-change {
  padding: 5px 7px;
  border-radius: 7px;
  background: #25262b;
  color: #c1c2c8;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
}

.rush-chart-change.is-positive { background: rgba(70, 161, 98, 0.12); color: #84d49a; }
.rush-chart-change.is-negative { background: rgba(239, 61, 53, 0.12); color: #ff7770; }

.rush-chart-canvas {
  position: relative;
  height: clamp(270px, 34vw, 360px);
  margin: 6px -3px 3px;
}

.rush-chart-canvas svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  shape-rendering: geometricPrecision;
}

.rush-chart-loading {
  display: grid;
  height: 100%;
  place-items: center;
  color: #898b94;
  font-size: 12px;
  text-align: center;
}

.rush-chart-loading.is-error { color: #ff9891; }

.rush-market-chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #858791;
  font-size: 9px;
}

.rush-market-chart-foot > span:last-child {
  color: #9c9ea6;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.rush-market-chart-foot .rush-live-indicator { width: 6px; height: 6px; flex-basis: 6px; }

.rush-run-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--rush-line);
  border-radius: 13px;
  background: #151619;
}

.rush-run-status-copy { display: grid; min-width: 0; gap: 3px; }
.rush-run-status-copy span {
  color: #9698a1;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rush-run-status-copy strong {
  overflow: hidden;
  color: #f2f2f4;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Game history is a compact ledger, not another terminal table. It mirrors
   the actual closed Rush trades stored on the selected virtual prop account. */
.rush-game-history {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: #111215;
}
.rush-game-history[hidden] { display: none !important; }
.rush-game-history-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.rush-game-history-head > div { display: grid; gap: 3px; }
.rush-game-history-head span { color: #858892; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.rush-game-history-head h3 { margin: 0; color: #f2f3f5; font-size: 13px; font-weight: 760; letter-spacing: -.025em; }
.rush-game-history-head > b { display: grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: #1d1e22; color: #b9bbc3; font-size: 9px; font-variant-numeric: tabular-nums; }
.rush-game-history-list { display: grid; }
.rush-game-history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 9px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.065); font-variant-numeric: tabular-nums; }
.rush-game-history-row > strong { overflow: hidden; color: #e9eaed; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.rush-game-history-row > span { overflow: hidden; color: #858892; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.rush-game-history-row > b { grid-row: 1 / span 2; grid-column: 2; font-size: 11px; white-space: nowrap; }
.rush-game-history-row > b.is-positive { color: #82dc9c; }
.rush-game-history-row > b.is-negative { color: #ff8c92; }
.rush-game-history-empty { margin: 0; padding: 10px; border: 1px solid rgba(255,255,255,.06); border-radius: 9px; background: #18191d; color: #898b93; font-size: 10px; line-height: 1.42; text-align: center; }

.rush-game-order-panel {
  display: grid;
  gap: 15px;
  padding: 17px;
  border: 1px solid rgba(72, 133, 232, 0.26);
  border-radius: 20px;
  background: radial-gradient(ellipse at 100% 0%, rgba(35, 113, 236, 0.14), transparent 46%), #111216;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 40px rgba(0,0,0,.22);
}

.rush-game-order-panel[hidden] { display: none !important; }

.rush-order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rush-order-heading h3 {
  margin: 5px 0 0;
  color: #f7f8fa;
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.rush-margin-chip {
  padding: 6px 8px;
  border-color: rgba(255, 255, 255, 0.08);
  color: #aeb0b7;
  font-size: 8px;
  letter-spacing: 0.03em;
}

.rush-direction-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.rush-direction-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #191a1f;
  color: #aeb0b7;
  font: inherit;
  cursor: pointer;
}

.rush-direction-button span { font-size: 17px; }
.rush-direction-button b { font-size: 12px; font-weight: 740; text-transform: uppercase; }
.rush-direction-button.is-long.is-active { border-color: rgba(103, 190, 127, 0.52); background: rgba(63, 142, 82, 0.13); color: #91dda4; }
.rush-direction-button.is-short.is-active { border-color: rgba(239, 61, 53, 0.5); background: rgba(239, 61, 53, 0.1); color: #ff837c; }

.rush-leverage-viewport {
  width: 144px;
  flex: 0 0 144px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}

.rush-leverage-track {
  --rush-rail-step: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  padding: 0 58px;
  transition: transform 340ms cubic-bezier(.22, .8, .25, 1);
  will-change: transform;
}

.rush-leverage-track span {
  display: grid;
  width: 32px;
  min-width: 32px;
  min-height: 24px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(235, 236, 240, 0.28);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.rush-leverage-track span.is-cleared { color: #7b7e87; }
.rush-leverage-track span.is-active {
  border-color: rgba(145, 30, 239, 0.9);
  background: rgba(122, 25, 215, 0.18);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(151, 31, 248, 0.42);
}

.rush-leverage-track span.is-locked { color: rgba(235, 236, 240, 0.22); }

.rush-stake-shortcuts {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 10px;
  background: #101114;
}

.rush-margin-requirement {
  margin: -8px 0 0;
  color: #858992;
  font-size: 10px;
  font-weight: 620;
  line-height: 1.35;
}

.rush-margin-requirement.is-error { color: #ff9994; }

.rush-leverage-row button {
  min-width: 0;
  min-height: 52px;
  padding: 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: #27272d;
  color: rgba(244, 244, 247, 0.38);
  font: inherit;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.05em;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.rush-stake-shortcuts button {
  min-width: 38px;
  min-height: 31px;
  padding: 0 9px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.075);
  background: transparent;
  color: #8e9199;
  font: inherit;
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
}

.rush-leverage-row button.is-active {
  border-color: #8d00e8;
  background: #25242b;
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(128, 0, 230, 0.92), 0 10px 22px rgba(93, 0, 177, 0.26);
  transform: translateY(-1px);
}

.rush-leverage-row button.is-locked { background: #34343a; color: rgba(244, 244, 247, 0.22); }
.rush-leverage-row button:disabled { cursor: not-allowed; }

.rush-stake-shortcuts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: -7px;
}

.rush-stake-shortcuts button {
  min-height: 35px;
  color: #c2c4cb;
}

/* Compact game-ticket controls: a primary action, a single money field with
   quick stakes, then an honest read-only risk state based on leverage. */
.rush-game-order-panel .rush-dialog-done {
  order: 3;
  min-height: 57px;
  border-color: rgba(119, 177, 255, 0.82);
  border-radius: 13px;
  background: linear-gradient(180deg, #3288ff 0%, #1268e5 100%);
  box-shadow: 0 14px 28px rgba(19, 106, 237, 0.32), inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 14px;
}

.rush-game-order-panel .rush-stake-field { order: 4; gap: 7px; }
.rush-game-order-panel .rush-stake-shortcuts {
  order: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: -14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 0 0 11px 11px;
  background: #1f2024;
}
.rush-game-order-panel .rush-stake-shortcuts button {
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aeb3bd;
  font-size: 10px;
  font-weight: 780;
}
.rush-game-order-panel .rush-stake-shortcuts button + button { border-left: 1px solid rgba(255,255,255,.08); }
.rush-game-order-panel .rush-stake-shortcuts button:active { background: rgba(255,255,255,.06); }
.rush-game-order-panel .rush-stake-input-wrap {
  min-height: 56px;
  border-color: rgba(255,255,255,.12);
  border-radius: 13px 13px 0 0;
  background: #1d1e23;
}
.rush-game-order-panel .rush-margin-requirement { order: 6; }

.rush-risk-meter {
  order: 7;
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.35fr);
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 4px 5px 4px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: #191a1e;
}
.rush-risk-meter > span { color: #858994; font-size: 10px; font-weight: 700; }
.rush-risk-meter > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rush-risk-meter b {
  min-height: 32px;
  display: grid;
  place-items: center;
  color: #8a8e98;
  font-size: 9px;
  font-weight: 790;
}
.rush-risk-meter b.is-active { border-radius: 8px; background: #303238; color: #f2f4f7; }
.rush-risk-meter b.is-active:first-child { color: #76dc9b; }
.rush-risk-meter b.is-active:nth-child(2) { color: #ffd37c; }
.rush-risk-meter b.is-active:nth-child(3) { color: #ff9299; }
.rush-game-order-panel .rush-dialog-note { order: 8; }

.rush-stake-field {
  display: grid;
  gap: 8px;
  color: #bbbcc2;
  font-size: 11px;
  font-weight: 690;
}

.rush-stake-field > span:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.rush-stake-field small {
  color: #84868f;
  font-size: 9px;
  font-weight: 520;
}

.rush-stake-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: #101113;
  color: #9b9da5;
  font-size: 12px;
}

.rush-stake-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f4f4f6;
  font: inherit;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.rush-stake-input-wrap input::-webkit-inner-spin-button,
.rush-stake-input-wrap input::-webkit-outer-spin-button { margin: 0; appearance: none; }

.rush-dialog-note {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background: #111214;
  color: #a1a3ab;
  font-size: 10px;
  line-height: 1.45;
}

.rush-dialog-done {
  width: 100%;
  min-height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: #1677ff;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(22, 119, 255, 0.22);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.rush-dialog-done:hover:not(:disabled) {
  background: #338bff;
  box-shadow: 0 9px 24px rgba(22, 119, 255, 0.3);
}

.rush-dialog-done:active:not(:disabled) {
  transform: translateY(1px) scale(0.99);
}

.rush-dialog-done:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: #292a2f;
  color: #9698a0;
  box-shadow: none;
  cursor: not-allowed;
}

.rush-game-cashout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: -7px;
  border: 1px solid rgba(87, 150, 255, 0.18);
  border-radius: 12px;
  background: #15233a;
  color: #1580ff;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}

/* Browser default `[hidden]` loses to the display:flex declaration above.
   Keep every cash-out control out of the flow until a server-confirmed
   position actually exists. */
.rush-game-cashout[hidden] { display: none !important; }

.rush-game-cashout strong { color: #f2f5ff; font-variant-numeric: tabular-nums; }
.rush-game-cashout.is-positive strong { color: #8ce5a7; }
.rush-game-cashout.is-negative strong { color: #ff969b; }

/* A second, always reachable Cash out control lives in the ticket itself.
   The position card remains the detailed readout above the chart. */
.rush-game-cashout-panel {
  min-height: 52px;
  margin: 0;
  border-color: rgba(42, 132, 255, 0.44);
  background: linear-gradient(135deg, #176fed, #0d5fce);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(18, 104, 232, 0.24);
}

.rush-game-cashout-panel strong,
.rush-game-cashout-panel.is-positive strong,
.rush-game-cashout-panel.is-negative strong { color: #ffffff; }
.rush-game-cashout-panel:disabled { opacity: 0.58; cursor: wait; }

/* Active position sits in the market flow, rather than inside the bet ticket.
   This keeps the chart fully readable and makes cashout a deliberate trade
   action, like a compact exchange position card. */
.rush-live-position {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(53, 129, 248, 0.48);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(38, 109, 220, 0.22), transparent 60%),
    #0d121b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 16px 42px rgba(0, 0, 0, 0.25);
}

.rush-live-position[hidden] { display: none; }

.rush-live-position-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rush-live-position-head > div { display: grid; gap: 4px; min-width: 0; }

.rush-live-position-eyebrow {
  color: #8fa5bf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.rush-live-position-head strong {
  overflow: hidden;
  color: #f5f7fa;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rush-position-status {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid rgba(87, 150, 255, 0.25);
  border-radius: 999px;
  background: rgba(34, 84, 153, 0.2);
  color: #9bc7ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.rush-live-position-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.48);
}

.rush-live-position-stats > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
}

.rush-live-position-stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.075); }
.rush-live-position-stats span { color: #858b95; font-size: 8px; font-weight: 760; letter-spacing: 0.04em; }
.rush-live-position-stats strong { overflow: hidden; color: #ecedf1; font-size: 11px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.rush-live-position-stats strong.is-risk,
.rush-live-position-stats strong.is-negative { color: #ff8e95; }
.rush-live-position-stats strong.is-positive { color: #8ce5a7; }

.rush-live-position .rush-game-cashout {
  min-height: 50px;
  margin: 0;
  border-color: rgba(41, 128, 255, 0.34);
  border-radius: 14px;
  background: linear-gradient(135deg, #2786ff 0%, #1268df 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(19, 109, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.rush-live-position .rush-game-cashout strong,
.rush-live-position .rush-game-cashout.is-positive strong,
.rush-live-position .rush-game-cashout.is-negative strong { color: #ffffff; }

.rush-live-position .rush-game-cashout:disabled { opacity: 0.58; cursor: wait; }

/* A completed level is an explicit game choice, like Mines: keep going or
   bank the result. The setup ticket stays out of view until that choice. */
.rush-round-outcome {
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(135, 73, 246, 0.46);
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0%, rgba(132, 63, 232, 0.18), transparent 46%), #131419;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 14px 34px rgba(0, 0, 0, 0.22);
}
.rush-round-outcome[hidden] { display: none !important; }
.rush-round-outcome-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.rush-round-outcome-head > div { display: grid; gap: 4px; min-width: 0; }
.rush-round-outcome-head span { color: #aaa5ba; font-size: 9px; font-weight: 820; letter-spacing: 0.13em; }
.rush-round-outcome-head strong { color: #f6f3ff; font-size: 15px; font-weight: 780; }
.rush-round-outcome-head b { font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rush-round-outcome-head b.is-positive { color: #8ce5a7; }
.rush-round-outcome-head b.is-negative { color: #ff9299; }
.rush-round-outcome > p { margin: 0; color: #a4a5ac; font-size: 11px; line-height: 1.45; }
.rush-round-outcome-actions { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 8px; }
.rush-round-outcome-actions button { min-height: 46px; border-radius: 12px; font: inherit; font-size: 11px; font-weight: 790; cursor: pointer; }
.rush-round-continue { border: 1px solid rgba(78, 130, 255, 0.62); background: linear-gradient(135deg, #2a86ff, #1265dd); color: #fff; box-shadow: 0 10px 20px rgba(18, 105, 225, 0.22), inset 0 1px 0 rgba(255,255,255,.22); }
.rush-round-withdraw { border: 1px solid rgba(255,255,255,.12); background: #1a1b20; color: #e4e5e9; }
.rush-round-outcome-actions button:active { transform: scale(.985); }

.rush-dialog-note.is-win { border-color: rgba(91, 211, 132, 0.26); color: #9ae9b1; }
.rush-dialog-note.is-loss { border-color: rgba(246, 87, 97, 0.28); color: #ff9a9f; }

@keyframes rush-game-in {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .rush-game-dialog {
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .rush-game-stage {
    max-height: 100dvh;
    padding: max(12px, env(safe-area-inset-top, 0px)) 14px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  html.telegram-miniapp .rush-game-dialog .rush-game-stage {
    /* Telegram's floating Close/menu controls cover more than the reported
       safe inset while the Mini App is expanded. Reserve that visual row for
       the full Rush dialog only; normal web users keep the compact header. */
    padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 60px);
  }

  .rush-game-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rush-market-workspace { display: grid; gap: 12px; }
  .rush-game-order-panel {
    position: relative;
    bottom: auto;
    z-index: auto;
    margin: 0;
    padding: 14px;
    background: #151619;
    box-shadow: none;
  }

  html.miniapp-dashboard body.rush-tab-enabled:not(.bank-tab-enabled):not(.signal-tab-enabled):not(.admin-page) .app-shell > .bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  html.miniapp-dashboard body.rush-tab-enabled.bank-tab-enabled:not(.signal-tab-enabled):not(.admin-page) .app-shell > .bottom-nav,
  html.miniapp-dashboard body.rush-tab-enabled.signal-tab-enabled:not(.bank-tab-enabled):not(.admin-page) .app-shell > .bottom-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  html.miniapp-dashboard body.rush-tab-enabled.bank-tab-enabled.signal-tab-enabled:not(.admin-page) .app-shell > .bottom-nav {
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  }

  body.rush-page-active .bottom-nav .nav-button-rush .nav-icon img {
    width: 23px !important;
    height: 23px !important;
    filter: brightness(0) saturate(100%) invert(68%) sepia(8%) saturate(331%) hue-rotate(190deg) brightness(92%) contrast(86%);
  }

  body.rush-page-active .bottom-nav .nav-button-rush.is-active .nav-icon img {
    filter: invert(35%) sepia(98%) saturate(2556%) hue-rotate(252deg) brightness(96%) contrast(105%);
  }

  .rush-game-rail {
    grid-auto-columns: 48%;
  }
}

@media (max-width: 470px) {
  .rush-game-topbar { min-height: 44px; padding-bottom: 9px; }
  .rush-game-logo { width: min(138px, 53vw); max-height: 43px; }
  .rush-dialog-close { width: 34px; min-width: 34px; height: 34px; border-radius: 11px; }
  .rush-game-intro { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px 0 13px; }
  .rush-game-account-summary { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 11px; }
  .rush-game-account-label,
  .rush-game-account-select,
  .rush-game-account-summary > span { grid-column: 1; grid-row: auto; min-width: 0; }
  .rush-game-account-summary > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .rush-game-market-controls { align-items: center; flex-direction: row; }
  .rush-game-asset-list { display: flex; flex: 1 1 auto; overflow-x: auto; }
  .rush-asset-button { gap: 5px; min-width: 0; padding: 6px 7px; }
  .rush-asset-button b { font-size: 9px; }
  .rush-asset-button small { font-size: 7px; }
  .rush-asset-token { width: 22px; height: 22px; flex-basis: 22px; font-size: 12px; }
  .rush-market-chart-head { gap: 7px; }
  .rush-market-price-value { gap: 6px; }
  .rush-market-price-value > strong { font-size: 18px; }
  .rush-chart-change { padding: 4px 6px; font-size: 9px; }
  .rush-chart-style-switch { gap: 1px; padding: 2px; }
  .rush-chart-style-switch button { gap: 4px; min-height: 29px; padding: 0 6px; font-size: 8px; white-space: nowrap; }
  .rush-chart-style-switch button svg { width: 12px; height: 12px; flex-basis: 12px; }
  .rush-chart-canvas { height: 270px; }
  .rush-run-status { gap: 8px; padding: 8px 10px; }
  .rush-run-status-copy strong { font-size: 10px; }
  .rush-leverage-viewport { width: 132px; flex-basis: 132px; }
  .rush-leverage-track { --rush-rail-step: 32px; gap: 3px; padding-inline: 50px; }
  .rush-leverage-track span { width: 29px; min-width: 29px; font-size: 9px; }
  .rush-game-order-panel { padding: 13px; gap: 12px; }
  .rush-game-score { padding: 5px 8px; }
  .rush-game-score strong { font-size: 12px; }
  .rush-sound-toggle { min-width: 43px; height: 34px; padding: 0 6px; border-radius: 10px; }
  .rush-round-outcome-actions { grid-template-columns: 1fr; }

  /* The Telegram chrome supplies its own Close/menu controls. Keeping a
     fourth in-app action in the same 390px row caused the logo, equity and
     SFX control to overlap. */
  html.telegram-miniapp .rush-game-dialog .rush-game-topbar { gap: 7px; }
  html.telegram-miniapp .rush-game-dialog .rush-game-logo { width: 106px; max-width: 106px; max-height: 38px; }
  html.telegram-miniapp .rush-game-dialog .rush-game-score { margin-left: auto; padding: 5px 7px; }
  html.telegram-miniapp .rush-game-dialog .rush-game-score span { font-size: 7px; }
  html.telegram-miniapp .rush-game-dialog .rush-game-score strong { font-size: 11px; }
  html.telegram-miniapp .rush-game-dialog .rush-dialog-close { display: none; }
}

html.miniapp-dashboard body.backtest-mode .bottom-nav .nav-button[data-tab="rush"] {
  display: none !important;
}

@media (min-width: 769px) {
  .rush-page-shell {
    padding-right: 0;
    padding-left: 0;
  }

  .rush-banner-primary {
    height: 260px;
  }

  .rush-promo-placeholder {
    height: 130px;
  }

  .rush-game-rail {
    grid-auto-columns: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
.rush-game-rail { scroll-behavior: auto; }
.rush-game-dialog[open] { animation: none; }
}

/* Predictor PRO — the second playable Rush game. */
.rush-predictor-dialog {
  box-sizing: border-box;
  width: min(1080px, calc(100% - 32px));
  max-width: 1080px;
  max-height: min(920px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: #101113;
  color: #f5f5f7;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  font-family: inherit;
}
.rush-predictor-dialog::backdrop { background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); }
.rush-predictor-dialog[open] { animation: rush-game-in 180ms ease-out both; }
.rush-predictor-stage {
  box-sizing: border-box;
  max-height: min(920px, calc(100dvh - 32px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px clamp(18px, 3vw, 34px) 30px;
  scrollbar-color: #35363b transparent;
}
.rush-predictor-topbar {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(210px, 1fr) 38px;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rush-line);
}
.rush-predictor-topbar > img { display: block; width: min(162px, 100%); max-height: 48px; object-fit: contain; object-position: left center; }
.rush-predictor-account {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 8px 12px;
  border: 1px solid var(--rush-line);
  border-radius: 12px;
  background: #17181b;
}
.rush-predictor-account > span { color: #8f919a; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rush-predictor-account select { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #f5f5f7; font: inherit; font-size: 12px; font-weight: 720; }
.rush-predictor-account select option { background: #17181b; color: #f5f5f7; }
.rush-predictor-account small { overflow: hidden; color: #9698a0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.rush-predictor-heading { padding: 20px 0 16px; }
.rush-predictor-heading h2 { margin: 0 0 6px; color: #f8f8fa; font-size: clamp(30px, 4vw, 38px); font-weight: 780; letter-spacing: -.05em; line-height: 1; }
.rush-predictor-heading p { max-width: 660px; margin: 0; color: #9b9da5; font-size: 13px; line-height: 1.5; }
.rush-predictor-market,
.rush-predictor-controls,
.rush-predictor-ticket,
.rush-predictor-open,
.rush-predictor-history { min-width: 0; border: 1px solid var(--rush-line); border-radius: 16px; background: #151619; }
.rush-predictor-market { position: sticky; top: 0; z-index: 5; padding: 15px 16px 11px; background: radial-gradient(ellipse at 84% 54%, rgba(240,82,75,.075), transparent 47%), #111215; box-shadow: 0 12px 30px rgba(0,0,0,.26); }
.rush-predictor-market-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.rush-predictor-market-head > div { display: grid; gap: 4px; }
.rush-predictor-market-head > div > span { color: #92949c; font-size: 9px; font-weight: 780; letter-spacing: .13em; }
.rush-predictor-market-head > div > strong { color: #f4f4f6; font-size: clamp(20px, 3vw, 27px); font-weight: 740; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.rush-predictor-market-tools { display: flex; align-items: center; gap: 11px; }
.rush-predictor-feed { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 4px; color: #a8abb2; font-size: 10px; }
.rush-predictor-chart-toggle { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(255,255,255,.035); color: #d8d9de; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.rush-predictor-chart-toggle:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.085); color: #fff; }
.rush-predictor-chart-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-feed i,
.rush-predictor-live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #73d58e; box-shadow: 0 0 10px rgba(115, 213, 142, .4); }
.rush-predictor-chart { position: relative; min-height: 210px; margin-top: 8px; overflow: hidden; }
.rush-predictor-chart svg { display: block; width: 100%; height: 220px; overflow: visible; }
.rush-predictor-chart-status { display: grid; min-height: 210px; place-items: center; color: #8e9098; font-size: 12px; }
.rush-predictor-chart .grid { stroke: rgba(255,255,255,.075); stroke-dasharray: 3 7; stroke-width: 1; }
.rush-predictor-chart .forecast-window { fill: rgba(255,255,255,.018); }
.rush-predictor-chart .target-zone { fill: rgba(240,82,75,.16); }
.rush-predictor-chart[data-direction="up"] .target-zone { fill: rgba(60,205,139,.15); }
.rush-predictor-chart .target-edge { stroke: rgba(255,112,104,.9); stroke-dasharray: 5 6; stroke-width: 1.5; }
.rush-predictor-chart[data-direction="up"] .target-edge { stroke: rgba(91,229,162,.9); }
.rush-predictor-chart .expiry-line { stroke: rgba(255,255,255,.25); stroke-dasharray: 3 6; stroke-width: 1; }
.rush-predictor-chart .expiry-label { fill: #aaaab2; font: 700 12px system-ui, sans-serif; letter-spacing: 1px; text-anchor: middle; }
.rush-predictor-chart .history-empty-label { fill: #888a93; font: 700 11px system-ui, sans-serif; letter-spacing: 1px; }
.rush-predictor-chart .current-price-dot { fill: #f4f4f6; stroke: #111215; stroke-width: 2; transition: cy .75s cubic-bezier(.22,.75,.3,1); }
.rush-predictor-chart .current-price-pulse { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: rush-predictor-pulse 2.4s ease-out infinite; }
.rush-predictor-chart .current-price-line { stroke: rgba(255,255,255,.28); stroke-dasharray: 3 5; stroke-width: 1; }
.rush-predictor-chart .live-segment { fill: none; stroke: rgba(233,235,239,.84); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: d .75s cubic-bezier(.22,.75,.3,1); }
@keyframes rush-predictor-pulse { 0% { transform: scale(.45); opacity: .8; } 75%, 100% { transform: scale(2.6); opacity: 0; } }
.rush-predictor-chart .price-line { fill: none; stroke: #dedfe3; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rush-predictor-chart .current-price-line { stroke: rgba(255,255,255,.28); stroke-dasharray: 3 5; stroke-width: 1; }
.rush-predictor-chart-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.07); color: #92949c; font-size: 9px; font-weight: 720; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.rush-predictor-columns { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .9fr); gap: 14px; margin-top: 14px; }
.rush-predictor-controls,
.rush-predictor-ticket,
.rush-predictor-open,
.rush-predictor-history { padding: 17px; }
.rush-predictor-ticket {
  border-color: rgba(72, 133, 232, 0.22);
  background: radial-gradient(ellipse at 100% 0%, rgba(35, 113, 236, 0.11), transparent 50%), #111216;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 36px rgba(0,0,0,.18);
}
.rush-predictor-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rush-predictor-section-title h3 { margin: 0; color: #f0f0f2; font-size: 18px; font-weight: 730; letter-spacing: -.035em; }
.rush-predictor-section-title > b { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #858790; font-size: 10px; }
.rush-predictor-field { display: grid; min-width: 0; gap: 8px; margin-top: 14px; color: #c5c6cb; font-size: 11px; font-weight: 670; }
.rush-predictor-field > span:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rush-predictor-field > span > b { color: #f5f5f7; font-variant-numeric: tabular-nums; }
.rush-predictor-direction { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rush-predictor-direction button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: #1b1c20; color: #aeb0b7; font: inherit; font-size: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.rush-predictor-direction button.is-active { color: #fff; }
.rush-predictor-direction button[data-direction="up"].is-active { border-color: rgba(82,220,149,.8); background: linear-gradient(120deg, rgba(42,174,112,.22), rgba(27,28,32,.96)); box-shadow: inset 0 0 22px rgba(58,210,133,.08); }
.rush-predictor-direction button[data-direction="down"].is-active { border-color: rgba(240,82,75,.78); background: linear-gradient(120deg, rgba(194,49,57,.24), rgba(27,28,32,.96)); box-shadow: inset 0 0 22px rgba(240,82,75,.08); }
.rush-predictor-direction button:first-letter { font-size: 18px; }
.rush-predictor-field input[type="range"] { width: 100%; height: 4px; margin: 5px 0 3px; accent-color: #f0524b; cursor: pointer; }
.rush-predictor-field > small { color: #858790; font-size: 10px; font-weight: 450; line-height: 1.4; }
.rush-predictor-field select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #1a1b1f; color: #f1f1f3; font: inherit; font-size: 11px; }
.rush-predictor-odds { display: grid; justify-items: start; gap: 3px; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: radial-gradient(ellipse at 100% 0%, rgba(240,82,75,.12), transparent 65%), #17181c; }
.rush-predictor-odds > span { color: #92949c; font-size: 9px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.rush-predictor-odds > strong { color: #f6f6f8; font-size: 27px; font-weight: 760; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.rush-predictor-odds > small { color: #898b94; font-size: 9px; line-height: 1.4; }
.rush-predictor-input { display: flex; align-items: center; gap: 8px; min-height: 41px; padding: 0 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: #1a1b1f; color: #92949c; }
.rush-predictor-input > span:first-child { color: #d4d5d9; font-size: 12px; }
.rush-predictor-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 720; font-variant-numeric: tabular-nums; }
.rush-predictor-return { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; color: #989aa2; font-size: 10px; }
.rush-predictor-return strong { color: #f5f5f7; font-size: 16px; font-variant-numeric: tabular-nums; }
.rush-predictor-submit { position: relative; width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: linear-gradient(110deg, #f25b50, #d92d2f); color: #fff; font: inherit; font-size: 14px; font-weight: 780; box-shadow: 0 8px 24px rgba(218,45,47,.2), inset 0 1px rgba(255,255,255,.22); cursor: pointer; transition: opacity .15s ease, transform .15s ease, background .15s ease, box-shadow .15s ease; }
.rush-predictor-submit::after { content: "→"; position: absolute; right: 17px; font-size: 18px; font-weight: 500; opacity: .88; }
.rush-predictor-submit:hover:not(:disabled) { background: linear-gradient(110deg, #ff6b5e, #e83a38); box-shadow: 0 10px 30px rgba(218,45,47,.3), inset 0 1px rgba(255,255,255,.28); }
.rush-predictor-submit:active:not(:disabled) { transform: scale(.99); }
.rush-predictor-submit:disabled { opacity: .45; cursor: not-allowed; }
.rush-predictor-notice { margin: 10px 0 0; color: #888a93; font-size: 9px; line-height: 1.5; }
.rush-predictor-open,
.rush-predictor-history { margin-top: 14px; }
.rush-predictor-open .rush-predictor-section-title,
.rush-predictor-history .rush-predictor-section-title { margin-bottom: 9px; }
.rush-predictor-live-pill { display: inline-flex; align-items: center; gap: 6px; color: #a2d6ae; font-size: 9px; font-weight: 780; letter-spacing: .1em; }
.rush-predictor-entry { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(145px, 1fr) minmax(145px, 1fr) auto; align-items: center; gap: 8px 14px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); font-variant-numeric: tabular-nums; }
.rush-predictor-entry > strong { color: #f0f0f2; font-size: 11px; }
.rush-predictor-entry > span { color: #d0d1d5; font-size: 10px; }
.rush-predictor-entry > small { color: #898b94; font-size: 9px; }
.rush-predictor-entry > b { color: #f2f2f4; font-size: 11px; white-space: nowrap; }
.rush-predictor-entry > b.is-win { color: #83daa0; }
.rush-predictor-entry > b.is-loss { color: #f28e89; }
.rush-predictor-entry > b.rush-predictor-countdown { color: #fff; }
.rush-predictor-entry > .rush-predictor-settlement { grid-column: 1 / -1; }
.rush-predictor-history-count { display: grid; min-width: 24px; height: 24px; padding: 0 7px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #1d1e22; color: #aeb0b7; font-size: 9px; font-weight: 760; font-variant-numeric: tabular-nums; }
.rush-predictor-history-empty { margin: 0; padding: 15px 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: #111215; color: #898b94; font-size: 11px; text-align: center; }
@media (max-width: 760px) {
  .rush-predictor-dialog { width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 21px; }
  .rush-predictor-stage { max-height: calc(100dvh - 12px); padding: 13px 12px 22px; }
  .rush-predictor-topbar { grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr) 36px; gap: 8px; padding-bottom: 10px; }
  .rush-predictor-topbar > img { width: min(108px, 100%); max-height: 39px; }
  .rush-predictor-account { padding: 6px 8px; }
  .rush-predictor-account > span { font-size: 7px; }
  .rush-predictor-account select { font-size: 10px; }
  .rush-predictor-account small { font-size: 8px; }
  .rush-predictor-heading { padding: 17px 2px 12px; }
  .rush-predictor-heading h2 { font-size: 30px; }
  .rush-predictor-heading p { font-size: 11px; }
  .rush-predictor-market { padding: 11px 10px 9px; }
  .rush-predictor-chart, .rush-predictor-chart-status { min-height: 160px; }
  .rush-predictor-chart svg { height: 170px; }
  .rush-predictor-market-head > div > span { font-size: 8px; }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart,
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-status { min-height: min(52dvh, 460px); }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart svg { height: min(52dvh, 460px); }
  .rush-predictor-feed { font-size: 8px; }
  .rush-predictor-columns { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
  .rush-predictor-controls, .rush-predictor-ticket, .rush-predictor-open, .rush-predictor-history { padding: 13px; border-radius: 14px; }
  .rush-predictor-section-title { margin-bottom: 11px; }
  .rush-predictor-section-title h3 { font-size: 16px; }
  .rush-predictor-entry { grid-template-columns: minmax(74px, .7fr) minmax(105px, 1fr) auto; gap: 5px 8px; }
  .rush-predictor-entry > small { grid-column: span 2; }
}

@media (min-width: 761px) {
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart,
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-status { min-height: min(58dvh, 520px); }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart svg { height: min(58dvh, 520px); }
}
@media (prefers-reduced-motion: reduce) {
  .rush-predictor-dialog[open] { animation: none; }
  .rush-predictor-direction button, .rush-predictor-submit { transition: none; }
  .rush-predictor-chart .current-price-pulse { animation: none; }
  .rush-predictor-chart .live-segment, .rush-predictor-chart .current-price-dot { transition: none; }
}

/* Predictor PRO: compact exchange-style trading panel. The ticket stays
   reachable while the market and zone controls scroll independently. */
.rush-predictor-dialog[open] {
  display: flex;
  flex-direction: column;
  height: min(920px, calc(100dvh - 32px));
  min-height: 0;
  background: #0d0e10;
  border-color: rgba(255,255,255,.12);
  border-radius: 22px;
}
.rush-predictor-stage {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 18px clamp(18px, 3vw, 30px) 20px;
  overscroll-behavior: contain;
}
.rush-predictor-topbar {
  grid-template-columns: minmax(142px, .65fr) minmax(250px, 1fr) 38px;
  gap: 13px;
  padding-bottom: 12px;
}
.rush-predictor-heading { padding: 18px 0 14px; }
.rush-predictor-heading h2 { font-size: clamp(27px, 3.4vw, 34px); letter-spacing: -.045em; }
.rush-predictor-heading p { font-size: 12px; }
.rush-predictor-market {
  position: relative;
  padding: 13px 14px 10px;
  border-color: rgba(255,255,255,.1);
  border-radius: 17px;
  background: #121316;
  box-shadow: none;
}
.rush-predictor-market-head { align-items: center; }
.rush-predictor-market-head > div:first-child { gap: 3px; }
.rush-predictor-market-head > div > span { font-size: 9px; letter-spacing: .12em; }
.rush-predictor-market-head > div > strong { font-size: clamp(22px, 3vw, 29px); }
.rush-predictor-market-tools { gap: 8px; }
.rush-predictor-feed { padding: 0; font-size: 9px; white-space: nowrap; }
.rush-predictor-feed i { background: #7bd99a; }
.rush-predictor-feed.is-preview i { background: #e7b35d; box-shadow: 0 0 8px rgba(231,179,93,.25); }
.rush-predictor-feed.is-offline i { background: #ee6868; box-shadow: 0 0 8px rgba(238,104,104,.25); }
.rush-predictor-chart-style {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  background: #0c0d0f;
}
.rush-predictor-chart-style button {
  min-height: 27px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #858891;
  font: inherit;
  font-size: 9px;
  font-weight: 720;
  cursor: pointer;
}
.rush-predictor-chart-style button.is-active { background: #25272b; color: #f5f5f7; }
.rush-predictor-chart-toggle { width: 32px; height: 32px; border-radius: 9px; }
.rush-predictor-chart { min-height: 190px; margin-top: 7px; }
.rush-predictor-chart svg { height: 196px; }
.rush-predictor-chart-status { min-height: 190px; }
.rush-predictor-chart .target-zone { fill: rgba(241,82,75,.2); }
.rush-predictor-chart[data-direction="up"] .target-zone { fill: rgba(65,207,143,.2); }
.rush-predictor-chart .target-edge { stroke-width: 1.4; stroke-dasharray: none; }
.rush-predictor-chart .candle-up,
.rush-predictor-chart .candle-up-wick { fill: #36c98a; stroke: #36c98a; }
.rush-predictor-chart .candle-down,
.rush-predictor-chart .candle-down-wick { fill: #f05a61; stroke: #f05a61; }
.rush-predictor-chart .candle-up-wick,
.rush-predictor-chart .candle-down-wick { stroke-width: 1.15; vector-effect: non-scaling-stroke; }
.rush-predictor-chart .price-line { stroke: #e7e9ed; stroke-width: 2; }
.rush-predictor-chart .live-segment { stroke: #e7e9ed; stroke-width: 1.8; }
.rush-predictor-chart-foot { font-size: 9px; }
.rush-predictor-columns { gap: 11px; margin-top: 11px; }
.rush-predictor-controls,
.rush-predictor-ticket { padding: 15px; border-radius: 15px; background: #121316; }
.rush-predictor-section-title { margin-bottom: 12px; }
.rush-predictor-section-title h3 { font-size: 16px; }
.rush-predictor-field { gap: 7px; margin-top: 12px; font-size: 11px; }
.rush-predictor-field > small { font-size: 9px; }
.rush-predictor-direction button { min-height: 40px; border-radius: 9px; }
.rush-predictor-direction button[data-direction="up"].is-active { border-color: rgba(65,207,143,.68); background: rgba(37,145,103,.16); box-shadow: inset 0 0 0 1px rgba(65,207,143,.08); }
.rush-predictor-direction button[data-direction="down"].is-active { border-color: rgba(240,90,97,.68); background: rgba(165,55,62,.16); box-shadow: inset 0 0 0 1px rgba(240,90,97,.08); }
.rush-predictor-odds { padding: 11px 13px; border-radius: 11px; background: #191a1e; }
.rush-predictor-odds > strong { font-size: 24px; }
.rush-predictor-notice { color: #777a83; }
.rush-predictor-dock {
  position: relative;
  z-index: 8;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(122px, .34fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px clamp(14px, 3vw, 30px) max(12px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(14,15,17,.97);
  box-shadow: 0 -12px 28px rgba(0,0,0,.28);
}
.rush-predictor-dock-summary { display: grid; min-width: 0; gap: 2px; }
.rush-predictor-dock-summary > span { color: #f6f6f8; font-size: 21px; font-weight: 790; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rush-predictor-dock-summary > small { overflow: hidden; color: #9b9da5; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.rush-predictor-submit { min-height: 48px; border-radius: 10px; background: #ec3c35; box-shadow: none; font-size: 13px; }
.rush-predictor-submit:hover:not(:disabled) { background: #f34a42; box-shadow: none; }
.rush-predictor-submit:disabled { background: #292a2e; color: #777981; opacity: 1; box-shadow: none; }
.rush-predictor-submit:disabled::after { content: ""; }
.rush-predictor-stake-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rush-predictor-stake-heading label { color: #c5c6cb; cursor: text; }
.rush-predictor-stake-heading > b { color: #90929a; font-size: 9px; font-weight: 620; }
.rush-predictor-stake-control {
  display: flex;
  min-width: 0;
  min-height: 43px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: #1a1b1f;
}
.rush-predictor-stake-control:focus-within { border-color: rgba(255,255,255,.24); }
.rush-predictor-stake-control .rush-predictor-input {
  flex: 1 1 auto;
  min-width: 0;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.rush-predictor-stake-control .rush-predictor-input > span:first-child { color: #999ba3; font-size: 13px; }
.rush-predictor-stake-control .rush-predictor-input input { font-size: 14px; }
.rush-predictor-stake-control .rush-predictor-stake-shortcuts {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 4px;
  border-radius: 8px;
  background: #2b2c31;
}
.rush-predictor-stake-shortcuts button {
  min-width: 35px;
  padding: 0 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a8aab1;
  font: inherit;
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
}
.rush-predictor-stake-shortcuts button + button { border-left: 1px solid rgba(255,255,255,.07); }
.rush-predictor-stake-shortcuts button:hover:not(:disabled) { background: rgba(255,255,255,.055); color: #fff; }
.rush-predictor-stake-shortcuts button:disabled { color: #55575e; cursor: not-allowed; }

@media (max-width: 760px) {
  .rush-predictor-dialog[open] {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 17px 17px 0 0;
  }
  .rush-predictor-stage { padding: 12px 13px 18px; }
  .rush-predictor-topbar {
    grid-template-columns: minmax(0, 1fr) 36px;
    grid-template-rows: auto auto;
    gap: 9px 10px;
    padding-bottom: 10px;
  }
  .rush-predictor-topbar > img { grid-column: 1; grid-row: 1; width: min(132px, 42vw); max-height: 40px; }
  .rush-predictor-topbar > .rush-predictor-account { grid-column: 1 / -1; grid-row: 2; gap: 3px; padding: 7px 9px; border-radius: 10px; }
  .rush-predictor-account > span { font-size: 7px; }
  .rush-predictor-account select { font-size: 11px; }
  .rush-predictor-account small { font-size: 8px; }
  .rush-predictor-topbar > .rush-dialog-close { grid-column: 2; grid-row: 1; justify-self: end; }
  .rush-predictor-heading { padding: 13px 1px 11px; }
  .rush-predictor-heading h2 { margin-bottom: 4px; font-size: 27px; }
  .rush-predictor-heading p { max-width: 360px; font-size: 10px; line-height: 1.35; }
  .rush-predictor-market { padding: 10px 10px 8px; border-radius: 14px; }
  .rush-predictor-market-head { align-items: center; gap: 5px; }
  .rush-predictor-market-head > div > span { font-size: 8px; }
  .rush-predictor-market-head > div > strong { font-size: 21px; }
  .rush-predictor-market-tools { gap: 5px; }
  .rush-predictor-feed { display: none; }
  .rush-predictor-chart-style { gap: 0; padding: 2px; }
  .rush-predictor-chart-style button { min-height: 25px; padding: 0 7px; font-size: 8px; }
  .rush-predictor-chart-toggle { width: 30px; height: 30px; }
  .rush-predictor-chart, .rush-predictor-chart-status { min-height: 148px; }
  .rush-predictor-chart svg { height: 154px; }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart,
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-status { min-height: min(50dvh, 440px); }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart svg { height: min(50dvh, 440px); }
  .rush-predictor-chart-foot { padding-top: 7px; font-size: 8px; }
  .rush-predictor-columns { grid-template-columns: minmax(0, 1fr); gap: 9px; margin-top: 9px; }
  .rush-predictor-controls, .rush-predictor-ticket { padding: 12px; border-radius: 12px; }
  .rush-predictor-section-title { margin-bottom: 8px; }
  .rush-predictor-section-title h3 { font-size: 15px; }
  .rush-predictor-field { gap: 6px; margin-top: 10px; font-size: 10px; }
  .rush-predictor-field input[type="range"] { margin: 3px 0 1px; }
  .rush-predictor-field > small { font-size: 8px; }
  .rush-predictor-field select { min-height: 36px; }
  .rush-predictor-odds { grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; padding: 9px 11px; }
  .rush-predictor-odds > span { font-size: 8px; }
  .rush-predictor-odds > strong { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; }
  .rush-predictor-odds > small { font-size: 8px; }
  .rush-predictor-stake-control { min-height: 40px; border-radius: 9px; }
  .rush-predictor-stake-control .rush-predictor-input { padding-inline: 9px; }
  .rush-predictor-stake-shortcuts button { min-width: 31px; padding-inline: 6px; font-size: 8px; }
  .rush-predictor-open, .rush-predictor-history { margin-top: 9px; padding: 12px; }
  .rush-predictor-entry { grid-template-columns: minmax(75px, .7fr) minmax(100px, 1fr) auto; gap: 5px 8px; }
  .rush-predictor-dock {
    grid-template-columns: minmax(88px, .3fr) minmax(0, 1fr);
    gap: 8px;
    padding: 8px 12px max(10px, env(safe-area-inset-bottom, 0px));
  }
  .rush-predictor-dock-summary > span { font-size: 19px; }
  .rush-predictor-dock-summary > small { font-size: 8px; }
  .rush-predictor-submit { min-height: 45px; padding: 0 20px 0 8px; border-radius: 9px; font-size: clamp(10px, 3.2vw, 12px); }
  .rush-predictor-submit::after { right: 8px; font-size: 15px; }
  html.telegram-miniapp .rush-predictor-stage { padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 60px); }
  html.telegram-miniapp .rush-predictor-dialog .rush-dialog-close { display: none; }
}

@media (max-width: 370px) {
  .rush-predictor-stage { padding-right: 10px; padding-left: 10px; }
  .rush-predictor-market-tools { gap: 3px; }
  .rush-predictor-chart-style button { padding-inline: 5px; }
  .rush-predictor-chart-toggle { width: 27px; height: 27px; }
  .rush-predictor-dock { grid-template-columns: minmax(76px, .28fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .rush-predictor-chart-style button { transition: none; }
}

@media (max-width: 768px) {
  html.telegram-miniapp .rush-predictor-dialog .rush-predictor-stage {
    padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 60px) !important;
  }
}

/* Forecast round: treat the chart as the live game board, not a sticky
   exchange panel. Keep the data legible and the setup compact on phones. */
.rush-predictor-heading {
  padding: 15px 0 12px;
}
.rush-predictor-heading::before {
  display: block;
  margin-bottom: 7px;
  color: #ef665c;
  content: "BTC  /  LIVE ROUND";
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.rush-predictor-heading h2 {
  font-size: clamp(25px, 3vw, 32px);
  letter-spacing: -.04em;
}
.rush-predictor-heading p { font-size: 12px; }
.rush-predictor-market {
  position: relative !important;
  top: auto !important;
  padding: 14px 15px 10px;
  border-color: rgba(255,255,255,.09);
  border-radius: 17px;
  background: linear-gradient(145deg, #17191d, #111215 72%);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.rush-predictor-market-head { align-items: center; }
.rush-predictor-market-head > div > strong { font-size: clamp(23px, 3vw, 29px); }
.rush-predictor-feed {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  background: #101114;
  font-size: 9px;
}
.rush-predictor-chart {
  min-height: 165px;
  margin-top: 4px;
}
.rush-predictor-chart svg { height: 170px; }
.rush-predictor-chart-status { min-height: 165px; }
.rush-predictor-chart .forecast-window { fill: rgba(255,255,255,.025); }
.rush-predictor-chart .target-zone { fill: rgba(48,190,127,.16); }
.rush-predictor-chart[data-direction="down"] .target-zone { fill: rgba(230,79,83,.16); }
.rush-predictor-chart .target-edge { stroke: rgba(81,222,157,.9); stroke-width: 1.4; }
.rush-predictor-chart[data-direction="down"] .target-edge { stroke: rgba(255,115,111,.9); }
.rush-predictor-chart .target-label {
  fill: rgba(207,255,229,.88);
  font: 800 9px system-ui, sans-serif;
  letter-spacing: 1.2px;
  text-anchor: middle;
}
.rush-predictor-chart[data-direction="down"] .target-label { fill: rgba(255,225,225,.9); }
.rush-predictor-chart .price-tag { fill: #282b30; stroke: rgba(255,255,255,.18); stroke-width: 1; }
.rush-predictor-chart .price-tag-label {
  fill: #f7f8fa;
  font: 750 10px system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  text-anchor: middle;
}
.rush-predictor-chart-foot {
  padding-top: 8px;
  color: #a1a4ad;
}
.rush-predictor-controls,
.rush-predictor-ticket {
  border-color: rgba(255,255,255,.085);
  background: #15171a;
}
.rush-predictor-direction button { min-height: 46px; font-size: 13px; font-weight: 760; }
.rush-predictor-odds { background: #1b1d21; }
.rush-predictor-submit:not(:disabled) {
  background: linear-gradient(105deg, #f05a50, #d92e34);
  box-shadow: 0 6px 18px rgba(217,46,52,.18), inset 0 1px rgba(255,255,255,.18);
}
@media (max-width: 760px) {
  .rush-predictor-heading { padding: 11px 1px 9px; }
  .rush-predictor-heading::before { margin-bottom: 5px; font-size: 8px; }
  .rush-predictor-heading h2 { margin-bottom: 5px; font-size: 25px; }
  .rush-predictor-heading p { font-size: 10px; }
  .rush-predictor-market { padding: 10px 11px 8px; border-radius: 14px; }
  .rush-predictor-market-head > div > strong { font-size: clamp(20px, 5.4vw, 25px); }
  .rush-predictor-feed { display: inline-flex; max-width: 92px; padding: 4px 6px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; }
  .rush-predictor-chart { min-height: 130px; }
  .rush-predictor-chart svg { height: 136px; }
  .rush-predictor-chart-status { min-height: 130px; }
  .rush-predictor-chart .target-label { font-size: 8px; letter-spacing: .8px; }
  .rush-predictor-chart .price-tag-label { font-size: 9px; }
  .rush-predictor-chart-foot { padding-top: 6px; font-size: 8px; }
  .rush-predictor-direction button { min-height: 43px; }
}

/* Candle Hunter: a market-reading practice game with non-redeemable points. */
.rush-hunter-dialog {
  box-sizing: border-box;
  width: min(760px, calc(100% - 28px));
  max-width: 760px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 25px;
  background: #101114;
  color: #f5f5f7;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .62);
  font-family: inherit;
}
.rush-hunter-dialog::backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(7px); }
.rush-hunter-dialog[open] { animation: rush-game-in 180ms ease-out both; }
.rush-hunter-stage {
  box-sizing: border-box;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px clamp(17px, 3vw, 28px) 25px;
  scrollbar-color: #35363b transparent;
}
.rush-hunter-topbar { display: grid; grid-template-columns: minmax(110px, 1fr) auto 38px; align-items: center; gap: 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rush-hunter-topbar > img { display: block; width: min(145px, 100%); max-height: 43px; object-fit: contain; object-position: left center; }
.rush-hunter-total { display: grid; gap: 3px; min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }
.rush-hunter-total span,.rush-hunter-kicker,.rush-hunter-run-head > div > span,.rush-hunter-play-head > div > span,.rush-hunter-result > div > span,.rush-hunter-history > div > span { color: #8f919a; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.rush-hunter-total strong { color: #f4f4f6; font-size: 18px; font-weight: 780; }
.rush-hunter-dialog .rush-dialog-close { width: 36px; height: 36px; }
.rush-hunter-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 19px 0 13px; }
.rush-hunter-heading h2 { margin: 4px 0 5px; color: #f8f8fa; font-size: clamp(27px, 4vw, 36px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.rush-hunter-heading p { max-width: 500px; margin: 0; color: #a3a5ad; font-size: 12px; line-height: 1.45; }
.rush-hunter-market,.rush-hunter-run,.rush-hunter-play,.rush-hunter-history { min-width: 0; border: 1px solid rgba(255,255,255,.085); border-radius: 16px; background: #151619; }
.rush-hunter-market { padding: 13px 14px 10px; background: radial-gradient(ellipse at 8% 10%, rgba(99, 112, 139, .11), transparent 43%), #111215; }
.rush-hunter-market-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rush-hunter-market-head > div { display: grid; gap: 4px; }
.rush-hunter-market-head > div > span { color: #92949c; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.rush-hunter-market-head > div > strong { color: #f5f5f7; font-size: clamp(21px, 3vw, 28px); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.rush-hunter-market-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: #1b1c20; color: #f3f4f5; font-size: 10px; font-weight: 800; }
.rush-hunter-market-chip b { padding-left: 7px; border-left: 1px solid rgba(255,255,255,.12); color: #a4a6ae; font-size: 8px; letter-spacing: .08em; }
.rush-hunter-feed { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: #0d0e10; color: #b4d9c0; font-size: 9px; font-weight: 680; }
.rush-hunter-feed i { width: 6px; height: 6px; border-radius: 50%; background: #68d391; box-shadow: 0 0 9px rgba(104,211,145,.45); }
.rush-hunter-feed.is-offline { color: #e3b58a; }
.rush-hunter-feed.is-offline i { background: #e4ae64; box-shadow: none; }
.rush-hunter-chart { min-height: 160px; margin-top: 5px; overflow: hidden; }
.rush-hunter-chart svg { display: block; width: 100%; height: 165px; }
.rush-hunter-chart .grid { stroke: rgba(255,255,255,.065); stroke-dasharray: 3 7; stroke-width: 1; }
.rush-hunter-chart .wick { stroke-width: 2; vector-effect: non-scaling-stroke; }
.rush-hunter-chart .body { stroke-width: 1; vector-effect: non-scaling-stroke; }
.rush-hunter-chart .up { fill: #39ca88; stroke: #39ca88; }
.rush-hunter-chart .down { fill: #ef5b63; stroke: #ef5b63; }
.rush-hunter-chart-status { display: grid; min-height: 160px; place-items: center; color: #92949c; font-size: 11px; text-align: center; }

/* A quote-driven final candle gives the rapid practice round a live pulse;
   the underlying historic candles remain untouched. */
.rush-hunter-chart .body.is-live { filter: drop-shadow(0 0 7px rgba(255,255,255,.2)); }
.rush-hunter-chart .live-guide { stroke: rgba(255,255,255,.2); stroke-width: 1; stroke-dasharray: 3 6; }
.rush-hunter-chart .live-marker { fill: #f7f8fb; stroke: #39ca88; stroke-width: 3; vector-effect: non-scaling-stroke; animation: rushHunterLivePulse 1.2s ease-in-out infinite; }
@keyframes rushHunterLivePulse { 0%,100% { opacity: .72; r: 4; } 50% { opacity: 1; r: 6.5; } }

/* Give the live plot a little more room on the phone without pushing the
   decision controls below the first viewport. */
@media (max-width: 620px) {
  .rush-hunter-chart,
  .rush-hunter-chart-status { min-height: 156px; }
  .rush-hunter-chart svg { height: 162px; }
}
.rush-hunter-market-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.065); color: #8f9199; font-size: 9px; font-variant-numeric: tabular-nums; }
.rush-hunter-market-foot span:last-child { color: #d4d5d9; }
.rush-hunter-run { margin-top: 11px; padding: 12px 13px 11px; }
.rush-hunter-run-head { display: flex; justify-content: space-between; gap: 12px; }
.rush-hunter-run-head > div { display: grid; gap: 4px; }
.rush-hunter-run-head strong { color: #f4f4f6; font-size: 15px; font-weight: 760; font-variant-numeric: tabular-nums; }
.rush-hunter-potential { text-align: right; }
.rush-hunter-potential strong { color: #c9a3ff; }
.rush-hunter-ladder { display: grid; grid-auto-columns: minmax(72px, 1fr); grid-auto-flow: column; gap: 6px; overflow-x: auto; margin-top: 12px; padding-bottom: 2px; scrollbar-width: none; }
.rush-hunter-ladder::-webkit-scrollbar { display: none; }
.rush-hunter-ladder > span { display: grid; gap: 5px; min-height: 46px; align-content: center; padding: 6px 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: #1b1c20; }
.rush-hunter-ladder small { overflow: hidden; color: #858790; font-size: 7px; font-weight: 780; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.rush-hunter-ladder b { color: #c3c4ca; font-size: 13px; font-weight: 790; font-variant-numeric: tabular-nums; }
.rush-hunter-ladder .is-cleared { border-color: rgba(109, 214, 148, .22); background: rgba(63, 127, 84, .13); }
.rush-hunter-ladder .is-cleared b { color: #89dda2; }
.rush-hunter-ladder .is-current { border-color: rgba(164, 103, 238, .72); background: rgba(118, 48, 194, .23); box-shadow: inset 0 0 18px rgba(134, 66, 214, .1); }
.rush-hunter-ladder .is-current b { color: #e0c5ff; }
.rush-hunter-run > p { margin: 9px 0 0; color: #898b94; font-size: 9px; line-height: 1.4; }
.rush-hunter-play { margin-top: 11px; padding: 13px; }
.rush-hunter-play-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rush-hunter-play-head > div { display: grid; gap: 4px; }
.rush-hunter-play-head strong { color: #f3f3f5; font-size: 14px; font-weight: 730; }
.rush-hunter-countdown { color: #cdb2f4; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rush-hunter-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rush-hunter-picks button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #1b1c20; color: #bec0c6; font: inherit; font-size: 13px; font-weight: 780; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.rush-hunter-picks button i { font-style: normal; font-size: 17px; }
.rush-hunter-picks button[data-pick="green"].is-active { border-color: rgba(65,210,139,.68); background: rgba(49,169,109,.17); color: #a4efbd; }
.rush-hunter-picks button[data-pick="red"].is-active { border-color: rgba(239,91,99,.68); background: rgba(193,57,65,.16); color: #ffb0b3; }
.rush-hunter-picks button:disabled { opacity: .55; cursor: default; }
.rush-hunter-lock,.rush-hunter-bank,.rush-hunter-continue { min-height: 45px; padding: 0 15px; border: 0; border-radius: 11px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.rush-hunter-lock { width: 100%; margin-top: 9px; background: #7b27c7; color: #fff; }
.rush-hunter-lock:disabled { background: #292a2f; color: #888a92; cursor: not-allowed; }
.rush-hunter-result { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 11px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #101114; }
.rush-hunter-result[hidden] { display: none; }
.rush-hunter-result > div:first-child { display: grid; gap: 4px; }
.rush-hunter-result > div > strong { color: #f3f3f5; font-size: 15px; font-weight: 770; }
.rush-hunter-result > div > p { max-width: 430px; margin: 0; color: #9c9ea6; font-size: 10px; line-height: 1.45; }
.rush-hunter-result-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.rush-hunter-bank { background: #eae8ef; color: #17151c; }
.rush-hunter-continue { border: 1px solid rgba(255,255,255,.12); background: #222329; color: #f2f2f5; }
.rush-hunter-disclaimer { margin: 9px 1px 0; color: #777982; font-size: 9px; line-height: 1.45; }
.rush-hunter-history { margin-top: 11px; padding: 10px 12px; }
.rush-hunter-history > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rush-hunter-history > div:first-child > b { color: #a4a6ae; font-size: 9px; font-weight: 690; }
.rush-hunter-history-list { display: flex; gap: 7px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.rush-hunter-history-list::-webkit-scrollbar { display: none; }
.rush-hunter-empty { color: #797b84; font-size: 10px; }
.rush-hunter-history-item { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.065); border-radius: 8px; background: #1b1c20; }
.rush-hunter-history-item i { color: #a3a5ad; font-size: 10px; font-style: normal; font-weight: 850; }
.rush-hunter-history-item b { color: #d2d3d8; font-size: 9px; }
.rush-hunter-history-item small { color: #82848d; font-size: 8px; }
.rush-hunter-history-item.is-win i { color: #78d99a; }
.rush-hunter-history-item.is-loss i { color: #f08a8f; }
.rush-hunter-history-item.is-doji i,.rush-hunter-history-item.is-void i { color: #d1b374; }
@media (max-width: 620px) {
  .rush-hunter-dialog { width: calc(100% - 10px); max-height: calc(100dvh - 10px); border-radius: 20px; }
  .rush-hunter-stage { max-height: calc(100dvh - 10px); padding: 13px 11px 17px; }
  .rush-hunter-topbar { grid-template-columns: minmax(90px, 1fr) auto 34px; gap: 8px; padding-bottom: 9px; }
  .rush-hunter-topbar > img { width: min(115px, 100%); max-height: 36px; }
  .rush-hunter-total { min-width: 76px; }
  .rush-hunter-total span,.rush-hunter-kicker,.rush-hunter-run-head > div > span,.rush-hunter-play-head > div > span,.rush-hunter-result > div > span,.rush-hunter-history > div > span { font-size: 7px; }
  .rush-hunter-total strong { font-size: 15px; }
  .rush-hunter-heading { padding: 14px 0 10px; }
  .rush-hunter-heading h2 { font-size: 27px; }
  .rush-hunter-heading p { max-width: 260px; font-size: 10px; }
  .rush-hunter-market { padding: 10px 10px 8px; border-radius: 13px; }
  .rush-hunter-market-head > div > strong { font-size: 22px; }
  .rush-hunter-feed { max-width: 100px; padding: 5px 7px; overflow: hidden; font-size: 8px; white-space: nowrap; }
  .rush-hunter-chart,.rush-hunter-chart-status { min-height: 128px; }
  .rush-hunter-chart svg { height: 132px; }
  .rush-hunter-market-foot { font-size: 8px; }
  .rush-hunter-run,.rush-hunter-play { margin-top: 8px; padding: 10px; border-radius: 13px; }
  .rush-hunter-run-head strong { font-size: 13px; }
  .rush-hunter-ladder { grid-auto-columns: minmax(66px, 1fr); gap: 5px; margin-top: 9px; }
  .rush-hunter-ladder > span { min-height: 41px; padding: 5px 6px; }
  .rush-hunter-ladder small { font-size: 6px; }
  .rush-hunter-ladder b { font-size: 12px; }
  .rush-hunter-run > p,.rush-hunter-disclaimer { font-size: 8px; }
  .rush-hunter-play-head strong { font-size: 12px; }
  .rush-hunter-countdown { font-size: 14px; }
  .rush-hunter-picks { margin-top: 9px; }
  .rush-hunter-picks button { min-height: 43px; font-size: 12px; }
  .rush-hunter-lock { min-height: 42px; }
  .rush-hunter-result { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 9px; padding: 10px; }
  .rush-hunter-result-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .rush-hunter-result-actions button { min-height: 41px; padding: 0 8px; font-size: 10px; }
  .rush-hunter-result-actions button:only-child { grid-column: 1 / -1; }
  .rush-hunter-history { margin-top: 8px; padding: 9px 10px; }
}
@media (max-width: 768px) {
  html.telegram-miniapp .rush-hunter-stage { padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 13px); }
  html.telegram-miniapp .rush-hunter-dialog .rush-dialog-close { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rush-hunter-dialog[open] { animation: none; }
  .rush-hunter-picks button { transition: none; }
}

/* Candle Sprint is a leverage game: this HUD keeps the account and round
   visible without turning the first screen into a full trading terminal. */
.rush-sprint-brief { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin:0 0 14px; }
.rush-sprint-brief > span { display:grid; min-width:0; gap:5px; padding:9px 10px; border:1px solid rgba(255,255,255,.075); border-radius:12px; background:linear-gradient(145deg,rgba(42,28,53,.74),rgba(21,22,27,.92)); }
.rush-sprint-brief i { color:#c794ff; font-size:8px; font-style:normal; font-weight:850; letter-spacing:.08em; line-height:1; }
.rush-sprint-brief b { overflow:hidden; color:#e8e8ed; font-size:10px; font-weight:720; line-height:1.28; text-overflow:ellipsis; }
.rush-game-account-summary { position:relative; border-color:rgba(171,107,255,.18); background:linear-gradient(135deg,rgba(77,43,110,.2),#17181c 56%); }
.rush-game-account-summary::after { position:absolute; right:12px; top:50%; width:6px; height:6px; border-right:1px solid #aaa5b4; border-bottom:1px solid #aaa5b4; content:""; pointer-events:none; transform:translateY(-70%) rotate(45deg); }
.rush-game-account-select { padding-right:25px; appearance:none; -webkit-appearance:none; }
.rush-game-dialog .rush-game-kicker { color:#b781f0; }
.rush-game-topbar { display:grid; grid-template-columns:minmax(94px,1fr) auto minmax(94px,1fr); min-height:48px; padding-bottom:11px; }
.rush-game-back { display:inline-flex; align-items:center; justify-self:start; gap:7px; min-height:36px; padding:0 10px; border:1px solid rgba(255,255,255,.085); border-radius:11px; background:#1b1c21; color:#f2f3f6; font:inherit; font-size:11px; font-weight:780; cursor:pointer; }
.rush-game-back svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; }
.rush-game-topbar .rush-game-logo { justify-self:center; width:min(130px,36vw); max-height:37px; }
.rush-game-topbar .rush-dialog-close { justify-self:end; }
.rush-game-hud { display:grid; grid-template-columns:minmax(166px,1.28fr) minmax(115px,1fr) auto; align-items:center; gap:10px; padding:10px 0 14px; border-top:1px solid rgba(255,255,255,.055); border-bottom:1px solid rgba(255,255,255,.065); }
.rush-game-hud .rush-game-account-summary { display:grid; gap:2px; min-height:66px; padding:9px 11px; border-radius:13px; }
.rush-game-hud .rush-game-account-label { font-size:8px; letter-spacing:.04em; }
.rush-game-hud #rushGameScore { display:block; overflow:hidden; color:#f6f7f9; font-size:17px; font-weight:790; letter-spacing:-.035em; line-height:1.08; text-overflow:ellipsis; white-space:nowrap; }
.rush-game-hud .rush-game-account-select { min-height:15px; color:#bcbec7; font-size:9px; font-weight:690; }
.rush-game-hud .rush-game-account-summary > span:last-child { color:#7f828c; font-size:8px; }
.rush-game-hud-run { display:grid; min-width:0; gap:5px; text-align:center; }
.rush-game-hud-run > span { color:#9d99a9; font-size:8px; font-weight:820; letter-spacing:.1em; }
.rush-game-hud-run > strong { overflow:hidden; color:#eeeff3; font-size:13px; font-weight:760; letter-spacing:-.025em; text-overflow:ellipsis; white-space:nowrap; }
.rush-game-hud-live { display:grid; justify-items:end; gap:5px; min-width:48px; }
.rush-game-hud-live > span { display:inline-flex; align-items:center; gap:5px; color:#9d9fa8; font-size:8px; font-weight:800; letter-spacing:.08em; }
.rush-game-hud-live .rush-live-indicator { width:6px; height:6px; flex-basis:6px; }
.rush-game-hud-live > strong { color:#d9c0ff; font-size:10px; font-weight:820; letter-spacing:.04em; white-space:nowrap; }
.rush-game-dialog .rush-market-chart-card .rush-chart-canvas { height:clamp(190px,28vw,250px); }
@media (max-width:768px) {
 .rush-game-dialog .rush-game-stage { background:radial-gradient(ellipse at 50% 0%,rgba(111,48,180,.13),transparent 34%),#0d0e12; }
 .rush-game-dialog .rush-sound-toggle { display:none; }
 .rush-game-dialog .rush-game-intro { gap:10px; padding-bottom:12px; }
 .rush-game-dialog .rush-game-layout { gap:10px; }
 .rush-game-dialog .rush-game-order-panel { order:-1; gap:10px; padding:14px; border-color:rgba(150,83,236,.33); border-radius:18px; background:radial-gradient(circle at 100% 0%,rgba(132,56,211,.19),transparent 48%),#151419; }
 .rush-game-dialog .rush-order-heading h3 { font-size:16px; }
 .rush-game-dialog .rush-margin-chip { display:none; }
 .rush-game-dialog .rush-game-order-panel .rush-stake-field { order:3; }
 .rush-game-dialog .rush-game-order-panel .rush-stake-shortcuts { order:4; }
 .rush-game-dialog .rush-game-order-panel .rush-margin-requirement { order:5; }
 .rush-game-dialog .rush-game-order-panel .rush-dialog-done { order:6; }
 .rush-game-dialog .rush-game-order-panel .rush-risk-meter { order:7; }
 .rush-game-dialog .rush-game-order-panel .rush-dialog-note { order:8; }
 .rush-game-dialog .rush-market-chart-card { padding:12px; border-radius:17px; background:#121318; }
 .rush-game-dialog .rush-chart-style-switch,.rush-game-dialog .rush-market-chart-foot,.rush-game-dialog .rush-game-history { display:none; }
 .rush-game-dialog .rush-market-chart-card .rush-chart-canvas { height:clamp(156px,42vw,190px); margin:7px -1px 0; }
}
@media (max-width:470px) {
 .rush-sprint-brief { gap:6px; margin-bottom:11px; }
 .rush-sprint-brief > span { min-height:55px; padding:8px; border-radius:10px; }
 .rush-sprint-brief b { font-size:9px; }
 .rush-game-topbar { grid-template-columns:minmax(78px,1fr) auto minmax(34px,1fr); gap:6px; }
 .rush-game-back { min-height:34px; padding:0 8px; font-size:10px; }
 .rush-game-topbar .rush-game-logo { width:min(114px,35vw); max-height:33px; }
 .rush-game-hud { grid-template-columns:minmax(140px,1.25fr) minmax(100px,.9fr) auto; gap:7px; padding:9px 0 12px; }
 .rush-game-hud .rush-game-account-summary { min-height:62px; padding:8px 9px; }
 .rush-game-hud #rushGameScore { font-size:15px; }
 .rush-game-hud-run > strong { font-size:11px; }
 .rush-game-hud-live { min-width:42px; }
 .rush-game-hud-live > strong { font-size:9px; }
}

/* Full refresh: BTC Zone Rush mobile game surface. */
.rush-predictor-dialog[open] {
  background:
    radial-gradient(ellipse at 50% -12%, rgba(229,70,62,.13), transparent 46%),
    #0b0c0e;
  border-color: rgba(255,255,255,.08);
}
.rush-predictor-stage {
  padding: 20px clamp(18px, 3vw, 30px) 26px;
  scrollbar-width: thin;
}
.rush-predictor-topbar {
  grid-template-columns: minmax(0,1fr) minmax(230px,.8fr) 38px;
  gap: 12px;
  padding-bottom: 10px;
  border: 0;
}
.rush-predictor-topbar > img {
  width: min(150px, 100%);
  max-height: 42px;
}
.rush-predictor-account {
  grid-template-columns: minmax(0,1fr) auto;
  gap: 2px 12px;
  padding: 8px 11px;
  border-color: rgba(255,255,255,.09);
  border-radius: 13px;
  background: #151619;
}
.rush-predictor-account > span { grid-column: 1 / -1; }
.rush-predictor-account select { grid-column: 1; grid-row: 2; }
.rush-predictor-account small { grid-column: 2; grid-row: 2; align-self: center; }
.rush-predictor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 14px;
}
.rush-predictor-heading::before { margin-bottom: 7px; font-size: 9px; }
.rush-predictor-heading h2 { font-size: clamp(28px,4vw,36px); }
.rush-predictor-heading p { font-size: 12px; }
.rush-predictor-market {
  padding: 14px 15px 10px;
  border-color: rgba(255,255,255,.085);
  border-radius: 19px;
  background: linear-gradient(145deg, #17191d, #111215 75%);
}
.rush-predictor-market-head { gap: 12px; }
.rush-predictor-market-head > div:first-child > span { color: #a1a3aa; font-size: 9px; }
.rush-predictor-market-head > div:first-child > strong { font-size: clamp(25px,4vw,32px); letter-spacing: -.045em; }
.rush-predictor-market-tools { gap: 7px; }
.rush-predictor-feed {
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(0,0,0,.24);
  font-size: 9px;
}
.rush-predictor-chart-style {
  gap: 1px;
  padding: 2px;
  border-color: rgba(255,255,255,.08);
  border-radius: 9px;
  background: #101114;
}
.rush-predictor-chart-style button { min-height: 27px; padding-inline: 9px; font-size: 9px; }
.rush-predictor-chart-style button.is-active { background: #303238; color: #fff; }
.rush-predictor-chart-toggle { width: 31px; height: 31px; border-radius: 9px; }
.rush-predictor-chart { min-height: 164px; margin-top: 5px; }
.rush-predictor-chart svg { height: 168px; }
.rush-predictor-chart-status { min-height: 164px; }
.rush-predictor-chart .grid { stroke: rgba(255,255,255,.09); stroke-dasharray: 2 6; }
.rush-predictor-chart .price-line { stroke: #f1f2f4; stroke-width: 2.1; }
.rush-predictor-chart .candle-up,
.rush-predictor-chart .candle-up-wick { fill: #47d99a; stroke: #47d99a; }
.rush-predictor-chart .candle-down,
.rush-predictor-chart .candle-down-wick { fill: #f16868; stroke: #f16868; }
.rush-predictor-chart .target-zone { fill: rgba(56,201,139,.2); }
.rush-predictor-chart[data-direction="down"] .target-zone { fill: rgba(238,82,82,.2); }
.rush-predictor-chart .target-edge { stroke: #65e5ae; stroke-width: 1.6; }
.rush-predictor-chart[data-direction="down"] .target-edge { stroke: #ff8585; }
.rush-predictor-chart .target-label { fill: #e2fff1; font-size: 8px; }
.rush-predictor-chart-foot {
  padding-top: 9px;
  border-color: rgba(255,255,255,.08);
  font-size: 9px;
  letter-spacing: .035em;
}
.rush-predictor-columns { gap: 12px; margin-top: 12px; }
.rush-predictor-controls,
.rush-predictor-ticket {
  padding: 17px;
  border-color: rgba(255,255,255,.085);
  border-radius: 18px;
  background: #141619;
}
.rush-predictor-section-title { margin-bottom: 14px; }
.rush-predictor-section-title h3 { font-size: 18px; letter-spacing: -.025em; }
.rush-predictor-field { gap: 8px; margin-top: 14px; color: #d3d5da; font-size: 12px; }
.rush-predictor-field > span > b {
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: #1a1c20;
  color: #fff;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.rush-predictor-field > small { color: #888c95; font-size: 10px; }
.rush-predictor-field input[type="range"] {
  appearance: none;
  height: 5px;
  margin: 7px 1px 4px;
  border-radius: 99px;
  background: linear-gradient(90deg,#ed5a50 0%,#ed5a50 var(--rush-range-progress,0%),#36383e var(--rush-range-progress,0%),#36383e 100%);
  accent-color: #ed5a50;
}
.rush-predictor-field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 17px;
  height: 17px;
  border: 3px solid #f5f6f8;
  border-radius: 50%;
  background: #ed5a50;
  box-shadow: 0 1px 5px rgba(0,0,0,.45);
}
.rush-predictor-field input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 3px solid #f5f6f8;
  border-radius: 50%;
  background: #ed5a50;
  box-shadow: 0 1px 5px rgba(0,0,0,.45);
}
.rush-predictor-field select {
  min-height: 44px;
  padding-inline: 13px;
  border-color: rgba(255,255,255,.09);
  border-radius: 12px;
  background: #1a1c20;
  font-size: 13px;
  font-weight: 700;
}
.rush-predictor-direction { gap: 9px; }
.rush-predictor-direction button {
  position: relative;
  min-height: 52px;
  border-color: rgba(255,255,255,.09);
  border-radius: 13px;
  background: #1a1c20;
  font-size: 14px;
  font-weight: 760;
}
.rush-predictor-direction button[data-direction="up"].is-active {
  border-color: rgba(69,215,151,.72);
  background: linear-gradient(115deg,rgba(35,160,108,.24),rgba(25,35,32,.9));
  box-shadow: inset 0 0 0 1px rgba(69,215,151,.08), 0 5px 20px rgba(18,140,92,.08);
}
.rush-predictor-direction button[data-direction="down"].is-active {
  border-color: rgba(245,105,105,.72);
  background: linear-gradient(115deg,rgba(183,61,65,.25),rgba(36,27,29,.9));
  box-shadow: inset 0 0 0 1px rgba(245,105,105,.08), 0 5px 20px rgba(170,45,50,.08);
}
.rush-predictor-odds {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 3px 12px;
  padding: 13px 14px;
  border-color: rgba(255,255,255,.07);
  border-radius: 14px;
  background: linear-gradient(110deg,#1b1d21,#17181b);
}
.rush-predictor-odds > span { grid-column: 1; font-size: 9px; }
.rush-predictor-odds > strong { grid-column: 2; grid-row: 1 / span 2; font-size: 30px; }
.rush-predictor-odds > small { grid-column: 1; max-width: 220px; font-size: 9px; }
.rush-predictor-stake-heading { align-items: center; }
.rush-predictor-stake-heading > b { padding: 4px 7px; border-radius: 999px; background: #1b1d20; font-size: 9px; }
.rush-predictor-stake-control { min-height: 48px; border-radius: 12px; }
.rush-predictor-stake-control .rush-predictor-input input { font-size: 17px; }
.rush-predictor-stake-shortcuts { border-radius: 9px; }
.rush-predictor-stake-shortcuts button { min-width: 39px; font-size: 10px; }
.rush-predictor-return { padding: 14px 0 2px; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; }
.rush-predictor-return strong { color: #86e5b3; font-size: 19px; }
.rush-predictor-notice { max-width: 560px; margin-top: 12px; font-size: 10px; }
.rush-predictor-dock {
  grid-template-columns: minmax(112px,.32fr) minmax(0,1fr);
  gap: 12px;
  padding: 12px clamp(16px,3vw,30px) max(13px,env(safe-area-inset-bottom,0px));
  border-color: rgba(255,255,255,.09);
  background: rgba(12,13,15,.97);
  box-shadow: 0 -10px 28px rgba(0,0,0,.34);
}
.rush-predictor-dock-summary > span { font-size: 24px; }
.rush-predictor-dock-summary > small { font-size: 10px; }
.rush-predictor-submit {
  min-height: 54px;
  border-radius: 13px;
  font-size: 14px;
  letter-spacing: -.01em;
}
.rush-predictor-submit:disabled {
  background: #24262a;
  color: #a5a7ae;
  opacity: 1;
}
.rush-predictor-submit:disabled::after { content: ""; }
.rush-predictor-submit.is-retry:enabled { background: #34211d; color: #ffb09f; box-shadow: inset 0 0 0 1px rgba(239,125,102,.35); }
.rush-predictor-submit.is-offline { color: #b6b8bf; }
.rush-predictor-feed.is-preview { color: #e8bf7c; }
.rush-predictor-feed.is-offline { color: #ff9d9b; }
.rush-predictor-notice[aria-live="polite"] { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .rush-predictor-dialog[open] {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .rush-predictor-stage { padding: 12px 14px 20px; }
  .rush-predictor-topbar {
    grid-template-columns: minmax(82px,.72fr) minmax(0,1.28fr) 34px;
    gap: 8px;
    padding-bottom: 9px;
  }
  .rush-predictor-topbar > img { width: min(112px,100%); max-height: 34px; }
  .rush-predictor-account {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 1px 7px;
    padding: 6px 8px;
    border-radius: 10px;
  }
  .rush-predictor-account > span { font-size: 7px; }
  .rush-predictor-account select { max-width: 100%; font-size: 9px; }
  .rush-predictor-account small { font-size: 7px; }
  .rush-predictor-topbar > .rush-dialog-close { grid-column: 3; grid-row: 1; }
  .rush-predictor-heading { display: block; padding: 10px 1px 11px; }
  .rush-predictor-heading::before { margin-bottom: 5px; font-size: 8px; }
  .rush-predictor-heading h2 { margin-bottom: 5px; font-size: 27px; }
  .rush-predictor-heading p { font-size: 10px; line-height: 1.4; }
  .rush-predictor-market { padding: 10px 11px 8px; border-radius: 15px; }
  .rush-predictor-market-head { gap: 6px; }
  .rush-predictor-market-head > div:first-child > span { font-size: 8px; }
  .rush-predictor-market-head > div:first-child > strong { font-size: clamp(20px,5.8vw,26px); }
  .rush-predictor-market-tools { gap: 4px; }
  .rush-predictor-feed { max-width: 78px; padding: 4px 6px; overflow: hidden; font-size: 7px; text-overflow: ellipsis; }
  .rush-predictor-chart-style button { min-height: 25px; padding-inline: 7px; font-size: 8px; }
  .rush-predictor-chart-toggle { width: 28px; height: 28px; }
  .rush-predictor-chart { min-height: 134px; }
  .rush-predictor-chart svg { height: 138px; }
  .rush-predictor-chart-status { min-height: 134px; }
  .rush-predictor-chart-foot { padding-top: 7px; font-size: 8px; }
  .rush-predictor-columns { gap: 9px; margin-top: 9px; }
  .rush-predictor-controls,
  .rush-predictor-ticket { padding: 13px; border-radius: 15px; }
  .rush-predictor-section-title { margin-bottom: 10px; }
  .rush-predictor-section-title h3 { font-size: 16px; }
  .rush-predictor-field { gap: 6px; margin-top: 11px; font-size: 10px; }
  .rush-predictor-field > small { font-size: 8px; }
  .rush-predictor-field > span > b { padding: 3px 7px; font-size: 9px; }
  .rush-predictor-field select { min-height: 39px; font-size: 12px; }
  .rush-predictor-direction button { min-height: 44px; border-radius: 11px; font-size: 12px; }
  .rush-predictor-odds { padding: 10px 11px; }
  .rush-predictor-odds > strong { font-size: 25px; }
  .rush-predictor-odds > small { font-size: 8px; }
  .rush-predictor-stake-control { min-height: 42px; }
  .rush-predictor-stake-control .rush-predictor-input input { font-size: 15px; }
  .rush-predictor-stake-shortcuts button { min-width: 32px; padding-inline: 6px; font-size: 8px; }
  .rush-predictor-return { padding-top: 11px; font-size: 10px; }
  .rush-predictor-return strong { font-size: 17px; }
  .rush-predictor-notice { font-size: 8px; }
  .rush-predictor-dock {
    grid-template-columns: minmax(88px,.29fr) minmax(0,1fr);
    gap: 8px;
    padding: 9px 12px max(10px,env(safe-area-inset-bottom,0px));
  }
  .rush-predictor-dock-summary > span { font-size: 20px; }
  .rush-predictor-dock-summary > small { font-size: 8px; }
  .rush-predictor-submit { min-height: 47px; padding-inline: 8px 20px; border-radius: 11px; font-size: clamp(10px,3vw,12px); }
  .rush-predictor-submit::after { right: 9px; font-size: 15px; }
  html.telegram-miniapp .rush-predictor-dialog .rush-predictor-stage {
    padding-top: max(88px,calc(var(--ff-telegram-header-clearance,72px) + 18px)) !important;
  }
  html.telegram-miniapp .rush-predictor-dialog .rush-dialog-close { display: none; }
  html.telegram-miniapp .rush-predictor-dialog .rush-predictor-topbar {
    grid-template-columns: minmax(80px,.72fr) minmax(0,1.28fr) !important;
  }
}
@media (max-width: 370px) {
  .rush-predictor-stage { padding-right: 11px; padding-left: 11px; }
  .rush-predictor-topbar > img { width: min(94px,100%); }
  .rush-predictor-market-tools { gap: 3px; }
  .rush-predictor-feed { max-width: 65px; padding-inline: 5px; }
  .rush-predictor-chart-style button { padding-inline: 5px; }
  .rush-predictor-chart-toggle { width: 25px; height: 25px; }
}

/* Candle Hunter: a market-reading practice game with non-redeemable points. */
.rush-hunter-dialog {
  box-sizing: border-box;
  width: min(760px, calc(100% - 28px));
  max-width: 760px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 25px;
  background: #101114;
  color: #f5f5f7;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .62);
  font-family: inherit;
}
.rush-hunter-dialog::backdrop { background: rgba(0, 0, 0, .74); backdrop-filter: blur(7px); }
.rush-hunter-dialog[open] { animation: rush-game-in 180ms ease-out both; }
.rush-hunter-stage {
  box-sizing: border-box;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px clamp(17px, 3vw, 28px) 25px;
  scrollbar-color: #35363b transparent;
}
.rush-hunter-topbar { display: grid; grid-template-columns: minmax(110px, 1fr) auto 38px; align-items: center; gap: 13px; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rush-hunter-topbar > img { display: block; width: min(145px, 100%); max-height: 43px; object-fit: contain; object-position: left center; }
.rush-hunter-total { display: grid; gap: 3px; min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }
.rush-hunter-total span,.rush-hunter-kicker,.rush-hunter-run-head > div > span,.rush-hunter-play-head > div > span,.rush-hunter-result > div > span,.rush-hunter-history > div > span { color: #8f919a; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.rush-hunter-total strong { color: #f4f4f6; font-size: 18px; font-weight: 780; }
.rush-hunter-dialog .rush-dialog-close { width: 36px; height: 36px; }
.rush-hunter-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 19px 0 13px; }
.rush-hunter-heading h2 { margin: 4px 0 5px; color: #f8f8fa; font-size: clamp(27px, 4vw, 36px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.rush-hunter-heading p { max-width: 500px; margin: 0; color: #a3a5ad; font-size: 12px; line-height: 1.45; }
.rush-hunter-market,.rush-hunter-run,.rush-hunter-play,.rush-hunter-history { min-width: 0; border: 1px solid rgba(255,255,255,.085); border-radius: 16px; background: #151619; }
.rush-hunter-market { padding: 13px 14px 10px; background: radial-gradient(ellipse at 8% 10%, rgba(99, 112, 139, .11), transparent 43%), #111215; }
.rush-hunter-market-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rush-hunter-market-head > div { display: grid; gap: 4px; }
.rush-hunter-market-head > div > span { color: #92949c; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.rush-hunter-market-head > div > strong { color: #f5f5f7; font-size: clamp(21px, 3vw, 28px); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.rush-hunter-market-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: #1b1c20; color: #f3f4f5; font-size: 10px; font-weight: 800; }
.rush-hunter-market-chip b { padding-left: 7px; border-left: 1px solid rgba(255,255,255,.12); color: #a4a6ae; font-size: 8px; letter-spacing: .08em; }
.rush-hunter-feed { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: #0d0e10; color: #b4d9c0; font-size: 9px; font-weight: 680; }
.rush-hunter-feed i { width: 6px; height: 6px; border-radius: 50%; background: #68d391; box-shadow: 0 0 9px rgba(104,211,145,.45); }
.rush-hunter-feed.is-offline { color: #e3b58a; }
.rush-hunter-feed.is-offline i { background: #e4ae64; box-shadow: none; }
.rush-hunter-chart { min-height: 160px; margin-top: 5px; overflow: hidden; }
.rush-hunter-chart svg { display: block; width: 100%; height: 165px; }
.rush-hunter-chart .grid { stroke: rgba(255,255,255,.065); stroke-dasharray: 3 7; stroke-width: 1; }
.rush-hunter-chart .wick { stroke-width: 2; vector-effect: non-scaling-stroke; }
.rush-hunter-chart .body { stroke-width: 1; vector-effect: non-scaling-stroke; }
.rush-hunter-chart .up { fill: #39ca88; stroke: #39ca88; }
.rush-hunter-chart .down { fill: #ef5b63; stroke: #ef5b63; }
.rush-hunter-chart-status { display: grid; min-height: 160px; place-items: center; color: #92949c; font-size: 11px; text-align: center; }
.rush-hunter-market-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.065); color: #8f9199; font-size: 9px; font-variant-numeric: tabular-nums; }
.rush-hunter-market-foot span:last-child { color: #d4d5d9; }
.rush-hunter-run { margin-top: 11px; padding: 12px 13px 11px; }
.rush-hunter-run-head { display: flex; justify-content: space-between; gap: 12px; }
.rush-hunter-run-head > div { display: grid; gap: 4px; }
.rush-hunter-run-head strong { color: #f4f4f6; font-size: 15px; font-weight: 760; font-variant-numeric: tabular-nums; }
.rush-hunter-potential { text-align: right; }
.rush-hunter-potential strong { color: #c9a3ff; }
.rush-hunter-ladder { display: grid; grid-auto-columns: minmax(72px, 1fr); grid-auto-flow: column; gap: 6px; overflow-x: auto; margin-top: 12px; padding-bottom: 2px; scrollbar-width: none; }
.rush-hunter-ladder::-webkit-scrollbar { display: none; }
.rush-hunter-ladder > span { display: grid; gap: 5px; min-height: 46px; align-content: center; padding: 6px 8px; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; background: #1b1c20; }
.rush-hunter-ladder small { overflow: hidden; color: #858790; font-size: 7px; font-weight: 780; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.rush-hunter-ladder b { color: #c3c4ca; font-size: 13px; font-weight: 790; font-variant-numeric: tabular-nums; }
.rush-hunter-ladder .is-cleared { border-color: rgba(109, 214, 148, .22); background: rgba(63, 127, 84, .13); }
.rush-hunter-ladder .is-cleared b { color: #89dda2; }
.rush-hunter-ladder .is-current { border-color: rgba(164, 103, 238, .72); background: rgba(118, 48, 194, .23); box-shadow: inset 0 0 18px rgba(134, 66, 214, .1); }
.rush-hunter-ladder .is-current b { color: #e0c5ff; }
.rush-hunter-run > p { margin: 9px 0 0; color: #898b94; font-size: 9px; line-height: 1.4; }
.rush-hunter-play { margin-top: 11px; padding: 13px; }
.rush-hunter-play-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rush-hunter-play-head > div { display: grid; gap: 4px; }
.rush-hunter-play-head strong { color: #f3f3f5; font-size: 14px; font-weight: 730; }
.rush-hunter-countdown { color: #cdb2f4; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rush-hunter-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.rush-hunter-picks button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: #1b1c20; color: #bec0c6; font: inherit; font-size: 13px; font-weight: 780; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.rush-hunter-picks button i { font-style: normal; font-size: 17px; }
.rush-hunter-picks button[data-pick="green"].is-active { border-color: rgba(65,210,139,.68); background: rgba(49,169,109,.17); color: #a4efbd; }
.rush-hunter-picks button[data-pick="red"].is-active { border-color: rgba(239,91,99,.68); background: rgba(193,57,65,.16); color: #ffb0b3; }
.rush-hunter-picks button:disabled { opacity: .55; cursor: default; }
.rush-hunter-lock,.rush-hunter-bank,.rush-hunter-continue { min-height: 45px; padding: 0 15px; border: 0; border-radius: 11px; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.rush-hunter-lock { width: 100%; margin-top: 9px; background: #7b27c7; color: #fff; }
.rush-hunter-lock:disabled { background: #292a2f; color: #888a92; cursor: not-allowed; }
.rush-hunter-result { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 11px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #101114; }
.rush-hunter-result[hidden] { display: none; }
.rush-hunter-result > div:first-child { display: grid; gap: 4px; }
.rush-hunter-result > div > strong { color: #f3f3f5; font-size: 15px; font-weight: 770; }
.rush-hunter-result > div > p { max-width: 430px; margin: 0; color: #9c9ea6; font-size: 10px; line-height: 1.45; }
.rush-hunter-result-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.rush-hunter-bank { background: #eae8ef; color: #17151c; }
.rush-hunter-continue { border: 1px solid rgba(255,255,255,.12); background: #222329; color: #f2f2f5; }
.rush-hunter-disclaimer { margin: 9px 1px 0; color: #777982; font-size: 9px; line-height: 1.45; }
.rush-hunter-history { margin-top: 11px; padding: 10px 12px; }
.rush-hunter-history > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rush-hunter-history > div:first-child > b { color: #a4a6ae; font-size: 9px; font-weight: 690; }
.rush-hunter-history-list { display: flex; gap: 7px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.rush-hunter-history-list::-webkit-scrollbar { display: none; }
.rush-hunter-empty { color: #797b84; font-size: 10px; }
.rush-hunter-history-item { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.065); border-radius: 8px; background: #1b1c20; }
.rush-hunter-history-item i { color: #a3a5ad; font-size: 10px; font-style: normal; font-weight: 850; }
.rush-hunter-history-item b { color: #d2d3d8; font-size: 9px; }
.rush-hunter-history-item small { color: #82848d; font-size: 8px; }
.rush-hunter-history-item.is-win i { color: #78d99a; }
.rush-hunter-history-item.is-loss i { color: #f08a8f; }
.rush-hunter-history-item.is-doji i,.rush-hunter-history-item.is-void i { color: #d1b374; }
@media (max-width: 620px) {
  .rush-hunter-dialog { width: calc(100% - 10px); max-height: calc(100dvh - 10px); border-radius: 20px; }
  .rush-hunter-stage { max-height: calc(100dvh - 10px); padding: 13px 11px 17px; }
  .rush-hunter-topbar { grid-template-columns: minmax(90px, 1fr) auto 34px; gap: 8px; padding-bottom: 9px; }
  .rush-hunter-topbar > img { width: min(115px, 100%); max-height: 36px; }
  .rush-hunter-total { min-width: 76px; }
  .rush-hunter-total span,.rush-hunter-kicker,.rush-hunter-run-head > div > span,.rush-hunter-play-head > div > span,.rush-hunter-result > div > span,.rush-hunter-history > div > span { font-size: 7px; }
  .rush-hunter-total strong { font-size: 15px; }
  .rush-hunter-heading { padding: 14px 0 10px; }
  .rush-hunter-heading h2 { font-size: 27px; }
  .rush-hunter-heading p { max-width: 260px; font-size: 10px; }
  .rush-hunter-market { padding: 10px 10px 8px; border-radius: 13px; }
  .rush-hunter-market-head > div > strong { font-size: 22px; }
  .rush-hunter-feed { max-width: 100px; padding: 5px 7px; overflow: hidden; font-size: 8px; white-space: nowrap; }
  .rush-hunter-chart,.rush-hunter-chart-status { min-height: 128px; }
  .rush-hunter-chart svg { height: 132px; }
  .rush-hunter-market-foot { font-size: 8px; }
  .rush-hunter-run,.rush-hunter-play { margin-top: 8px; padding: 10px; border-radius: 13px; }
  .rush-hunter-run-head strong { font-size: 13px; }
  .rush-hunter-ladder { grid-auto-columns: minmax(66px, 1fr); gap: 5px; margin-top: 9px; }
  .rush-hunter-ladder > span { min-height: 41px; padding: 5px 6px; }
  .rush-hunter-ladder small { font-size: 6px; }
  .rush-hunter-ladder b { font-size: 12px; }
  .rush-hunter-run > p,.rush-hunter-disclaimer { font-size: 8px; }
  .rush-hunter-play-head strong { font-size: 12px; }
  .rush-hunter-countdown { font-size: 14px; }
  .rush-hunter-picks { margin-top: 9px; }
  .rush-hunter-picks button { min-height: 43px; font-size: 12px; }
  .rush-hunter-lock { min-height: 42px; }
  .rush-hunter-result { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 9px; padding: 10px; }
  .rush-hunter-result-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .rush-hunter-result-actions button { min-height: 41px; padding: 0 8px; font-size: 10px; }
  .rush-hunter-result-actions button:only-child { grid-column: 1 / -1; }
  .rush-hunter-history { margin-top: 8px; padding: 9px 10px; }
}
@media (max-width: 768px) {
  html.telegram-miniapp .rush-hunter-stage { padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 13px); }
  html.telegram-miniapp .rush-hunter-dialog .rush-dialog-close { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rush-hunter-dialog[open] { animation: none; }
  .rush-hunter-picks button { transition: none; }
}

/* Candle Hunter progression: keep the streak prominent without stacking cards. */
.rush-hunter-run {
  padding: 10px 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Candle Hunter round state: one concise, continuously updating explanation
   instead of making the player infer what the timer means. */
.rush-hunter-round-status {
  display: grid;
  grid-template-columns: auto minmax(48px, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 8px 9px;
  border: 1px solid rgba(174, 92, 255, .2);
  border-radius: 11px;
  background: linear-gradient(105deg, rgba(129, 42, 204, .13), rgba(20, 22, 28, .76) 48%, rgba(31, 117, 255, .1));
}
.rush-hunter-round-status > span {
  color: #d9c2ff;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .12em;
  white-space: nowrap;
}
.rush-hunter-round-status > b {
  min-width: 0;
  max-width: 136px;
  overflow: hidden;
  color: #b9bbc5;
  font-size: 8px;
  font-weight: 680;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rush-hunter-round-track { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .38); }
.rush-hunter-round-track i { display: block; width: 2%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a448ff, #d986ff 55%, #4c99ff); box-shadow: 0 0 11px rgba(172, 74, 255, .7); transition: width .24s linear; }
@media (max-width: 470px) {
  .rush-hunter-round-status { gap: 6px; padding: 7px 8px; }
  .rush-hunter-round-status > span { font-size: 6px; letter-spacing: .09em; }
  .rush-hunter-round-status > b { max-width: 104px; font-size: 7px; }
}
.rush-hunter-ladder {
  gap: 0;
  padding: 0;
  background: transparent;
}
.rush-hunter-ladder > span {
  position: relative;
  min-width: 0;
  padding: 5px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.rush-hunter-ladder > span + span::before {
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: -1px;
  width: 1px;
  background: rgba(255, 255, 255, .08);
  content: "";
}
.rush-hunter-ladder .is-cleared { background: rgba(63, 180, 105, .07); }
.rush-hunter-ladder .is-current {
  border: 0;
  background: transparent;
  box-shadow: inset 0 -2px rgba(163, 77, 255, .85);
}

/* 2026-10-06 Rush chart/order hotfix. */
.rush-risk-meter { display: none !important; }
.rush-chart-canvas svg.is-line .rush-live-market-path { stroke-width: 3.25; filter: none; }
@media (max-width: 768px) {
  .rush-game-dialog .rush-game-layout { display: flex; flex-direction: column; gap: 10px; }
  .rush-game-dialog .rush-market-workspace { display: contents; }
  .rush-game-dialog .rush-game-market-controls { order: 1; }
  .rush-game-dialog .rush-market-chart-card { order: 2; }
  .rush-game-dialog .rush-game-order-panel { order: 3; }
  .rush-game-dialog .rush-live-position { order: 4; }
  .rush-game-dialog .rush-round-outcome { order: 5; }
  .rush-game-dialog .rush-run-status { order: 6; }
  .rush-game-dialog .rush-game-history { order: 7; }
}

/* Zone Rush — rebuild the predictor as a compact game board and wager ticket. */
.rush-predictor-dialog[open] {
  border-color: rgba(255, 255, 255, .07);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% -14%, rgba(215, 58, 58, .14), transparent 48%),
    #0c0d10;
}
.rush-predictor-stage { padding-bottom: 28px; }
.rush-predictor-topbar {
  grid-template-columns: minmax(84px, .56fr) minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  padding: 0 0 8px;
  border: 0;
}
.rush-predictor-topbar > img { width: min(105px, 100%); max-height: 34px; }
.rush-predictor-account {
  grid-template-columns: 1fr auto;
  gap: 1px 8px;
  min-height: 0;
  padding: 5px 9px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,.045);
}
.rush-predictor-account > span { grid-column: 1 / -1; }
.rush-predictor-account select { grid-column: 1; grid-row: 2; }
.rush-predictor-account small { grid-column: 2; grid-row: 2; align-self: center; }
.rush-predictor-heading {
  display: block;
  padding: 8px 0 11px;
}
.rush-predictor-heading::before {
  margin-bottom: 4px;
  color: #e76a5e;
  font-size: 8px;
  letter-spacing: .16em;
}
.rush-predictor-heading h2 {
  margin: 0;
  font-size: clamp(25px, 5vw, 31px);
  letter-spacing: -.045em;
}
.rush-predictor-heading p { display: none; }
.rush-predictor-market {
  padding: 13px 14px 9px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 17px;
  background: linear-gradient(155deg, #17181d 0%, #111216 68%);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.rush-predictor-market-head > div:first-child > strong {
  font-size: clamp(26px, 6vw, 34px);
  letter-spacing: -.055em;
}
.rush-predictor-feed {
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: rgba(255,255,255,.055);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.rush-predictor-feed.is-preview #rushPredictorFeedLabel { font-size: 0; }
.rush-predictor-feed.is-preview #rushPredictorFeedLabel::after {
  content: "OFFLINE";
  font-size: 8px;
}
.rush-predictor-chart { min-height: 220px; margin-top: 4px; }
.rush-predictor-chart svg { height: clamp(220px, 54vw, 300px); }
.rush-predictor-chart-foot {
  padding-top: 8px;
  border-top: 0;
  color: #777a83;
}
.rush-predictor-columns {
  gap: 9px;
  margin-top: 10px;
}
.rush-predictor-controls,
.rush-predictor-ticket {
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 16px;
  background: #131418;
}
.rush-predictor-section-title { margin-bottom: 8px; }
.rush-predictor-section-title h3 { font-size: 17px; letter-spacing: -.035em; }
.rush-predictor-field { gap: 7px; margin-top: 12px; }
.rush-predictor-field > span > b {
  padding: 3px 8px;
  border: 0;
  border-radius: 7px;
  background: rgba(255,255,255,.07);
  color: #f2f2f4;
  font-size: 11px;
}
.rush-predictor-field > small { display: none; }
.rush-predictor-direction { gap: 8px; }
.rush-predictor-direction button {
  min-height: 52px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}
.rush-predictor-field input[type="range"] { height: 6px; margin: 6px 1px; }
.rush-predictor-field select {
  min-height: 46px;
  border-radius: 11px;
  background-color: #1b1c21;
  font-size: 15px;
}
.rush-predictor-odds {
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(105deg, rgba(133,57,205,.2), rgba(255,255,255,.035));
}
.rush-predictor-odds > strong { color: #d9b4ff; }
.rush-predictor-odds > small { max-width: 235px; }
.rush-predictor-notice { margin-top: 9px; color: #898b94; }
.rush-predictor-dock {
  grid-template-columns: minmax(94px,.28fr) minmax(0,1fr);
  gap: 9px;
  padding-top: 9px;
  border-top-color: rgba(255,255,255,.09);
  background: rgba(10,11,13,.97);
}
.rush-predictor-dock-summary > span { color: #f3f1f6; font-size: 23px; }
.rush-predictor-submit {
  min-height: 52px;
  border-radius: 12px;
  background: linear-gradient(110deg, #8b26d7, #a038ed);
  box-shadow: 0 6px 18px rgba(132,38,201,.22);
  font-size: 13px;
  font-weight: 800;
}
.rush-predictor-submit.is-retry:enabled {
  background: #291c1b;
  color: #f3a294;
  box-shadow: inset 0 0 0 1px rgba(239,125,102,.25);
}
.rush-predictor-risk-picks,
.rush-predictor-duration-picks > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.rush-predictor-risk-picks button,
.rush-predictor-duration-picks button {
  display: grid; align-content: center; justify-items: start; gap: 3px; min-height: 48px;
  padding: 8px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  background: #1a1b20; color: #c6c7cc; text-align: left;
}
.rush-predictor-risk-picks button b { color: #f0f0f2; font-size: 12px; }
.rush-predictor-risk-picks button small { color: #858791; font-size: 9px; }
.rush-predictor-risk-picks button.is-active,
.rush-predictor-duration-picks button.is-active {
  border-color: rgba(240,177,85,.8); background: rgba(120,75,28,.2); color: #ffd28d;
  box-shadow: inset 0 0 0 1px rgba(240,177,85,.12);
}
.rush-predictor-risk-picks button.is-active b { color: #ffd28d; }
.rush-predictor-duration-picks > div { grid-template-columns: repeat(4,minmax(0,1fr)); }
.rush-predictor-duration-picks button { min-height: 38px; justify-items: center; padding: 6px; font-size: 12px; font-weight: 800; }
.rush-predictor-advanced { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.075); }
.rush-predictor-advanced summary { padding-top: 11px; color: #9597a0; font-size: 11px; font-weight: 700; cursor: pointer; }
.rush-predictor-advanced[open] > .rush-predictor-field:first-of-type { margin-top: 11px; }
.rush-predictor-chart-error { display: flex; align-items: center; gap: 8px; }
.rush-predictor-chart-error span { min-width: 0; }
.rush-predictor-chart-error button { flex: 0 0 auto; border: 0; border-radius: 6px; padding: 5px 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 10px; font-weight: 800; }
.rush-predictor-submit:disabled { background: #27282d; color: #85868e; box-shadow: none; }
.rush-predictor-submit:disabled::after { content: ""; }
@media (max-width: 760px) {
  .rush-predictor-dialog[open] {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .rush-predictor-stage { padding: 10px 14px 20px; }
  .rush-predictor-heading { padding: 6px 1px 9px; }
  .rush-predictor-market { padding: 10px 11px 7px; }
  .rush-predictor-chart { min-height: 205px; }
  .rush-predictor-chart svg { height: clamp(205px, 58vw, 250px); }
  .rush-predictor-columns { grid-template-columns: 1fr; }
  .rush-predictor-controls,
  .rush-predictor-ticket { padding: 13px; border-radius: 14px; }
  .rush-predictor-field { margin-top: 10px; font-size: 11px; }
  .rush-predictor-direction button { min-height: 48px; }
  .rush-predictor-dock { padding: 8px 12px max(10px,env(safe-area-inset-bottom,0px)); }
  html.telegram-miniapp .rush-predictor-dialog .rush-predictor-stage {
    padding-top: max(14px,calc(var(--ff-telegram-header-clearance,72px) - 54px)) !important;
  }
  html.telegram-miniapp .rush-predictor-dialog .rush-predictor-topbar {
    grid-template-columns: minmax(76px,.62fr) minmax(0,1.38fr) !important;
  }
}

/* Rush Market Grid — practice-only live-price target game. */
.rush-tap-markets-dialog {
  width: min(1050px, calc(100vw - 28px));
  max-width: none;
  max-height: min(94dvh, 920px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: #090a0d;
  color: #f6f6f8;
  overscroll-behavior: contain;
}
.rush-tap-markets-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(7px); }
.rush-tap-markets-dialog[open] { animation: rush-game-in 180ms ease-out both; }
.rush-tap-markets-stage { display: grid; gap: 13px; padding: 20px; }
.rush-tap-markets-topbar { display: grid; grid-template-columns: 1fr auto 36px; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rush-tap-markets-topbar > img { display: block; width: min(142px, 38vw); max-height: 43px; object-fit: contain; object-position: left center; }
.rush-tap-markets-bank { display: grid; justify-items: end; gap: 3px; }
.rush-tap-markets-bank > span,.rush-tap-markets-kicker,.rush-tap-markets-chart-head > span,.rush-tap-markets-grid-head > div > span,.rush-tap-markets-ticket-copy > span,.rush-tap-markets-history > div:first-child > span { color: #858994; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.rush-tap-markets-bank strong { color: #f5f4f9; font-size: 16px; font-variant-numeric: tabular-nums; }
.rush-tap-markets-topbar .rush-dialog-close { width: 34px; height: 34px; }
.rush-tap-markets-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.rush-tap-markets-heading h2 { margin: 3px 0 4px; font-size: clamp(25px, 4vw, 34px); font-weight: 790; letter-spacing: -.05em; line-height: 1; }
.rush-tap-markets-heading p { margin: 0; color: #999ba5; font-size: 12px; line-height: 1.4; }
.rush-tap-markets-quote { display: grid; justify-items: end; gap: 3px; flex: 0 0 auto; }
.rush-tap-markets-quote > span { display: inline-flex; align-items: center; gap: 6px; color: #9fa1aa; font-size: 9px; font-weight: 700; }
.rush-tap-markets-quote i { width: 7px; height: 7px; border-radius: 50%; background: #767982; }
.rush-tap-markets-quote.is-live i { background: #55d68a; box-shadow: 0 0 11px rgba(85,214,138,.5); }
.rush-tap-markets-quote.is-offline i { background: #f05a61; }
.rush-tap-markets-quote > strong { color: #f7f6f9; font-size: clamp(19px, 3vw, 26px); font-weight: 760; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.rush-tap-markets-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .95fr); gap: 12px; align-items: stretch; }
.rush-tap-markets-chart-card,.rush-tap-markets-grid-card,.rush-tap-markets-ticket,.rush-tap-markets-history { min-width: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: #111216; }
.rush-tap-markets-chart-card { display: grid; grid-template-rows: auto minmax(170px, 1fr) auto; min-height: 250px; padding: 12px; }
.rush-tap-markets-chart-head,.rush-tap-markets-chart-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rush-tap-markets-chart-head b { color: #9598a2; font-size: 10px; font-variant-numeric: tabular-nums; }
.rush-tap-markets-chart-head b.is-positive { color: #4bd195; }
.rush-tap-markets-chart-head b.is-negative { color: #f36b73; }
.rush-tap-markets-chart { position: relative; min-height: 170px; margin: 7px 0; overflow: hidden; }
.rush-tap-markets-chart svg { display: block; width: 100%; height: 100%; min-height: 170px; overflow: visible; }
.rush-tap-markets-chart .grid { stroke: rgba(255,255,255,.07); stroke-dasharray: 3 7; stroke-width: 1; }
.rush-tap-markets-chart .area { fill: url(#rushMarketGridFill); }
.rush-tap-markets-chart .line { fill: none; stroke: #c778ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rush-tap-markets-chart .last-point { fill: #f8dfff; stroke: #a74df0; stroke-width: 3; }
.rush-tap-markets-chart .target-line { stroke: #d48cff; stroke-width: 1.3; stroke-dasharray: 4 5; opacity: .9; }
.rush-tap-markets-chart-status { display: grid; height: 100%; min-height: 170px; place-items: center; color: #9698a2; font-size: 11px; text-align: center; }
.rush-tap-markets-chart-foot { color: #777a84; font-size: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rush-tap-markets-grid-card { padding: 12px; }
.rush-tap-markets-grid-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.rush-tap-markets-grid-head h3,.rush-tap-markets-history h3 { margin: 3px 0 0; color: #f1f0f5; font-size: 14px; letter-spacing: -.02em; }
.rush-tap-markets-grid-head > span { overflow: hidden; color: #ad7be0; font-size: 9px; font-weight: 750; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.rush-tap-markets-grid { display: grid; grid-template-columns: 57px repeat(4, minmax(0,1fr)); gap: 4px; }
.rush-tap-markets-grid-corner { display: grid; min-height: 24px; align-items: center; color: #666a74; font-size: 7px; font-weight: 780; text-align: center; }
.rush-tap-markets-grid-col { display: grid; min-height: 24px; align-items: center; color: #a4a6af; font-size: 8px; font-weight: 760; text-align: center; }
.rush-tap-markets-row-label { display: flex; align-items: center; gap: 4px; color: #aeb0b9; font-size: 8px; font-weight: 760; font-variant-numeric: tabular-nums; }
.rush-tap-markets-row-label.is-up { color: #63d79e; }
.rush-tap-markets-row-label.is-down { color: #f3787b; }
.rush-tap-markets-cell { display: grid; min-width: 0; min-height: 35px; place-items: center; border: 1px solid #272830; border-radius: 7px; background: #18191e; color: #c7c8d0; font: inherit; font-size: 9px; font-weight: 770; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .12s ease,border-color .12s ease,transform .12s ease; }
.rush-tap-markets-cell:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(190,117,255,.6); background: #211a2a; }
.rush-tap-markets-cell.is-hot { color: #e4b9ff; }
.rush-tap-markets-cell.is-selected { border-color: #bd55ff; background: rgba(148,45,218,.25); color: #f4dbff; box-shadow: inset 0 0 0 1px rgba(203,127,255,.22),0 0 16px rgba(147,53,222,.16); }
.rush-tap-markets-cell:disabled { cursor: default; opacity: .53; }
.rush-tap-markets-ticket { display: grid; grid-template-columns: minmax(0,1fr) 110px minmax(155px,.38fr); align-items: center; gap: 10px; padding: 12px; }
.rush-tap-markets-ticket-copy { display: grid; gap: 4px; min-width: 0; }
.rush-tap-markets-ticket-copy strong { overflow: hidden; color: #f1f0f5; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.rush-tap-markets-ticket-copy small { color: #777a84; font-size: 9px; line-height: 1.35; }
.rush-tap-markets-stake { display: grid; gap: 4px; color: #90939d; font-size: 8px; font-weight: 760; }
.rush-tap-markets-stake input { width: 100%; min-height: 37px; padding: 0 9px; border: 1px solid #292a32; border-radius: 9px; outline: 0; background: #191a1f; color: #f8f7fa; font: inherit; font-size: 12px; font-weight: 760; font-variant-numeric: tabular-nums; }
.rush-tap-markets-stake input:focus { border-color: #a953e5; }
.rush-tap-markets-start { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 11px; border: 0; border-radius: 9px; background: linear-gradient(115deg,#9f35e6,#7227c7); color: #fff; font: inherit; font-size: 11px; font-weight: 780; cursor: pointer; }
.rush-tap-markets-start:disabled { background: #292a30; color: #777a83; cursor: not-allowed; }
.rush-tap-markets-start b { font-variant-numeric: tabular-nums; }
.rush-tap-markets-history { display: flex; align-items: center; gap: 15px; padding: 10px 12px; }
.rush-tap-markets-history h3 { font-size: 12px; }
.rush-tap-markets-history-list { display: flex; min-width: 0; flex: 1; gap: 6px; overflow: auto; }
.rush-tap-markets-history-item,.rush-tap-markets-empty { display: grid; flex: 0 0 auto; gap: 2px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: #17181d; color: #a8abb4; font-size: 8px; }
.rush-tap-markets-history-item b { color: #f4f4f6; font-size: 9px; }
.rush-tap-markets-history-item.is-win b { color: #54d897; }
.rush-tap-markets-history-item.is-loss b { color: #f3777d; }
.rush-tap-markets-disclaimer { margin: 0; color: #777a84; font-size: 8px; text-align: center; }
@media(max-width:720px) {
  .rush-tap-markets-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); border-radius: 18px; }
  .rush-tap-markets-stage { gap: 9px; padding: 12px 10px 16px; }
  .rush-tap-markets-topbar { grid-template-columns: 1fr auto 30px; gap: 8px; padding-bottom: 7px; }
  .rush-tap-markets-topbar > img { width: min(118px, 35vw); max-height: 35px; }
  .rush-tap-markets-bank > span { font-size: 7px; }
  .rush-tap-markets-bank strong { font-size: 12px; }
  .rush-tap-markets-topbar .rush-dialog-close { width: 29px; height: 29px; }
  .rush-tap-markets-heading { align-items: center; gap: 8px; }
  .rush-tap-markets-heading h2 { font-size: 24px; }
  .rush-tap-markets-heading p { max-width: 220px; font-size: 9px; }
  .rush-tap-markets-kicker,.rush-tap-markets-chart-head > span,.rush-tap-markets-grid-head > div > span,.rush-tap-markets-ticket-copy > span,.rush-tap-markets-history > div:first-child > span { font-size: 7px; }
  .rush-tap-markets-quote > span { gap: 4px; font-size: 7px; }
  .rush-tap-markets-quote > strong { font-size: 17px; }
  .rush-tap-markets-layout { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .rush-tap-markets-chart-card { grid-template-rows: auto 140px auto; min-height: 0; padding: 9px; }
  .rush-tap-markets-chart,.rush-tap-markets-chart svg,.rush-tap-markets-chart-status { min-height: 140px; }
  .rush-tap-markets-grid-card { padding: 9px; }
  .rush-tap-markets-grid-head { margin-bottom: 6px; }
  .rush-tap-markets-grid-head h3 { font-size: 12px; }
  .rush-tap-markets-grid { grid-template-columns: 54px repeat(4,minmax(0,1fr)); gap: 3px; }
  .rush-tap-markets-grid-corner,.rush-tap-markets-grid-col { min-height: 19px; font-size: 7px; }
  .rush-tap-markets-row-label { gap: 3px; font-size: 7px; }
  .rush-tap-markets-cell { min-height: 28px; border-radius: 6px; font-size: 8px; }
  .rush-tap-markets-ticket { grid-template-columns: minmax(0,1fr) 72px minmax(110px,.55fr); gap: 7px; padding: 9px; }
  .rush-tap-markets-ticket-copy strong { font-size: 10px; }
  .rush-tap-markets-ticket-copy small { font-size: 7px; }
  .rush-tap-markets-stake { font-size: 7px; }
  .rush-tap-markets-stake input { min-height: 34px; padding-inline: 6px; font-size: 11px; }
  .rush-tap-markets-start { min-height: 38px; padding-inline: 7px; font-size: 9px; }
  .rush-tap-markets-history { align-items: start; flex-direction: column; gap: 6px; padding: 8px 9px; }
  .rush-tap-markets-history-list { width: 100%; }
}
@media(prefers-reduced-motion:reduce) { .rush-tap-markets-dialog[open] { animation:none; }.rush-tap-markets-cell { transition:none; } }

/* Zone Rush chart: readable phone-scale price field, real auto-scale, compact target lane. */
.rush-predictor-chart { position: relative; overflow: hidden; border-radius: 10px; }
.rush-predictor-chart svg { display: block; width: 100%; height: clamp(224px, 61vw, 270px); overflow: hidden; }
.rush-predictor-chart .grid { stroke: rgba(255,255,255,.075); stroke-dasharray: 2 5; stroke-width: .8; }
.rush-predictor-chart .axis-label { fill: #70737e; font: 500 8px system-ui, sans-serif; font-variant-numeric: tabular-nums; text-anchor: end; }
.rush-predictor-chart .expiry-label { fill: #878a94; font: 650 8px system-ui, sans-serif; letter-spacing: .04em; text-anchor: middle; }
.rush-predictor-chart .expiry-label-left { text-anchor: start; }
.rush-predictor-chart .expiry-line { stroke: rgba(255,255,255,.18); stroke-dasharray: 2 4; stroke-width: .9; }
.rush-predictor-chart .forecast-window { fill: rgba(255,255,255,.025); }
.rush-predictor-chart .price-area { fill: url(#rushPredictorAreaFill); }
.rush-predictor-chart .price-line { fill: none; stroke: #cb82ff; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.rush-predictor-chart .candle-up,.rush-predictor-chart .candle-up-wick { fill: #38d795; stroke: #38d795; }
.rush-predictor-chart .candle-down,.rush-predictor-chart .candle-down-wick { fill: #f05e69; stroke: #f05e69; }
.rush-predictor-chart .candle-up-wick,.rush-predictor-chart .candle-down-wick { stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.rush-predictor-chart .current-price-line { stroke: rgba(255,255,255,.45); stroke-width: .8; stroke-dasharray: 2 4; }
.rush-predictor-chart .current-price-pulse { fill: #fff; stroke: #cb82ff; stroke-width: 1.8; }
.rush-predictor-chart .current-price-dot { fill: #fff; }
.rush-predictor-chart .target-zone { fill: rgba(56,201,139,.22); }
.rush-predictor-chart[data-direction="down"] .target-zone { fill: rgba(238,82,82,.22); }
.rush-predictor-chart .target-edge { stroke: #65e5ae; stroke-width: 1; }
.rush-predictor-chart[data-direction="down"] .target-edge { stroke: #ff8585; }
.rush-predictor-chart .target-label { fill: #ecfff5; font: 750 8px system-ui, sans-serif; font-variant-numeric: tabular-nums; text-anchor: middle; }
.rush-predictor-chart[data-direction="down"] .target-label { fill: #fff0f0; }
.rush-predictor-chart .target-pointer { fill: #65e5ae; }
.rush-predictor-chart[data-direction="down"] .target-pointer { fill: #ff8585; }
.rush-predictor-chart-error { position: absolute; z-index: 2; top: 4px; left: 52px; right: 12px; max-height: 27px; overflow: hidden; padding: 5px 8px; border: 1px solid rgba(240,94,105,.26); border-radius: 7px; background: rgba(47,22,27,.94); color: #ffb0b4; font: 650 9px/1.25 system-ui,sans-serif; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .rush-predictor-chart { min-height: 224px; } .rush-predictor-chart svg { height: clamp(224px, 61vw, 270px); } }
.rush-predictor-dialog button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.rush-predictor-refresh { display: inline-grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #202126; color: #f4c16c; font-size: 22px; line-height: 1; }
.rush-predictor-refresh[hidden] { display: none !important; }
.rush-predictor-market-error { margin: 8px 1px 0; padding: 7px 9px; border: 1px solid rgba(240,94,105,.18); border-radius: 8px; background: rgba(47,22,27,.62); color: #f2a0a4; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.rush-predictor-market-error[hidden] { display: none !important; }
.rush-predictor-price-inputs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.rush-predictor-price-inputs label { display: grid; gap: 5px; min-width: 0; }
.rush-predictor-price-inputs label small { color: #8e9099; font-size: 10px; font-weight: 700; }
.rush-predictor-price-inputs input { width: 100%; min-width: 0; min-height: 45px; box-sizing: border-box; padding: 0 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; outline: none; background: #1a1b20; color: #f7f7f9; font: 750 14px/1 system-ui,sans-serif; font-variant-numeric: tabular-nums; }
.rush-predictor-price-inputs input:focus { border-color: rgba(240,177,85,.78); box-shadow: 0 0 0 2px rgba(240,177,85,.12); }
.rush-predictor-manual-zone > small { display: block; margin-top: 1px; color: #858791; font-size: 10px; }
.rush-predictor-chart-error { display: none !important; }
@media (max-width: 760px) {
  .rush-predictor-price-inputs input { min-height: 48px; font-size: 15px; }
  .rush-predictor-refresh { width: 36px; height: 36px; }
}

/* Zone Rush readability pass: give the chart, target and wager distinct surfaces. */
.rush-predictor-dialog[open] {
  background: #0a0c10;
  color: #f5f6f8;
}
.rush-predictor-topbar { margin-bottom: 5px; }
.rush-predictor-account {
  border: 1px solid #343a44;
  background: #171b21;
}
.rush-predictor-account > span,
.rush-predictor-account small { color: #aeb4bf; }
.rush-predictor-heading { padding-block: 12px 16px; }
.rush-predictor-heading::before { color: #ff776e; font-size: 10px; }
.rush-predictor-heading h2 { font-size: clamp(29px,6vw,36px); }
.rush-predictor-market {
  padding: 16px 16px 12px;
  border: 1px solid #39404b;
  border-radius: 18px;
  background: linear-gradient(145deg,#1b2028 0%,#13171d 75%);
  box-shadow: 0 10px 24px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.035);
}
.rush-predictor-market-head > div:first-child > span { color: #b3bac5; font-size: 10px; }
.rush-predictor-market-head > div:first-child > strong { font-size: clamp(27px,7vw,34px); }
.rush-predictor-feed { border: 1px solid #3a414b; background: #20262e; color: #c4cad3; }
.rush-predictor-feed.is-live { border-color: rgba(65,210,142,.38); background: #14261f; color: #8ce5b4; }
.rush-predictor-feed.is-preview { border-color: rgba(237,177,75,.42); background: #2a2115; color: #ffd17d; }
.rush-predictor-feed.is-preview #rushPredictorFeedLabel::after { content: "PREVIEW"; }
.rush-predictor-chart { min-height: 238px; }
.rush-predictor-chart svg { height: clamp(238px,64vw,300px); }
.rush-predictor-chart-foot { color: #aab1bc; font-size: 10px; }
.rush-predictor-market-error { border-color: rgba(246,102,108,.35); background: #311b20; color: #ffc0c2; font-size: 12px; }
.rush-predictor-columns { gap: 12px; margin-top: 13px; }
.rush-predictor-controls,
.rush-predictor-ticket {
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.rush-predictor-controls {
  border: 1px solid #3d444e;
  border-left: 3px solid #ef675d;
  background: #171b21;
}
.rush-predictor-ticket {
  border: 1px solid #49375a;
  border-left: 3px solid #b579ef;
  background: #1b1821;
}
.rush-predictor-section-title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.rush-predictor-section-title h3 { color: #fafbfc; font-size: 19px; }
.rush-predictor-field { color: #e2e5ea; font-size: 13px; }
.rush-predictor-field > small { display: block; color: #a7afbb; font-size: 11px; line-height: 1.4; }
.rush-predictor-manual-zone {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #3d4652;
  border-radius: 12px;
  background: #20252d;
}
.rush-predictor-manual-zone > span { color: #f4f5f7; font-size: 13px; font-weight: 800; }
.rush-predictor-price-inputs { gap: 10px; margin-top: 8px; }
.rush-predictor-price-inputs label small { color: #c1c8d2; font-size: 11px; }
.rush-predictor-price-inputs input {
  min-height: 50px;
  padding-inline: 12px;
  border-color: #525c69;
  border-radius: 10px;
  background: #11151b;
  font-size: 16px;
}
.rush-predictor-price-inputs input:focus { border-color: #e9ad58; box-shadow: 0 0 0 3px rgba(233,173,88,.16); }
.rush-predictor-manual-zone > small { margin-top: 8px; color: #aeb6c1; font-size: 11px; line-height: 1.4; }
.rush-predictor-direction { gap: 10px; }
.rush-predictor-direction button {
  min-height: 54px;
  border: 1px solid #454c57;
  background: #232832;
  color: #e0e4ea;
  font-size: 15px;
}
.rush-predictor-direction button[data-direction="up"].is-active {
  border-color: #38cc8b;
  background: #17382d;
  color: #b4f3d5;
  box-shadow: inset 0 0 0 1px rgba(56,204,139,.2);
}
.rush-predictor-direction button[data-direction="down"].is-active {
  border-color: #f16d73;
  background: #3a2026;
  color: #ffd0d2;
  box-shadow: inset 0 0 0 1px rgba(241,109,115,.2);
}
.rush-predictor-duration-picks > div { gap: 8px; }
.rush-predictor-duration-picks button {
  min-height: 44px;
  border: 1px solid #454c57;
  border-radius: 10px;
  background: #222730;
  color: #d8dde5;
  font-size: 13px;
}
.rush-predictor-duration-picks button.is-active {
  border-color: #b579ef;
  background: #39264c;
  color: #f1dfff;
  box-shadow: inset 0 0 0 1px rgba(181,121,239,.18);
}
.rush-predictor-odds { border: 1px solid #49375a; background: #241d2d; }
.rush-predictor-odds > span { color: #c7afdd; }
.rush-predictor-odds > strong { color: #ddb7ff; }
.rush-predictor-odds > small { color: #b3a9bd; font-size: 10px; }
.rush-predictor-stake-heading > label { color: #f4f5f7; font-size: 13px; font-weight: 800; }
.rush-predictor-stake-heading > b { border: 1px solid rgba(72,210,143,.26); background: #173124; color: #a9ebc8; font-size: 10px; }
.rush-predictor-stake-control { border: 1px solid #46404d; background: #111318; }
.rush-predictor-stake-control .rush-predictor-input input { font-size: 19px; }
.rush-predictor-stake-shortcuts button { border-color: #413949; color: #d5c9df; }
.rush-predictor-return { margin-top: 13px; padding: 12px; border: 1px solid rgba(64,205,139,.24); border-radius: 11px; background: #14251d; color: #c1d9ca; }
.rush-predictor-return strong { color: #8ae2af; font-size: 21px; }
.rush-predictor-notice { color: #b5bbc5; font-size: 11px; line-height: 1.45; }
.rush-predictor-open,
.rush-predictor-history { border-color: #3c424c; background: #171b21; }
.rush-predictor-dock { border-top: 1px solid #3b414b; background: rgba(14,16,20,.98); }
.rush-predictor-dock-summary > span { color: #f5f0fa; }
.rush-predictor-dock-summary > small { color: #bac0ca; font-size: 10px; }
.rush-predictor-submit:not(:disabled) { background: linear-gradient(105deg,#ef554b,#d93c38); box-shadow: 0 5px 18px rgba(217,60,56,.24); }
.rush-predictor-submit.is-retry:enabled { background: #683321; color: #fff0d4; box-shadow: inset 0 0 0 1px rgba(255,191,101,.5); }
.rush-predictor-submit:disabled { background: #292d34; color: #a6acb5; }
@media (max-width: 760px) {
  .rush-predictor-stage { padding: 12px 14px 22px; }
  .rush-predictor-market { padding: 13px 13px 10px; }
  .rush-predictor-chart { min-height: 232px; }
  .rush-predictor-chart svg { height: clamp(232px,62vw,270px); }
  .rush-predictor-columns { gap: 12px; margin-top: 12px; }
  .rush-predictor-controls,
  .rush-predictor-ticket { padding: 14px; border-radius: 14px; }
  .rush-predictor-section-title { margin-bottom: 10px; padding-bottom: 9px; }
  .rush-predictor-section-title h3 { font-size: 18px; }
  .rush-predictor-field { gap: 8px; margin-top: 12px; font-size: 12px; }
  .rush-predictor-field > small { font-size: 10px; }
  .rush-predictor-direction button { min-height: 52px; }
  .rush-predictor-manual-zone { padding: 11px; }
  .rush-predictor-price-inputs input { min-height: 48px; font-size: 15px; }
  .rush-predictor-duration-picks button { min-height: 42px; }
  .rush-predictor-notice { font-size: 10px; }
  .rush-predictor-dock { padding: 10px 12px max(12px,env(safe-area-inset-bottom,0px)); }
}

/* Zone Rush: compact chart, readable odds, and a clear round action. */
.rush-predictor-chart { min-height: 184px; }
.rush-predictor-chart svg { height: 184px; }
.rush-predictor-chart-status { min-height: 184px; }
.rush-predictor-chart .target-connector { fill: none; stroke: rgba(236,240,246,.58); stroke-width: 1.1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.rush-predictor-market { padding: 12px 14px 10px; }
.rush-predictor-controls,
.rush-predictor-ticket { border-left-width: 1px; box-shadow: 0 5px 16px rgba(0,0,0,.13); }
.rush-predictor-controls { border-left-color: #3d444e; }
.rush-predictor-ticket { border-left-color: #49375a; }
.rush-predictor-duration-picks button { min-height: 50px; gap: 3px; }
.rush-predictor-duration-picks button b { color: inherit; font-size: 13px; }
.rush-predictor-duration-picks button small { color: #9299a4; font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; }
.rush-predictor-duration-picks button.is-active small { color: #ffd28d; }
.rush-predictor-open { margin-top: 12px; padding: 14px; border: 1px solid rgba(55,205,139,.42); border-radius: 15px; background: linear-gradient(130deg,rgba(30,111,78,.19),#15191e 68%); box-shadow: 0 8px 24px rgba(0,0,0,.17); }
.rush-predictor-open .rush-predictor-section-title { border-bottom-color: rgba(93,222,160,.2); }
.rush-predictor-open .rush-predictor-section-title h3 { color: #c8f4dc; }
.rush-predictor-dock { grid-template-columns: minmax(92px,1fr) minmax(176px, min(240px, 62vw)); align-items: end; gap: 10px; padding: 8px 12px max(10px,env(safe-area-inset-bottom,0px)); }
.rush-predictor-dock-summary > span { font-size: 20px; }
.rush-predictor-submit { justify-self: end; width: 100%; min-height: 52px; border-radius: 12px; font-size: 14px; }
@media (max-width: 760px) {
  .rush-predictor-stage { padding: 10px 12px 18px; }
  .rush-predictor-chart,
  .rush-predictor-chart-status { min-height: 184px; }
  .rush-predictor-chart svg { height: 184px; }
  .rush-predictor-market { padding: 11px 12px 9px; }
  .rush-predictor-controls,
  .rush-predictor-ticket { border-left-width: 1px; }
  .rush-predictor-dock { grid-template-columns: minmax(74px,1fr) minmax(168px, min(224px,62vw)); padding: 8px 10px max(10px,env(safe-area-inset-bottom,0px)); }
  .rush-predictor-submit { min-height: 50px; font-size: 13px; }
}

/* Candle Sprint clarity pass: explain the win condition once, then let the
   direction, stake and live market make the game obvious. */
.rush-game-dialog .rush-game-intro { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 13px 0 8px; }
.rush-game-dialog .rush-game-intro h2 { margin: 0 0 5px; font-size: clamp(25px, 4vw, 31px); }
.rush-game-dialog .rush-game-intro #rushGameDialogCopy { max-width: 58ch; color: #c0c1c8; font-size: 12px; line-height: 1.42; }
.rush-game-dialog .rush-game-feedback { margin: 0 0 12px; padding: 0 0 0 9px; border: 0; border-left: 2px solid #9e48d9; border-radius: 0; background: transparent; color: #a5a6ad; font-size: 10px; line-height: 1.4; }
.rush-game-dialog .rush-game-feedback.is-win { color: #9ae9b1; }
.rush-game-dialog .rush-game-feedback.is-loss { color: #ff9a9f; }
.rush-game-dialog .rush-game-hud-live > span { color: #a6a8af; letter-spacing: .04em; }
.rush-game-dialog .rush-game-order-panel { gap: 10px; padding: 15px; border-color: rgba(154, 78, 220, .28); background: radial-gradient(ellipse at 100% 0%, rgba(132, 56, 211, .14), transparent 55%), #131419; }
.rush-game-dialog .rush-order-heading > div > span { color: #ae7ae0; letter-spacing: .08em; }
.rush-game-dialog .rush-order-heading h3 { margin-top: 3px; font-size: 18px; }
.rush-game-dialog .rush-direction-buttons { gap: 9px; }
.rush-game-dialog .rush-direction-button { min-height: 56px; border-radius: 13px; font-size: 15px; }
.rush-game-dialog .rush-direction-button b { font-size: 14px; }
.rush-game-dialog .rush-stake-field { order: 3; gap: 6px; }
.rush-game-dialog .rush-stake-field > span:first-child > span { color: #f1f1f4; font-size: 11px; font-weight: 760; }
.rush-game-dialog .rush-stake-field small { color: #92949c; font-size: 9px; }
.rush-game-dialog .rush-stake-input-wrap { min-height: 48px; border-radius: 12px 12px 0 0; }
.rush-game-dialog .rush-stake-input-wrap input { font-size: 18px; font-weight: 760; }
.rush-game-dialog .rush-stake-shortcuts { order: 4; margin-top: -10px; border-radius: 0 0 11px 11px; }
.rush-game-dialog .rush-stake-shortcuts button { min-height: 32px; font-size: 9px; letter-spacing: .03em; }
.rush-game-dialog .rush-margin-requirement { order: 5; margin: -3px 0 0; font-size: 9px; }
.rush-game-dialog .rush-dialog-done { order: 6; min-height: 52px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #a348dc, #711fc1); box-shadow: 0 10px 24px rgba(112, 31, 193, .25), inset 0 1px 0 rgba(255,255,255,.18); font-size: 13px; }
.rush-game-dialog .rush-dialog-done:disabled { background: #292a30; box-shadow: none; }
.rush-game-dialog .rush-trade-disclosure { order: 7; margin: -2px 0 0; color: #858790; font-size: 9px; line-height: 1.4; }
.rush-game-dialog .rush-game-cashout { border-color: rgba(166, 82, 222, .38); background: linear-gradient(135deg, #8334bd, #66259d); }
.rush-game-dialog .rush-live-position-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rush-game-dialog .rush-live-position-stats > div:first-child { display: none; }
.rush-game-dialog .rush-live-position-stats > div:nth-child(2) { border-left: 0; }
.rush-game-dialog .rush-live-position-stats > div:nth-child(3) strong { font-size: 15px; }
.rush-game-dialog .rush-round-outcome > p { color: #c1c1c8; }
.rush-game-dialog .rush-market-chart-head { align-items: center; }
.rush-game-dialog .rush-chart-style-switch { display: none !important; }
.rush-game-dialog .rush-game-history { margin-top: 2px; }

@media (max-width: 768px) {
  .rush-game-dialog .rush-game-stage { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .rush-game-dialog .rush-game-intro { padding: 10px 0 6px; }
  .rush-game-dialog .rush-game-intro #rushGameDialogCopy { font-size: 11px; }
  .rush-game-dialog .rush-game-feedback { margin-bottom: 10px; }
  .rush-game-dialog .rush-game-layout { gap: 10px; }
  .rush-game-dialog .rush-market-workspace { display: contents; }
  .rush-game-dialog .rush-game-order-panel { order: 1; gap: 9px; padding: 13px; }
  .rush-game-dialog .rush-game-market-controls { order: 2; }
  .rush-game-dialog .rush-round-outcome { order: 1; padding: 13px; }
  .rush-game-dialog .rush-market-chart-card { order: 3; }
  .rush-game-dialog .rush-live-position { order: 4; }
  .rush-game-dialog .rush-run-status { order: 5; }
  .rush-game-dialog .rush-game-history { order: 6; }
  .rush-game-dialog .rush-game-order-panel .rush-order-heading { order: 1; }
  .rush-game-dialog .rush-game-order-panel .rush-direction-buttons { order: 2; }
  .rush-game-dialog .rush-game-order-panel .rush-stake-field { order: 3; }
  .rush-game-dialog .rush-game-order-panel .rush-stake-shortcuts { order: 4; }
  .rush-game-dialog .rush-game-order-panel .rush-margin-requirement { order: 5; }
  .rush-game-dialog .rush-game-order-panel .rush-dialog-done { order: 6; }
  .rush-game-dialog .rush-game-order-panel .rush-trade-disclosure { order: 7; }
  .rush-game-dialog .rush-game-order-panel .rush-margin-chip { display: none; }
  .rush-game-dialog .rush-market-chart-card { padding: 11px; }
  .rush-game-dialog .rush-market-chart-card .rush-chart-canvas { height: clamp(150px, 42vw, 188px); }
  .rush-game-dialog .rush-round-outcome-actions { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .rush-game-dialog .rush-round-outcome-actions button { min-height: 43px; font-size: 10px; }
  .rush-game-dialog .rush-run-status-copy > span { font-size: 8px; }
}

@media (max-width: 470px) {
  .rush-game-dialog .rush-game-hud { grid-template-columns: minmax(132px, 1.2fr) minmax(92px, .9fr) auto; gap: 6px; }
  .rush-game-dialog .rush-game-hud-live > span { font-size: 7px; }
  .rush-game-dialog .rush-game-hud-live > strong { font-size: 9px; }
  .rush-game-dialog .rush-game-account-label { font-size: 8px; }
  .rush-game-dialog .rush-game-order-panel { border-radius: 15px; }
  .rush-game-dialog .rush-direction-button { min-height: 52px; }
  .rush-game-dialog .rush-game-cashout { min-height: 46px; }
}

/* Zone Rush: live price, draggable target, and a focused chart mode. */
.rush-predictor-chart svg { touch-action: none; }
.rush-predictor-chart .price-line { stroke-width: 2.2; }
.rush-predictor-chart .price-area { opacity: .72; }
.rush-predictor-chart .target-zone-hit { fill: transparent; pointer-events: all; cursor: grab; touch-action: none; }
.rush-predictor-chart .target-zone-group { cursor: grab; }
.rush-predictor-chart .target-zone-group:active,
.rush-predictor-chart.is-zone-dragging .target-zone-group { cursor: grabbing; }
.rush-predictor-chart .target-grip { fill: #fff; font-size: 12px; font-weight: 900; paint-order: stroke; stroke: rgba(10,15,18,.7); stroke-width: 2px; }
.rush-predictor-chart-foot .rush-predictor-drag-hint { color: #9da6b2; font-size: 9px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.rush-predictor-chart-toggle { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #3b414a; border-radius: 10px; background: #20242a; color: #f1f3f5; cursor: pointer; }
.rush-predictor-chart-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-market-tools { align-items: center; }
.rush-predictor-chart-style { order: 0; }
.rush-predictor-chart-toggle { order: 1; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market {
  position: fixed !important;
  z-index: 150;
  inset: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 16px !important;
  overflow: hidden;
  border: 1px solid #414852 !important;
  border-radius: 18px !important;
  background: #101318 !important;
  box-shadow: 0 20px 80px rgba(0,0,0,.72);
}
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head { flex: 0 0 auto; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart { flex: 1 1 auto; min-height: 0 !important; height: auto !important; margin-top: 12px; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart svg { width: 100%; height: 100% !important; min-height: 0 !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-foot { flex: 0 0 auto; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-status { min-height: 0; flex: 1; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-toggle { color: #ff6b61; border-color: rgba(255,107,97,.4); }
.rush-predictor-direction button { display: flex; align-items: center; justify-content: center; gap: 10px; }
.rush-predictor-direction button svg { width: 24px; height: 24px; flex: 0 0 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-direction button.is-active svg { filter: drop-shadow(0 2px 5px rgba(52,209,143,.26)); }
.rush-predictor-direction button[data-direction="down"].is-active svg { filter: drop-shadow(0 2px 5px rgba(241,87,99,.24)); }
.rush-predictor-direction button[data-direction="up"].is-active { border-color: #29b778; background: linear-gradient(135deg,#123c2e,#142721); color: #e9fff4; }
.rush-predictor-direction button[data-direction="down"].is-active { border-color: #ed5963; background: linear-gradient(135deg,#492126,#2c1b20); color: #fff0f1; }
.rush-predictor-open { padding: 14px 16px; border: 1px solid #35463e; border-radius: 14px; background: #151a1b; box-shadow: 0 8px 24px rgba(0,0,0,.17); }
.rush-predictor-open .rush-predictor-section-title { margin-bottom: 5px; padding-bottom: 9px; border-bottom: 1px solid #303b37; }
.rush-predictor-open .rush-predictor-section-title h3 { color: #f0f3f2; }
.rush-predictor-open .rush-predictor-entry.is-open { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 12px 2px; border-top: 1px solid #2c3433; }
.rush-predictor-open .rush-predictor-entry.is-open > strong { grid-column: 1; color: #f5f7f6; font-size: 13px; letter-spacing: .01em; }
.rush-predictor-open .rush-predictor-entry.is-open > span { grid-column: 1; color: #abb4b4; font-size: 11px; font-variant-numeric: tabular-nums; }
.rush-predictor-open .rush-predictor-entry.is-open > small { grid-column: 1; color: #808b89; font-size: 10px; }
.rush-predictor-open .rush-predictor-entry.is-open > b.rush-predictor-countdown { grid-column: 2; grid-row: 1 / span 3; display: flex; min-width: 94px; flex-direction: column; align-items: flex-end; justify-content: center; gap: 1px; padding: 5px 0 5px 13px; border-left: 1px solid #3b4542; color: #ffcf82; }
.rush-predictor-countdown > span { color: #909994; font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.rush-predictor-countdown > strong { color: #ffd17f; font-size: clamp(22px,6vw,28px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.rush-predictor-open .rush-predictor-entry.is-open.is-urgent > b.rush-predictor-countdown { color: #ff756e; }
.rush-predictor-open .rush-predictor-entry.is-open.is-urgent .rush-predictor-countdown > strong { color: #ff756e; animation: rush-countdown-pulse .85s ease-in-out infinite alternate; }
.rush-predictor-open .rush-predictor-entry.is-open.is-in-zone { border-top-color: rgba(46,200,133,.38); }
.rush-predictor-open .rush-predictor-entry.is-open.is-in-zone > b.rush-predictor-countdown > strong { color: #57dda1; }
.rush-predictor-chase { grid-column: 1/-1; display: grid; gap: 7px; margin-top: 8px; }
.rush-predictor-chase-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rush-predictor-chase-label { color: #8c9693; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.rush-predictor-chase-gap { color: #d7ddd9; font-size: 10px; font-variant-numeric: tabular-nums; }
.rush-predictor-chase-track { height: 6px; overflow: hidden; border-radius: 9px; background: #303735; }
.rush-predictor-chase-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f05e55,#f2b65d 52%,#38d191); transition: width .3s ease; }
.is-in-zone .rush-predictor-chase-fill { background: #39d090; box-shadow: 0 0 10px rgba(57,208,144,.45); }
.rush-predictor-time-track { height: 2px; overflow: hidden; border-radius: 2px; background: #2b3030; }
.rush-predictor-time-fill { display: block; width: 100%; height: 100%; background: #e5a84b; transition: width .25s linear; }
/* Zone Rush cleanup: clear chart first, wallet in the corner, quiet history. */
.rush-predictor-heading::before { content: none !important; display: none !important; }
.rush-predictor-market-tools .rush-predictor-feed { display: none !important; }
.rush-predictor-topbar { grid-template-columns: minmax(0,1fr) auto 36px; gap: 9px; }
.rush-predictor-account { position: relative; display: grid; grid-column: 2; grid-row: 1; grid-template-columns: 20px minmax(0,1fr); align-items: center; gap: 1px 8px; width: clamp(142px, 42vw, 224px); max-width: 100%; min-height: 42px; padding: 6px 10px; border: 1px solid #353b44; border-radius: 12px; background: #171b20; }
.rush-predictor-account > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.rush-predictor-account .rush-predictor-wallet-icon { grid-column: 1; grid-row: 1 / span 2; width: 19px; height: 19px; fill: none; stroke: #d7dce3; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-account select { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rush-predictor-account small { grid-column: 2; grid-row: 2; align-self: start; }
.rush-predictor-topbar > .rush-dialog-close { grid-column: 3; grid-row: 1; }
.rush-predictor-history { padding: 0; overflow: hidden; }
.rush-predictor-history > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin: 0; padding: 12px 15px; cursor: pointer; list-style: none; user-select: none; }
.rush-predictor-history > summary::-webkit-details-marker { display: none; }
.rush-predictor-history > summary::after { content: ""; width: 8px; height: 8px; flex: 0 0 8px; margin-left: auto; border-right: 2px solid #aab1bc; border-bottom: 2px solid #aab1bc; transform: rotate(45deg) translateY(-2px); transition: transform .16s ease; }
.rush-predictor-history[open] > summary::after { transform: rotate(225deg) translate(-2px,-1px); }
.rush-predictor-history > summary > div { min-width: 0; }
.rush-predictor-history > summary h3 { margin: 0; color: #eef0f2; font-size: 14px; font-weight: 800; }
.rush-predictor-history > #rushPredictorHistoryList { padding: 0 15px 12px; }
.rush-predictor-direction button svg { width: 25px; height: 25px; }
.rush-predictor-direction button svg path { stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-direction button[data-direction="up"] svg { stroke: #54d69a; stroke-width: 2.2; }
.rush-predictor-direction button[data-direction="down"] svg { stroke: #f07878; stroke-width: 2.2; }
@media (max-width: 760px) {
  .rush-predictor-topbar { grid-template-columns: minmax(62px,.72fr) minmax(136px,1.15fr) 34px; gap: 7px; }
  .rush-predictor-account { width: 100%; min-height: 39px; padding: 5px 7px; gap: 1px 6px; }
  .rush-predictor-account .rush-predictor-wallet-icon { width: 17px; height: 17px; }
  .rush-predictor-account select { font-size: 9px; }
  .rush-predictor-account small { font-size: 7px; }
}
@keyframes rush-countdown-pulse { from { opacity: .72; } to { opacity: 1; } }
/* Fullscreen is a real chart-only dialog state. Keep the exit control in view. */
.rush-predictor-dialog:not(.is-chart-expanded) .rush-predictor-market { position: relative !important; top: auto !important; z-index: auto !important; }
.rush-predictor-dialog.is-chart-expanded[open] { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100dvh !important; min-width: 0 !important; min-height: 0 !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; border-radius: 0 !important; background: #101318 !important; }
.rush-predictor-dialog.is-chart-expanded[open]::backdrop { background: #080a0d; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-stage { display: flex !important; flex-direction: column; width: 100%; height: 100%; min-height: 0; max-height: none; padding: max(12px,env(safe-area-inset-top,0px)) 12px max(12px,env(safe-area-inset-bottom,0px)); overflow: hidden; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-topbar,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-heading,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-open,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-columns,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-history,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-dock { display: none !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market { position: relative !important; inset: auto !important; z-index: auto !important; display: flex !important; flex: 1 1 auto; flex-direction: column; width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important; padding: 14px !important; overflow: hidden; border: 1px solid #383f49 !important; border-radius: 15px !important; background: #111419 !important; box-shadow: none !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head { flex: 0 0 auto; align-items: center; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head > div:first-child > strong { font-size: clamp(25px,7vw,34px); }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-tools { flex: 0 0 auto; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart { flex: 1 1 auto; width: 100%; height: auto !important; min-height: 0 !important; margin-top: 12px; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart svg { display: block; width: 100%; height: 100% !important; min-height: 0 !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-foot { flex: 0 0 auto; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-toggle { position: relative; z-index: 2; width: 42px; height: 42px; border-color: rgba(255,255,255,.22); background: #252a31; }
@media (max-width: 760px) {
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-market { inset: max(8px, env(safe-area-inset-top, 0px)) 8px max(8px, env(safe-area-inset-bottom, 0px)); padding: 12px !important; }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head > div:first-child strong { font-size: 26px; }
}

/* Zone Rush: the target is a game control, not a tiny chart annotation. */
.rush-predictor-market-head > .rush-predictor-market-tools { display: flex; align-items: center; gap: 7px; }
.rush-predictor-chart .target-zone-hit { cursor: grab; }
.rush-predictor-chart.is-zone-dragging .target-zone-hit { cursor: grabbing; }
.rush-predictor-chart .target-drag-handle { fill: rgba(8,12,17,.72); stroke: rgba(255,255,255,.76); stroke-width: 1.2; }
.rush-predictor-chart .target-grip { fill: #fff; font-size: 16px; font-weight: 900; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(8,12,17,.82); stroke-width: 2.4px; }
.rush-predictor-chart.is-zone-dragging .target-drag-handle { fill: #fff; stroke: #171b21; }
.rush-predictor-chart.is-zone-dragging .target-grip { fill: #161a20; stroke: none; }
.rush-predictor-account { grid-template-columns: 20px minmax(0,1fr); }
.rush-predictor-account select { grid-column: 2; grid-row: 2; color: #9fa7b2; font-size: 9px; font-weight: 700; }
.rush-predictor-account small { grid-column: 2; grid-row: 1; align-self: end; color: #f7f9fc; font-size: 13px; font-weight: 850; letter-spacing: -.02em; }
.rush-predictor-chart-toggle svg { width: 20px; height: 20px; stroke-width: 1.9; }
html.telegram-miniapp .rush-predictor-dialog.is-chart-expanded .rush-predictor-stage { padding-top: max(88px, calc(var(--ff-telegram-header-clearance, 72px) + 14px), var(--ff-runtime-safe-top, 0px)) !important; padding-bottom: max(14px, var(--ff-runtime-safe-bottom, 0px)) !important; }
@media (max-width: 520px) {
  .rush-predictor-market-head { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; align-items: start; }
  .rush-predictor-market-head > .rush-predictor-market-tools { width: 100%; justify-content: space-between; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.08); }
  .rush-predictor-market-head > .rush-predictor-market-tools .rush-predictor-chart-style { flex: 1 1 auto; display: grid; grid-template-columns: 1fr 1fr; }
  .rush-predictor-market-head > .rush-predictor-market-tools .rush-predictor-chart-style button { min-width: 0; }
  .rush-predictor-market-head > .rush-predictor-market-tools .rush-predictor-chart-toggle,
  .rush-predictor-market-head > .rush-predictor-market-tools .rush-predictor-refresh { width: 38px; height: 38px; flex: 0 0 38px; }
  .rush-predictor-account small { font-size: 12px; }
}

/* Candle Hunter: readable mobile controls, coloured calls and virtual stake. */
.rush-hunter-heading-actions { display: inline-flex; align-items: center; gap: 7px; }
.rush-hunter-sfx { display: inline-grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 1px solid rgba(151, 104, 231, .46); border-radius: 9px; background: rgba(108, 50, 171, .17); color: #d8bcff; }
.rush-hunter-sfx svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rush-hunter-sfx.is-off .rush-hunter-sfx-waves { display: none; }
.rush-hunter-sfx.is-off { border-color: rgba(255,255,255,.12); background: #1b1c20; color: #898b94; }
.rush-hunter-feed { display: none !important; }
.rush-hunter-picks button[data-pick="green"] { border-color: rgba(65, 210, 139, .42); background: linear-gradient(135deg, rgba(41, 143, 91, .28), rgba(24, 43, 35, .82)); color: #92ebba; }
.rush-hunter-picks button[data-pick="red"] { border-color: rgba(239, 91, 99, .42); background: linear-gradient(135deg, rgba(168, 49, 58, .27), rgba(49, 27, 31, .82)); color: #ffb2b6; }
.rush-hunter-picks button i { display: inline-grid; width: 19px; height: 19px; place-items: center; font-size: 0; }
.rush-hunter-picks button i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rush-hunter-price-line { display: inline-flex; align-items: center; gap: 8px; }
.rush-hunter-btc-mark { display: inline-grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; overflow: hidden; border-radius: 50%; background: #34373d; }
.rush-hunter-btc-mark img { display: block; width: 100%; height: 100%; filter: grayscale(1) saturate(.15) brightness(1.4); opacity: .9; }
.rush-hunter-price-line > strong { line-height: 25px; }
.rush-hunter-chip-coin { display: inline-grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; overflow: hidden; border-radius: 50%; background: #34373d; }
.rush-hunter-chip-coin img { display: block; width: 100%; height: 100%; filter: grayscale(1) saturate(.15) brightness(1.4); opacity: .9; }

/* Treat Candle Hunter as a game screen, not a card inside another screen. */
.rush-hunter-dialog[open] { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; background: #0d0e11; box-shadow: none; }
.rush-hunter-dialog[open]::backdrop { background: #0d0e11; }
.rush-hunter-dialog[open] .rush-hunter-stage { width: min(760px, 100%); height: 100dvh; max-height: none; margin: 0 auto; padding: max(20px, env(safe-area-inset-top, 0px) + 16px) clamp(17px, 4vw, 34px) max(25px, env(safe-area-inset-bottom, 0px) + 18px); background: radial-gradient(ellipse at 50% -10%, rgba(111, 49, 173, .12), transparent 44%), #0d0e11; }
@media (max-width: 620px) {
  .rush-hunter-dialog[open] { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; }
  .rush-hunter-dialog[open] .rush-hunter-stage { width: 100%; height: 100dvh; max-height: none; padding: max(14px, env(safe-area-inset-top, 0px) + 11px) 12px max(18px, env(safe-area-inset-bottom, 0px) + 14px); }
}
@media (max-width: 768px) {
  html.telegram-miniapp .rush-hunter-dialog[open] .rush-hunter-stage { padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 13px); }
}
.rush-hunter-play { display: flex; flex-direction: column; }
.rush-hunter-play-head { order: 1; }
.rush-hunter-picks { order: 2; }
.rush-hunter-stake { order: 3; }
.rush-hunter-lock { order: 4; }
.rush-hunter-result { order: 5; }
.rush-hunter-disclaimer { order: 6; }
.rush-hunter-play.has-round-result .rush-hunter-result { order: 2; margin-top: 11px; }
.rush-hunter-play.has-round-result .rush-hunter-picks,
.rush-hunter-play.has-round-result .rush-hunter-stake { display: none; }
.rush-hunter-play.has-round-result .rush-hunter-disclaimer { margin-top: 9px; }
.rush-hunter-play.has-round-result { gap: 0; padding: 0; border: 0; background: transparent; }
.rush-hunter-play.has-round-result .rush-hunter-play-head { display: none; }

/* Every Rush title is a destination, not a card nested above the Rush lobby. */
.rush-screen-back {
  display: inline-flex;
  min-width: 64px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: #191b20;
  color: #f1f2f5;
  font: inherit;
  font-size: 10px;
  font-weight: 780;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.rush-screen-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rush-screen-back:hover { border-color: rgba(184,126,248,.56); background: #25212b; }
.rush-screen-back:active { transform: scale(.97); }

.rush-game-dialog[open],
.rush-predictor-dialog[open],
.rush-tap-markets-dialog[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.rush-game-dialog[open]::backdrop,
.rush-predictor-dialog[open]::backdrop,
.rush-tap-markets-dialog[open]::backdrop { background: #0d0e11; backdrop-filter: none; }
.rush-game-dialog[open] .rush-game-stage,
.rush-game-dialog[open] .rush-asset-race-stage,
.rush-predictor-dialog[open] .rush-predictor-stage,
.rush-tap-markets-dialog[open] .rush-tap-markets-stage {
  box-sizing: border-box;
  width: min(960px, 100%);
  min-height: 100dvh;
  max-height: none !important;
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #393b43 transparent;
  background: radial-gradient(ellipse at 50% -12%, rgba(117,55,177,.12), transparent 42%), #0d0e11;
}
.rush-predictor-dialog[open] { display: grid !important; grid-template-rows: minmax(0, 1fr) auto; background: #0d0e11 !important; }
.rush-predictor-dialog[open] .rush-predictor-stage { height: 100%; min-height: 0; }
.rush-predictor-dialog[open] .rush-predictor-dock { width: min(960px, 100%); margin: 0 auto; }
.rush-predictor-topbar { grid-template-columns: auto minmax(0,1fr) auto; }
.rush-predictor-topbar > .rush-screen-back { grid-column: 1; grid-row: 1; }
.rush-hunter-topbar,
.rush-predictor-topbar,
.rush-tap-markets-topbar { position: relative; }
.rush-hunter-topbar > img,
.rush-predictor-topbar > img,
.rush-tap-markets-topbar > img { position: absolute; z-index: 1; top: 50%; left: 50%; width: 92px; max-height: 31px; transform: translate(-50%, -50%); }
.rush-predictor-topbar > .rush-predictor-account { grid-column: 3; grid-row: 1; }
.rush-tap-markets-topbar { grid-template-columns: auto minmax(0,1fr) auto; }
.rush-hunter-topbar { grid-template-columns: auto minmax(0,1fr) auto; }
.rush-asset-race-stage > header { justify-content: space-between; gap: 12px; }
.rush-asset-race-stage > header > span { margin-left: auto; }

@media (max-width: 760px) {
  .rush-game-dialog[open] .rush-game-stage,
  .rush-game-dialog[open] .rush-asset-race-stage,
  .rush-predictor-dialog[open] .rush-predictor-stage,
  .rush-tap-markets-dialog[open] .rush-tap-markets-stage { width: 100%; padding-inline: 12px; }
  .rush-screen-back { min-width: 58px; min-height: 31px; padding-inline: 7px; font-size: 9px; }
  .rush-screen-back svg { width: 14px; height: 14px; }
  .rush-hunter-topbar > img,
  .rush-predictor-topbar > img,
  .rush-tap-markets-topbar > img { width: 78px; max-height: 27px; }
  .rush-predictor-topbar { grid-template-columns: auto minmax(62px,1fr) auto !important; }
  .rush-tap-markets-topbar { grid-template-columns: auto minmax(62px,1fr) auto; }
  .rush-hunter-topbar { grid-template-columns: auto minmax(62px,1fr) auto; }
  html.telegram-miniapp .rush-game-dialog[open] .rush-game-stage,
  html.telegram-miniapp .rush-game-dialog[open] .rush-asset-race-stage,
  html.telegram-miniapp .rush-predictor-dialog[open] .rush-predictor-stage,
  html.telegram-miniapp .rush-tap-markets-dialog[open] .rush-tap-markets-stage { padding-top: calc(var(--ff-telegram-header-clearance, 72px) + 13px); }
}
.rush-hunter-play.has-round-result .rush-hunter-result { margin-top: 0; }
.rush-hunter-play.has-round-result .rush-hunter-result > div:first-child { gap: 6px; }
.rush-hunter-result.is-loss { border-color: rgba(239, 91, 99, .38); background: linear-gradient(125deg, rgba(142, 37, 47, .27), rgba(19, 20, 24, .96) 65%); }
.rush-hunter-result.is-win { border-color: rgba(92, 227, 154, .38); background: linear-gradient(125deg, rgba(32, 123, 76, .25), rgba(19, 20, 24, .96) 65%); }
.rush-hunter-play.has-round-result .rush-hunter-result-actions { width: 100%; }
.rush-hunter-play.has-round-result .rush-hunter-result-actions button { flex: 1 1 auto; min-height: 46px; font-size: 12px; }
.rush-hunter-result.is-loss .rush-hunter-continue { border: 0; background: linear-gradient(135deg, #e94d58, #b62d42); color: #fff; box-shadow: 0 8px 18px rgba(190, 42, 58, .22); }
.rush-hunter-result.is-win .rush-hunter-continue { border-color: rgba(121, 222, 160, .38); background: rgba(57, 137, 88, .21); color: #d9ffe7; }
.rush-hunter-picks button[data-pick="green"].is-active { border-color: #5ce39a; background: linear-gradient(135deg, #21734c, #163f2d); color: #e2fff0; box-shadow: 0 0 0 1px rgba(92,227,154,.23), 0 8px 18px rgba(31,154,91,.18); }
.rush-hunter-picks button[data-pick="red"].is-active { border-color: #ff747d; background: linear-gradient(135deg, #8d3038, #4d2028); color: #fff0f1; box-shadow: 0 0 0 1px rgba(255,116,125,.2), 0 8px 18px rgba(179,44,55,.17); }
.rush-hunter-picks button.is-locked:disabled { opacity: 1; }
.rush-hunter-play.has-locked-pick .rush-hunter-picks button:not(.is-locked):disabled { opacity: .22; filter: saturate(.2); }
.rush-hunter-stake { display: grid; gap: 6px; margin-top: 10px; }
.rush-hunter-stake > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #b8bac2; font-size: 10px; font-weight: 750; }
.rush-hunter-stake > div:first-child b { color: #7f818a; font-size: 8px; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
.rush-hunter-stake-field { display: grid; grid-template-columns: auto minmax(44px, 1fr) auto; align-items: center; min-height: 44px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: #101115; }
.rush-hunter-stake-field > span { padding-left: 12px; color: #8f919a; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.rush-hunter-stake-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #f5f5f7; font: inherit; font-size: 17px; font-weight: 820; text-align: center; }
.rush-hunter-stake-field input::-webkit-inner-spin-button,.rush-hunter-stake-field input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.rush-hunter-stake-field input:disabled { color: #8e9099; }
.rush-hunter-stake-field > div { display: grid; grid-template-columns: repeat(3, auto); align-self: stretch; border-left: 1px solid rgba(255,255,255,.08); }
.rush-hunter-stake-field button { min-width: 42px; padding: 0 8px; border: 0; border-left: 1px solid rgba(255,255,255,.07); background: #22242a; color: #c2c4cb; font: inherit; font-size: 9px; font-weight: 850; }
.rush-hunter-stake-field button:first-child { border-left: 0; }
.rush-hunter-stake-field button:disabled { color: #64666e; background: #1a1b1f; }
@media (max-width: 620px) {
  .rush-hunter-topbar > img { width: min(124px, 100%); }
  .rush-hunter-total strong { font-size: 17px; }
  .rush-hunter-market-head > div > strong { font-size: 24px; }
  .rush-hunter-market-foot { font-size: 9px; }
  .rush-hunter-run-head strong { font-size: 15px; }
  .rush-hunter-play-head strong { font-size: 14px; }
  .rush-hunter-countdown { font-size: 16px; }
  .rush-hunter-picks button { min-height: 48px; font-size: 13px; }
  .rush-hunter-picks button i { font-size: 18px; }
  .rush-hunter-lock { min-height: 46px; font-size: 13px; }
  .rush-hunter-sfx { width: 28px; height: 28px; }
  .rush-hunter-chart,.rush-hunter-chart-status { min-height: 166px; }
  .rush-hunter-chart svg { height: 172px; }
}

/* Zone Rush chart workspace: exchange-inspired price action and direct target controls. */
.rush-predictor-quote { min-width: 0; }
.rush-predictor-symbol { display: inline-flex !important; align-items: center; gap: 7px; color: #afb6c2 !important; }
.rush-predictor-symbol svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #929aa7; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-symbol > span { color: inherit !important; font: inherit; }
.rush-predictor-market { background: linear-gradient(145deg,#181e27 0%,#10141a 72%) !important; }
.rush-predictor-chart:not(.is-chart-expanded) { min-height: 216px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.rush-predictor-chart:not(.is-chart-expanded) svg { height: 216px; }
.rush-predictor-chart svg { touch-action: none; }
.rush-predictor-chart .grid { stroke: rgba(151,164,181,.14); stroke-dasharray: 2.2 5; }
.rush-predictor-chart .axis-label { fill: #828d9d; font-size: 8px; font-weight: 700; }
.rush-predictor-chart .price-line { stroke: #b873ff; stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: round; }
.rush-predictor-chart .price-area { opacity: .62; }
.rush-predictor-chart .candle-up { fill: #32cb8f; }
.rush-predictor-chart .candle-up-wick { stroke: #42dfa1; stroke-width: 1.35; }
.rush-predictor-chart .candle-down { fill: #f05d68; }
.rush-predictor-chart .candle-down-wick { stroke: #ff7780; stroke-width: 1.35; }
.rush-predictor-chart .current-price-line { stroke: rgba(232,236,243,.56); stroke-width: 1; stroke-dasharray: 2.5 4; }
.rush-predictor-chart .current-price-pulse { fill: rgba(196,107,255,.2); }
.rush-predictor-chart .current-price-dot { fill: #f2f5f8; stroke: #141a22; stroke-width: 1.5; }
.rush-predictor-chart .forecast-window { fill: rgba(255,255,255,.022); stroke: rgba(160,173,190,.22); stroke-dasharray: 4 5; }
.rush-predictor-chart .target-zone-group { cursor: grab; touch-action: none; }
.rush-predictor-chart .target-zone { fill: rgba(43,196,133,.27); stroke: none; }
.rush-predictor-chart[data-direction="down"] .target-zone { fill: rgba(238,89,102,.24); }
.rush-predictor-chart .target-edge { stroke: #51dfa1; stroke-width: 1.8; }
.rush-predictor-chart[data-direction="down"] .target-edge { stroke: #ff7780; }
.rush-predictor-chart .target-connector { fill: none; stroke: rgba(220,226,236,.65); stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.rush-predictor-chart .target-label { fill: #f2fff8; font-size: 9px; font-weight: 850; letter-spacing: .04em; text-anchor: middle; }
.rush-predictor-chart .target-drag-grip circle { fill: rgba(245,248,251,.94); pointer-events: none; }
.rush-predictor-chart .target-zone-resize { fill: rgba(255,255,255,.001); stroke: rgba(229,236,244,.85); stroke-width: 1.5; pointer-events: all; vector-effect: non-scaling-stroke; }
.rush-predictor-chart .target-zone-resize-high { cursor: ns-resize; }
.rush-predictor-chart .target-zone-resize-low { cursor: ns-resize; }
.rush-predictor-chart.is-zone-dragging .target-zone { filter: brightness(1.2); }
.rush-predictor-chart.is-zone-dragging .target-drag-grip circle { fill: #111820; }
.rush-predictor-chart.is-zone-high .target-zone-resize-high,
.rush-predictor-chart.is-zone-low .target-zone-resize-low { stroke: #fff; stroke-width: 2.4; }
.rush-predictor-chart-foot .rush-predictor-drag-hint { color: #c2cad5; font-size: 9px; font-weight: 800; }
.rush-predictor-chart-toggle,
.rush-predictor-chart-exit { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #465160; border-radius: 11px; background: #202733; color: #eef2f7; box-shadow: inset 0 1px rgba(255,255,255,.04); }
.rush-predictor-chart-toggle svg,
.rush-predictor-chart-exit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rush-predictor-chart-toggle:active,
.rush-predictor-chart-exit:active { transform: scale(.96); background: #2a3442; }
.rush-predictor-fullscreen-bar { display: none; }
body.rush-predictor-focus-open { overflow: hidden; }

.rush-predictor-dialog.is-chart-expanded[open] { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100dvh !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; border-radius: 0 !important; background: #0a0e13 !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-stage { display: flex !important; flex-direction: column; width: 100%; height: 100dvh; min-height: 0 !important; max-height: none !important; padding: max(14px,env(safe-area-inset-top,0px)) 12px max(14px,env(safe-area-inset-bottom,0px)) !important; overflow: hidden !important; background: #0a0e13 !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-topbar,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-heading,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-open,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-columns,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-history,
.rush-predictor-dialog.is-chart-expanded .rush-predictor-dock { display: none !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market { display: flex !important; flex: 1 1 auto; flex-direction: column; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden; border: 1px solid #303b49 !important; border-radius: 18px !important; background: linear-gradient(155deg,#151c26 0%,#0e1218 72%) !important; box-shadow: none !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-fullscreen-bar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 15px; border-bottom: 1px solid #2b3440; background: rgba(30,38,49,.75); }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-fullscreen-bar > div { display: grid; gap: 2px; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-fullscreen-bar span { color: #96a1b0; font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-fullscreen-bar strong { color: #f4f6f9; font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-exit { width: 42px; height: 42px; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head { display: flex !important; flex: 0 0 auto; align-items: end; justify-content: space-between; min-height: 88px; padding: 16px 16px 12px; border: 0 !important; background: transparent !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-quote { display: grid !important; gap: 5px; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head > div:first-child > strong { color: #fff; font-size: clamp(32px,8vw,44px); line-height: .95; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-market-tools { display: none !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart { flex: 1 1 auto; min-height: 0 !important; height: auto !important; margin: 0 8px !important; display: grid; place-items: center; overflow: hidden; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart svg { display: block; width: 100%; height: 100% !important; min-height: 0 !important; }
.rush-predictor-dialog.is-chart-expanded .rush-predictor-chart-foot { display: flex; flex: 0 0 auto; min-height: 48px; padding: 0 16px 14px; align-items: end; }
html.telegram-miniapp .rush-predictor-dialog.is-chart-expanded .rush-predictor-stage { padding-top: max(88px,calc(var(--ff-telegram-header-clearance,72px) + 14px),var(--ff-runtime-safe-top,0px)) !important; }
@media (max-width: 520px) {
  .rush-predictor-chart:not(.is-chart-expanded) { min-height: 205px; }
  .rush-predictor-chart:not(.is-chart-expanded) svg { height: 205px; }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-fullscreen-bar { min-height: 58px; padding: 0 12px; }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-market-head { min-height: 76px; padding: 13px 13px 9px; }
  .rush-predictor-dialog.is-chart-expanded .rush-predictor-chart { margin: 0 4px !important; }
}

/* Zone Rush live02: one usable touch workspace, with Telegram chrome clearance. */
html.telegram-miniapp .rush-predictor-dialog[open]:not(.is-chart-expanded) .rush-predictor-stage {
  padding-top: max(88px, calc(var(--ff-telegram-header-clearance, 72px) + 13px), var(--ff-runtime-safe-top, 0px)) !important;
  padding-bottom: max(22px, var(--ff-runtime-safe-bottom, 0px)) !important;
}
.rush-predictor-chart .target-zone-resize {
  fill: rgba(255,255,255,.035);
  stroke: rgba(239,245,251,.78);
  stroke-width: 2.2;
  stroke-dasharray: 3 2;
}
.rush-predictor-chart .target-zone-resize:active,
.rush-predictor-chart .target-zone-resize:hover { stroke: #fff; stroke-width: 3.2; }
.rush-predictor-chart .target-zone-group { -webkit-tap-highlight-color: transparent; }
.rush-predictor-chart .target-zone-group:active { cursor: grabbing; }
.rush-predictor-chart .target-drag-grip circle { fill: #f6f8fb; stroke: #1a2330; stroke-width: .55; }
.rush-predictor-chart.is-zone-dragging .target-connector { stroke: #fff; stroke-width: 1.7; }

/* This is a dedicated chart scene, not an enlarged copy of the setup form. */
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-stage {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  min-height: 0 !important;
  padding: max(14px, env(safe-area-inset-top, 0px)) 12px max(14px, env(safe-area-inset-bottom, 0px)) !important;
  overflow: hidden !important;
}
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-market {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #303b49 !important;
  border-radius: 18px !important;
  background: linear-gradient(155deg, #151c26 0%, #0e1218 72%) !important;
}
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-market-head {
  flex: 0 0 auto;
  min-height: 84px;
  padding: 15px 16px 10px;
}
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-chart {
  display: block;
  flex: 1 1 auto;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 8px !important;
  overflow: hidden;
}
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-chart svg {
  display: block;
  width: 100%;
  height: 100% !important;
}
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-chart-foot {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 16px 14px;
}
html.telegram-miniapp .rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-stage {
  padding-top: max(88px, calc(var(--ff-telegram-header-clearance, 72px) + 14px), var(--ff-runtime-safe-top, 0px)) !important;
}
