.community-layout.is-wide{grid-template-columns:minmax(0,1fr)}
.community-tabs button{white-space:nowrap}
.tn{display:flex;flex-direction:column;gap:16px;min-width:0}
.tn .section-heading{margin:10px 0 0}
.tn .section-heading h2{margin:0;font-size:19px;font-weight:600;letter-spacing:-.2px}
.tn .section-heading p{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.tn-grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.tn-grow strong,.tn-grow h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-grow small{font-size:12px;color:var(--muted);line-height:1.4}
.tn-block{padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.tn-block-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.tn-block-head h2{margin:0;font-size:16px;font-weight:600}
.tn-row{display:flex;align-items:center;gap:13px}
.tn-invites .tn-row+.tn-row{padding-top:14px;border-top:1px solid var(--line)}
.tn-row-actions{display:flex;gap:8px;flex:none}
.tn-row-actions .primary,.tn-row-actions .secondary{min-height:38px;padding:8px 14px;font-size:13px;width:auto;margin:0}
.tn-logo{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,rgb(var(--accent-rgb)/.32),rgb(var(--accent-rgb)/.08));border:1px solid rgb(var(--accent-rgb)/.3);font-size:12px;font-weight:700;letter-spacing:.4px;color:var(--accent-soft)}
.tn-logo.is-lg{width:52px;height:52px;border-radius:16px;font-size:15px}
.tn-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:600;background:#ffffff0d;color:#c7cdd6;white-space:nowrap}
.tn-chip.is-live,.tn-chip.is-open{background:#8bc4a81f;color:var(--green)}
.tn-chip.is-live:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;animation:tn-pulse 1.6s infinite}
.tn-chip.is-mine{background:rgb(var(--accent-rgb)/.16);color:var(--accent-soft)}
.tn-chip.is-done{color:var(--muted)}
@keyframes tn-pulse{50%{opacity:.3}}
.tn-cards{display:grid;gap:12px}
.tn-card{display:flex;align-items:stretch;gap:14px;padding:12px;text-align:left;color:inherit;width:100%;cursor:pointer;transition:border-color .2s,transform .2s}
.tn-card:hover{border-color:#ffffff24}
.tn-card:active{transform:scale(.99)}
.tn-card.is-done{opacity:.6}
.tn-card-art{flex:none;width:86px;min-height:86px;border-radius:13px;background:#ffffff08 center/cover no-repeat;display:grid;place-items:center;color:var(--gold)}
.tn-card-art svg{width:28px;height:28px}
.tn-card-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;padding:2px 0}
.tn-card-top{display:flex;flex-wrap:wrap;gap:6px}
.tn-card-copy strong{font-size:16px;font-weight:600;line-height:1.3}
.tn-card-copy small{font-size:12px;color:var(--muted)}
.tn-card-meta{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:auto;padding-top:4px;font-size:12px;color:#c7cdd6}
.tn-card-meta span{display:inline-flex;align-items:center;gap:5px}
.tn-card-meta svg{width:14px;height:14px;opacity:.7}
.tn-prize{color:var(--gold)!important}
.tn-card-go{flex:none;align-self:center;color:var(--subtle)}
.tn-card-go svg{width:18px;height:18px}
.tn-new{display:inline-flex;align-items:center;gap:8px;width:auto!important;margin:0!important;flex:none;min-height:40px;padding:8px 14px}
.tn-new svg,.tn-join .primary svg{width:16px;height:16px}
.tn-empty{text-align:center;gap:4px}
.tn-empty p{margin:0;font-size:15px}
.tn-empty small{color:var(--muted);font-size:13px}
.tn-teams{display:grid;gap:12px}
.tn-team{padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.tn-team-head{display:flex;align-items:center;gap:14px}
.tn-team-head h3{margin:0;font-size:17px;font-weight:600}
.tn-team-head h3 small{font-size:13px;color:var(--muted);font-weight:500}
.tn-pills{display:flex;flex-wrap:wrap;gap:6px}
.tn-pills .pill{background:none;cursor:pointer;color:#c7cdd6}
.tn-members{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.tn-member{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.tn-member .avatar,.tn-pick .avatar{width:36px;height:36px;border-radius:12px;font-size:12px;margin:0}
.tn-member.is-invited{opacity:.6}
.tn-member .text-button{min-height:30px;padding:4px 6px}
.tn-invite{display:flex;gap:8px}
.tn-invite input,.tn-score input,.tn-sheet-form input{flex:1;min-width:0;min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid var(--line);background:#ffffff08;color:var(--text);font:inherit;font-size:15px;outline:none}
.tn-invite input:focus,.tn-score input:focus,.tn-sheet-form input:focus{border-color:#ffffff2e}
.tn-invite .primary{width:auto;flex:none;min-height:44px;padding:10px 18px}
.tn-team-foot{display:flex;justify-content:flex-end}
.text-button.is-danger{color:#ff8a94}
.tn-back{display:inline-flex;align-items:center;gap:4px;align-self:flex-start}
.tn-back svg{width:16px;height:16px;transform:rotate(180deg)}
.tn-hero{position:relative;overflow:hidden;border-radius:var(--radius);border:1px solid var(--line);padding:22px;min-height:130px;display:flex;align-items:flex-end;background:linear-gradient(150deg,rgb(var(--accent-rgb)/.22),#0000 60%),var(--panel)}
.tn-hero.has-art{min-height:200px;background:linear-gradient(0deg,var(--bg) 6%,#0000 80%),var(--art) center/cover no-repeat}
.tn-hero-copy{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.tn-hero h2{margin:0;font-size:26px;font-weight:700;letter-spacing:-.4px;line-height:1.15}
.tn-hero p{margin:0;font-size:14px;color:#c7cdd6}
.tn-hero .tn-hero-desc{color:var(--muted);line-height:1.5}
.tn-mine .tn-row{flex-wrap:wrap}
.tn-server{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:12px;background:#ffffff08}
.tn-server small{font-size:12px;color:var(--muted)}
.tn-server code{flex:1;min-width:0;font-size:13px;color:var(--green);word-break:break-all;user-select:all}
.tn-actions{display:flex;gap:8px}
.tn-actions>*{flex:1;margin:0!important}
.tn-match-now{border-color:#8bc4a840}
.tn-match-head small{font-size:12px;color:var(--green);font-weight:600}
.tn-match-head h2{margin:4px 0 0;font-size:20px;font-weight:600}
.tn-match-head h2 span{font-size:14px;color:var(--muted);font-weight:500;margin:0 4px}
.tn-veto{display:flex;flex-direction:column;gap:10px}
.tn-veto h3{margin:0;font-size:14px;font-weight:600}
.tn-maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.tn-map{min-height:46px;border-radius:12px;border:1px solid var(--line);background:#ffffff08;color:var(--text);font:inherit;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer}
.tn-map.is-ban{border-color:rgb(var(--accent-rgb)/.45)}
.tn-map.is-ban:hover{background:rgb(var(--accent-rgb)/.14)}
.tn-map.is-pick{border-color:#8bc4a866}
.tn-map.is-pick:hover{background:#8bc4a81a}
.tn-map.is-idle{cursor:default;color:var(--muted)}
.tn-veto-log{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.tn-veto-log li{display:flex;flex-direction:column;padding:6px 10px;border-radius:10px;background:#ffffff08;font-size:12px}
.tn-veto-log small{color:var(--muted);font-size:11px}
.tn-veto-log li.is-ban strong{text-decoration:line-through;color:#ff8a94}
.tn-veto-log li.is-pick strong{color:var(--green)}
.tn-play,.tn-hint{margin:0;font-size:14px;color:#c7cdd6;line-height:1.5}
.tn-hint{color:var(--muted);font-size:13px}
.tn-note{margin:0;padding:11px 14px;border-radius:12px;background:#dbc18d14;border:1px solid #dbc18d33;font-size:14px;line-height:1.5}
.tn-note.is-warn{background:rgb(var(--accent-rgb)/.1);border-color:rgb(var(--accent-rgb)/.3)}
.tn-score{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.tn-score label{display:flex;flex-direction:column;gap:5px;width:100px}
.tn-score label small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-score input{text-align:center;font-size:20px;font-weight:700;flex:none}
.tn-score>span{padding-bottom:11px;font-size:20px;font-weight:700;color:var(--muted)}
.tn-score .primary{flex:1;min-width:150px;width:auto;min-height:46px}
.tn-team-switch{margin:0}
.tn-picks{display:flex;flex-direction:column;gap:6px}
.tn-pick{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:14px;border:1px solid var(--line);background:#ffffff05;color:inherit;font:inherit;text-align:left;cursor:pointer}
.tn-pick.is-on{border-color:rgb(var(--accent-rgb)/.5);background:rgb(var(--accent-rgb)/.08)}
.tn-pick:disabled{cursor:default;opacity:.45}
.tn-check{flex:none;width:24px;height:24px;display:grid;place-items:center;border-radius:8px;border:1px solid var(--line);color:transparent}
.tn-check svg{width:14px;height:14px}
.tn-pick.is-on .tn-check{background:var(--accent);border-color:var(--accent);color:#fff}
.tn-join .primary[disabled]{opacity:.45}
.tn-join>.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.tn-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.tn-facts small{display:block;font-size:12px;color:var(--muted)}
.tn-facts strong{font-size:14px;font-weight:600}
.tn-sub{margin:4px 0 0;font-size:15px;font-weight:600}
.tn-prizes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px}
.tn-prizes li{display:flex;align-items:center;gap:10px}
.tn-place{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#ffffff0d;font-weight:700;font-size:13px}
.tn-place.is-1{background:#dbc18d26;color:var(--gold)}
.tn-place.is-2{background:#ffffff14;color:#dfe4ea}
.tn-place.is-3{background:#c9874d24;color:#e39a5b}
.tn-rules summary{display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:600;cursor:pointer;list-style:none}
.tn-rules summary::-webkit-details-marker{display:none}
.tn-rules summary svg{width:16px;height:16px;transform:rotate(90deg);transition:transform .2s}
.tn-rules[open] summary svg{transform:rotate(-90deg)}
.tn-rules div{font-size:14px;line-height:1.6;color:#c7cdd6}
.tn-sheet-text{margin:0 0 14px;font-size:15px;line-height:1.55;color:#c7cdd6}
.tn-sheet-error{margin:0 0 12px;font-size:13px;color:#ff8a94}
.tn-sheet-error:empty{display:none}
.tn-sheet-actions{display:flex;gap:8px}
.tn-sheet-actions>*{flex:1;margin:0!important}
.tn-sheet-form .form-field input{display:block;width:100%;margin-top:7px}
.tn-bracket-block{overflow:hidden}
.tn-wrap{display:flex;flex-direction:column;gap:20px;min-width:0}
.tn-wrap h3{margin:0 0 10px;font-size:14px;font-weight:600}
.tn-bracket{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
.tn-col{flex:none;width:176px;display:flex;flex-direction:column}
.tn-col h4{margin:0 0 8px;font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
.tn-col-body{flex:1;display:flex;flex-direction:column;justify-content:space-around;gap:10px}
.tn-group .tn-col{gap:8px}
.tn-match{display:flex;flex-direction:column;border-radius:11px;border:1px solid var(--line);background:#ffffff06;overflow:hidden}
.tn-match>small{padding:4px 10px 5px;font-size:11px;color:var(--subtle);border-top:1px solid var(--line)}
.tn-match.is-ready{border-color:#8bc4a855}
.tn-match.is-reported{border-color:#dbc18d55}
.tn-match.is-disputed{border-color:rgb(var(--accent-rgb)/.5)}
.tn-match.is-bye{opacity:.5}
.tn-side{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;font-size:13px;color:#c7cdd6}
.tn-side+.tn-side{border-top:1px solid var(--line)}
.tn-side span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tn-side b{flex:none;font-variant-numeric:tabular-nums}
.tn-side.is-win{color:var(--text);font-weight:600}
.tn-side.is-win b{color:var(--green)}
.tn-side.is-mine{background:rgb(var(--accent-rgb)/.1);box-shadow:inset 3px 0 var(--accent)}
.tn-table-wrap{overflow-x:auto;margin-bottom:12px}
.tn-table{width:100%;min-width:400px;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.tn-table th{padding:7px 8px;text-align:left;font-size:11px;font-weight:600;color:var(--subtle);border-bottom:1px solid var(--line)}
.tn-table td{padding:8px;border-bottom:1px solid var(--line);color:#c7cdd6}
.tn-table td:nth-child(2){color:var(--text);font-weight:600}
.tn-table tr[data-advance] td:first-child{color:var(--green);font-weight:700}
.tn-table tr.is-mine td{background:rgb(var(--accent-rgb)/.08)}
.tn-empty{color:var(--muted)}
@media(min-width:760px){.tn-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-teams{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.tn-maps{grid-template-columns:repeat(4,minmax(0,1fr))}.tn-hero h2{font-size:32px}}
@media(max-width:520px){.tn .section-heading{flex-wrap:wrap}.tn-row-actions .primary,.tn-row-actions .secondary{padding:8px 11px}.tn-card-art{width:68px;min-height:68px}}

.tn-proof{position:relative;display:flex!important;align-items:center;gap:8px;grid-column:1/-1;padding:12px 14px;border:1px dashed #ffffff2e;border-radius:12px;font-size:14px;color:#c8c8c8;cursor:pointer}.tn-proof input{position:absolute;inset:0;opacity:0;cursor:pointer}.tn-proof:has(input:valid) span{color:#4ade80}.tn-proof svg{width:16px;height:16px}.tn-forfeit{margin-top:14px;width:100%;min-height:40px;border:1px solid #ff5a6040;border-radius:12px;background:transparent;color:#ff8a8e;font-size:14px}
.tn-forfeit.is-armed{background:#3a1519;color:#ffffff;border-color:#ff5a60}
