/* O1 2026-10-22 */
/* Баги и читаемость (план plans/2026-10-22-tipografika-o1-bagi-i-chitaemost.md, Ф1) */

/* Шапка T228: девять пунктов, телефон и иконки в одну строку на 1280+ (ниже 1280 — как было) */
@media screen and (min-width:1280px){
#rec848165141 .t228__padding40px{width:24px}
#rec848165141 .t228__list .t228__list_item{padding:0 12px 8px 0!important}
#rec848165141 .t228__list .t228__list_item:last-child{padding-right:0!important}
#rec848165141 .t228__rightcontainer{margin-left:16px;gap:16px}
#rec848165141 .t228__leftcontainer img{margin-right:20px}
}
@media screen and (min-width:1280px) and (max-width:1439px){
#rec848165141 .t228__leftcontainer img{width:140px!important;min-width:140px!important;max-width:140px!important}
#rec848165141 .t228__list .t228__list_item{padding-right:10px!important}
#rec848165141 .t228__list_item .t-menu__link-item{font-size:15px!important}
}

/* Иконки соцсетей шапки и подвала: цель нажатия >= 44 px при той же картинке */
#rec848165141 .t-sociallinks__item a{position:relative}
#rec848165141 .t-sociallinks__item a::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}
:is(#rec848164990,#rec1462817001,#rec1462781911,#rec1963433121,#rec848164993) a.tn-atom:is([href*="vk.com"],[href*="t.me"],[href*="wa.me"],[href*="max.ru"]){position:relative}
:is(#rec848164990,#rec1462817001,#rec1462781911,#rec1963433121,#rec848164993) a.tn-atom:is([href*="vk.com"],[href*="t.me"],[href*="wa.me"],[href*="max.ru"])::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}

/* Промо-бары T654: текст фиолетовым на зелёном; на телефоне (<= 640) скрыты */
#rec1785508441 .t654__text,#rec1785508441 .t654__text *,#rec4423600801 .t654__text,#rec4423600801 .t654__text *{color:#311267!important}
#rec1785508441 .t654__icon-close svg g,#rec4423600801 .t654__icon-close svg g{fill:#311267}
@media screen and (max-width:640px){#rec1785508441,#rec4423600801{display:none!important}}

/* Cookie T657: одна фраза 14 px, компактная плашка, не поверх кнопки чата */
#rec1048369246 .t657__text{font-size:14px!important;line-height:1.4!important;margin-bottom:10px}
#rec1048369246 .t657_rectangle .t657__wrapper{padding:14px 32px 14px 18px}
@media screen and (min-width:961px){#rec1048369246 .t657_rectangle{bottom:72px!important}}
@media screen and (max-width:960px){
#rec1048369246 .t657_rectangle{left:8px!important;right:124px!important;bottom:8px!important;width:auto!important;max-width:none!important}
#rec1048369246 .t657_rectangle .t657__wrapper{border-radius:16px;padding:10px 14px!important;text-align:left}
#rec1048369246 .t657__text{margin-bottom:8px;text-align:left}
#rec1048369246 .t657__btn{margin:0}
}

/* Стандартные кнопки: белый текст на зелёном -> #311267 (Р3, список «Белым на зелёном» worklist) */
#rec1050564436 .t-btnflex.t-btnflex_type_button,#rec1057700586 .t-btnflex.t-btnflex_type_button,#rec1071356791 .t-btnflex.t-btnflex_type_button,#rec1227585466 .t-btnflex.t-btnflex_type_button,#rec1227794831 .t-btnflex.t-btnflex_type_button,#rec1289584631 .t-btnflex.t-btnflex_type_button,#rec1289660611 .t-btnflex.t-btnflex_type_button,#rec1902972711 .t-btnflex.t-btnflex_type_button,#rec2173764901 .t-btnflex.t-btnflex_type_button,#rec2249114461 .t-btnflex.t-btnflex_type_button,#rec4317688301 .t-btnflex.t-btnflex_type_button,#rec855468589 .t-btnflex.t-btnflex_type_button,#rec855468590 .t-btnflex.t-btnflex_type_button,#rec855472524 .t-btnflex.t-btnflex_type_button,#rec855475160 .t-btnflex.t-btnflex_type_button,#rec855479469 .t-btnflex.t-btnflex_type_button,#rec855479471 .t-btnflex.t-btnflex_type_button,#rec855634345 .t-btnflex.t-btnflex_type_button,#rec855634793 .t-btnflex.t-btnflex_type_button,#rec855637040 .t-btnflex.t-btnflex_type_button,#rec855637367 .t-btnflex.t-btnflex_type_button,#rec855637867 .t-btnflex.t-btnflex_type_button,#rec855638128 .t-btnflex.t-btnflex_type_button,#rec855639246 .t-btnflex.t-btnflex_type_button,#rec855639354 .t-btnflex.t-btnflex_type_button,#rec855639834 .t-btnflex.t-btnflex_type_button,#rec855640159 .t-btnflex.t-btnflex_type_button,#rec855640494 .t-btnflex.t-btnflex_type_button,#rec855641465 .t-btnflex.t-btnflex_type_button,#rec855642104 .t-btnflex.t-btnflex_type_button,#rec855642526 .t-btnflex.t-btnflex_type_button,#rec882492652 .t-btnflex.t-btnflex_type_button,#rec910546132 .t-btnflex.t-btnflex_type_button,#rec941365206 .t-btnflex.t-btnflex_type_button,#rec941369736 .t-btnflex.t-btnflex_type_button{color:#311267!important}

/* Ресторанное меню 61758875: навигация Tilda Sans 14, описания блюд 14, абзацы 16 */
#rec854307436 .t975__menu-text{font-family:'TildaSans',Arial,sans-serif!important;font-size:14px!important}
#rec854307435 .t976__menu-link{font-size:14px!important}
#allrecords[data-tilda-page-id="61758875"] .t-store__card__descr{font-size:14px!important;line-height:1.4!important}
#rec910485379 .t544__text,#rec854307434 .t216__descr,#rec854307468 .t220__text{font-size:16px!important}

/* Цены 61890105: описания карточек t1050 16 px на всех ширинах, абзац t814 16 на телефоне */
#rec855379491 .t-descr_sm,#rec855408082 .t-descr_sm{font-size:16px!important;line-height:1.4!important}
@media screen and (max-width:640px){#rec855405507 .t814__descr{font-size:16px!important}}

/* Доводка О1 22.10 (Р3): вторые кнопки записей (t-btnflex_type_bbutton) и активные вкладки t395 (quest, фотогалерея) -> #311267 */
#rec855468589 .t-btnflex.t-btnflex_type_bbutton,#rec855479471 .t-btnflex.t-btnflex_type_bbutton,#rec1902972711 .t-btnflex.t-btnflex_type_bbutton,#rec1227585466 .t-btnflex.t-btnflex_type_bbutton,#rec1227794831 .t-btnflex.t-btnflex_type_bbutton,#rec1050564436 .t-btnflex.t-btnflex_type_bbutton,#rec1071356791 .t-btnflex.t-btnflex_type_bbutton{color:#311267!important}
#rec855634793 .t395__tab.t395__tab_active .t395__title,#rec855634793 select.t395__select,#rec910546132 .t395__tab.t395__tab_active .t395__title,#rec910546132 select.t395__select{color:#311267!important}
#rec855634793 .t395__wrapper_mobile.t395__wrapper_mobile:after,#rec910546132 .t395__wrapper_mobile.t395__wrapper_mobile:after{border-color:#311267 transparent transparent transparent}
/* O2a 2026-10-22 */
/* Типографика «Система» для стандартных блоков (план plans/2026-10-22-tipografika-o2a-sistema-pilot-dr.md, Р8; канон — design/typography.md).
   Шкала: Coolvetica 72/56/40/28 (<= 640: 40/32/26/24), Tilda Sans 22/18/16/14 (<= 640: 18/16/15/14), интерлиньяж Tilda Sans 1,4.
   Zero Block не затрагивается: ролевых классов Tilda в нём нет. Правила О1 с #rec и !important специфичнее и остаются в силе. */

/* Заголовки — Coolvetica: .t-title — H3 40, крупные модификаторы — H2 56, тег h1 — H1 72; .t-heading — H4 28 */
.t-records .t-title{font-family:'Coolvetica',Arial,sans-serif!important;font-size:40px!important;line-height:1.05!important}
.t-records :is(.t-title_xxl,.t-title_xl,.t-title_lg,.t-title_md){font-size:56px!important;line-height:1!important}
.t-records h1.t-title{font-size:72px!important;line-height:1!important}
.t-records .t-heading{font-family:'Coolvetica',Arial,sans-serif!important;font-size:28px!important;line-height:1.1!important}

/* Текст — Tilda Sans: лид 22 (крупные модификаторы), тело 18, тело в карточке 16 (sm/xs/xxs), подпись 14 */
.t-records :is(.t-name,.t-descr,.t-text,.t-uptitle){font-family:'TildaSans',Arial,sans-serif!important;line-height:1.4!important}
.t-records .t-name{font-size:18px!important}
.t-records :is(.t-name_md,.t-name_lg,.t-name_xl,.t-name_xxl){font-size:22px!important}
.t-records .t-descr{font-size:18px!important}
.t-records :is(.t-descr_lg,.t-descr_xl,.t-descr_xxl){font-size:22px!important}
.t-records :is(.t-descr_sm,.t-descr_xs,.t-descr_xxs){font-size:16px!important}
.t-records .t-text{font-size:18px!important}
.t-records :is(.t-text_lg,.t-text_xl){font-size:22px!important}
.t-records .t-text_sm{font-size:16px!important}
.t-records :is(.t-text_xs,.t-text_xxs),.t-records .t-uptitle{font-size:14px!important}
/* Кегль и семейство из редактора текста (span style внутри поля) — по роли блока. Кроме «Роблокс стр Эрик» 231822009: вёрстка на inline-кеглях, вне О2а (Р10) */
.t-records:not([data-tilda-page-id="231822009"]) :is(.t-title,.t-heading,.t-name,.t-descr,.t-text,.t-uptitle) *{font-size:inherit!important;font-family:inherit!important;line-height:inherit!important}
/* Контакты 63916543, t857: в заголовке карточки — имя клуба и адрес; имя — H3, адрес — тело в карточке */
#rec875328697 .t-title>div{font-family:'TildaSans',Arial,sans-serif!important;font-size:16px!important;line-height:1.4!important}
#rec875328697 .t-title>div>span:first-child{display:inline-block;font-family:'Coolvetica',Arial,sans-serif!important;font-size:40px!important;line-height:1.05!important}
/* Classicgame 70608859, квиз t1040: заголовок квиза размечен как .t-descr_xs — H3; варианты ответа .t-text_xs — тело */
#rec1109744476 .t-descr_xs{font-family:'Coolvetica',Arial,sans-serif!important;font-size:40px!important;line-height:1.05!important}
#rec1109744476 .t-text_xs{font-size:18px!important}
/* Вкладки t395/t397 — 16, нижняя навигация t975 — 14 (хвосты О1) */
.t-records :is(.t395__title,.t397__title){font-size:16px!important;line-height:1.4!important}
.t-records .t975__menu-text{font-family:'TildaSans',Arial,sans-serif!important;font-size:14px!important}

/* Кнопки: Tilda Sans 18/600 строчные, высота 56, радиус 8, паддинг 32. Чипсы (xs), промо-бар, cookie и шапка — без геометрии */
.t-records :is(.t-btnflex,.t-submit):not(.t-btnflex_xs):not(.t654 *):not(.t657 *):not(.t228 *){--height:56px!important;font-family:'TildaSans',Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;border-radius:8px!important;padding-left:32px!important;padding-right:32px!important}
.t-records .t-submit:not(.t-btnflex):not(.t654 *):not(.t657 *),.t-records .t-btn:not(.t-btnflex):is(.t-btn_xs,.t-btn_sm,.t-btn_md,.t-btn_lg,.t-btn_xl){height:56px!important;font-family:'TildaSans',Arial,sans-serif!important;font-size:18px!important;font-weight:600!important;text-transform:none!important;border-radius:8px!important;padding-left:32px!important;padding-right:32px!important}
.t-records .t-btnflex_xs{font-size:14px!important}
/* Зелёные кнопки с текстом #402078 -> #311267 (ДР и копии, вечеринка, «О нас») */
#rec846670988 .t-btnflex.t-btnflex_type_button,#rec2913161501 .t-btnflex.t-btnflex_type_button,#rec3954983201 .t-btnflex.t-btnflex_type_button,#rec1062161941 .t-btnflex.t-btnflex_type_button,#rec1062351431 .t-btnflex.t-btnflex_type_button,#rec1080021626 .t-btnflex.t-btnflex_type_button,#rec865779116 .t-btnflex.t-btnflex_type_button{color:#311267!important}
/* Промо-бар T654: текст 18, кнопка без капса и Coolvetica, радиус 8 (высота как была) */
.t-records .t654 .t654__text{font-size:18px!important;line-height:1.4!important}
.t-records .t654 :is(.t-btnflex,.t-btn){font-family:'TildaSans',Arial,sans-serif!important;font-size:16px!important;text-transform:none!important;letter-spacing:0!important;border-radius:8px!important}

@media screen and (max-width:640px){
.t-records .t-title{font-size:26px!important;line-height:1.1!important}
.t-records :is(.t-title_xxl,.t-title_xl,.t-title_lg,.t-title_md){font-size:32px!important;line-height:1.05!important}
.t-records h1.t-title{font-size:40px!important;line-height:1!important}
.t-records .t-heading{font-size:24px!important}
.t-records .t-name{font-size:16px!important}
.t-records :is(.t-name_md,.t-name_lg,.t-name_xl,.t-name_xxl){font-size:18px!important}
.t-records .t-descr{font-size:16px!important}
.t-records :is(.t-descr_lg,.t-descr_xl,.t-descr_xxl){font-size:18px!important}
.t-records :is(.t-descr_sm,.t-descr_xs,.t-descr_xxs){font-size:15px!important}
.t-records .t-text{font-size:16px!important}
.t-records :is(.t-text_lg,.t-text_xl){font-size:18px!important}
.t-records .t-text_sm{font-size:15px!important}
.t-records :is(.t395__title,.t397__title){font-size:14px!important}
#rec875328697 .t-title>div{font-size:15px!important}
#rec875328697 .t-title>div>span:first-child{font-size:26px!important;line-height:1.1!important}
#rec1109744476 .t-descr_xs{font-size:26px!important;line-height:1.1!important}
#rec1109744476 .t-text_xs{font-size:16px!important}
#rec848164994 .t975__list-item{padding-left:4px!important;padding-right:4px!important}
.t-records :is(.t-btnflex,.t-submit):not(.t-btnflex_xs):not(.t654 *):not(.t657 *):not(.t228 *){--height:52px!important;font-size:16px!important}
.t-records .t-submit:not(.t-btnflex):not(.t654 *):not(.t657 *),.t-records .t-btn:not(.t-btnflex):is(.t-btn_xs,.t-btn_sm,.t-btn_md,.t-btn_lg,.t-btn_xl){height:52px!important;font-size:16px!important}
}

/* O2b 2026-10-23 */
/* Сплошные зелёные заливки стандартных блоков (план plans/2026-10-22-tipografika-o2b-raskatka-top-10.md, Р5; канон — design/typography.md §3).
   Фон — светлый #E3DCF0 из пары #402078 / #E3DCF0: соседи у всех — тёмные (#402077, #311267, #39393D), светлая полоса держит чередование.
   Текст на светлом — #402077 (уже такой в блоках); зелёные кнопки — акцент, остаются. */

/* /price 61890105: t814 «Комплексные детские праздники», t30 + t509 «Сценарный лазертаг», t30 + t509 ×2 «Настольные игры» */
:is(#rec855405507,#rec855412086,#rec882512485,#rec2249088411,#rec1289697441,#rec1289727021){background-color:#e3dcf0!important}

/* Бегущая строка t1003 — полоса #E3DCF0 вместо #2EC849, текст #402077 (у старой ДР был белый — 1,3:1 на светлом): /, /home, Легион, Пандора, Фалкон, Реактор, classicgame, старая ДР */
:is(#rec2236138241,#rec4317602501,#rec2316393141,#rec2325958881,#rec2325959921,#rec2325957531,#rec1094690016,#rec1611980121) .t1003__content-wrapper{background-color:#e3dcf0!important}
:is(#rec2236138241,#rec4317602501,#rec2316393141,#rec2325958881,#rec2325959921,#rec2325957531,#rec1094690016,#rec1611980121) .t1003__item-txt{color:#402077!important}

/* Теги карточек сценариев t923 клубов («командный», «экшен»): зелёный 14 на белом (1,9:1) → #402078 (Легион, Пандора, Фалкон, Реактор);
   первая карточка — тёмная с белыми тегами (head-код страниц клубов, [data-slide-index="1"]) — не трогаем */
:is(#rec857499969,#rec857437664,#rec1943548341,#rec857499562) .t-slds__item:not([data-slide-index="1"]) .t-btnflex.t-btnflex_xs.t-card__btn{color:#402078!important;border-color:#402078!important}

/* Старая ДР 98550576, t774: зелёные кнопки с текстом #402077 → #311267 (как О2а для ДР и копий) */
:is(#rec1611813261,#rec1612450331) .t-btnflex.t-btnflex_type_button{color:#311267!important}

/* O2b доделки */
/* Промо-бар T654 «Скидка 5000 руб…» (1785508441 — шапка, 4423600801 — /home): зелёная полоса → #402078, текст и крестик #F3F3F3 (канон §3; правило «зелёный только акцент»); кнопка — как была */
#rec1785508441 .t654,#rec4423600801 .t654{background-color:#402078!important}
#rec1785508441 .t654__text,#rec1785508441 .t654__text *,#rec4423600801 .t654__text,#rec4423600801 .t654__text *{color:#f3f3f3!important}
#rec1785508441 .t654__icon-close svg g,#rec4423600801 .t654__icon-close svg g{fill:#f3f3f3}
