html, body { background-color: #141414 !important; }
#rec4760645701 .t940__card { padding-bottom: 45% !important; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
#rec4760645701 .t940__container_indent { padding: 0 80px !important; }
@media screen and (max-width: 960px) {
  #rec4760645701 .t940__card { padding-bottom: 70% !important; }
  #rec4760645701 .t940__container_indent { padding: 0 30px !important; }
}
@media screen and (max-width: 640px) {
  #rec4760645701 .t940__card { padding-bottom: 95% !important; }
  #rec4760645701 .t940__container_indent { padding: 0 16px !important; }
}
#rec4746281401 { padding-left: 80px !important; padding-right: 80px !important; box-sizing: border-box; }
#rec4746281401 .t-cover { border-radius: 20px !important; overflow: hidden; }
@media screen and (max-width: 960px) {
  #rec4746281401 { padding-left: 30px !important; padding-right: 30px !important; }
}
@media screen and (max-width: 640px) {
  #rec4746281401 { padding-left: 16px !important; padding-right: 16px !important; }
}
#rec4799362301 .t940__card { padding-bottom: 80% !important; }
@media screen and (max-width: 960px) {
  #rec4799362301 .t940__card { padding-bottom: 90% !important; }
}
@media screen and (max-width: 640px) {
  #rec4799362301 .t940__card { padding-bottom: 100% !important; }
}
#rec4746283401 .t-section__title { margin-bottom: 25px !important; }
#rec4746283201 .t-section__title { margin-bottom: 25px !important; }
#rec4746283201.t897 .t-section__bottomwrapper,
#rec4746283201 .t-section__bottomwrapper { margin-top: -20px !important; }
#rec4799362301 .t-section__title,
#rec4799362301 .t940 .t-section__bottomwrapper { margin-bottom: 5px !important; margin-top: 0 !important; }
@media screen and (max-width: 960px) {
  #rec4746283401 .t-section__title { margin-bottom: 20px !important; }
  #rec4746283201 .t-section__title { margin-bottom: 20px !important; }
  #rec4746283201.t897 .t-section__bottomwrapper,
  #rec4746283201 .t-section__bottomwrapper { margin-top: -10px !important; }
  #rec4799362301 .t-section__title { margin-bottom: 5px !important; }
}
#rec4890331301 .t-row { justify-content: center !important; }
#rec4890331301 .t-col:nth-child(3) { display: none !important; }
#rec4890331301 .t-col:nth-child(1),
#rec4890331301 .t-col:nth-child(2) {
  flex: 0 0 44% !important;
  width: 44% !important;
  max-width: 44% !important;
}
#rec4909537901 .t-col:nth-child(2), #rec4909537901 .t-col:nth-child(3) { display: none !important; }
#rec4909537901 .t-col:nth-child(1) { flex: 0 0 44% !important; width: 44% !important; max-width: 44% !important; }
#rec4909538001 .t-col:nth-child(2), #rec4909538001 .t-col:nth-child(3) { display: none !important; }
#rec4909538001 .t-col:nth-child(1) { flex: 0 0 44% !important; width: 44% !important; max-width: 44% !important; }
#rec4909538201 .t-col:nth-child(2), #rec4909538201 .t-col:nth-child(3) { display: none !important; }
#rec4909538201 .t-col:nth-child(1) { flex: 0 0 44% !important; width: 44% !important; max-width: 44% !important; }
#rec4909538301 .t-col:nth-child(2), #rec4909538301 .t-col:nth-child(3) { display: none !important; }
#rec4909538301 .t-col:nth-child(1) { flex: 0 0 44% !important; width: 44% !important; max-width: 44% !important; }
#rec4909538401 .t-col:nth-child(2), #rec4909538401 .t-col:nth-child(3) { display: none !important; }
#rec4909538401 .t-col:nth-child(1) { flex: 0 0 44% !important; width: 44% !important; max-width: 44% !important; }
/* Карточки залов на страницах районов: на телефоне — одна под другой на всю ширину */
@media screen and (max-width: 640px) {
  #rec4890331301 .t-col:nth-child(1), #rec4890331301 .t-col:nth-child(2),
  #rec4909537901 .t-col:nth-child(1), #rec4909538001 .t-col:nth-child(1),
  #rec4909538201 .t-col:nth-child(1), #rec4909538301 .t-col:nth-child(1),
  #rec4909538401 .t-col:nth-child(1) { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
}
#nav4976509701 { position: fixed !important; top: auto !important; left: auto !important; right: 500px !important; bottom: 95px !important; padding: 0 !important; z-index: 99999 !important; }
#nav4976509701 .t393__wrapper { min-height: 0 !important; }
#rec4976509701 .t393_btn.t-btnflex {
  width: 60px !important; height: 60px !important; min-height: 0 !important;
  padding: 0 !important; border-radius: 50% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.3) !important; line-height: 0 !important;
}
#rec4976509701 .t393_btn .t-btnflex__text { display: flex !important; line-height: 0 !important; }
#rec4976509701 .t393_btn svg { width: 24px !important; height: 24px !important; }
@media screen and (max-width: 980px) {
  #nav4976509701 { position: fixed !important; right: 20px !important; bottom: 160px !important; left: auto !important; }
}
/* Первый экран: видео в блоке 479 rec4747400101 скрыто (сам блок с заголовком остаётся), вместо него карусель 670 rec5038291801 */
#rec4747400101 .t479__wrap-video { display: none !important; }
#rec4747400101 > .r, #rec4747400101 { padding-bottom: 50px !important; }
#rec5038291801 .t670__imgwrapper .t-slds__bgimg { box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
@media screen and (max-width: 640px) {
  #rec4747400101 { padding-bottom: 30px !important; }
}
/* Шапка: кнопка "местоположение" слева от VK/TG — белый круг с меткой */
.t228 .t-sociallinks__item_website a {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50' fill='%23fff'/%3E%3Cg transform='translate(36 31) scale(.073)'%3E%3Cpath fill='%23141414' fill-rule='evenodd' d='M172.3 501.7C27 291 0 269.4 0 192 0 86 86 0 192 0s192 86 192 192c0 77.4-27 99-172.3 309.7a24 24 0 0 1-39.4 0zM192 272a80 80 0 1 0 0-160 80 80 0 0 0 0 160z'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
}
.t228 .t-sociallinks__item_website svg { visibility: hidden !important; }
/* Цифры под первым экраном (блок tplid 24 rec4748705701, классы cs-stat): 5 штук в одной колонке, колонки 2-3 скрыты */
#rec4748705701 .t-col:nth-child(2), #rec4748705701 .t-col:nth-child(3) { display: none !important; }
#rec4748705701 .t-col:nth-child(1) { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.cs-stats { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.cs-stat { flex: 1 1 0; text-align: center; }
.cs-stat__num { color: #fc06a4; font-size: 44px; font-weight: 900; line-height: 1.1; }
.cs-stat__label { color: #b8b8b8; font-size: 16px; line-height: 1.4; margin-top: 6px; }
@media screen and (max-width: 960px) {
  .cs-stats { flex-wrap: wrap; justify-content: center; gap: 28px 12px; }
  .cs-stat { flex: 0 0 30%; }
}
@media screen and (max-width: 480px) {
  .cs-stat { flex: 0 0 45%; }
  .cs-stat__num { font-size: 38px; }
  .cs-stat__label { font-size: 14px; }
}
/* "Что даёт чир спорт" — пункты с розовыми маркерами (блок tplid 24, классы cs-benefit) */
.cs-benefit { text-align: left; margin-bottom: 40px; }
.cs-benefit__title {
  color: #ffffff; font-size: 20px; font-weight: 800; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.5px;
  padding-left: 28px; text-indent: -28px;
}
.cs-benefit__mark { display: inline-block; width: 28px; text-indent: 0; color: #fc06a4; font-size: 15px; vertical-align: 2px; }
.cs-benefit__accent { color: inherit; }
.cs-benefit__descr { color: #b8b8b8; font-size: 16px; font-weight: 400; line-height: 1.6; margin-top: 10px; padding-left: 28px; }
@media screen and (max-width: 640px) {
  .cs-benefit { margin-bottom: 30px; }
  .cs-benefit__title { font-size: 18px; }
  .cs-benefit__descr { font-size: 15px; }
}
/* Карточка "Стоимость занятий" (блок tplid 106, классы cs-price) */
.cs-price {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: #1f1f1f; border-radius: 20px; padding: 44px 48px;
  border-left: 4px solid #fc06a4;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cs-price__label { color: #9a9a9a; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.cs-price__value { color: #ffffff; font-size: 48px; font-weight: 900; line-height: 1.1; margin-top: 8px; }
.cs-price__text { color: #b8b8b8; font-size: 16px; line-height: 1.6; margin-top: 14px; max-width: 460px; }
.cs-price__buttons { display: flex; gap: 14px; flex-shrink: 0; }
.cs-price a.cs-price__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 32px; border-radius: 30px;
  font-size: 16px; font-weight: 700; text-decoration: none !important; border-bottom: none !important;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  white-space: nowrap; box-sizing: border-box;
}
.cs-price a.cs-price__btn_primary { background: #fc06a4; color: #ffffff !important; border: 2px solid #fc06a4 !important; }
.cs-price a.cs-price__btn_ghost { background: transparent; color: #ffffff !important; border: 2px solid #ffffff !important; }
@media (hover: hover) {
  .cs-price a.cs-price__btn_primary:hover { background: #cc6699; border-color: #cc6699 !important; }
  .cs-price a.cs-price__btn_ghost:hover { background: #ffffff; color: #141414 !important; }
}
/* Кнопка "Подобрать группу за минуту" (открывает квиз #popup:podbor) + напоминание о пробном */
.cs-price a.cs-price__cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 34px; margin-top: 22px; border-radius: 30px;
  background: #fc06a4; color: #ffffff !important; font-size: 17px; font-weight: 800;
  text-decoration: none !important; border: none !important;
  box-shadow: 0 10px 30px rgba(252,6,164,0.35);
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
  white-space: nowrap; box-sizing: border-box;
}
@media (hover: hover) {
  .cs-price a.cs-price__cta:hover { background: #cc6699; transform: translateY(-1px); }
}
.cs-price__trial { color: #9a9a9a; font-size: 14px; margin-top: 12px; }
.cs-price__dot { color: #fc06a4; font-size: 9px; vertical-align: 2px; margin-right: 8px; }
@media screen and (max-width: 960px) {
  .cs-price { flex-direction: column; align-items: flex-start; gap: 28px; padding: 36px 32px; }
}
@media screen and (max-width: 640px) {
  .cs-price { padding: 28px 22px; }
  .cs-price__value { font-size: 38px; }
  .cs-price__text { font-size: 15px; }
  .cs-price__buttons { flex-direction: column; width: 100%; gap: 12px; }
  .cs-price a.cs-price__btn { width: 100%; }
  .cs-price a.cs-price__cta { width: 100%; padding: 0 20px; font-size: 16px; }
  .cs-price__trial { text-align: center; }
}
/* Попапы "Про направление" (#popup:cheer / #popup:perf) — розовая кнопка вместо тёмной из шаблона */
#rec5036234201 .t390__btn-wrapper, #rec5036234301 .t390__btn-wrapper { justify-content: flex-start; margin-top: 28px; }
#rec5036234201 .t-btnflex.t-btnflex_type_button, #rec5036234301 .t-btnflex.t-btnflex_type_button {
  background-color: #fc06a4 !important; color: #ffffff !important; border-color: #fc06a4 !important;
  padding: 0 30px; height: 50px; font-weight: 700;
}
@media (hover: hover) {
  #rec5036234201 .t-btnflex.t-btnflex_type_button:hover, #rec5036234301 .t-btnflex.t-btnflex_type_button:hover { background-color: #cc6699 !important; border-color: #cc6699 !important; }
}
/* Блок "27 команд школы" (tplid 106 rec5036513301, классы cs-teams) — вместо старого баннера 995 rec4746281401 (скрыт) */
.cs-teams {
  display: flex; align-items: stretch; gap: 0;
  background: #1f1f1f; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cs-teams__photo {
  flex: 0 0 55%; min-height: 380px;
  background: url("https://static.tildacdn.com/tild6131-3734-4065-a436-376335326439/A97I2754.JPG") center / cover no-repeat;
}
.cs-teams__info { flex: 1 1 auto; padding: 44px 44px 40px; text-align: left; }
.cs-teams__title { color: #ffffff; font-size: 34px; font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.cs-teams__descr { color: #b8b8b8; font-size: 16px; line-height: 1.5; margin-top: 10px; }
.cs-teams__list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.cs-teams a.cs-teams__item {
  display: flex; justify-content: space-between; align-items: center;
  background: #262626; border: 1px solid #333333; border-radius: 14px;
  padding: 16px 22px; color: #ffffff !important; font-size: 17px; font-weight: 600;
  text-decoration: none !important; transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.cs-teams a.cs-teams__item b { color: #fc06a4; font-weight: 800; margin-left: 4px; }
.cs-teams__arrow { color: #fc06a4; font-size: 20px; transition: transform 0.2s ease-in-out; }
.cs-teams a.cs-teams__all {
  display: inline-block; margin-top: 22px; color: #fc06a4 !important; font-size: 15px; font-weight: 700;
  text-decoration: none !important; border: none !important;
}
@media (hover: hover) {
  .cs-teams a.cs-teams__item:hover { border-color: #fc06a4; background: #2a2a2a; }
  .cs-teams a.cs-teams__item:hover .cs-teams__arrow { transform: translateX(4px); }
  .cs-teams a.cs-teams__all:hover { color: #ffffff !important; }
}
@media screen and (max-width: 960px) {
  .cs-teams { flex-direction: column; }
  .cs-teams__photo { flex: none; min-height: 260px; }
  .cs-teams__info { padding: 30px 28px 32px; }
}
@media screen and (max-width: 640px) {
  .cs-teams__photo { min-height: 200px; }
  .cs-teams__info { padding: 24px 20px 26px; }
  .cs-teams__title { font-size: 26px; }
  .cs-teams a.cs-teams__item { font-size: 16px; padding: 14px 18px; }
}
/* ===== Страницы районов ===== */
/* Шапка 677: строка "Пробное занятие — бесплатно" под подзаголовком */
.t677__descr .cs-hero-trial { text-transform: none; font-size: 15px; color: #9a9a9a; margin-top: 14px; letter-spacing: 0; }
/* Карточка зала (tplid 24, классы cs-hall) */
.cs-hall {
  background: #1f1f1f; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 30px 30px 28px; box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  height: 100%; box-sizing: border-box; display: flex; flex-direction: column; text-align: left;
}
.t007__text:has(.cs-hall) { height: 100%; box-sizing: border-box; }
.cs-hall__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.cs-hall__addr { color: #fc06a4; font-size: 22px; font-weight: 800; line-height: 1.25; }
.cs-hall a.cs-hall__route { color: #b8b8b8 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; border: none !important; white-space: nowrap; transition: color 0.2s ease-in-out; }
.cs-hall__ages { color: #9a9a9a; font-size: 14px; line-height: 1.5; margin-top: 6px; }
.cs-hall__groups { margin-top: 18px; border-top: 1px solid #2c2c2c; }
.cs-hall__group {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid #2c2c2c; font-size: 15px;
}
.cs-hall__gname { color: #ffffff; font-weight: 800; letter-spacing: 0.3px; }
.cs-hall__gage { color: #b8b8b8; white-space: nowrap; }
.cs-hall__gdir { color: #fc06a4; background: rgba(252,6,164,0.12); border-radius: 20px; padding: 3px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cs-hall__actions { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cs-hall a.cs-hall__cta {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px;
  border-radius: 30px; background: #fc06a4; color: #ffffff !important; font-size: 15px; font-weight: 800;
  text-decoration: none !important; border: none !important; box-shadow: 0 10px 26px rgba(252,6,164,0.3);
  transition: background-color 0.2s ease-in-out; white-space: nowrap;
}
.cs-hall__links { display: flex; gap: 16px; flex-wrap: wrap; }
.cs-hall__links a { color: #b8b8b8 !important; font-size: 14px; font-weight: 600; text-decoration: none !important; border: none !important; transition: color 0.2s ease-in-out; }
@media (hover: hover) {
  .cs-hall a.cs-hall__route:hover, .cs-hall__links a:hover { color: #fc06a4 !important; }
  .cs-hall a.cs-hall__cta:hover { background: #cc6699; }
}
@media screen and (max-width: 640px) {
  .cs-hall { padding: 24px 20px 22px; margin-bottom: 18px; }
  .cs-hall__addr { font-size: 20px; }
  .cs-hall__group { grid-template-columns: 1fr auto; }
  .cs-hall__gdir { grid-column: 1 / -1; justify-self: start; }
  .cs-hall a.cs-hall__cta { width: 100%; }
}
/* Блок доверия под залами (tplid 106, cs-trust: цифры + строка цены) */
.cs-trust__price { text-align: center; color: #b8b8b8; font-size: 17px; margin-top: 36px; }
.cs-trust__price b { color: #ffffff; font-weight: 800; }
.cs-trust__price a { color: #fc06a4 !important; font-weight: 700; margin-left: 14px; text-decoration: none !important; border: none !important; white-space: nowrap; }
@media screen and (max-width: 640px) {
  .cs-trust__price { font-size: 15px; }
  .cs-trust__price a { display: block; margin: 8px 0 0; }
}