  #promoSlider {
    touch-action: pan-y;
  }

  .promo-slider {
    position: relative;
    max-width: 980px;
    margin: 20px auto 30px auto;
    background: #F0F0F0;
    overflow: hidden;

    .promo-track {
      display: flex;
      gap: 20px;
      transition: transform .45s ease;

      .promo-slide {
        position: relative;
        flex: 0 0 80%;
        aspect-ratio: 21/8;
        border-radius: 14px;
        overflow: hidden;

        .promo-link,
        .promo-img {
          display: block;
          width: 100%;
          height: 100%;

          .promo-img {
            object-fit: cover;
            object-position: center;
          }
        }

        .promo-badge {
          position: absolute;
          bottom: 7px;
          right: 7px;
          padding: 8px 16px;
          border-radius: 999px;
          border: 1px solid rgba(255, 255, 255, .25);
          background: rgba(50, 50, 50, .8);
          color: #fff;
          font-size: calc(2vw + 2px);
          z-index: 4;
          cursor: pointer;
        }
      }
    }
  }

  .news-slider {
    margin: 20px 0;
    touch-action: pan-y;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);

    .news-track {
      display: flex;
      gap: 20px;
      transition: transform .45s ease;

      .news-slide {
        position: relative;
        flex: 0 0 80%;
        aspect-ratio: 8 / 8;
        border-radius: 14px;
        border: 2px solid #33D469;
        overflow: hidden;

        .news-card {
          position: relative;
          height: 100%;

          .news-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }

          .news-text {
            position: absolute;
            z-index: 2;
            bottom: 0;
            color: #f0f0f0;
            max-width: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            padding: 1vw 2vw;


            .news-title {
              font-size: 3vw;
              margin-bottom: 2vw;
            }

            .news-preview {
              font-weight: 300;
              font-size: 3vw;
            }
          }
        }
      }
    }
  }

  .news-modal {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10;

    .news-modal-backdrop {
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2);
    }

    .news-modal-card {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 80vw;
      transform: translate(-50%, -50%);
      border-radius: 10px;
      padding: 8vw 4vw;
      background-color: #fff;
      box-shadow: 0 10px 21px 0 rgba(0, 0, 0, 0.1), 0 39px 39px 0 rgba(0, 0, 0, 0.09), 0 87px 52px 0 rgba(0, 0, 0, 0.05), 0 154px 62px 0 rgba(0, 0, 0, 0.01), 0 241px 67px 0 rgba(0, 0, 0, 0);

      .news-modal-img {
        width: 100%;
        border: 2px solid #33D469;
        border-radius: 10px;
      }

      .news-modal-close {
        position: absolute;
        right: 2vw;
        top: 2vw;
        background: none;
        border: none;
      }

      .news-modal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;


        .news-modal-title {
          font-size: 4vw;
        }

        .news-modal-tg {
          border-radius: 100%;
          box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.09), 0 11px 4px 0 rgba(0, 0, 0, 0.01), 0 17px 5px 0 rgba(0, 0, 0, 0);
          padding: 4px;

          img {
            width: 24px;
            height: 24px;
          }
        }
      }

      .news-modal-body {
        margin-top: 10px;
        max-height: 40vh;
        overflow-y: auto;
        font-size: 3vw;
      }
    }
  }

  .container {
    padding: 0 20px;
    min-height: calc(100vh - 100px);
    box-sizing: border-box;

    .workouts {
      .workouts-title {
        font-weight: 800;
        font-size: 5vw;
        text-align: center;
        margin: 0 0 10px 0;
      }

      .workout-list {
        list-style: none;
        margin: 0;
        padding: 6px 0 6px 32px;
        position: relative;
        display: grid;
        gap: 12px;

        .workout-item {
          position: relative;

          &:not(:first-child):not(:last-child)::before {
            content: '';
            position: absolute;
            left: -21px;
            height: 100%;
            border: 1px dashed #9e9e9e;
          }

          &:first-child::before {
            content: '';
            position: absolute;
            left: -21px;
            top: 50%;
            height: 42px;
            border: 1px dashed #9e9e9e;
          }

          &:last-child::before {
            content: '';
            position: absolute;
            left: -21px;
            top: -12px;
            height: 42px;
            border: 1px dashed #9e9e9e;
          }

          .tl-dot {
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgb(240, 240, 240);
            box-shadow: 0 0 0 1.2px #9e9e9e inset, 0 1px 2px rgba(0, 0, 0, .06);

            &::before {
              content: '';
              position: absolute;
              left: 50%;
              transform: translate(-50%, -50%);
              top: 50%;
              width: 4px;
              height: 4px;
              border-radius: 50%;
              background: #9e9e9e;
              box-shadow: 0 0 0 2px #9e9e9e inset, 0 1px 2px rgba(0, 0, 0, .06);
            }
          }

          .workout-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 10px;
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 6px 22px rgba(0, 0, 0, .08);
            text-decoration: none;
            color: #111;
          }

          .workout-card:active {
            transform: translateY(1px);
          }

          .wc-icon {
            width: 34px;
            height: 34px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            flex: 0 0 34px;

            svg {
              width: 22px;
              height: 22px;
              fill: #28c76f;
            }
          }

          .wc-title {
            font-size: calc(2vw + 5px);
            font-weight: 400;
            letter-spacing: .2px;
            flex: 1;
          }

          .wc-edit {
            width: 40px;
            height: 40px;
            border: none;
            background: transparent;
            border-radius: 12px;
            cursor: pointer;
            display: grid;
            place-items: center;

            svg {
              width: 22px;
              height: 22px;
              fill: #28c76f;
            }
          }
        }
      }
    }

    .base-btn.green {
      margin: 20px auto;
    }
  }

  .promo-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, visibility .24s ease;
    z-index: 1000;

    .promo-modal-card {
      position: relative;
      width: min(92vw, 340px);
      background: #fff;
      color: #111;
      border-radius: 18px;
      padding: 14px 14px 16px;
      box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
      top: 17vh;
      transform: translateY(-10px) scale(.98);
      opacity: 0;
      transition: transform 1s cubic-bezier(.22, .61, .36, 1),
        opacity .28s ease;
    }
  }

  .promo-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    .promo-modal-card {
      background: #fff;
      transform: translateY(0) scale(1);
      opacity: 1;

      .promo-modal-close {
        position: absolute;
        top: 6px;
        right: 8px;
        width: 28px;
        height: 28px;
        border: none;
        border-radius: 10px;
        background: transparent;
        font-size: 20px;
        cursor: pointer;
      }

      .promo-modal-title {
        margin: 6px 0 10px;
        font-size: calc(4vw - 2px);
        font-weight: 400;
      }

      .promo-modal-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 8px;

        li {
          font-size: calc(4vw - 4px);
        }
      }
    }
  }

  .body-modal {
    overflow: hidden;
  }

  .cal {
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 12px;

    .cal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 80%;
      margin: 0 auto;

      .cal-nav {
        width: 56px;
        height: 30px;
        border-radius: 12px;
        border: none;
        background: transparent;
        cursor: pointer;

        img {
          width: 100%;
          height: 100%;
        }
      }

      &:active {
        transform: translateY(1px);
      }

      .cal-title {
        font-size: calc(3vw + 2px);
        text-align: center;
      }
    }

    .cal-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
      margin: 18px 0 26px 0;

      span {
        font-size: 12px;
        color: #77808a;
        text-align: center;
      }
    }

    .cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      align-items: center;
      justify-items: center;
      gap: 6px;
      padding: 0 4px 8px;

      .cal-day {
        position: relative;
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        border: none;
        background-color: transparent;
        font-weight: 600;
        color: #4a5660;

        &:is(.is-prev, .is-next) {
          color: #b6bec7;
          cursor: default;
        }

        .cal-dots {
          position: absolute;
          left: 50%;
          bottom: 2px;
          transform: translateX(-50%);
          display: flex;
          gap: 2px;
          align-items: center;
          justify-content: center;
        }

        .cal-dot {
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background: #33D469;
        }
      }

      .cal-day-today {
        width: 32px;
        height: 32px;
        background: linear-gradient(137deg, #6df27d 0%, #15b980 100%);
        color: #fff;
        border-radius: 50%;

        .cal-dots {
          bottom: -3px;
        }

        .cal-dot {
          border-radius: 50%;
          width: 8px;
          height: 8px;
          border: 1px solid #fff;
        }
      }

      .cal-day-selected {
        background: #28c76f;
        color: #fff;
      }
    }
  }


  .fb-dark {
    .app {
      background: #262626;
      color: #F0F0F0;

      .topbar {
        background: #262626;
      }

      .page {
        .container {
          .promo-modal {
            .promo-modal-card {
              background: #323232;
              color: #F0F0F0;
            }
          }

          .workouts {
            .workout-list {
              .workout-item {
                .workout-card {
                  background: #323232;
                  color: #F0F0F0;
                }

                .tl-dot {
                  background-color: #262626;
                }
              }
            }
          }

          .cal {
            background: #323232;

            .cal-grid {
              .cal-day:not(.is-prev) {
                color: #F0F0F0;
              }
            }
          }
        }
      }
    }
  }

  /*Саня новый css*/
  .main-sheet {
    position: relative;
    margin: 0 -20px;
    padding: 16px 20px 100px;
    background: #f8f8f8;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, .06),
      0 12px 30px rgba(0, 0, 0, .06);
  }

  .container>.main-sheet:first-child {
    margin-top: 8px;
  }

  .workouts .workouts-title {
    margin: 6px 0 10px 0;
  }

  .fb-dark .main-sheet {
    background: #323232;
    box-shadow: 0 -2px 18px rgba(0, 0, 0, .35),
      0 10px 24px rgba(0, 0, 0, .35);
  }

  .fb-dark .main-sheet::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
  }

  .subscription-block {
    position: relative;
    overflow: hidden;
    margin: 24px auto;
    background-color: #44dc76;
    color: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    transition: transform .15s ease, box-shadow .15s ease;
  }

  .subscription-block::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 40%;
    transform: translateX(-120%) skewX(-20deg);
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.28) 45%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0.28) 55%,
        rgba(255, 255, 255, 0) 100%);
    filter: blur(2px);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    will-change: transform, opacity;
    animation: shine 4s ease-out 2s infinite;
  }

  .sub-inner {
    position: relative;
    z-index: 2;

    img {
      position: absolute;
      top: -40px;
      right: -30px;
      z-index: 3;
    }
  }

  @keyframes shine {
    0% {
      transform: translateX(-120%) skewX(-20deg);
      opacity: 0;
    }

    10% {
      opacity: 1;
    }

    100% {
      transform: translateX(220%) skewX(-20deg);
      opacity: 0;
    }
  }

  .sub-left .sub-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
  }

  .sub-left .sub-desc {
    font-size: 14px;
    opacity: .9;
    margin: 0;
  }

  .sub-right {
    text-align: right;
    position: relative;
  }

  .sub-price {
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
  }

  .sub-price span {
    font-size: 13px;
    font-weight: 500;
    opacity: .9;
  }

  .sub-hit {
    position: absolute;
    top: -60px;
    right: 0;
    font-size: 10px;
    border-radius: 8px;
    text-transform: uppercase;
  }

  .workout-card.is-empty {
    pointer-events: none;
    opacity: .6;
  }

  .wc-date {
    margin-left: auto;
    font-size: calc(2vw + 4px);
  }

  .news-track {
    display: flex;
  }

  .news-img {
    width: 100%;
    height: 100%;
  }

  .ref-close {
    top: 32px;
    position: absolute;
    right: 10px;
    border: 0;
    outline: none;
    background: transparent;
    color: #60e78d;
  }

  .ref-block {
    margin-top: 32px;

    .ref-title {
      font-size: 5vw;
      line-height: 1.2;
      text-align: center;
      font-weight: 700;
      margin: 0 0 16px;
    }

    .ref-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;

      .ref-card {
        color: #282828;
        border: none;
        outline: none;
        cursor: pointer;
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
        padding: 20px 16px;
        min-height: 110px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        justify-content: center;
        transition: transform 0.15s ease, box-shadow 0.15s ease;

        img {
          width: 10vw;
        }

        .ref-card-title {
          font-size: 3vw;
          font-weight: 600;
        }
      }

      .ref-card-wide {
        grid-column: 1 / -1;
      }

      .ref-card:active {
        transform: translateY(2px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
      }

      .ref-card-disabled {
        opacity: 0.5;
        cursor: default;
      }
    }
  }

  .ref-sheet .sheet-head {
    display: flex;
    flex-direction: column;
    align-items: center;

    .sheet-title {
      max-width: 80%;
    }
  }

  .ref-sheet .sheet-body {
    padding-bottom: 24px;
  }

  .ref-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-bottom: calc(30vw + env(safe-area-inset-bottom)) !important;
    overflow: auto;

    /* Firefox */
    scrollbar-width: none;

    /* Chrome, Safari */
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .ref-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .ref-row {
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    border-radius: 16px;
    padding: 14px 16px;
    background: #f6f6f6;
    color: #282828;
    font-size: 15px;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .ref-row-ex .ref-row-title {
    font-weight: 600;
  }

  .ref-row-desc {
    font-size: 13px;
    color: #757575;
  }

  .ref-loading,
  .ref-error,
  .ref-empty {
    font-size: 14px;
    color: #757575;
    padding: 16px 4px;
  }

  .ref-error {
    color: #e53935;
  }

  .ref-detail {
    margin-top: 4px;
  }

  .ref-photo-wrap {
    margin-bottom: 12px;
  }

  .ref-photo {
    display: block;
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
  }

  .ref-section {
    margin-bottom: 12px;
  }

  .ref-section-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
  }

  .ref-text {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
  }

  .ref-list-bullets {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
  }

  .ref-list-bullets li+li {
    margin-top: 4px;
  }

  .ref-list-danger li {
    color: #e53935;
  }

  .ref-text-small {
    font-size: 13px;
    color: #757575;
    margin: 0;
  }

  .ref-alt-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ref-alt-btn {
    border-radius: 999px;
    padding: 6px 12px;
    border: none;
    background: #eeeeee;
    font-size: 13px;
  }

  .coach-slider {
    margin-top: 2vw;

    .coach-title {
      text-align: center;
      font-size: 5vw;
      font-weight: 700;
      margin-bottom: 3vw;
    }

    .coach-track {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
      padding-bottom: 6px;

      .coach-slide {
        flex: 0 0 auto;
        scroll-snap-align: start;

        .coach-card {
          display: block;
          border-radius: 18px;
          overflow: hidden;
          position: relative;
          background: #fff;
          text-decoration: none;

          .coach-img {
            width: 100%;
            height: 190px;
            object-fit: cover;
            display: block;
          }

          .coach-name {
            font-size: 4vw;
            font-weight: 700;
            text-align: center;
            padding: 2vw 1vw;
            color: #282828;
          }

          .coach-like {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 34px;
            height: 34px;
            border-radius: 999px;
            border: 2px solid rgba(255, 255, 255, .9);
            background: rgba(0, 0, 0, .20);
            color: rgba(255, 255, 255, .95);
            display: grid;
            place-items: center;
            cursor: pointer;
          }

          .coach-like .like-ico {
            width: 18px;
            height: 18px;
            display: block;
            background: #EB4545;
            -webkit-mask: url("/static/coach/icons/like.svg") no-repeat center / contain;
            mask: url("/static/coach/icons/like.svg") no-repeat center / contain;
          }

          .coach-like.is-liked .like-ico {
            background: #fff;
          }

          .coach-like.is-liked {
            background: #ff0000;
          }
        }
      }
    }
  }