/* Team page: the shared pool, who's on it, and invites. Matches the launch film page. */
.tm{padding:96px 20px calc(var(--dock,0px) + 40px);overflow-y:auto}
.tm-wrap{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:18px}
.tm header h1{margin:4px 0 10px;font:800 clamp(28px,4vw,42px)/1.08 var(--sans);letter-spacing:-.02em}
.tm header p{margin:0;color:var(--muted);font-size:16px;line-height:1.6;max-width:62ch}
.tm header p b{color:var(--ink)}
.tm-kicker{margin:0;font:700 12px var(--sans);letter-spacing:.12em;text-transform:uppercase;color:#9CC3FF}
.tm-card{display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:22px;background:linear-gradient(180deg,#101728,#0b1020);border:1px solid rgba(110,170,255,.2)}
.tm-card h2{margin:0;font:700 17px var(--sans)}
.tm-card p{margin:0}
.tm-invite label{display:flex;flex-direction:column;gap:8px;font:600 13px var(--sans);color:var(--muted)}
.tm-row{display:flex;gap:10px}
.tm-row input{flex:1;min-width:0;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:#0a0e1a;color:var(--ink);font:500 16px var(--sans)}
.tm-row .go,.tm-go{min-height:48px;padding:0 18px;border-radius:14px!important;background:linear-gradient(135deg,#59c6ff,#2f6bff)!important;color:#fff!important;font-weight:700;white-space:nowrap}
.tm-go{align-self:flex-start;min-height:52px;font-size:16px}
.tm-fine{font-size:13px;color:var(--faint);line-height:1.5}.tm-fine b{color:var(--muted)}
.tm-muted{color:var(--muted)}
.tm-err{color:#FF9A8B;font:500 14px var(--sans)}.tm-err:empty{display:none}
.tm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tm-stats div{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:18px;background:rgba(61,134,255,.08);border:1px solid rgba(110,170,255,.16)}
.tm-stats b{font:800 24px var(--sans);font-variant-numeric:tabular-nums}.tm-stats span{font-size:13px;color:var(--muted)}
.tm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.tm-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid rgba(255,255,255,.07)}
.tm-list li:first-child{border-top:0}
.tm-list li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.tm-list li b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tm-list li span{font-size:13px;color:var(--muted)}
.tm-list .ghost{min-height:40px;padding:0 14px;border-radius:12px;white-space:nowrap}
.tm-pending b{color:var(--muted)}
.tm-danger{color:#FF9A8B!important;border-color:rgba(255,120,100,.4)!important}
.tm-linkbox{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:16px;background:rgba(63,210,255,.08);border:1px solid rgba(63,210,255,.25)}
.tm-points{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;color:var(--muted)}.tm-points b{color:var(--ink)}
.pl-team{margin:6px 0 0;font:600 12.5px var(--sans);color:#9CC3FF}
@media (max-width:640px){.tm{padding-top:72px}.tm-stats{grid-template-columns:1fr}.tm-row{flex-direction:column}.tm-card{padding:18px}}
.tm-card>.ghost{align-self:flex-start;min-height:44px;padding:0 18px;border-radius:14px}
