
/* NAV-COMMAND-RAIL-V1 */

/*
 * DeathRun Command Rail
 *
 * One continuous navigation system.
 * No pills.
 * No wedges.
 * No checkpoint lines.
 * No numbers.
 * No decorative side markers.
 */

.tabs{
  gap:7px !important;
}


/* ======================================================
   RESET OLD TAB DECORATION
   ====================================================== */

.tabs > .tab::before,
.tabs > .tab::after{
  content:none !important;
  display:none !important;
}


/* ======================================================
   BASE MODULE
   ====================================================== */

.tabs > .tab{
  position:relative;

  margin:0 !important;
  padding:10px 17px !important;

  clip-path:none !important;

  border:
    1px solid transparent !important;

  border-radius:
    4px !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  color:
    #74828c !important;

  font-family:
    'Inter',
    system-ui,
    sans-serif !important;

  font-size:
    11px !important;

  font-weight:
    600 !important;

  letter-spacing:
    .018em !important;

  text-transform:
    none !important;

  text-shadow:
    none !important;

  transition:
    color .16s ease,
    background .16s ease,
    border-color .16s ease,
    box-shadow .16s ease !important;
}


/* ======================================================
   HOVER
   Barely visible glass surface.
   ====================================================== */

.tabs > .tab:hover{
  color:
    #c5d0d6 !important;

  border-color:
    rgba(255,255,255,.040) !important;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.024),
      rgba(255,255,255,.009)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.022) !important;
}


/* ======================================================
   ACTIVE COMMAND MODULE
   ====================================================== */

.tabs > .tab.active{
  color:
    #e7f2f4 !important;

  border-color:
    rgba(0,229,255,.095) !important;

  background:
    linear-gradient(
      180deg,
      rgba(18,31,36,.76) 0%,
      rgba(10,23,28,.58) 100%
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(0,229,255,.42),
    inset 0 2px 0 rgba(0,229,255,.055),
    inset 0 -1px 0 rgba(255,255,255,.018),
    0 4px 14px rgba(0,0,0,.10) !important;

  text-shadow:
    0 0 12px rgba(0,229,255,.055) !important;
}


/*
 * The cyan line is the TOP EDGE of the complete surface,
 * not a decorative line floating inside the button.
 */
.tabs > .tab.active{
  border-top-color:
    rgba(0,229,255,.27) !important;
}


/* ======================================================
   RUNPEDIA
   Same component, restrained yellow identity.
   ====================================================== */

.tabs > .tab[onclick*="'runpedia'"]{
  color:
    #a08a50 !important;
}

.tabs > .tab[onclick*="'runpedia'"]:hover{
  color:
    #d3bd72 !important;

  border-color:
    rgba(211,160,18,.045) !important;

  background:
    linear-gradient(
      180deg,
      rgba(211,160,18,.020),
      rgba(211,160,18,.007)
    ) !important;
}

.tabs > .tab[onclick*="'runpedia'"].active{
  color:
    #ecd37f !important;

  border-color:
    rgba(211,160,18,.090) !important;

  border-top-color:
    rgba(211,160,18,.30) !important;

  background:
    linear-gradient(
      180deg,
      rgba(40,34,18,.68),
      rgba(27,24,14,.50)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(211,160,18,.36),
    inset 0 2px 0 rgba(211,160,18,.045),
    inset 0 -1px 0 rgba(255,255,255,.016),
    0 4px 14px rgba(0,0,0,.08) !important;

  text-shadow:
    0 0 12px rgba(211,160,18,.045) !important;
}


/* ======================================================
   MOBILE
   ====================================================== */

@media(max-width:800px){
  .tabs{
    gap:4px !important;
  }

  .tabs > .tab{
    padding:
      9px 13px !important;
  }
}

@media(max-width:480px){
  .tabs{
    gap:2px !important;
  }

  .tabs > .tab{
    padding:
      9px 10px !important;

    font-size:
      10px !important;
  }
}

