
/* =========================================================
   TIMELINE · MAIN PANEL / INNER SHELL
   ========================================================= */

.mp-tl-main-col{
  flex: 1 1 0%;
  min-width: 0;
  padding: 2px 0;
  position: relative;
}

.mp-tl-main-col-full{
  width: 100%;
}

.mp-tl-inner{
  position: relative;
  width: 100%;
  padding: 10px 14px 12px 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8,16,20,.86) 0%, rgba(6,12,16,.80) 100%);
  border: 1px solid rgba(255,255,255,.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 0 0 1px rgba(0,0,0,.08);
  box-sizing: border-box;
  overflow: visible;
}

.mp-tl-inner::before{
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120,255,210,.18),
    transparent
  );
  pointer-events: none;
}

.mp-tl-track{
  position: relative;
  width: 100%;
  margin-top: 4px;
  overflow: visible;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      to right,
      rgba(110,255,210,.03) 0px,
      rgba(110,255,210,.03) 1px,
      transparent 1px,
      transparent 6.666%
    );
}

.mp-tl-inner > div:first-child{
  margin-bottom: 10px;
}

/* =========================================================
   TIMELINE · HOURS AXIS
   ========================================================= */

.mp-tl-hours-axis{
  position: relative;
  width: 100%;
  height: 28px;
  margin-bottom: 10px;
  padding: 4px 10px 0 10px;
  border: 1px solid rgba(130,255,210,.08);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(12,28,32,.72), rgba(8,18,22,.60));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 2px 10px rgba(0,0,0,.16);
}

.mp-tl-hour-major,
.mp-tl-hour-minor{
  position: absolute;
  top: 5px;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}

.mp-tl-hour-major{
  color: #d8ffea;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  text-shadow:
    0 1px 0 rgba(0,0,0,.35),
    0 0 8px rgba(120,255,210,.08);
}

.mp-tl-hour-minor{
  color: rgba(210,235,230,.26);
  font-size: 11px;
  font-weight: 700;
}

/* =========================================================
   TIMELINE · NO HOUR
   ========================================================= */

.mp-tl-nohour-title{
  color: #b6ffd0;
  font-weight: bold;
  font-size: 14px;
  margin: 10px 0 6px 2px;
  letter-spacing: .3px;
}

.mp-tl-nohour-band{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(182,255,208,.05), rgba(182,255,208,.03));
  border: 1px solid rgba(182,255,208,.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow:
    0 1px 7px 0 #000a,
    inset 0 1px 0 rgba(255,255,255,.025);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px){
  .mp-tl-top-header{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 8px;
  }

  .mp-tlstats-panel-top{
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0;
  }

  .mp-tlstat-card{
    min-width: 122px;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 12px;
  }

  .mp-tlstat-total-num{
    font-size: .95rem;
  }

  .mp-tlstat-total-label{
    font-size: .70rem;
  }

  .mp-tlstat-badge{
    min-width: 24px;
    height: 21px;
    font-size: 11px;
    padding: 0 7px;
  }

  .mp-tl-inner{
    padding: 9px 10px 10px 10px;
    border-radius: 12px;
  }

  .mp-tl-inner::before{
    left: 10px;
    right: 10px;
  }

  .mp-tl-track{
    border-radius: 10px;
  }

  .mp-tl-hours-axis{
    height: 24px;
    margin-bottom: 8px;
    padding: 3px 8px 0 8px;
    border-radius: 9px;
  }

  .mp-tl-hour-major,
  .mp-tl-hour-minor{
    top: 4px;
  }

  .mp-tl-hour-major{
    font-size: 12px;
  }

  .mp-tl-hour-minor{
    font-size: 10px;
  }
}