@import url("https://storage.googleapis.com/leaderboard-frontend-prod-prod-co/fonts/sfpro/css/font.css");

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar,
*::-webkit-scrollbar-button {
  display: none;
}

.fithub {
  max-width: 912px;
  margin-left: auto;
  margin-right: auto;
  font-family: "SF Pro Text", sans-serif;
}

.fithub .filter-button {
  color: #c75300 !important;
  position: absolute;
  right: 0;
  top: 0.2rem;
}

.fithub .avatar-circle {
  background-color: #e8e8e8;
  text-align: center;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  width: 45px;
  height: 45px;
  position: relative;
}

.fithub .initials {
  font-size: 18px;
  color: #292929;
  font-weight: 400;
  line-height: initial;
  text-align: center;
  position: absolute;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.fithub .header {
  text-align: center;
  text-shadow: none;
}

.fithub .header .title {
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  letter-spacing: -0.48px;
  color: #212121;
  padding-top: 6px;
}

.fithub .header .pr-title {
  margin-left: 0 !important;
}

.fithub .my-ranking {
  text-align: center;
  background: white;
  padding: 10px 16px;
  margin: 0;
  border-radius: 0 0 10px 10px;
  position: relative;
}

.fithub .my-ranking .label {
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  /* identical to box height, or 131% */
  text-align: center;
  letter-spacing: -0.32px;
  color: #212121;
}

.fithub .machine-slider {
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #676767 0%, #333333 100%);
  border-radius: 12px;
}

.fithub .machine-slider .machine-image {
  max-width: 100%;
  width: 100%;
}

.fithub .machine-slider h2 {
  text-shadow: 1px 1px 2px #000;
  width: 100%;
  margin-bottom: 0;
  position: absolute;
  left: 0;
  bottom: 24px;
  z-index: 1;
  text-align: center;
  color: #fff;
  font-family: "SF Pro Text-Bold", sans-serif;
}

.fithub .slick-slide img {
  margin: auto;
}

.fithub .scroll-btn-wrapper {
  position: fixed;
  bottom: 50px;
  left: 0;
  right: 0;
  text-align: center;
}

.fithub .scroll-btn-wrapper .scroll-btn {
  font-size: 16px;
  line-height: 21px;
  color: #fff;
  display: inline-block;
  background: #000;
  border-radius: 8px;
  text-decoration: none;
  padding: 6px 14px;
}

.fithub .ms-75 {
  margin-left: 0.75rem !important;
}

.fithub .my-ranking .my-ranking-avatar-card {
  text-align: center;
}

.fithub .my-ranking .my-ranking-avatar-card img {
  width: 60px;
  height: 60px;
  border-radius: 100%;
}

.fithub .ranking-list {
  padding-right: 0;
}

.fithub .ranking-list .ranking-list-item {
  line-height: 21px;
    padding: 13px 20px 13px 8px;
    border: 0;
}

.fithub .ranking-list .ranking-list-item + .ranking-list-item {
  border-top: 1px solid #f4f4f4;
}

.fithub .ranking-list .rank-name {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
}

.fithub .ranking-list .ranking-item-order {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  text-align: center;
  line-height: 32px;
  font-size: 14px;
}

.fithub .ranking-list .ranking-item-order.ranking_1,
.fithub .ranking-list .ranking-item-order.ranking_2,
.fithub .ranking-list .ranking-item-order.ranking_3 {
  font-weight: 700;
  color: white;
}

.fithub .ranking-list .ranking-item-avatar {
  border-radius: 100%;
  overflow: hidden;
  margin-left: 6px;
}

.fithub .progress--gray {
  height: 0.25rem;
  margin-top: 1rem;
  margin-left: 7%;
  margin-right: 7%;
}

.fithub .progress--gray .progress--gray-bar {
  background-color: #000;
}

.fithub .sn-carousel .slick-dots {
  display: flex !important;
  bottom: 0;
  left: calc(6% + 5px);
  right: calc(6% + 5px);
  width: auto;
}

.fithub .sn-carousel .slick-initialized .slick-slide {
  padding: 0 5px;
}

.fithub .sn-carousel .slick-dots {
  background: #e5e5e5;
}

.fithub .sn-carousel .slick-dots li {
  flex: 1 1 auto;
  width: auto;
  height: auto;
  margin: 0 !important;
}

.fithub .sn-carousel .slick-dots li button {
  padding: 0;
  width: auto;
  height: 2px;
}

.fithub .sn-carousel .slick-dots li button:before {
  display: none;
}

.fithub .sn-carousel .slick-dots li.slick-active {
  background: #000;
}

.fithub .spinner {
  text-align: center;
  position: fixed;
  top: 45%;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.fithub .spinner-border {
  width: 3rem;
  height: 3rem;
}

.fithub .modal-title {
  margin-left: 40%;
  font-weight: 700 !important;
}

.fithub .modal-body .accordion-body {
  padding: 1px 0;
}

.fithub .modal-body .accordion-item {
  margin-top: 10px;
}

.fithub .filter-modal .modal-body {
  background: #f4f4f4;
  -webkit-overflow-scrolling: touch;
}

.fithub .filter-modal .accordion-item {
  box-shadow: 0px 4px 6px rgba(223, 223, 223, 0.7);
  border-radius: 8px;
  overflow: hidden;
}

.fithub .filter-modal .list-group-item {
  color: #292929;
  border: none;
  position: relative;
  padding-right: 32px;
}

.fithub .filter-modal .list-group-item.active {
  background: white;
}

.fithub .filter-modal .list-group-item.active:after {
  content: "";
  position: absolute;
  right: 16px;
  display: block;
  border: 2px solid #333;
  border-radius: 2px;
  overflow: hidden;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  width: 18px;
  height: 9px;
  top: 50%;
  margin-top: -7px;
}

.fithub .filter-modal .accordion-button {
  font-family: "SF Pro Display", sans-serif;
  padding-left: 16px;
  padding-right: 16px;
}

.fithub .filter-modal .accordion-button:not(.collapsed) {
  color: #292929;
  background: white;
}

.fithub .filter-modal .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23757575%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e");
}

.fithub .filter-modal .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23757575%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e");
}

.fithub .filter-modal .accordion-item {
  border: 0;
}

.fithub .accordion-button {
  font-size: 4.33rem; /* same as .fithub .ranking-list .rank-name */
}

.fithub .filter-modal .accordion-item .accordion-header .accordion-button {
  padding-left: 40px;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: left 15px center;
}

.fithub .filter-modal .modal-footer {
  position: sticky;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 99;
  padding-bottom: 32px;
  background: white;
}

.fithub .filter-modal .modal-footer .btn {
  font-size: 4rem;
  background: #292929;
  border-radius: 8px;
  border: 0;
}

.fithub .filter-modal .modal-footer .btn:disabled {
  opacity: 1;
}

.fithub .sn_results {
  position: relative;
  margin-top: 11px;
}

.fithub .myPosition {
  background: #cfcaca;
}

.fithub .my-ranking > .row {
  align-items: center;
  margin: 0;
}

.subheader {
  font-size: 16px;
  line-height: 21px;
  letter-spacing: -0.32px;
}

.fithub .ranking-list .ranking-item-name {
  letter-spacing: -0.3px;
  color: #4c4a4a;
}

.fithub .ranking-list .ranking-item-strength {
  letter-spacing: -0.32px;
  color: #212121;
  font-weight: 700;
}

.fithub .filter-modal .accordion-button {
  line-height: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.fithub .filter-modal .list-group-item {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 4.33rem; /* same as .fithub .ranking-list .rank-name */
}

.btn:focus {
  box-shadow: none;
}

.fithub .header .dropdown-toggle:after {
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c75300'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1rem;
  border: 0;
  vertical-align: bottom;
  display: none;
}

.fithub .scroll-btn-wrapper .scroll-btn,
.fithub .filter-modal .modal-footer .btn {
  font-family: "SF Pro Text-Medium", sans-serif;
}

.fithub .filter-modal .accordion-button,
.fithub .ranking-list .ranking-item-strength,
.fithub .ranking-list .ranking-item-order {
  font-family: "SF Pro Text-Bold", sans-serif;
}

.modal-splash {
  background-color: #fffffff5;
}

.icon-eye-slash {
  width: 6em;
  height: 6em;
  background: #ebebeb;
  border-radius: 100%;
  padding: 1.4em;
  display: block;
  margin: 1em auto;
}

.consent-message {
  text-align: center;
  margin: 1rem;
}

.fithub .my-ranking .hidden-header {
  color: #ac818159;
  font-weight: 700;
}

.privacy-mode {
  scrollbar-width: none;
}

.fithub .ranking-reset-days {
  text-align: center;
  color: #000;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  margin-top: -7px;
}

.fithub .machine-slider {
  overflow: hidden;
}

.fithub .my-ranking-slider-panel {
  padding: 0 2px 2px 2px;
  position: relative;
}

.fithub .my-ranking-avatar-card .default-avatar {
  margin-left: auto;
  margin-right: auto;
  width: 60px;
  height: 60px;
}

.fithub .my-ranking .row > .col {
  padding: 0;
}

.fithub .my-ranking .fore-2 {
  width: 70px;
  flex: 0 0 70px;
  padding: 0;
  position: relative;
}

.fithub .machine-slider-image {
  position: relative;
}

.fithub .my-ranking-slider-panel > .my-ranking-avatar-card {
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translate(-50%, -30%);
}

.fithub .my-ranking .header {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.019em;
  color: #292929;
  font-weight: bold;
  margin: 0;
}

.fithub .my-ranking .normal-text {
  line-height: 1.36em;
  letter-spacing: 0.007em;
  color: #5c5c5c;
  font-size: 14px;
}

.fithub .my-ranking .initials {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fithub .my-ranking .my-ranking-btn-wrapper {
  margin-top: 20px;
}

.fithub .my-ranking .my-ranking-btn-wrapper .btn {
  font-size: 14px;
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 19px;
  border-radius: 8px;
  width: 100%;
  padding: 6.5px 13px;
}

.fithub .btn-show-join {
  color: #fff;
  background: #d15b05;
}

.fithub .btn-show-details {
  color: #c75300;
  background: #f5f5f5;
}

.fithub .btn-orange {
  color: #fff;
  background: #d15b05;
}

.modal-private-message {
  padding-bottom: 60px;
}

.modal-private-message .modal-btn-wrapper {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.5);
  border-top: 1px solid #ebebeb;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1;
  left: 0;
  right: 0;
}

.fithub .my-ranking-avatar-card .avatar-circle {
  background-color: #e8e8e8 !important;
}

.fithub .truncate {
  white-space: nowrap;
  text-overflow: ellipsis;
}

.slick-active .machine-triangle {
  position: absolute;
  z-index: 1;
  right: 2px;
  top: 2px;
  width: 0;
  height: 0;
  display: block;
  border: 34px solid transparent;
  border-top-color: #68ce70;
  border-right-color: #68ce70;
  border-top-right-radius: 10px;
}

.fithub .slick-slider {
  padding-bottom: 5px;
}

@media (min-width: 912px) {
  html {
    font-size: 0.83333vw;
  }

  .fithub {
    max-width: 100%;
  }

  body {
    font-size: 2.1rem;
    background-color: #333;
  }

  .my-ranking-slider-panel {
    padding: 0 4px 4px 4px;
  }

  .fithub {
    /*css for modals*/
  }

  .fithub .top-headline {
    color: white;
    font-size: 7.1rem;
    line-height: 1.06em;
    letter-spacing: 0.001em;
    font-weight: 700;
    margin-bottom: 0.5em;
    margin-top: 0.2em;
  }

  .fithub .sn-carousel .slick-dots li button {
    height: 4px;
  }

  .fithub .header {
    margin: 3.5rem auto;
  }

  .fithub .ranking-reset-days {
    color: #fff;
    opacity: 0.6;
  }

  .fithub .sn-carousel .slick-dots {
    background-color: #474747;
  }

  .fithub .header .title {
    font-size: 4.33rem;
    line-height: 1.2em;
    color: #fff;
    margin-left: 0;
    margin-bottom: 0.21em;
    margin-top: 0;
  }

  .fithub .ranking-reset-days {
    font-size: 2.67rem;
  }

  .fithub .machine-slider h2 {
    text-shadow: 1px 1px 2px #000;
    font-size: 7.13rem;
    bottom: 4.67rem;
    margin-bottom: 0;
  }

  .fithub .my-ranking {
    padding: 2.7rem 3rem;
  }

  .fithub .my-ranking .header {
    font-size: 4.33rem;
    line-height: 1.2;
  }

  .fithub .my-ranking .normal-text {
    font-size: 3.56rem;
    line-height: 1.2;
  }

  .fithub .my-ranking .fore-2 {
    width: 15.61rem;
    flex: 0 0 15.61rem;
  }

  .fithub .my-ranking-avatar-card .avatar-circle {
    width: 15.61rem;
    height: 15.61rem;
  }

  .fithub .ranking-list {
    padding-left: 10rem;
    padding-right: 10rem;
  }

  .fithub .ranking-list .ranking-item-order {
    font-size: 3.56rem;
    line-height: 7.1rem;
    width: 7.1rem;
    height: 7.1rem;
  }

  .fithub .ranking-list .ranking-list-item {
    font-size: 4.33rem;
    line-height: initial;
    padding: 3.56rem 2.45rem;
    background: #333;
  }

  .fithub .ranking-list .ranking-list-item + .ranking-list-item {
    border-top-color: #474747;
  }

  .fithub .ranking-list .ranking-item-strength {
    color: #fff;
    letter-spacing: 0.003em;
  }

  .fithub .ranking-list .ranking-item-name {
    color: #fff;
    opacity: 0.6;
    letter-spacing: 0.003em;
    margin-left: 3vw !important;
  }

  .fithub .ranking-list .ranking-item-avatar {
    margin-left: 2.5vw;
  }

  .fithub .ranking-list .rank-name {
    font-size: 4.33rem;
  }

  .fithub .avatar-circle {
    width: 7.5vw;
    height: 7.5vw;
  }

  .fithub .ranking-list .ranking-item-avatar .initials {
    font-size: 4rem;
  }

  .fithub .default-avatar .initials {
    font-size: 5.5rem;
  }

  .fithub .scroll-btn-wrapper .scroll-btn {
    font-size: 3.8rem;
    line-height: 1.3125;
    padding: 0.28125em 2.05em;
    letter-spacing: -0.00625em;
  }

  .fithub .my-ranking-btn-wrapper .btn {
    font-size: 3.56rem;
    line-height: 1.2;
    padding: 0.27em 0.54em;
  }

  .fithub .icon-eye-slash {
    width: 13.1rem;
    height: 13.1rem;
    padding: 0rem;
    background: transparent;
    margin: 6.55rem auto 2.9rem auto;
  }

  .fithub .consent-message {
    margin: 1rem 11.1rem;
  }

  .fithub .consent-message h4 {
    font-size: 7.1rem;
    line-height: 1.0625em;
    margin-bottom: 0.63em;
  }

  .fithub .consent-message p {
    font-size: 2.67rem;
    line-height: 1.46em;
    margin-bottom: 6.68rem;
  }

  .fithub .modal-private-message {
    background: #474747;
    padding-bottom: 18rem;
    color: white;
  }

  .fithub .modal-private-message .consent-message .btn {
    background: #c75300;
    border-color: #c75300;
    border-radius: 120px;
    font-size: 2.8rem;
    line-height: 1.3125em;
    color: rgba(255, 255, 255, 0.9);
    padding: 1.08em 1.73em;
  }

  .fithub .filter-button {
    color: #ff8f3d !important;
    font-size: 2.78rem;
    top: 1rem;
  }

  .fithub .filter-arrow {
    color: #ff8f3d;
  }

  .fithub .ranking-list .ranking-item-order {
    color: white;
  }

  .fithub .sn-carousel .slick-initialized .slick-slide {
    padding: 0 1.8rem;
  }

  .slick-active .machine-triangle {
    right: 0.75vw;
    top: 0.75vw;
    border-width: 7vw;
  }

  .slick-active .machine-triangle:after {
    background-size: 3vw;
    width: 6vw;
    height: 4vw;
    right: -6vw;
    top: -4.4vw;
  }

  .fithub .sn-carousel .slick-dots {
    left: calc(6% + 1.8rem);
    right: calc(6% + 1.8rem);
  }

  .fithub .sn_results {
    margin-top: 2.1rem;
  }

  .fithub .slick-slider {
    padding-bottom: 3.5rem;
  }
}
