/* ---------- Турниры: список ---------- */
.tlp { padding-top: 22px; }
.tl-car { position: relative; }
.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 10px; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-ban { position: relative; height: 320px; border-radius: 10px; overflow: hidden; background: #1b1e24 center / cover no-repeat; color: #fff; padding: 26px 26px 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.tl-ban::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .78) 100%); }
.tl-ban > * { position: relative; }
.tl-ban.empty { align-items: center; justify-content: center; font-size: 18px; color: #c8ccd4; }
.tl-ban:hover { color: #fff; }
.tl-ban-g { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 6px; background: var(--o); color: #fff; font: 700 15px var(--ff); }
.tl-ban-g svg { color: #fff; }
.tl-ban-g.nhl, .tl-ban-g.fc { background: #fff; color: var(--ink); }
.tl-ban-g.nhl svg, .tl-ban-g.fc svg { color: var(--ink); }
.tl-ban h3 { margin: auto 0 0; font: 400 42px/1.02 var(--fd); text-transform: uppercase; letter-spacing: .3px; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.tl-ban h3 em { display: block; font-style: normal; color: var(--o); }
.tl-ban h3 em.b { color: #3b9cff; }
.tl-ban p { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 16px; color: #eef0f3; height: 30px; }
.tl-ban p:first-of-type { margin-top: 22px; }
.tl-ban p:last-child { margin-bottom: 22px; }
.tl-ban p i { font-style: normal; margin: 0 6px; }
.tl-arr { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); display: grid; place-items: center; cursor: pointer; }
.tl-arr.l { left: -22px; }
.tl-arr.r { right: -22px; }
.tl-dots { display: flex; justify-content: center; gap: 9px; margin: 16px 0 18px; }
.tl-dots i { width: 9px; height: 9px; border-radius: 50%; background: #cfd3da; }
.tl-dots i.on { background: var(--o); }
.tl-filt { display: flex; align-items: stretch; padding: 12px 14px; gap: 0; }
.tl-fg { padding: 0 10px; border-right: 1px solid var(--ln2); }
.tl-fg:first-child { padding-left: 2px; }
.tl-fg h6 { margin: 2px 0 9px; font: 500 13px var(--ff); color: var(--gr); text-transform: uppercase; letter-spacing: .2px; }
.tl-fg > div { display: flex; gap: 6px; }
.tl-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 11px; border-radius: 6px; border: 1px solid #e3e6eb; background: #fff; color: var(--ink2); font: 500 14px var(--ff); cursor: pointer; white-space: nowrap; }
.tl-chip svg { color: var(--o); }
.tl-chip:hover { border-color: #c9ced6; }
.tl-chip.on { background: var(--o); border-color: var(--o); color: #fff; }
.tl-chip.on svg { color: #fff; }
.tl-fg .sm .tl-chip { padding: 0 6px; font-size: 11px; }
.tl-fg > div { flex-wrap: nowrap; }
.tl-filt { overflow: hidden; }
.tl-new { margin-left: auto; align-self: center; height: 48px; font-size: 16px; padding: 0 16px; gap: 8px; flex: none; }
.tl-box { margin-top: 18px; padding: 8px 12px 14px; }
.tl-tbl { width: 100%; border-collapse: collapse; }
.tl-tbl th { text-align: left; font: 500 14px var(--ff); color: var(--gr); padding: 14px 8px; border-bottom: 1px solid var(--ln2); background: #f8f9fb; }
.tl-tbl td { padding: 0 8px; height: 64px; border-bottom: 1px solid var(--ln2); font-size: 15px; color: var(--ink2); white-space: nowrap; }
.tl-tbl tbody tr { cursor: pointer; }
.tl-tbl tbody tr:hover td { background: #fbfbfc; }
.tl-tbl td:first-child { width: 34px; font-size: 16px; color: var(--ink); }
.tl-g { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.tl-gi { width: 36px; height: 36px; object-fit: contain; }
.tl-nm { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.tl-nm b { font-weight: 500; font-size: 15px; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }
.tl-nm small { font-size: 12.5px; color: var(--gr2); }
.tl-ic { display: inline-flex; align-items: center; gap: 9px; color: #6b7280; }
.tl-ic svg { color: #8b919c; }
.tl-k { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font: 500 13.5px var(--ff); }
.tl-k.full { background: #fff1e8; color: var(--o); border: 1px solid #ffd9c2; }
.tl-k.fast { background: #eaf8ef; color: #1f9d55; border: 1px solid #c8edd6; }
.tl-k.masters { background: #eaf3ff; color: #2f74e0; border: 1px solid #cfe2fb; }
.tl-sl { display: flex; flex-direction: column; gap: 4px; width: 92px; font-size: 13.5px; color: var(--ink2); }
.tl-sl i { height: 5px; border-radius: 3px; background: #e6e9ee; overflow: hidden; }
.tl-sl em { display: block; height: 100%; background: var(--o); border-radius: 3px; }
.tl-sl.fast em { background: #22a45a; }
.tl-sl.masters em { background: #2f74e0; }
.tl-pr { display: inline-flex; align-items: center; gap: 10px; color: #f0a020; }
.tl-pr b { color: var(--ink); font-weight: 500; font-size: 15.5px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; display: block; }
.tl-org { display: inline-flex; align-items: center; gap: 10px; color: #6b7280; }
.tl-org svg { color: #7a8190; }
.tl-st { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; height: 32px; padding: 0 12px; border-radius: 16px; font: 500 14px var(--ff); }
.tl-st.reg { background: #e5f7ec; color: #1f9d55; border: 1px solid #c8edd6; }
.tl-st.run { background: #fff0e6; color: var(--o); border: 1px solid #ffd3bb; }
.tl-st.wait { background: #e8f1ff; color: #2f74e0; border: 1px solid #cfe0fb; }
.tl-st.fin { background: #eef0f3; color: #6b7280; border: 1px solid #e0e3e8; }
.tl-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px 0; font-size: 13.5px; color: var(--gr); }
.tl-foot .pager, .tr .pager { display: flex; gap: 8px; }
.tl-foot .pg { width: 30px; height: 30px; border-radius: 6px; border: 1px solid #e3e6eb; background: #fff; color: var(--ink2); display: grid; place-items: center; cursor: pointer; font: 500 14px var(--ff); }
.tl-foot .pg.on { background: var(--o); border-color: var(--o); color: #fff; }
.flip { transform: scaleX(-1); }

/* ---------- Турнир ---------- */
.tr { padding-top: 22px; }
.tr-hero { position: relative; min-height: 340px; border-radius: 10px; overflow: hidden; background: #15171c center right / cover no-repeat; color: #fff; }
.tr-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 14, .92) 0%, rgba(10, 11, 14, .78) 40%, rgba(10, 11, 14, .1) 75%); }
.tr-hero-in { position: relative; padding: 36px 28px 26px; }
.tr-g { display: flex; align-items: center; gap: 6px; color: var(--o); }
.tr-g svg { color: var(--o); }
.tr-g b { font: 400 22px var(--fd); }
.tr-hero h1 { margin: 12px 0 0; font: 400 54px/1.08 var(--fd); text-transform: uppercase; letter-spacing: .3px; max-width: 900px; }
.tr-hero h1 em { display: block; font-style: normal; color: var(--o); }
.tr-facts { display: flex; margin-top: 34px; }
.tr-facts > div { display: flex; align-items: flex-start; gap: 16px; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .18); }
.tr-facts > div:first-child { padding-left: 0; border-left: 0; }
.tr-facts svg { color: var(--o); flex: none; }
.tr-facts small { display: block; font-size: 14.5px; color: #c9cdd4; margin-bottom: 6px; }
.tr-facts b { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.4; }
.tr-reg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.tr-reg:empty { display: none; }
.tr-reg .xbtn.sm { height: 34px; padding: 0 14px; font-size: 14px; }
.tr-in { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(34, 164, 90, .2); color: #8ee6b0; font-weight: 500; }
.tr-hint { color: #c9cdd4; font-size: 14px; }
.tr-tabs { display: flex; margin-top: 18px; height: 68px; padding: 0 10px; }
.tr-tabs button { position: relative; display: flex; align-items: center; gap: 14px; padding: 0 30px; border: 0; background: none; color: var(--ink2); font: 500 17px var(--ff); cursor: pointer; }
.tr-tabs button + button::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--ln2); }
.tr-tabs svg { color: #6b7280; }
.tr-tabs button.on { color: var(--o); }
.tr-tabs button.on svg { color: var(--o); }
.tr-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--o); }
.tr-grid { display: grid; grid-template-columns: 1fr 320px; gap: 16px; margin-top: 18px; align-items: start; }
.tr-main { padding: 22px 16px 24px; min-width: 0; }
.tr-mh { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--ln2); margin-bottom: 18px; }
.tr-mh.sub { margin-top: 28px; }
.tr-mh h2 { margin: 0; font: 600 22px var(--ff); color: var(--ink); }
.tr-mh > span { display: inline-flex; align-items: center; gap: 8px; color: var(--gr); font-size: 14.5px; }
.tr-mh > span svg { color: #8b919c; }
.tr-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 50px 20px; text-align: center; color: var(--gr); }
.tr-empty svg { color: var(--o); }
.tr-empty b { color: var(--ink); font-size: 17px; font-weight: 600; }
.tr-side { display: flex; flex-direction: column; gap: 16px; }
.tr-card { padding: 20px 16px 16px; }
.tr-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tr-h svg { color: var(--o); }
.tr-h > svg:first-child { color: var(--ink); }
.tr-card:first-child .tr-h > svg:first-child { color: var(--o); }
.tr-h h3 { margin: 0; font: 600 20px var(--ff); color: var(--ink); }
.tr-h h3, .tr-more { white-space: nowrap; }
.tr-more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gr); }
.tr-more svg { color: var(--gr); }
.tr-cup { display: flex; gap: 16px; padding: 7px; border: 1px solid var(--ln2); border-radius: 8px; }
.tr-cup + .tr-cup { margin-top: 10px; }
.tr-cup-img { width: 98px; height: 92px; border-radius: 6px; background: radial-gradient(circle at 50% 40%, #6b4a1f, #2a1d0f); display: grid; place-items: center; flex: none; overflow: hidden; }
.tr-cup:nth-of-type(2) .tr-cup-img { background: radial-gradient(circle at 50% 40%, #8d939c, #3e4248); }
.tr-cup:nth-of-type(3) .tr-cup-img { background: radial-gradient(circle at 50% 40%, #8a5a33, #3a2414); }
.tr-cup-img img { width: 84px; height: 84px; object-fit: contain; }
.tr-cup > div { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tr-cup b { font-weight: 600; font-size: 16px; color: var(--ink); }
.tr-cup b em { font-style: normal; color: var(--o); }
.tr-cup span { font-size: 15px; color: var(--ink2); }
.tr-cup strong { font-weight: 600; font-size: 17px; color: var(--o); }
.tr-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tr-map { position: relative; height: 84px; border-radius: 6px; background: #2a2d33 center / cover no-repeat; overflow: hidden; }
.tr-map::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .7)); }
.tr-map b { position: absolute; left: 8px; bottom: 6px; color: #fff; font-weight: 600; font-size: 15px; }
.tr-rules { margin: 0; padding: 0; list-style: none; }
.tr-rules li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 21px; color: var(--ink2); }
.tr-rules li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--o); }
.tr-rules b { font-weight: 500; color: var(--ink); }
.tr-team { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.tr-team b { font-weight: 500; }
.tr-place { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #eef0f3; }
.tr-place.p1 { background: #ffe9a8; } .tr-place.p2 { background: #e5e7eb; } .tr-place.p3 { background: #f6d2b5; }
.tr-mrow { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 10px; border-bottom: 1px solid var(--ln2); color: var(--ink); }
.tr-mrow:hover { background: #fafbfc; color: var(--ink); }
.tr-mr { width: 120px; font-size: 13.5px; color: var(--gr); }
.tr-mt { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.tr-mt.r { justify-content: flex-end; }
.tr-mt b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-mt i { color: var(--gr2); font-style: normal; }
.tr-mrow strong { width: 80px; text-align: center; font-size: 17px; }
.tr-mrow strong .live, .bk-live { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--o); color: #fff; font: 600 12px var(--ff); font-style: normal; }
.tr-text { white-space: pre-wrap; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.tr-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 500; }
.tr-aw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tr-aw-c { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border: 1px solid var(--ln2); border-radius: 10px; text-align: center; }
.tr-aw-c img { width: 120px; height: 120px; object-fit: contain; }
.tr-aw-c b { font-size: 17px; font-weight: 600; }
.tr-aw-c strong { color: var(--o); font-weight: 600; }
.tr-aw-c a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.tr-note { margin: 16px 0 0; color: var(--gr); font-size: 14px; }
.tr-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tr-kv > div { padding: 12px 14px; border: 1px solid var(--ln2); border-radius: 8px; }
.tr-kv small { display: block; font-size: 13px; color: var(--gr); margin-bottom: 4px; }
.tr-kv b { font-weight: 500; font-size: 15px; color: var(--ink); }
.tr-champ { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 16px; border-radius: 8px; background: #fff7f1; border: 1px solid #ffe0cc; }
.tr-champ img { width: 54px; height: 54px; object-fit: contain; }
.tr-champ small { display: block; color: var(--gr); font-size: 13px; }
.tr-champ a { font-weight: 600; font-size: 18px; color: var(--ink); }

/* сетка */
.bk-wrap { overflow-x: auto; padding-bottom: 6px; }
.bk { display: flex; min-width: max-content; }
.bk-col { display: flex; flex-direction: column; width: 226px; }
.bk-col + .bk-col { margin-left: 30px; }
.bk-col h5 { margin: 0 0 18px; height: 22px; font: 500 16px var(--ff); color: var(--ink2); }
.bk-body { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.bk-pair { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.bk-pair::after { content: ''; position: absolute; right: -16px; top: 25%; bottom: 25%; width: 14px; border: 1.5px solid #c9ced6; border-left: 0; border-radius: 0 4px 4px 0; }
.bk-pair.on::after { border-color: var(--o); }
.bk-pair.one::after { display: none; }
.bk-pair::before { content: ''; position: absolute; right: -30px; top: 50%; width: 14px; height: 1.5px; background: #c9ced6; }
.bk-pair.on::before { background: var(--o); }
.bk-pair.one::before { right: -30px; width: 30px; }
.bk-cell { padding: 6px 0; display: flex; align-items: center; }
.bk-third { margin-top: 26px; }
.bk-third h5 { margin-bottom: 10px; }
.bk-m { position: relative; display: block; width: 100%; border: 1px solid #e3e6eb; border-radius: 6px; background: #fff; color: var(--ink); }
.bk-m:hover { border-color: #c9ced6; color: var(--ink); }
.bk-m.fin.live, .bk-m.fin.done { border: 1.5px solid var(--o); box-shadow: 0 2px 10px rgba(251, 90, 14, .12); }
.bk-t { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 6px 0 10px; }
.bk-t + .bk-t { border-top: 1px solid #f0f2f5; }
.bk-t > i { width: 20px; font-style: normal; font-size: 14px; color: var(--gr); text-align: center; flex: none; }
.bk-t > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.bk-t.lose > span { color: var(--gr); }
.bk-t b { width: 28px; height: 30px; border-radius: 4px; background: #f5f6f8; display: grid; place-items: center; font-weight: 500; font-size: 15px; color: var(--gr); flex: none; }
.bk-t b.w { color: var(--ink); font-weight: 600; }
.bk-ph { width: 24px; height: 24px; border-radius: 50%; background: #eef0f3; flex: none; }
.bk-live { position: absolute; left: 0; top: -14px; transform: translateY(-50%); }
.bk-live.s { left: auto; right: 6px; top: 0; height: 18px; font-size: 10.5px; }
