/* Tournament/search experience upgrade — additive and isolated with tx-* classes. */
.tx-enhanced .profile-hero{margin-bottom:0}
.tx-competition-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:0 0 20px 20px;overflow:hidden;margin:0 0 18px}
.tx-competition-summary>div,.tx-competition-summary>button{min-width:0;border:0;background:var(--surface-2,#101412);color:inherit;padding:13px 14px;display:grid;gap:3px;text-align:inherit}
.tx-competition-summary>button{cursor:pointer}
.tx-competition-summary span{font-size:11px;color:var(--muted,#98a09c);font-weight:800}
.tx-competition-summary b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tx-enhanced .app-tabs{position:sticky;top:0;z-index:30;background:rgba(7,9,8,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding-block:8px;overflow-x:auto;scrollbar-width:none}
.tx-enhanced .app-tabs::-webkit-scrollbar{display:none}
.tx-overview{margin:18px 0 24px;padding:18px;border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));border:1px solid rgba(255,255,255,.08)}
.tx-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.tx-section-head>div{display:grid;gap:3px}.tx-section-head span{font-size:10px;letter-spacing:.15em;color:var(--accent,#c7ff37);font-weight:900}.tx-section-head h2{margin:0;font-size:clamp(21px,4vw,30px)}.tx-section-head>small{max-width:480px;color:var(--muted,#98a09c);line-height:1.7}
.tx-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tx-quick-card{border:1px solid rgba(255,255,255,.08);background:var(--surface-2,#101412);color:inherit;border-radius:17px;padding:14px;display:grid;gap:9px;text-align:inherit;min-width:0;cursor:pointer}.tx-quick-card>span{font-size:11px;color:var(--muted,#98a09c);font-weight:800}.tx-quick-card>small{font-size:11px;color:var(--muted,#98a09c);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-quick-card.is-empty{cursor:default}.tx-quick-match{display:grid;grid-template-columns:28px minmax(0,1fr) auto minmax(0,1fr) 28px;align-items:center;gap:6px}.tx-quick-match i{width:28px;height:28px;border-radius:50%;overflow:hidden;background:#fff;display:grid;place-items:center}.tx-quick-match img{width:100%;height:100%;object-fit:contain}.tx-quick-match b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-quick-match strong{font-size:14px;white-space:nowrap}.tx-scorer>b{font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-scorer>strong{color:var(--accent,#c7ff37);font-size:16px}
.tx-stage-track{display:flex;gap:8px;overflow-x:auto;padding:14px 1px 3px;margin-top:12px;scroll-snap-type:x proximity}.tx-stage-track>div{min-width:130px;scroll-snap-align:start;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px 12px;display:grid;gap:4px;background:rgba(255,255,255,.025)}.tx-stage-track span{font-size:10px;color:var(--muted,#98a09c)}.tx-stage-track b{font-size:12px}.tx-stage-track .is-done{border-color:rgba(199,255,55,.2);background:rgba(199,255,55,.05)}
.tx-overview-table{margin-top:18px}.tx-subhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.tx-subhead b{font-size:17px}.tx-subhead button{border:0;background:transparent;color:var(--accent,#c7ff37);font-weight:900;cursor:pointer}
.tx-group-table{margin:0 0 14px}.tx-group-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.tx-group-title b{font-size:15px}.tx-group-title span{font-size:10px;color:var(--muted,#98a09c)}.tx-table-wrap{overflow-x:auto;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:var(--surface-2,#101412)}.tx-table-wrap table{width:100%;border-collapse:collapse;min-width:680px}.tx-table-wrap th,.tx-table-wrap td{padding:10px 9px;text-align:center;border-bottom:1px solid rgba(255,255,255,.055);font-size:12px;white-space:nowrap}.tx-table-wrap th{color:var(--muted,#98a09c);font-size:10px;font-weight:900;background:rgba(255,255,255,.025)}.tx-table-wrap th:nth-child(2),.tx-table-wrap td:nth-child(2){text-align:start}.tx-table-wrap tr:last-child td{border-bottom:0}.tx-table-wrap tbody tr{cursor:pointer}.tx-team-cell{display:flex;align-items:center;gap:8px;min-width:145px}.tx-team-cell img{width:26px;height:26px;border-radius:50%;object-fit:contain;background:#fff}.tx-rank{width:24px;height:24px;border-radius:8px;display:inline-grid;place-items:center;background:rgba(255,255,255,.06);font-weight:900}.tx-rank.is-top{background:rgba(199,255,55,.12);color:var(--accent,#c7ff37)}.tx-standings-note{font-size:11px;line-height:1.7;color:var(--muted,#98a09c);padding:8px 2px 0}
#searchLayer .search-panel{max-width:760px}.tx-search-empty,.tx-search-none{display:grid;gap:16px}.tx-search-title{display:flex;justify-content:space-between;align-items:end;gap:10px}.tx-search-title small,.tx-search-none small{color:var(--muted,#98a09c)}.tx-search-tournaments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tx-search-tournaments>button{border:1px solid rgba(255,255,255,.08);background:var(--surface-2,#101412);color:inherit;border-radius:15px;padding:11px;display:flex;align-items:center;gap:10px;text-align:inherit;cursor:pointer}.tx-search-tournaments img{width:42px;height:42px;border-radius:12px;object-fit:contain;background:#fff}.tx-search-tournaments span{display:grid;gap:2px;min-width:0}.tx-search-tournaments b,.tx-search-tournaments small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-search-tournaments small{font-size:10px;color:var(--muted,#98a09c)}.tx-search-shortcuts{display:flex;gap:7px;overflow-x:auto}.tx-search-shortcuts button,.tx-search-none button{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:inherit;border-radius:999px;padding:8px 12px;white-space:nowrap;cursor:pointer}.tx-search-query{font-size:12px;color:var(--muted,#98a09c);margin-bottom:10px}.tx-search-group{margin-bottom:14px}.tx-search-group-head{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 7px}.tx-search-group-head b{font-size:13px}.tx-search-group-head span{font-size:10px;color:var(--muted,#98a09c)}.tx-search-result{width:100%;border:0;border-top:1px solid rgba(255,255,255,.055);background:transparent;color:inherit;padding:10px 2px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:inherit;cursor:pointer}.tx-search-result i{width:44px;height:44px;border-radius:13px;overflow:hidden;background:rgba(255,255,255,.06);display:grid;place-items:center}.tx-search-result img{width:100%;height:100%;object-fit:cover}.tx-search-result>span{display:grid;gap:3px;min-width:0}.tx-search-result b,.tx-search-result small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-search-result small{font-size:11px;color:var(--muted,#98a09c)}.tx-search-result em{font-style:normal;font-size:9px;font-weight:900;color:var(--accent,#c7ff37);background:rgba(199,255,55,.08);padding:5px 7px;border-radius:999px}.tx-search-none{padding:26px;text-align:center;border:1px dashed rgba(255,255,255,.12);border-radius:16px}.tx-search-none button{justify-self:center;color:var(--accent,#c7ff37)}
@media(max-width:900px){.tx-competition-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.tx-quick-grid{grid-template-columns:1fr}.tx-section-head{align-items:flex-start;flex-direction:column;gap:6px}.tx-section-head>small{max-width:none}.tx-search-tournaments{grid-template-columns:1fr}}
@media(max-width:560px){.tx-overview{padding:13px;margin-inline:-2px}.tx-competition-summary{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:0 0 16px 16px}.tx-competition-summary>div,.tx-competition-summary>button{padding:10px 11px}.tx-group-title{align-items:flex-start;flex-direction:column;gap:3px}.tx-table-wrap table{min-width:610px}.tx-search-result{grid-template-columns:40px minmax(0,1fr) auto}.tx-search-result i{width:40px;height:40px}.tx-search-result em{font-size:8px;padding:4px 6px}}
