/* Futures shares the Perpetuals shell; only synthetic-market exceptions live here. */
body.ref-synthetic .trick .swiper-slide:nth-child(3),
body.ref-synthetic .trick .swiper-slide:nth-child(n+7):nth-child(-n+9),
body.ref-synthetic #tab-funding,
body.ref-synthetic .ref-volume-chart,
body.ref-synthetic .ref-volume-separator,
body.ref-synthetic .order-type-tab:not(:first-child) {
  display: none !important;
}
body.ref-synthetic .ref-chart-main {
  grid-template-rows: minmax(0, 1fr) !important;
}
body.ref-synthetic .ref-price-chart {
  height: 100%;
}
body.ref-synthetic .ref-chart-footer {
  border-top: 1px solid #222527;
}
body.ref-synthetic .TickFavorite .ref-futures-account-switch {
  position: relative;
  order: 2;
  margin-inline-start: auto;
  flex: none;
}
body.ref-synthetic .TickFavorite .ref-futures-account-switch .demo-futures-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 118px;
  justify-content: center;
  margin: 0 !important;
  white-space: nowrap;
}
body.ref-synthetic .TickFavorite .ref-futures-account-switch .demo-futures-btn span {
  font-size: 18px;
  line-height: 12px;
}
body.ref-synthetic .ref-futures-account-menu {
  position: fixed;
  z-index: 10020;
  width: 254px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(32,34,37,.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(0,0,0,.36);
}
body.ref-synthetic .ref-futures-account-menu[hidden] { display: none; }
body.ref-synthetic .ref-futures-account-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f5f6f7;
  text-align: left;
  font: 600 13px/18px Onest,sans-serif;
  cursor: pointer;
}
body.ref-synthetic .ref-futures-account-menu button:hover,
body.ref-synthetic .ref-futures-account-menu button.is-active { background: rgba(255,255,255,.10); }
body.ref-synthetic .ref-futures-account-menu small {
  display: block;
  margin-top: 3px;
  color: #aab0b5;
  font: 400 11px/15px Onest,sans-serif;
}
