/* ---------- Поиск команды и игроков ---------- */
.tb { padding-top: 22px; }
.tb-hero { position: relative; padding: 22px 18px 0; border-radius: 12px; overflow: hidden; background: #f4f6f9 url('/p/art_opening.jpg') right center / auto 140% no-repeat; }
.tb-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f4f6f9 0%, rgba(244, 246, 249, .97) 45%, rgba(244, 246, 249, .75) 70%, rgba(244, 246, 249, .55)); }
.tb-hero > * { position: relative; }
.tb-bc { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #6b7280; }
.tb-bc a { color: #3c6ea8; }
.tb-bc svg { color: #9aa1ab; }
.tb-hero h1 { display: flex; align-items: flex-start; gap: 16px; margin: 30px 0 0; font: 400 50px/1.08 var(--fd); text-transform: uppercase; color: var(--ink); }
.tb-hero h1 svg { color: var(--o); flex: none; margin-top: 2px; }
.tb-hero h1 em { display: block; font-style: normal; color: var(--o); margin-left: -68px; }
.tb-hero p { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: #5d6472; }
.tb-post { position: absolute; top: 116px; left: 58%; height: 60px; padding: 0 30px; font-size: 18px; gap: 16px; }
.tb-tabs { display: flex; gap: 10px; margin-top: 30px; }
.tb-tabs button { display: flex; align-items: center; gap: 16px; height: 68px; padding: 0 30px; border: 1px solid #e3e6eb; border-bottom: 0; border-radius: 10px 10px 0 0; background: #fff; color: #5d6472; font: 500 18px var(--ff); cursor: pointer; }
.tb-tabs button svg { color: #5d6472; }
.tb-tabs button.on { border-color: #ffb48a; color: var(--o); box-shadow: inset 0 -3px 0 var(--o); }
.tb-tabs button.on span { text-decoration: underline; text-underline-offset: 4px; }
.tb-tabs button.on svg { color: var(--o); }
.tb-fl { display: grid; grid-template-columns: 1fr 1fr 1.05fr .75fr .78fr .7fr auto; gap: 18px; align-items: start; padding: 18px 14px 20px; border-top-left-radius: 0; }
.tb-fl h6 { margin: 4px 0 12px; font: 500 16px var(--ff); color: var(--ink2); }
.tb-s { position: relative; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 6px; border: 1px solid #dfe3e8; background: #fff; }
.tb-s svg { color: #5d6472; flex: none; }
.tb-s b { flex: 1; min-width: 0; font-weight: 400; font-size: 15px; color: #3c424d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-s select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tb-chips button, .tb-chips label span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid #e3e6eb; background: #fff; color: #5d6472; font: 400 14px var(--ff); cursor: pointer; }
.tb-chips button.on, .tb-chips label input:checked + span { background: var(--o); border-color: var(--o); color: #fff; }
.tb-chips label input { display: none; }
.tb-reset { margin-top: 38px; height: 46px; padding: 0 16px; gap: 8px; font-size: 15px; background: #fff; border: 1px solid #ffb48a; color: var(--o); }
.tb-reset svg { color: var(--o); }
.tb-g { display: grid; grid-template-columns: 1fr 318px; gap: 14px; margin-top: 18px; align-items: start; }
.tb-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tb-p { display: flex; flex-direction: column; padding: 18px 18px 18px; }
.tb-ph { display: flex; align-items: flex-start; gap: 14px; }
.tb-av .av { border-radius: 50%; overflow: hidden; }
.tb-av .tl { border-radius: 12px; }
.tb-pn { flex: 1; min-width: 0; padding-top: 6px; }
.tb-pn > a { font: 600 19px var(--ff); color: var(--ink); margin-right: 8px; }
.tb-pn > div { margin-top: 10px; }
.tb-pn .pl { min-width: 50px; height: 26px; font-size: 14px; }
.tb-lvl, .tb-slots { display: flex; flex-direction: column; align-items: center; }
.tb-lvl b { display: grid; place-items: center; width: 40px; height: 44px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font: 600 16px var(--ff); color: #fff; }
.tb-lvl.g b { background: linear-gradient(180deg, #ffcd4a, #d88a10); }
.tb-lvl.s b { background: linear-gradient(180deg, #d9dce1, #8d939c); }
.tb-lvl.b b { background: linear-gradient(180deg, #e7a271, #a5582c); }
.tb-lvl small, .tb-slots small { margin-top: 4px; font-size: 13px; color: #6b7280; }
.tb-slots b { font: 600 20px var(--ff); color: var(--ink); }
.tb-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tb-roles span { height: 30px; padding: 0 14px; border-radius: 15px; background: #f1f3f6; font-size: 14px; line-height: 30px; color: #5d6472; }
.tb-roles span.on { background: var(--o); color: #fff; }
.tb-st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.tb-st span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.tb-st svg { grid-row: 1 / 3; color: #6b7280; }
.tb-st small { font-size: 13px; color: #8b919c; }
.tb-st b { font-weight: 500; font-size: 15px; color: var(--ink); }
.tb-note { flex: 1; margin: 16px 0 18px; font-size: 15px; line-height: 1.55; color: #5d6472; }
.tb-p .xbtn { width: 100%; height: 44px; font-size: 16px; gap: 12px; }
.tb-msg { margin-top: 10px; background: #fff; border: 1px solid #dfe3e8; color: #3c424d; }
.tb-msg svg { color: #3c424d; }
.tb-empty { grid-column: 1 / -1; padding: 50px 30px; text-align: center; color: #6b7280; font-size: 16px; }
.tb-side { padding: 18px 14px 14px; }
.tb-sh { display: flex; align-items: center; gap: 12px; margin: 0 4px 16px; }
.tb-sh svg { color: var(--ink); }
.tb-sh h3 { margin: 0; font: 600 20px var(--ff); color: var(--ink); }
.tb-sh a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #6b7280; white-space: nowrap; }
.tb-req { display: flex; gap: 16px; padding: 14px; border: 1px solid #e9ecf0; border-radius: 8px; color: var(--ink); }
.tb-req + .tb-req { margin-top: 10px; }
.tb-req:hover { color: var(--ink); border-color: #d6dae0; }
.tb-req .tl { border-radius: 8px; flex: none; }
.tb-req b { display: block; font-weight: 500; font-size: 16px; }
.tb-req em { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 6px; font: 600 12.5px var(--ff); font-style: normal; letter-spacing: .3px; }
.tb-req em.w { background: #fff3ec; color: var(--o); border: 1px solid #ffd3bb; }
.tb-req em.ok { background: #e7f7ee; color: #1f9d55; }
.tb-req em.no { background: #fff0f0; color: #e5484d; }
.tb-req em.mut { background: #eef0f3; color: #6b7280; }
.tb-req small { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: #6b7280; }
.tb-mut { padding: 20px 6px; text-align: center; color: #6b7280; margin: 0; }
.tb-form .tb-chk { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.tb-more { grid-column: 1 / -1; height: 46px; background: #fff; border: 1px solid #dfe3e8; color: #3c424d; }
