/* MAIN GRID: CALL | STRIKE | PUT */
.chain-container {
  display: grid;
  grid-template-columns: 40% 20% 40%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  /* background: radial-gradient(circle at top, #131c33 0, #050913 55%); */
  max-height: 93vh;
  overflow-y: auto;
}

/* SLIDER SHARED STYLES */
.slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  margin-top: 53px;
}

.slider::-webkit-scrollbar {
  display: none;
}

/* EACH PANE = ONE METRIC (LTP / OI / IV etc) */
.pane {
  scroll-snap-align: center;
  min-width: 100%; /* ~10% preview on both sides */
  background: rgba(10, 16, 30, 0.95);
  padding: 0px 1px 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

/* header row inside pane */
.metric-title {
  margin: 0 0 0px;
  padding: 10px 0px;
  font-size: 14px;
  font-weight: 600;
  color: #aab4c9;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chain-container .itm {
  background: #111825;
}
.chain-container .otm {
  border-right: 1px solid #8080801f;
}
/* rows in pane */
.pane p {
  margin: 0;
  padding: 9px 4px;
  font-size: 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* CALL / PUT COLORING */
.slider-left .pane p {
  color: #5ee38a;
}
.slider-right .pane p {
  color: #ff6b6b;
}

/* STRIKE COLUMN */
.strike-fixed {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0px 0 18px;
  z-index: 1;
  margin-top: 42px;
  background: #111825;
  border-left: 1px solid #80808038;
  border-right: 1px solid #80808038;
}

.strike-fixed .metric-title {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 11px;
}

.strike-fixed p {
  margin: 0;
  padding: 9px 2px;
  text-align: center;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #f7f8fd;
}

/* TAP FEEDBACK (FOR MOBILE) */
.pane p:active,
.strike-fixed p:active {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0.98);
}

/* FADE HINTS LEFT & RIGHT */
.chain-container::before,
.chain-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 35px;
  height: 100%;
  pointer-events: none;
}
.chain-container::before {
  left: 0;
  background: linear-gradient(to right, #05091336, transparent);
  backdrop-filter: blur(10px);
}
.chain-container::after {
  right: 0;
  /* background: linear-gradient(to right, #05091336, transparent); */
  /* backdrop-filter: blur(10px); */
}

/* SWIPE HINT TEXT */
.swipe-hint {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #c4ccda;
  background: rgba(7, 11, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  animation: hintSlide 1.7s ease-in-out infinite;
  z-index: 1000;
}
.css-lfofpRTT {
  display: flex;
  position: fixed;
  width: 100%;
  justify-content: space-around;
  height: 50px;
  align-items: center;
  overflow: hidden;
  z-index: 1000;
  background: #111825;
  border-bottom: 1px solid #808080e3;
  border-top: 1px solid #80808036;
}
.pane_1_pe {
  min-width: 75%;
}
@keyframes hintSlide {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  70% {
    opacity: 1;
    transform: translate(-45%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-55%, 0);
  }
}
