/* Zone Rush live03: dedicated exchange-like chart workspace. */
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-quote { min-width: 0; }
.rush-predictor-symbol { display: inline-flex !important; align-items: center; gap: 7px; color: #aeb7c4 !important; }
.rush-predictor-symbol svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: #a7afba; 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 { touch-action: none; -webkit-tap-highlight-color: transparent; }
.rush-predictor-chart svg { touch-action: none; }
.zrl-grid { stroke: rgba(152, 170, 190, .15); stroke-dasharray: 2 6; }
.zrl-axis { fill: #788596; font-size: 8px; font-weight: 750; text-anchor: end; }
.zrl-forecast { fill: rgba(255,255,255,.026); stroke: rgba(163, 179, 200, .28); stroke-dasharray: 5 5; }
.zrl-wick { stroke-width: 1.45; }
.zrl-wick.is-up { stroke: #48dca1; }
.zrl-wick.is-down { stroke: #fa7782; }
.zrl-candle.is-up { fill: #31ca8e; }
.zrl-candle.is-down { fill: #ef5f6d; }
.zrl-line { fill: none; stroke: #bd72ff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.zrl-area { fill: url(#zrl-fill); }
.zrl-current { stroke: rgba(237,242,248,.56); stroke-width: 1; stroke-dasharray: 3 5; }
.zrl-now { stroke: rgba(177,191,208,.37); stroke-width: 1; stroke-dasharray: 4 6; }
.zrl-price-pulse { fill: rgba(190, 110, 255, .2); }
.zrl-price-dot { fill: #f8fafc; stroke: #111821; stroke-width: 1.5; }
.zrl-time { fill: #9ba7b7; font-size: 8px; font-weight: 820; text-anchor: middle; }
.zrl-time:first-of-type { text-anchor: start; }
.zrl-target-fill { fill: rgba(45, 203, 138, .28); }
.zrl-target.is-down .zrl-target-fill { fill: rgba(237, 87, 102, .27); }
.zrl-edge { stroke: #55e0a3; stroke-width: 1.9; vector-effect: non-scaling-stroke; }
.zrl-target.is-down .zrl-edge { stroke: #ff7a84; }
.zrl-connector { fill: none; stroke: rgba(236, 242, 248, .74); stroke-width: 1.25; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.zrl-target-label { fill: #f4fff9; font-size: 9px; font-weight: 900; letter-spacing: .045em; text-anchor: middle; }
.zrl-grip rect { fill: #172330; stroke: rgba(247, 250, 255, .86); stroke-width: 1.3; }
.zrl-grip circle { fill: #f6f8fb; }
.zrl-hit { fill: rgba(255,255,255,.001); pointer-events: all; }
.zrl-hit-move { cursor: grab; }
.zrl-hit-edge { cursor: ns-resize; }
.rush-predictor-chart.zrl-dragging .zrl-target-fill { filter: brightness(1.18); }
.rush-predictor-chart.zrl-dragging .zrl-connector { stroke: #fff; stroke-width: 1.8; }
.rush-predictor-chart.zrl-top .zrl-edge:first-of-type,
.rush-predictor-chart.zrl-bottom .zrl-edge:last-of-type { stroke: #fff; stroke-width: 3; }
.rush-predictor-chart-foot .rush-predictor-drag-hint { color: #c4cdd9; font-size: 9px; font-weight: 820; }
.rush-predictor-fullscreen-bar { display: none; }
.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; }

/* Fullscreen is a focused chart screen. Setup, wallet and ticket are not stretched into it. */
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[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;
  background: #0a0e13 !important;
}
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-topbar,
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-heading,
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-open,
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-columns,
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-history,
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-dock { display: none !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-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[open] .rush-predictor-fullscreen-bar > div { display: grid; gap: 2px; }
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-fullscreen-bar span { color: #96a1b0; font-size: 10px; font-weight: 850; letter-spacing: .11em; }
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-fullscreen-bar strong { color: #f4f6f9; font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-market-head {
  flex: 0 0 auto;
  min-height: 84px;
  padding: 15px 16px 10px;
  border: 0 !important;
  background: transparent !important;
}
.rush-predictor-dialog.is-chart-expanded[open] .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[open] .rush-predictor-market-tools { display: none !important; }
.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;
}
@media (max-width: 520px) {
  .rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-fullscreen-bar { min-height: 58px; padding-inline: 12px; }
  .rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-market-head { min-height: 76px; padding: 13px 13px 9px; }
  .rush-predictor-dialog.is-chart-expanded[open] .rush-predictor-chart { margin: 0 4px !important; }
}
