:root {
  --skew-h: 120px;          /* высота скоса */
  --skew-overlap: calc(var(--skew-h) * -1); /* отрицательный отступ */
}

@media (max-width: 933px) {
  :root {
    --skew-h: 60px;
  }
  
  #rec1498107161 .t396__artboard,
  #rec1498107161 .t396__filter,
  #rec1498107161 .t396__carrier {
    max-height: 400px;
  }
}

.link_underline {
    text-decoration: underline !important;
}

/* Общие стили для секций со скосами */
.uc-head,
.uc-tatiana,
.uc-tatiana-mobile,
.uc-empty1,
.uc-artem-mobile,
.uc-artem,
.uc-team,
.uc-facts,
.uc-teachers-up,
.uc-teachers-middle,
.uc-teachers-down,
.uc-musicians,
.uc-program,
.uc-battle,
.uc-registration,
.uc-dance {
  margin-bottom: var(--skew-overlap);
  position: relative;
}

/* Секции со скосом справа */
.uc-head,
.uc-empty1,
.uc-facts,
.uc-teachers-up,
.uc-musicians,
.uc-battle,
.uc-dance {
  clip-path: polygon(
    0 0, 
    100% 0,
    100% calc(100% - var(--skew-h)),
    0 100%
  );
}

/* Секции со скосом слева */
.uc-tatiana,
.uc-artem,
.uc-tatiana-mobile,
.uc-artem-mobile,
.uc-team,
.uc-teachers-middle,
.uc-teachers-down,
.uc-program,
.uc-registration {
  clip-path: polygon(
    0 0, 
    100% 0,
    100% 100%,
    0 calc(100% - var(--skew-h))
  );
}

/* Z-index для наложения секций */
.uc-head { z-index: 100; }
.uc-tatiana-mobile { z-index: 99; }
.uc-tatiana { z-index: 98; }
.uc-empty1 { z-index: 97; }
.uc-artem-mobile { z-index: 96; }
.uc-artem { z-index: 95; }
.uc-team { z-index: 94; }
.uc-facts { z-index: 93; }
.uc-teachers-up { z-index: 92; }
.uc-teachers-middle { z-index: 91; }
.uc-teachers-down { z-index: 90; }
.uc-musicians { z-index: 89; }
.uc-program { z-index: 88; }
.uc-battle { z-index: 87; }
.uc-registration { z-index: 86; }
.uc-dance { z-index: 85; }

/* Видео */
.video {
  filter: grayscale(100%) !important;
}

/* Стили для преподавателей */
.teacher_desc {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.tn-molecule > div .tn-molecule > .black .tn-molecule:hover .tn-atom__img,
.tn-molecule > div .tn-molecule > .white .tn-molecule:hover .tn-atom__img {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.tn-molecule > div .tn-molecule > .black .tn-molecule:hover div div {
  color: #264391 !important;
  transition: color 0.3s ease !important;
}

.tn-molecule > div .tn-molecule > .black .tn-molecule:hover .teacher_desc,
.tn-molecule > div .tn-molecule > .white .tn-molecule:hover .teacher_desc {
  opacity: 100 !important;
  transition: opacity 0.3s ease !important;
}

.tn-molecule > div .tn-molecule > .white .tn-molecule:hover {
  background-color: #264391 !important;
  transition: background-color 0.3s ease !important;
}

.tn-molecule > div .tn-molecule > .white .teacher .tn-atom {
  background-color: #264391 !important;
  transition: background-color 0.3s ease !important;
} 

.tn-molecule > div .tn-molecule > .white .tn-molecule:hover div {
  color: #DEDEDE !important;
  transition: color 0.3s ease !important;
}

/* Карта */
.mapbox {
  clip-path: polygon(0 0, 100% 60px, 100% 100%, 0 100%);
}

.mapboxgl-control-container {
  display: none !important;
}

.mapboxgl-ctrl-top-right {
  right: 50px;
}

/* Закомментированные стили для .m1, .m2, .m3, .m4 */
/* .m1, .m2, .m3, .m4{
  width: 202px;
  position: relative;
  
  margin-bottom: 5px !important;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.m1 .div, .m2 .div, .m3 .div, .m4 .div{
  position: absolute;
  inset: 0;
}

.m1 img, .m2 img, .m3 img, .m4 img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.m1{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20274%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20254.5V0L201.5%2022V273.5L0%20254.5Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20274%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20254.5V0L201.5%2022V273.5L0%20254.5Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
}

.m2{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20293%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20268.5L0%2018L201.5%200V292.5L0%20268.5Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20293%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20268.5L0%2018L201.5%200V292.5L0%20268.5Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
}

.m3{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20265%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20264.5V0L201.5%2014.5V235.5L0%20264.5Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20265%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20264.5V0L201.5%2014.5V235.5L0%20264.5Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
}

.m4{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20291%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20271V39L201.5%200V290.5L0%20271Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20202%20291%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%20271V39L201.5%200V290.5L0%20271Z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
} */

.mb5 img {
    margin-bottom: 5px;
}

/* Аудиоплеер */
.audio-player {
  width: 100%;
  height: 28px;
  border: 1.5px solid var(--uc-color-color-Pkh12Y4Yckr);
  border-radius: 5px;
  background: transparent;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 13px;
}

.play {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  position: relative;
  flex: 1;
  height: 16px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  display: flex;
  align-items: center;
}

.track {
  width: 100%;
  height: 2px;
  background: var(--uc-color-color-Pkh12Y4Yckr);
  border-radius: 999px;
}

.thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 10px;
  height: 10px;
  background: var(--uc-color-color-Pkh12Y4Yckr);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* Русская форма регистрации */
.uc-ru-reg .t-form__inputsbox > div:nth-of-type(1) { 
  margin-bottom: 47px !important;
}

.uc-ru-reg .t-input {
  text-transform: uppercase;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(2) { 
  margin-bottom: 44px !important;
}

.uc-ru-reg .t-input-phonemask__select-flag,
.uc-ru-reg .t-input-phonemask__select-triangle {
  display: none !important;
}

.uc-ru-reg .t-input-phonemask__options-code,
.uc-ru-reg .t-input-phonemask__select-code {
  margin: 0 !important;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(3) {
  margin-bottom: 55px !important;
}

.uc-ru-reg .t-radio__wrapper span {
  font-size: 13px;
  font-family: TikTokSans;
  font-weight: 600;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(4) {
  position: absolute;
  left: 15px;
  bottom: -40px;
}

.uc-ru-reg .t-radio__indicator {
  border: 2px solid var(--uc-color-color-vclPF2QZ);
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 10px;
  margin-right: 4px;
  opacity: 1;
  position: relative;
  transition: all .2s;
  vertical-align: middle;
  width: 10px;
}

.uc-ru-reg .t-radio__indicator:after {
  background: var(--uc-color-color-vclPF2QZ);
  left: -5px;
  right: -5px;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(5) { 
  position: absolute;
  left: 230px;
  bottom: -40px;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(6) { 
  position: absolute;
  left: 15px;
  bottom: -168px;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(7) { 
  position: absolute;
  margin-bottom: 20px;
  right: -483px;
  top: 20px;
}

.uc-ru-reg .t-form__inputsbox > div:nth-of-type(8) {
  position: absolute;
  margin-bottom: 20px;
  right: -483px;
  top: 245px;
}

.uc-ru-reg .t-form .js-error-control-box .t-checkbox__control,
.uc-ru-reg .t-form .js-error-control-box .t-checkboxes__wrapper,
.uc-ru-reg .t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer),
.uc-ru-reg .t-form .js-error-control-box .t-radio__wrapper,
.uc-ru-reg .t-form .js-error-control-box .t-rate__wrapper,
.uc-ru-reg .t-form .js-error-control-box .t-select,
.uc-ru-reg .t-form .js-error-control-box .uploadcare-widget {
  border: none !important;
}

.uc-ru-reg .t-radio__wrapper::before {
  border: none !important;
}

.uc-ru-reg .tn-form__submit {
  position: absolute;
  left: 500px;
  width: 460px;
  height: 160px;
  top: 350px;
}

.uc-ru-reg .t-submit {
  padding: none !important;
  height: 100% !important;
  width: 100% !important;
}

.uc-ru-reg .js-successbox {
  background: transparent;
  display: block;
  position: absolute;
  top: 520px;
  right: -530px;
  color: var(--uc-color-color-vclPF2QZ);
}

/* Английская форма регистрации */
.uc-eng-reg .t-form__inputsbox > div:nth-of-type(1) { 
  margin-bottom: 47px !important;
}

.uc-eng-reg .t-input {
  text-transform: uppercase;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(2) { 
  margin-bottom: 44px !important;
}

.uc-eng-reg .t-input-phonemask__select-flag,
.uc-eng-reg .t-input-phonemask__select-triangle {
  display: none !important;
}

.uc-eng-reg .t-input-phonemask__options-code,
.uc-eng-reg .t-input-phonemask__select-code {
  margin: 0 !important;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(3) {
  margin-bottom: 55px !important;
}

.uc-eng-reg .t-radio__wrapper span {
  font-size: 13px;
  font-family: TikTokSans;
  font-weight: 600;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(4) {
  position: absolute;
  left: 15px;
  bottom: -135px;
}

.uc-eng-reg .t-radio__indicator {
  border: 2px solid var(--uc-color-color-vclPF2QZ);
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  height: 10px;
  margin-right: 4px;
  opacity: 1;
  position: relative;
  transition: all .2s;
  vertical-align: middle;
  width: 10px;
}

.uc-eng-reg .t-radio__indicator:after {
  background: var(--uc-color-color-vclPF2QZ);
  left: -5px;
  right: -5px;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(5) { 
  position: absolute;
  left: 495px;
  bottom: 20px;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(6) { 
  position: absolute;
  left: 480px;
  bottom: 204px;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(7) { 
  position: absolute;
  margin-bottom: 20px;
  right: 0px;
  top: 286px;
}

.uc-eng-reg .t-form__inputsbox > div:nth-of-type(8) {
  position: absolute;
  margin-bottom: 20px;
  right: -483px;
  top: 245px;
}

.uc-eng-reg .t-form .js-error-control-box .t-checkbox__control,
.uc-eng-reg .t-form .js-error-control-box .t-checkboxes__wrapper,
.uc-eng-reg .t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer),
.uc-eng-reg .t-form .js-error-control-box .t-radio__wrapper,
.uc-eng-reg .t-form .js-error-control-box .t-rate__wrapper,
.uc-eng-reg .t-form .js-error-control-box .t-select,
.uc-eng-reg .t-form .js-error-control-box .uploadcare-widget {
  border: none !important;
}

.uc-eng-reg .t-radio__wrapper::before {
  border: none !important;
}

.uc-eng-reg .tn-form__submit {
  position: absolute;
  left: 500px;
  width: 460px;
  height: 160px;
  top: 350px;
}

.uc-eng-reg .t-submit {
  padding: none !important;
  height: 100% !important;
  width: 100% !important;
}

.uc-eng-reg .js-successbox {
  background: transparent;
  display: block;
  position: absolute;
  top: 500px;
  right: -530px;
  color: var(--uc-color-color-vclPF2QZ);
}

/* Мобильная версия форм */
@media (max-width: 933px) {
  .t-popup__bg {
    background-color: var(--uc-color-color-oJo5C, #d43120) !important;
  }
  
  /* Русская форма на мобильных */
  .uc-ru-reg .t-form__inputsbox > div:nth-of-type(1) {
    margin-bottom: 46px !important;
  }
  
  .uc-ru-reg .t-form__inputsbox > div:nth-of-type(4) {
    bottom: -70px;
  }
  
  .uc-ru-reg .t-form__inputsbox > div:nth-of-type(5) {
    left: 165px;
    bottom: -70px;
  }
  
  .uc-ru-reg .t-form__inputsbox > div:nth-of-type(6) {
    bottom: -225px;
  }
  
  .uc-ru-reg .t-form__inputsbox > div:nth-of-type(7) {
    top: 558px;
    right: 0px;
  }
  
  .uc-ru-reg .t-form__inputsbox > div:nth-of-type(8) {
    right: 0px;
    top: 760px;
  }
  
  .uc-ru-reg .tn-form__submit {
    height: 110px;
    top: 860px;
    left: 0px;
  }
  
  /* Английская форма на мобильных */
  .uc-eng-reg .t-form__inputsbox > div:nth-of-type(4) {
    bottom: -190px;
  }
  
  .uc-eng-reg .t-form__inputsbox > div:nth-of-type(5) {
    left: 15px;
    bottom: -480px;
  }
  
  .uc-eng-reg .t-form__inputsbox > div:nth-of-type(6) {
    left: 0px;
    bottom: -300px;
  }
  
  .uc-eng-reg .tn-form__submit {
    left: 0px;
    width: 320px;
    height: 160px;
    top: 810px;
  }
}