:root{--tb-boot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 496 336'%3E%3Cpath d='M222,251c0 1,2,7 0,4-11-17 1-32-15-41-1-3 0-7-1-10-1-8-14-16-22-14l1,8c-15-7-35-7-47,5-36-8-86,31-114,52,28-34,79-74,123-80-36,20,50,1,42-16l15,8,1,1c-16-2-8,26,7,14-4,13,16,45,15,22,1-2,6,7,11,4,6-4 1-24-8-25l-6,11c-5-23-16-34-36-44-16-9-14 0-13,13-21-22-50-31-80-24-1-3 1-2,2-2,26-14-32-11-38-10-20,1-39,6-57,11-1 0-3,1-3-1,45-20,126-34,161-19-7-1-13-2-20 1-14,6,30,14,33,11,3 0,9-5,10-5,1 0,7,7,12,5,9-3-4-13-5-16-3-17,8-46,16-61-9,36-8,54,17,83 1,1,0,2-1,1-5-1-11-2-13,3-2,5,9,11,13,14,3,3,8,12,12,13,4 1,7-4,6-7 0-3-4-4-4-6 0-4,13-11 0-18,5-7,11-15 0-18,3-3,10-14,6-17-1-1-4,1-4-2,3-8,7-5,5-17-7-2-2-6 0-9,1-4,3-12-3-11,6-9,4-11,3-20,1-12 0-28,4-40 1,18,3,34,3,51 1,4,4,5,4,9-8 0-3,13,1,17,0,0-1,2-1,2-5,2-4,8-2,12,1,3,4,4,4,8-10,2-2,14,2,19-11,3-5,12,0,18-10,6-4,12 0,19-6,3-5,13,2,13,3 0,8-9,10-11,8-6,24-17,6-21-18,7,10-18,11-24,9-17,3-41-1-59,9,15,19,43,17,60-1,5-10,11-8,16,5,7,12-3,16-3,13,7,35,4,46-6-9-6-20-5-28-3,54-14,114-2,165,20-20-4-41-10-61-11-10 0-66-5-35,13-30-7-59,2-80,24,5-27-8-14-23-7-15,9-22,22-25,38-6-27-23,6-13,15,0,0,10-5,10-5-1,23,19-8,15-22,15,13,23-15,8-14l15-10c-4,13,45,30,51,22l-9-7c35,3,102,51,122,80-29-22-77-59-114-51-11-14-31-11-46-5,8-15-12-5-17 0-6,7-2,12-5,17-1,3-5,3-7,8-3,9,1,23-7,33-2,1-1-2 0-3,1-9,3-21-5-27-25,15-12,83-21,110-4-22-1-99-18-110-11,3-9,17-7,26Z'/%3E%3C/svg%3E")}
/* остальные --tb-* ставит main.js из tribal.js, чтобы не дублировать формы */
/* ===== нео-трайблы ===== */
.tb{-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
.logo-wrap{display:inline-flex;flex-direction:column;align-items:stretch;max-width:100%}
.logo-wrap .logo{margin-top:0}
.crown{display:none}
/* метка активной вкладки */
.app .fxb.on::before{border:0;width:30px;height:10px;margin-left:-15px;top:0;background:var(--bg);-webkit-mask:var(--tb-v) center top/contain no-repeat;mask:var(--tb-v) center top/contain no-repeat}
/* водяной знак на главной: трайбл, нарисованный строками развёртки */
.scr-home{z-index:0}
.scr-home::before{content:'';position:absolute;z-index:-1;left:-8%;right:-8%;top:150px;height:min(70vw,330px);pointer-events:none;-webkit-mask:var(--tb-wm) center/contain no-repeat;mask:var(--tb-wm) center/contain no-repeat;background:repeating-linear-gradient(0deg,var(--a4) 0 1px,transparent 1px 4px);opacity:.16}
/* спиннер: кольцевой трайбл, крутится рывками */
.tspin{display:inline-block;width:18px;height:18px;vertical-align:-3px;margin-right:8px;-webkit-mask:var(--tb-ring) center/contain no-repeat;mask:var(--tb-ring) center/contain no-repeat;background:var(--a3);animation:tspin 1.1s steps(10) infinite}
.tspin.big{width:72px;height:72px;margin:0;background:var(--a4)}
.tload{display:flex;justify-content:center;padding:18px 0 26px}
@keyframes tspin{to{transform:rotate(360deg)}}
/* пустые экраны: маленький трайбл сверху */
.empty::before{content:'';display:block;width:84px;height:22px;margin:0 0 10px;-webkit-mask:var(--tb-small) left center/contain no-repeat;mask:var(--tb-small) left center/contain no-repeat;background:var(--line2)}
/* шторка: трайбл-«ручка» на синей кромке */
.sheet{overflow-x:hidden}
.scrim .sheet::before{content:'';display:block;width:96px;height:16px;margin:-1px auto 4px;-webkit-mask:var(--tb-handle) center top/contain no-repeat;mask:var(--tb-handle) center top/contain no-repeat;background:var(--blue)}
/* заставка: эмблема проявляется развёрткой */
.boot .beam,.boot .boot-t{display:none}
.boot-e{position:absolute;left:12%;right:12%;top:50%;height:min(26vw,150px);margin-top:calc(min(26vw,150px) / -2);-webkit-mask:var(--tb-boot) center/contain no-repeat;mask:var(--tb-boot) center/contain no-repeat;background:repeating-linear-gradient(180deg,#29f0ff 0 2px,transparent 2px 4px);animation:bootE .6s steps(8) both}
@keyframes bootE{0%{clip-path:inset(50% 0 50% 0);filter:brightness(3)}40%{clip-path:inset(0 0 0 0)}70%{filter:brightness(1.6)}100%{clip-path:inset(0 0 0 0);filter:none}}
@media (prefers-reduced-motion: reduce){.crown,.tspin,.boot-e{animation:none!important}}
