/* Squad board: game first, available seats second, one obvious next action. */
.site[data-page=teams] #main{max-width:1360px;margin:auto;padding:0 48px 64px;min-height:calc(100dvh - 170px)}
.squad-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:60px;padding:62px 0 50px;border-bottom:1px solid var(--ws-border);margin-bottom:36px}
.site .squad-hero h1{font:650 clamp(32px,4.2vw,54px)/1.12 Anybody,var(--tt-font);letter-spacing:-.055em;margin:0 0 20px;max-width:none}.squad-hero h1>span{color:var(--ws-blue)}.squad-lead{font-size:14px;line-height:1.85;color:var(--ws-muted);margin:0}
.squad-lineup{padding:24px 26px 19px;border:1px solid var(--ws-border);border-radius:16px;background:radial-gradient(ellipse at 15% 100%,#ff627a0d,transparent 70%),var(--ws-panel);transform:rotate(-2deg)}.squad-lineup-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.14em;color:var(--ws-muted);margin-bottom:20px}.squad-lineup-label>span:last-child{color:var(--ws-blue)}.squad-slots{display:flex;gap:8px;position:relative}.squad-slot{display:flex;flex:1;min-width:0;align-items:center;justify-content:center;flex-direction:column;height:90px;border:1px dashed #3c4e6a;border-radius:10px;background:#101a2b}.squad-slot.you{background:linear-gradient(150deg,#482436,#193052);border:1px solid #6a506e}.squad-slot img{width:45px;height:45px;border-radius:50%}.squad-slot b{font-size:9px;letter-spacing:.1em;margin-top:4px}.squad-slot i{font-style:normal;font-size:28px;font-weight:400;color:#7891b5}.squad-lineup>p{font-size:11px;color:var(--ws-muted);margin:16px 0 0;text-align:center}
.site .squad-gate{display:grid;grid-template-columns:1.1fr 1fr;border:1px solid var(--ws-border);border-radius:18px;background:var(--ws-panel);overflow:hidden;min-height:350px;margin:0}.squad-gate-copy{padding:38px 40px}.squad-gate-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #3c5b83;border-radius:12px;background:#1b2f4c;color:var(--ws-blue);font-size:24px;margin-bottom:22px}.site .squad-gate h2{font-size:26px;line-height:1.25;letter-spacing:-1px;margin:0 0 14px}.squad-gate-copy>p{max-width:42ch;color:var(--ws-muted);font-size:14px;margin:0 0 24px}.squad-gate-copy>small{display:block;font-size:11px;color:var(--ws-muted);margin-top:20px}.squad-gate .primary{display:inline-flex;text-decoration:none;align-items:center;justify-content:center;color:white;font-size:13px;font-weight:600}.squad-gate-guide{padding:40px;border-left:1px solid var(--ws-border);background:var(--ws-surface)}.site .squad-gate-guide h3{font-size:17px;margin:0 0 22px}.squad-gate-guide>div{display:flex;align-items:center;gap:16px;margin-top:20px}.squad-gate-guide>div>span{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--ws-border);border-radius:10px;font-size:21px;color:var(--ws-blue);flex:none}.squad-gate-guide p{margin:0}.squad-gate-guide strong{display:block;font-size:13px;font-weight:550}.squad-gate-guide small{display:block;font-size:12px;color:var(--ws-muted);margin-top:4px}
.squad-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.site .squad-section-head h2{font-size:24px;letter-spacing:-.7px;margin:0 0 6px}.squad-section-head p{margin:0;color:var(--ws-muted);font-size:13px}.squad-section-head .primary{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:13px}.squad-section-head .primary>span{font-size:21px;font-weight:400;line-height:1}
.squad-games{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.site .squad-game-choice{display:flex;align-items:center;gap:10px;min-height:48px;background:var(--ws-panel);border:1px solid var(--ws-border);border-radius:10px;padding:9px 15px;color:var(--ws-muted);font:500 13px var(--tt-font);cursor:pointer}.squad-game-choice>span{font-size:11px;color:var(--ws-muted);background:#1a2639;padding:3px 6px;border-radius:5px;min-width:23px}.site .squad-game-choice:hover{background:var(--ws-hover);border-color:#506b90;color:white}.site .squad-game-choice[aria-pressed=true]{color:#e4efff;background:#1b3050;border-color:#6088bb;box-shadow:inset 0 -2px var(--ws-blue)}
.site .team-tools{display:flex;align-items:center;gap:18px;border:0;border-radius:0;background:none;padding:0;margin:0 0 18px}.team-tools .ws-search{flex:1}.squad-mine{display:flex;align-items:center;gap:9px;cursor:pointer;white-space:nowrap;font-size:13px;color:var(--ws-muted);min-height:44px}.squad-mine input{width:17px;height:17px;margin:0}.team-tools .secondary{display:flex;align-items:center;gap:8px;min-width:115px;justify-content:center;font-size:13px;padding:10px 14px;margin:0}.team-tools .secondary>span{font-size:20px;line-height:1}.squad-results-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0 16px}.squad-results-heading p{font-size:13px;color:var(--ws-text);font-weight:500;margin:0}.squad-results-heading>span{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--ws-muted)}.squad-results-heading i{width:5px;height:5px;background:var(--ws-blue);border-radius:50%}
.site .team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.site .team-list:has(>.team-card:only-child){grid-template-columns:repeat(2,minmax(0,1fr))}.site .team-card{display:flex;flex-direction:column;position:relative;min-width:0;background:var(--ws-panel);border:1px solid var(--ws-border);border-radius:15px;padding:24px;transition:border-color .18s;overflow:visible}.site .team-card:hover{border-color:#4c658a;transform:none}.team-card:before{content:'';position:absolute;left:24px;right:24px;top:0;height:1px;background:linear-gradient(90deg,var(--ws-red),var(--ws-blue));opacity:.6}.squad-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.site .team-game{font-size:12px;letter-spacing:.06em;text-transform:uppercase;font-weight:650;color:var(--ws-blue)}.site .team-card .status{display:inline-flex;align-items:center;gap:7px;margin:0;border:1px solid #38577b;border-radius:20px;padding:3px 9px;background:#15243a;color:#b7d4ff;font-size:10px;font-weight:500}.team-card .status:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.site .team-card .status[data-state=full],.site .team-card .status[data-state=closed]{color:#bdc6d5;background:#1c2432;border-color:#3d4758}.site .team-card h2{font:600 22px/1.3 var(--tt-font);letter-spacing:-.6px;overflow-wrap:anywhere;margin:0 0 10px}.site .team-card .team-details{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:var(--ws-muted);margin:0 0 19px;max-width:none}.site .team-card .team-meta{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0 0 20px;border-block:1px solid var(--ws-border);padding:15px 0;font-size:12px;color:#d6e1f4}.team-meta small{display:block;font-size:10px;font-weight:450;color:var(--ws-muted);margin-bottom:5px}.team-meta span{overflow-wrap:anywhere}.team-count{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--ws-muted)}.squad-seats-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;font-size:11px;color:var(--ws-muted)}.squad-seats-head strong{font-size:16px;font-weight:600;color:var(--ws-text)}.squad-seats-head strong>small{font-size:12px;font-weight:400;color:var(--ws-muted)}
.site .team-card .member-list{display:flex;flex-wrap:wrap;list-style:none;gap:6px;margin:0 0 22px;padding:0}.site .team-card .member-list li{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.5;max-width:100%;overflow-wrap:anywhere;border:1px solid var(--ws-border);border-radius:8px;padding:7px 9px;color:#c5d2e8;background:#141f30}.site .team-card .member-list .me{border-color:#547dac;background:#1a2c47}.squad-member-initial{display:grid;place-items:center;width:22px;height:22px;flex:none;background:#2b3e59;border-radius:6px;font-size:10px;font-weight:600;color:#d6e8ff}.site .team-card .member-list li.squad-open-seat{border-style:dashed;background:none;color:var(--ws-muted)}.site .team-card .squad-open-seat .squad-member-initial{background:none;color:var(--ws-blue);font-size:18px}.site .team-card .action-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid var(--ws-border);padding-top:18px;margin-top:auto}.site .team-card .action-row :is(.primary,.secondary){font-size:12px;min-height:40px;padding:10px 14px;box-shadow:none}.site .team-card .action-row>a{font-size:11px;line-height:1.6;color:var(--ws-muted);padding:6px 0;text-decoration:none;margin-left:auto}.site .team-card .action-row>a:hover{color:var(--ws-blue)}.site .team-card .action-row>a:last-child:not(:first-child){margin-left:0}.team-notice{font-size:12px;color:var(--ws-blue)}.site .danger-button{color:#ffacbc;border-color:#754153;background:#2d1c2b}.site .danger-button:hover{background:#442235}.team-detail-back{display:inline-flex;min-height:40px;align-items:center;color:var(--ws-blue);text-decoration:none;font-size:13px;margin-bottom:20px}
.site .team-form{padding:28px;margin:0 0 28px;background:var(--ws-surface);border:1px solid #456589;border-radius:15px}.squad-form-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.site .squad-form-head h2{font-size:23px;margin:0}.squad-form-head .ws-eyebrow{margin-bottom:9px;font-size:10px}.squad-form-head>span{font-size:11px;color:var(--ws-muted)}.form-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px}.team-form label{display:block;font-size:12px;color:#c8d6ed}.site .team-form :is(select,input,textarea),.site .team-manage :is(select,input){display:block;width:100%;margin-top:9px;padding:12px 13px;min-height:46px;border:1px solid #3b526f;border-radius:8px;background:var(--ws-panel);color:var(--ws-text);font:14px/1.5 var(--tt-font)}.site .team-form textarea{min-height:115px;resize:none}.team-form .full-field{margin:20px 0 10px}.team-form>p{font-size:12px;color:var(--ws-muted)}.team-form .action-row{display:flex;gap:12px;align-items:center;margin-top:20px}.team-form .secondary{padding:12px 20px}.team-form .squad-form-error{color:#ffb8c5;min-height:20px;margin:8px 0}.team-form [aria-invalid=true]{border-color:var(--ws-red)}.team-manage{border-top:1px solid var(--ws-border);margin-top:20px;padding-top:15px}.team-manage summary{cursor:pointer;padding:6px 0;color:var(--ws-muted);font-size:12px}.team-manage summary:hover{color:var(--ws-text)}.team-manage form{display:grid;gap:12px;margin-top:15px}.team-manage label{font-size:12px;color:var(--ws-muted)}.team-manage .secondary{padding:10px 14px;justify-self:start}.team-manage input{margin-bottom:0}.team-manage .ws-clear{margin-top:5px}.team-feedback{padding:15px 20px;border:1px solid #40618b;border-left:3px solid var(--ws-blue);border-radius:9px;font-size:13px;background:var(--ws-surface);overflow-wrap:anywhere}.team-feedback[data-error=true]{border-color:#85475a;border-left-color:var(--ws-red)}
.site .empty-teams{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;padding:38px 24px;border:1px dashed #3b516e;border-radius:15px;background:var(--ws-panel);text-align:center}.empty-teams>span{font-size:38px;line-height:1;color:var(--ws-blue);margin-bottom:10px}.site .empty-teams h2{font-size:22px;margin:8px 0 10px}.empty-teams p{font-size:13px;color:var(--ws-muted);margin:0 0 20px;max-width:44ch}.empty-teams .secondary{padding:10px 15px}.squad-more{display:block;margin:25px auto 0;padding:12px 22px}.update-line{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--ws-muted);margin:22px 0 0}.site>footer.squad-footer{display:flex;justify-content:space-between;gap:20px;padding:24px max(24px,calc((100vw - 1264px)/2));font-size:11px;background:none}.squad-footer>a{color:var(--ws-blue);text-decoration:none}.squad-noscript{padding:20px;border:1px solid var(--ws-border);color:var(--ws-muted)}
@media(min-width:1500px){.squad-hero{padding-top:75px;padding-bottom:60px}}
@media(max-width:1050px){.site[data-page=teams] #main{padding-inline:30px}.squad-hero{gap:30px}.squad-lineup{padding:20px}.squad-slot{height:75px}.squad-gate-copy,.squad-gate-guide{padding:30px}.site .team-card{padding:20px}.squad-card-top{margin-bottom:16px}.site .team-card h2{font-size:20px}.team-tools{gap:12px}}
@media(max-width:760px){.site[data-page=teams] #main{padding:0 20px 45px}.squad-hero{grid-template-columns:1fr;gap:28px;padding:35px 0 30px;margin-bottom:28px}.site .squad-hero h1{font-size:38px}.squad-lead{font-size:13px}.squad-lineup{max-width:430px;width:100%;transform:none;padding:17px 20px}.squad-slot{height:65px}.squad-slot img{width:35px;height:35px}.squad-lineup-label{margin-bottom:14px;font-size:8px}.squad-lineup>p{font-size:10px;margin-top:12px}.site .squad-gate{grid-template-columns:1fr}.squad-gate-copy{padding:28px}.squad-gate-guide{border-left:0;border-top:1px solid var(--ws-border);padding:28px}.squad-section-head{align-items:flex-start;flex-direction:column;gap:18px}.site .squad-section-head h2{font-size:23px}.squad-section-head>.primary{width:100%;justify-content:center}.squad-games{gap:7px;margin-bottom:17px}.site .squad-game-choice{font-size:12px;min-height:42px;padding:8px 12px}.site .team-tools{flex-wrap:wrap;gap:10px}.team-tools .ws-search{flex-basis:100%}.squad-mine{font-size:12px}.team-tools .secondary{margin-left:auto;min-width:108px;font-size:12px}.squad-results-heading{margin-top:22px}.squad-results-heading>span{font-size:9px}.squad-results-heading p{font-size:12px}.site .team-list,.site .team-list:has(>.team-card:only-child){grid-template-columns:1fr;gap:15px}.site .team-card{padding:23px}.squad-form-head{flex-direction:column;gap:10px}.form-grid{grid-template-columns:1fr;gap:17px}.site .team-form{padding:22px}.team-form .action-row{align-items:stretch;flex-direction:column}.team-form .primary,.team-form .secondary{justify-content:center;width:100%}.update-line{font-size:10px}.site>footer.squad-footer{flex-direction:column;gap:10px;padding:22px 20px 75px}.desktop-break{display:none}}
@media(max-width:380px){.site[data-page=teams] #main{padding-inline:15px}.site .squad-hero h1{font-size:33px}.site .team-card{padding:19px}.squad-games{gap:6px}.site .squad-game-choice{font-size:11px;padding:8px 10px}}
/* Once signed in, keep the team board ahead of the decorative introduction. */
.site:has(#teams:not([hidden])) .squad-hero{padding-block:30px;margin-bottom:27px}
.site:has(#teams:not([hidden])) .squad-hero h1{font-size:clamp(32px,3.4vw,43px);margin-bottom:15px}
.site:has(#teams:not([hidden])) .squad-lineup{padding:18px 22px 15px}
.site:has(#teams:not([hidden])) .squad-slot{height:66px}
.site:has(#teams:not([hidden])) .squad-lineup-label{margin-bottom:13px}
.site:has(#teams:not([hidden])) .squad-lineup>p{margin-top:12px}
@media(max-width:760px){.site:has(#teams:not([hidden])) .squad-hero{display:block;padding-block:28px;margin-bottom:25px}.site:has(#teams:not([hidden])) .squad-lineup{display:none}.site:has(#teams:not([hidden])) .squad-hero h1{font-size:35px}}
