/* ---------- Страница команды ---------- */
.tm-crumbs { margin: 20px 0 0 16px; }
.tm-top { display: grid; grid-template-columns: 302px 1fr; gap: 15px; margin-top: 16px; align-items: start; }
.tm-side { padding: 12px 12px 14px; }
.tm-logo { position: relative; height: 280px; border-radius: 8px; background: #15171c; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tm-logo img { width: 100%; height: 100%; object-fit: cover; }
.tm-logo > b { font: 400 64px var(--fd); color: #fff; }
.tm-logo .pl { position: absolute; top: 14px; left: 14px; z-index: 2; height: 26px; }
.tm-mi { display: flex; align-items: center; gap: 14px; width: 100%; height: 46px; margin-top: 12px; padding: 0 14px; border: 1px solid #e6e9ee; border-radius: 8px; background: #fff; font-size: 16px; color: var(--ink); cursor: pointer; text-align: left; position: relative; }
.tm-mi > svg:first-child { color: #4f5663; }
.tm-mi span { flex: 1; }
.tm-mi > svg:last-child { color: #6b7280; }
a.tm-mi:hover, button.tm-mi:hover { border-color: #f3c3ad; color: var(--ink); }
.tm-warn { border: 0; height: 56px; padding: 0 2px; margin-top: 8px; flex-wrap: wrap; align-content: center; gap: 0 14px; }
.tm-warn > svg:first-child { color: var(--o); }
.tm-warn b { color: var(--o); font-weight: 600; }
.tm-warn i { flex-basis: 100%; height: 6px; margin: 8px 0 0 38px; border-radius: 3px; background: #e9ecf0; overflow: hidden; }
.tm-warn i em { display: block; height: 100%; background: var(--o); border-radius: 3px; }
.tm-leave { display: flex; align-items: center; gap: 14px; width: 100%; height: 48px; margin-top: 18px; padding: 0 14px; border: 1px solid #f6c5c3; border-radius: 8px; background: #fff3f2; color: var(--red); font-size: 15px; cursor: pointer; }
.tm-main { padding: 20px 22px 22px; }
.tm-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid #eef0f3; }
.tm-name { display: flex; align-items: center; gap: 18px; }
.tm-name .flag { width: 40px; height: 27px; border-radius: 3px; }
.tm-name h1 { margin: 0 !important; font: 800 34px/1.1 var(--ff) !important; letter-spacing: .3px !important; color: var(--ink); }
.tm-pills { display: flex; gap: 30px; margin-top: 14px; }
.tm-pill { height: 42px; display: inline-flex; align-items: center; gap: 14px; padding: 0 14px; border: 1px solid #e9ecf0; border-radius: 8px; font-size: 17px; color: var(--ink); }
.tm-pill i { font-style: normal; color: #7b8290; }
.tm-pill b { font-weight: 600; margin-left: 4px; }
.tm-pill button { border: 0; background: none; color: #5f6878; cursor: pointer; padding: 0 0 0 10px; display: flex; }
.tm-wdl { display: flex; align-items: flex-start; margin-top: 16px; }
.tm-wdl > div { display: flex; align-items: center; gap: 22px; padding: 0 28px; border-left: 1px solid #e3e6eb; height: 52px; }
.tm-wdl > div:first-child { border-left: 0; }
.tm-wdl img { width: 34px; height: 34px; object-fit: contain; }
.tm-wdl small { display: block; font-size: 16px; color: #5d6472; }
.tm-wdl b { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.tm-wdl b.w { color: #2a9a4f; } .tm-wdl b.d { color: #6b7280; } .tm-wdl b.l { color: #e5322d; }
.tm-info { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-top: 6px; }
.tm-info > div { padding: 0 0 0 0; }
.tm-info > div + div { border-left: 1px solid #eef0f3; padding-left: 22px; }
.tm-info p { display: flex; gap: 22px; margin: 16px 0 0; align-items: flex-start; }
.tm-info p > svg { color: #4f5663; margin-top: 2px; flex-shrink: 0; }
.tm-info span { font-size: 17px; color: var(--ink); line-height: 1.45; }
.tm-info small { display: block; font-size: 17px; color: #7b8290; }
.tm-dot { width: 26px; height: 26px; flex-shrink: 0; background: url('/p/ic_status.png') center / 12px no-repeat; position: relative; }
.tm-dot::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #32a852; box-shadow: 0 0 0 4px rgba(50, 168, 82, .18); }
.tm-dot.inactive::after, .tm-dot.disbanded::after { background: #9aa0aa; box-shadow: none; }
.tm-dot.blocked::after { background: var(--red); box-shadow: none; }
.st { font-weight: 600; color: #2a9a4f; } .st.blocked { color: var(--red); } .st.inactive, .st.disbanded { color: #6b7280; }
.tm-tg { color: #2b8fd6; display: flex; }
.tm-link { color: #2b7fd0; font-weight: 600; }
.tm-act { display: flex; gap: 17px; margin-top: 26px; }
.tm-act .xbtn { height: 55px; font-size: 18px; font-weight: 600; gap: 18px; }
.tm-act .xbtn.o { width: 376px; }
.tm-act .xbtn.w { width: 323px; color: #4a5160; }
.tm-aw { margin-top: 16px; padding: 18px 22px 18px; }
.tm-card-h { display: flex; align-items: center; gap: 18px; }
.tm-card-h > svg { color: var(--o); }
.tm-card-h h3 { margin: 0 !important; font: 600 20px var(--ff) !important; color: var(--ink); }
.tm-card-h h3 i { font-style: normal; color: #7b8290; font-weight: 400; }
.tm-card-h .more { margin-left: auto; border: 0; background: none; cursor: pointer; }
.tm-aw-row { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 22px; }
.tm-aw-i { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 2px; }
.tm-aw-img { width: 70px; height: 70px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.tm-aw-i:hover .tm-aw-img { background: #fff; box-shadow: 0 2px 10px rgba(17, 24, 39, .12); }
.tm-aw-i small { margin-top: 10px; font-size: 13px; line-height: 17px; color: #6b7280; min-height: 34px; }
.tm-aw-i b { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.tm-aw-i.off .award-img { filter: grayscale(1); opacity: .45; }
.tm-aw-i::after { content: attr(data-tip); position: absolute; bottom: calc(100% - 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 220px; padding: 8px 12px; border-radius: 6px; background: #15171c; color: #fff; font-size: 13px; line-height: 18px; text-align: left; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 5; }
.tm-aw-i:hover::after { opacity: 1; }
.tm-grid { display: grid; grid-template-columns: 1fr 482px; gap: 16px; margin-top: 16px; align-items: start; }
.tm-col { display: flex; flex-direction: column; gap: 16px; }
.tm-roster, .tm-req, .tm-games { padding: 18px 12px 10px; }
.tm-roster .tm-card-h, .tm-req .tm-card-h, .tm-games .tm-card-h { padding: 0 6px 12px; }
.tm-tbl { width: 100%; border-collapse: collapse; }
.tm-tbl th { height: 40px; font-size: 14px; font-weight: 400; color: #7b8290; text-align: left; padding: 0 8px; border-bottom: 1px solid #eef0f3; }
.tm-tbl td { height: 46px; padding: 0 8px; font-size: 15px; color: var(--ink); border-bottom: 1px solid #f0f2f5; }
.tm-tbl tr:last-child td { border-bottom: 0; }
.tm-tbl .c { text-align: center; }
.tm-tbl .g { color: #6b7280; }
.tm-pl { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.tm-role { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 6px; background: #eef0f4; font-size: 14px; font-weight: 600; color: #2b3039; }
.tm-rank { display: inline-flex; align-items: center; gap: 10px; }
.tm-on { display: inline-flex; align-items: center; gap: 8px; color: #2a9a4f; }
.tm-on::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #32a852; }
.tm-off { display: inline-flex; align-items: center; gap: 8px; color: #8b919c; font-size: 14px; }
.tm-off::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #c5cad3; }
.tm-steam { display: inline-flex; align-items: center; gap: 14px; color: #4f5663; }
.tm-req-i { display: flex; align-items: center; gap: 16px; padding: 10px 8px; border-top: 1px solid #f0f2f5; }
.tm-req-who b { display: block; font-size: 16px; font-weight: 600; }
.tm-req-who small { font-size: 14px; color: #6b7280; display: flex; align-items: center; gap: 8px; }
.tm-req-who small i { width: 5px; height: 5px; border-radius: 50%; background: var(--o); }
.tm-req-when { margin-left: auto; margin-right: 50px; font-size: 14px; color: #6b7280; }
.tm-req .xbtn.sm { width: 110px; height: 36px; }
.tm-req .xbtn.g { background: linear-gradient(180deg, #3cb36a, #2a9a55); }
.tm-none { padding: 18px 8px; margin: 0; color: #8b919c; }
.tm-op { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.tm-res { width: 24px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; }
.tm-res.W { background: #2fa85a; } .tm-res.L { background: #ec3f3a; } .tm-res.D { background: #9aa0aa; }
.tm-sc { font-weight: 600; } .tm-sc.W b { color: #2a9a4f; } .tm-sc.L b { color: var(--red); }
.tm-sc.W { color: #2a9a4f; } .tm-sc.L { color: var(--red); }
.tm-mlink { color: #2b7fd0; }
.tm-gt td { height: 40px; }
.tm-chat { padding: 18px 16px 16px; }
.tm-chat .tm-card-h { padding: 0 4px 14px; }
.tm-chat .tm-card-h > svg { color: #4a5160; }
.tm-dots { margin-left: auto; color: #6b7280; }
.tm-chat-lock { padding: 60px 20px; text-align: center; color: #8b919c; }
