/* AI Robot Desk — fullscreen sci-fi shell (scoped) */

body.robot-shell {
  --rb-void: #04070d;
  --rb-panel: rgba(8, 16, 28, 0.82);
  --rb-panel-solid: #0a1422;
  --rb-line: rgba(0, 229, 195, 0.22);
  --rb-cyan: #00e5c3;
  --rb-cyan-dim: rgba(0, 229, 195, 0.45);
  --rb-amber: #ffc14a;
  --rb-rose: #ff5d7a;
  --rb-text: #e8f2ff;
  --rb-muted: #7f93ad;
  --rb-font: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rb-display: "Orbitron", "IBM Plex Sans", sans-serif;
  --rb-mono: "IBM Plex Mono", Consolas, monospace;

  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--rb-text);
  font-family: var(--rb-font);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(0, 229, 195, 0.12), transparent 55%),
    radial-gradient(700px 420px at 96% 0%, rgba(255, 193, 74, 0.08), transparent 50%),
    linear-gradient(180deg, #071018 0%, var(--rb-void) 48%, #050910 100%);
}

body.robot-shell .fx-grid,
body.robot-shell .fx-scan {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

body.robot-shell .fx-grid {
  background-image:
    linear-gradient(rgba(0, 229, 195, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 195, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  opacity: 0.7;
}

body.robot-shell .fx-scan {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 229, 195, 0.04) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: robot-scan 9s linear infinite;
  opacity: 0.55;
}

@keyframes robot-scan {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

@keyframes robot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 195, 0.35); opacity: 1; }
  50% { box-shadow: 0 0 0 6px rgba(0, 229, 195, 0); opacity: 0.75; }
}

@keyframes robot-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

body.robot-shell .robot-app {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

body.robot-shell .robot-topbar {
  flex: 0 0 auto;
  margin-bottom: 0;
  padding: 8px 12px;
  border: 1px solid var(--rb-line);
  background: linear-gradient(90deg, rgba(0, 229, 195, 0.08), rgba(8, 16, 28, 0.9) 40%, rgba(255, 193, 74, 0.06));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

body.robot-shell .robot-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, #1affd5, #067a68 70%);
  color: #031018;
  position: relative;
  overflow: hidden;
}

body.robot-shell .robot-brand-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #031018;
  box-shadow: 0 0 10px rgba(3, 16, 24, 0.6);
  animation: robot-pulse 2.4s ease-in-out infinite;
}

body.robot-shell .robot-brand .brand-text strong {
  font-family: var(--rb-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--rb-text);
}

body.robot-shell .robot-brand .brand-text span {
  color: var(--rb-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.robot-shell .robot-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.robot-shell .robot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.robot-shell .nav-link {
  border-color: rgba(0, 229, 195, 0.18);
  color: var(--rb-muted);
  background: rgba(4, 10, 18, 0.45);
}

body.robot-shell .nav-link:hover {
  color: var(--rb-cyan);
  border-color: var(--rb-cyan-dim);
}

body.robot-shell .nav-link-active {
  color: #031018;
  background: linear-gradient(135deg, var(--rb-cyan), #14b8a6);
  border-color: transparent;
  font-weight: 600;
}

body.robot-shell .robot-health {
  border-color: rgba(0, 229, 195, 0.35);
  background: rgba(0, 229, 195, 0.08);
  color: var(--rb-cyan);
  font-family: var(--rb-mono);
  font-size: 0.75rem;
}

body.robot-shell .robot-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  padding: 0;
}

body.robot-shell .robot-command {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--rb-line);
  background: var(--rb-panel);
  backdrop-filter: blur(8px);
}

body.robot-shell .robot-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

body.robot-shell .robot-version-fieldset {
  border: 1px solid rgba(0, 229, 195, 0.18);
  padding: 4px 10px;
  border-radius: 6px;
}

body.robot-shell .robot-version-fieldset legend {
  color: var(--rb-cyan);
  font-family: var(--rb-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

body.robot-shell .robot-version-option span {
  color: var(--rb-text);
}

body.robot-shell .robot-version-option input:checked + span {
  color: var(--rb-amber);
}

body.robot-shell .btn-primary {
  background: linear-gradient(135deg, var(--rb-amber), #d49416);
  color: #1a1200;
  border: none;
  box-shadow: 0 0 18px rgba(255, 193, 74, 0.25);
}

body.robot-shell .btn-secondary {
  background: rgba(0, 229, 195, 0.08);
  border: 1px solid rgba(0, 229, 195, 0.35);
  color: var(--rb-cyan);
}

body.robot-shell .btn-secondary:hover {
  background: rgba(0, 229, 195, 0.16);
}

body.robot-shell .robot-backfill-bar {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}

body.robot-shell .robot-backfill-bar .field span {
  color: var(--rb-muted);
  font-size: 0.72rem;
}

body.robot-shell .robot-backfill-bar input[type="date"] {
  background: #06101a;
  border: 1px solid rgba(0, 229, 195, 0.22);
  color: var(--rb-text);
}

body.robot-shell .robot-signal-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--rb-mono);
  font-size: 0.78rem;
}

body.robot-shell .robot-signal {
  color: var(--rb-muted);
}

body.robot-shell .robot-signal.ok,
body.robot-shell #sseInfo.ok,
body.robot-shell #liveMarkInfo.ok {
  color: var(--rb-cyan);
}

body.robot-shell .robot-signal.bad,
body.robot-shell #sseInfo.bad,
body.robot-shell #liveMarkInfo.bad,
body.robot-shell #pendingMeta.bad {
  color: var(--rb-rose);
}

body.robot-shell #errorBox {
  flex: 0 0 auto;
  margin: 0;
  z-index: 5;
  max-height: 4.5rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

body.robot-shell .status-pill.bad,
body.robot-shell .robot-health.bad {
  border-color: rgba(255, 93, 122, 0.45);
  color: #ff8a9a;
  background: rgba(255, 93, 122, 0.12);
}

body.robot-shell .robot-hud-strip {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
}

body.robot-shell .robot-date-card {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 195, 0.28);
  background:
    linear-gradient(180deg, rgba(0, 229, 195, 0.1), transparent 60%),
    var(--rb-panel);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

body.robot-shell .robot-clock-card .robot-date-value {
  font-variant-numeric: tabular-nums;
}

body.robot-shell .robot-date-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}

body.robot-shell .robot-date-label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--rb-muted);
}

body.robot-shell .robot-date-value {
  font-family: var(--rb-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

body.robot-shell .robot-return-card {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255, 193, 74, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 193, 74, 0.1), transparent 55%),
    var(--rb-panel);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 36px;
  font-size: 1rem;
  min-height: 100%;
  box-sizing: border-box;
}

body.robot-shell .robot-return-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  line-height: 1.2;
}

body.robot-shell .robot-return-text {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--rb-muted);
  line-height: 1.2;
}

body.robot-shell .robot-return-card strong {
  font-family: var(--rb-display);
  font-size: 1.35rem;
  color: var(--rb-text);
  line-height: 1.2;
}

body.robot-shell .robot-return-card strong.pct-up {
  color: var(--rb-rose);
}

body.robot-shell .robot-return-card strong.pct-down {
  color: var(--rb-cyan);
}

body.robot-shell .robot-stats-bar {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

body.robot-shell .robot-stat {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 8px 6px;
  border: 1px solid rgba(0, 229, 195, 0.16);
  background: rgba(6, 14, 24, 0.75);
  border-radius: 0;
}

body.robot-shell .robot-stat-label {
  color: var(--rb-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.robot-shell .robot-stat strong {
  font-family: var(--rb-mono);
  font-size: 0.82rem;
  color: var(--rb-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.robot-shell .robot-mode-banner {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 229, 195, 0.2);
  background: rgba(0, 229, 195, 0.06);
  color: var(--rb-cyan);
  font-family: var(--rb-mono);
  font-size: 0.78rem;
  line-height: 1.35;
  display: flex;
  align-items: center;
}

body.robot-shell .robot-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 8px;
  overflow: hidden;
}

body.robot-shell .robot-panel {
  min-height: 0;
  border: 1px solid var(--rb-line);
  background: var(--rb-panel);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

body.robot-shell .robot-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rb-cyan), transparent);
  opacity: 0.7;
  z-index: 1;
}

body.robot-shell .robot-side-rail {
  padding: 0;
  gap: 0;
}

body.robot-shell .robot-fold {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 0 0 auto;
  border-bottom: 1px solid rgba(0, 229, 195, 0.12);
}

body.robot-shell .robot-fold:last-child {
  border-bottom: 0;
}

body.robot-shell .robot-fold.is-open {
  flex: 0 0 auto;
  min-height: 0;
}

body.robot-shell .robot-fold.is-open:not(:last-child) {
  max-height: 40%;
  overflow: hidden;
}

body.robot-shell .robot-fold.is-open:last-child {
  flex: 1 1 0;
  min-height: 8rem;
}

body.robot-shell .robot-fold-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px 0 0;
  border-bottom: 1px solid transparent;
}

body.robot-shell .robot-fold.is-open > .robot-fold-head {
  border-bottom-color: rgba(0, 229, 195, 0.12);
}

body.robot-shell .robot-fold-toggle {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 8px 10px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

body.robot-shell .robot-fold-toggle:hover {
  background: rgba(0, 229, 195, 0.05);
}

body.robot-shell .robot-fold-chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--rb-cyan);
  border-bottom: 1.5px solid var(--rb-cyan);
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
  opacity: 0.85;
}

body.robot-shell .robot-fold.is-open .robot-fold-chevron {
  transform: rotate(45deg);
  margin-top: -2px;
}

body.robot-shell .robot-fold-titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.robot-shell .robot-fold-title {
  font-family: var(--rb-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--rb-text);
}

body.robot-shell .robot-fold-sub {
  color: var(--rb-muted);
  font-family: var(--rb-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.robot-shell .robot-live-dot {
  flex: 0 0 auto;
  font-family: var(--rb-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #031018;
  background: var(--rb-cyan);
  padding: 3px 7px;
  animation: robot-pulse 2s ease-in-out infinite;
}

body.robot-shell .robot-live-dot.is-stale {
  background: var(--rb-muted);
  color: #0b1220;
  animation: none;
}

body.robot-shell .robot-excel-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  padding: 0;
  border: 1px solid rgba(33, 163, 102, 0.45);
  background: rgba(29, 111, 66, 0.22);
  cursor: pointer;
  border-radius: 4px;
}

body.robot-shell .robot-excel-btn svg {
  display: block;
  width: 16px;
  height: 16px;
}

body.robot-shell .robot-excel-btn:hover:not(:disabled) {
  background: rgba(29, 111, 66, 0.42);
  border-color: #21a366;
}

body.robot-shell .robot-excel-btn:focus-visible {
  outline: 2px solid #21a366;
  outline-offset: 2px;
}

body.robot-shell .robot-excel-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

body.robot-shell .robot-fold-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.robot-shell .robot-fold-body[hidden] {
  display: none !important;
}

body.robot-shell .robot-pool-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.robot-shell .robot-pool-empty {
  color: var(--rb-muted);
  font-size: 0.85rem;
  padding: 18px 8px;
  text-align: center;
}

body.robot-shell .robot-pool-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 229, 195, 0.14);
  background: linear-gradient(120deg, rgba(0, 229, 195, 0.06), rgba(8, 16, 28, 0.4));
  animation: robot-fade-up 0.35s ease both;
}

body.robot-shell .robot-pool-card:nth-child(odd) {
  border-color: rgba(255, 193, 74, 0.14);
}

body.robot-shell .robot-pool-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.robot-shell .robot-pool-code {
  font-family: var(--rb-mono);
  font-size: 0.78rem;
  color: var(--rb-muted);
}

body.robot-shell .robot-pool-price {
  font-family: var(--rb-mono);
  font-size: 0.92rem;
  color: var(--rb-amber);
  text-align: right;
}

body.robot-shell .robot-pool-score {
  font-family: var(--rb-mono);
  font-size: 0.72rem;
  color: var(--rb-cyan);
  text-align: right;
}

body.robot-shell .robot-center {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

body.robot-shell .robot-charts {
  flex: 1 1 auto;
  min-height: 180px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
}

body.robot-shell .robot-chart-panel {
  min-height: 0;
  margin: 0;
  padding: 8px 10px 6px;
  border: 1px solid var(--rb-line);
  background: var(--rb-panel);
  border-radius: 0;
}

body.robot-shell .robot-chart-panel .side-title {
  margin: 0 0 6px;
  font-family: var(--rb-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--rb-muted);
}

body.robot-shell .robot-chart {
  height: calc(100% - 22px);
  min-height: 140px;
}

body.robot-shell .robot-holding-strip {
  flex: 0 0 auto;
  margin: 0;
  min-height: 44px;
  border: 1px solid rgba(255, 193, 74, 0.18);
  background: rgba(8, 16, 28, 0.75);
  border-radius: 0;
}

body.robot-shell .robot-holding-chip {
  border-radius: 4px;
  border-color: rgba(0, 229, 195, 0.2);
  background: rgba(0, 229, 195, 0.06);
}

body.robot-blur-holdings #holdingTable tbody tr:not(.empty-row) > td:nth-child(1),
body.robot-blur-holdings #holdingTable tbody tr:not(.empty-row) > td:nth-child(2),
body.robot-blur-holdings .robot-holding-chip-name,
body.robot-blur-holdings .robot-holding-chip-code,
body.robot-blur-holdings .js-holding-id {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
}

body.robot-shell .robot-timeline {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(0, 229, 195, 0.16);
  background: rgba(6, 14, 24, 0.8);
}

body.robot-shell .timeline-controls {
  gap: 10px;
  margin-bottom: 0;
}

body.robot-shell .timeline-track {
  padding-top: 1.2rem;
  padding-right: 4.25rem;
}

body.robot-shell .timeline-date {
  font-family: var(--rb-mono);
  color: var(--rb-cyan);
  font-size: 0.85rem;
  font-weight: 600;
}

body.robot-shell .timeline-slider {
  accent-color: var(--rb-amber);
}

body.robot-shell .robot-meta-line {
  flex: 0 0 auto;
  margin: 0;
  color: var(--rb-muted);
  font-size: 0.78rem;
}

body.robot-shell .robot-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  margin: 0 8px 8px;
  border: 1px solid rgba(0, 229, 195, 0.12);
}

body.robot-shell .data-table th {
  position: sticky;
  top: 0;
  background: #0c1a2a;
  color: var(--rb-muted);
  font-size: 0.68rem;
  z-index: 1;
  white-space: nowrap;
}

body.robot-shell .data-table td {
  font-size: 0.76rem;
  white-space: nowrap;
}

body.robot-shell .overlay {
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(4px);
}

body.robot-shell .overlay p {
  font-family: var(--rb-mono);
  color: var(--rb-cyan);
}

body.robot-soft-refreshing .robot-charts {
  outline: 1px solid rgba(0, 229, 195, 0.35);
}

@media (max-width: 1280px) {
  body.robot-shell {
    overflow: auto;
  }

  body.robot-shell .robot-app {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  body.robot-shell .robot-main,
  body.robot-shell .robot-workspace {
    overflow: visible;
  }

  body.robot-shell .robot-hud-strip {
    flex-wrap: nowrap;
  }

  body.robot-shell .robot-stats-bar {
    flex: 1 1 0;
    flex-wrap: nowrap;
  }

  body.robot-shell .robot-workspace {
    grid-template-columns: 1fr;
  }

  body.robot-shell .robot-side-rail {
    max-height: none;
  }

  body.robot-shell .robot-fold.is-open:not(:last-child) {
    max-height: 320px;
  }

  body.robot-shell .robot-fold.is-open:last-child {
    min-height: 12rem;
  }

  body.robot-shell .robot-charts {
    min-height: 280px;
  }
}

body.robot-shell .robot-float-hud {
  position: fixed;
  z-index: 40;
  left: 36%;
  top: 34%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
  margin: 0;
  padding: 0.15em 0.2em;
  border: 0;
  background: transparent;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  line-height: 0.95;
  white-space: nowrap;
  pointer-events: auto;
}

body.robot-shell .robot-float-hud.is-dragging {
  cursor: grabbing;
}

body.robot-shell .robot-float-hud-date,
body.robot-shell .robot-float-hud-return {
  font-family: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(4, 7, 13, 0.28);
}

body.robot-shell .robot-float-hud-date {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  color: rgba(168, 214, 255, 0.58);
}

body.robot-shell .robot-float-hud-return {
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  color: rgba(255, 154, 176, 0.62);
}

body.robot-shell .robot-float-hud-return.pct-up {
  color: rgba(255, 154, 176, 0.62);
}

body.robot-shell .robot-float-hud-return.pct-down {
  color: rgba(0, 229, 195, 0.55);
}

body.robot-shell.robot-display .robot-app {
  padding-top: 12px;
}

body.robot-shell.robot-display .robot-main {
  gap: 10px;
}

@media (max-width: 720px) {
  body.robot-shell .robot-float-hud-date {
    font-size: clamp(1.6rem, 8vw, 2.6rem);
  }

  body.robot-shell .robot-float-hud-return {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  body.robot-shell .robot-charts {
    grid-template-columns: 1fr;
  }

  body.robot-shell .robot-stats-bar {
    flex-wrap: wrap;
  }

  body.robot-shell .robot-stat {
    flex: 1 1 calc(50% - 6px);
  }

  body.robot-shell .robot-app {
    padding: 8px;
  }
}
