/* Squads sheet (reels/feed-squads.js, Direction D04). A solid sheet like the menu's: glass stays on the nav bar and the rail. */
.squad-sheet .sheet-head h2{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.squad-sheet .sq-back[hidden]{display:none}
.sq-body{display:grid;gap:14px;padding-bottom:6px}
.sq-note{margin:0;font-size:var(--sa-fs-fine,13px);line-height:1.45;color:var(--sa-text-2,#a3abbd)}
.sq-error{color:#ff8a8a}
.sq-face{display:block;flex:none}
.sq-hero{display:grid;gap:6px;padding:18px 18px 16px;border-radius:24px;color:#fff;background:linear-gradient(115deg,#b18cf6 0%,#8d8ff4 45%,#5fb0f6 100%);box-shadow:0 6px 0 #3b3f86}
.sq-hero b{font:800 24px/1.05 var(--hb-font-display);padding-top:2px}
.sq-hero span{font-size:14px;font-weight:600;color:rgba(255,255,255,.9)}
.sq-hero-faces{display:flex;gap:5px;margin-top:4px}
.sq-hero-faces img{width:26px;height:26px}
.sq-create,.sq-form,.sq-squad,.sq-list,.sq-plays{display:grid;gap:12px}
.sq-input{width:100%;min-height:50px;padding:0 16px;border-radius:16px;border:1px solid var(--hb-line,rgba(63,175,243,.22));background:var(--hb-surface-2,#10202f);color:var(--sa-text,#eef1f7);font:500 16px/1 var(--sa-font,system-ui)}
.sq-input:focus{outline:none;border-color:var(--hb-accent,#3faff3);box-shadow:0 0 0 3px var(--fd-accent-tint)}
.sq-primary,.sq-secondary,.sq-leave{min-height:54px;border:0;border-radius:999px;font:800 19px/1 var(--hb-font-display);padding:3px 20px 0;color:var(--hb-on-accent,#06121c);background:var(--hb-accent,#3faff3);box-shadow:0 6px 0 var(--hb-accent-shade,#296a94)}
.sq-secondary{color:var(--sa-text,#eef1f7);background:var(--hb-surface-3,#222839);box-shadow:0 6px 0 #07080d}
.sq-leave{min-height:44px;font:600 15px/1 var(--sa-font,system-ui);color:#ff8a8a;background:transparent;box-shadow:none}
.sq-primary:active,.sq-secondary:active{transform:translateY(6px);box-shadow:none}
.sq-primary:disabled,.sq-secondary:disabled,.sq-chip:disabled{opacity:.6}
.sq-chip{flex:none;min-height:38px;padding:2px 16px 0;border-radius:999px;border:0;font:800 15px/1 var(--hb-font-display);color:var(--sa-text,#eef1f7);background:var(--hb-surface-3,#222839);box-shadow:0 4px 0 #07080d}
.sq-chip.pri{color:var(--hb-on-accent,#06121c);background:var(--hb-accent,#3faff3);box-shadow:0 4px 0 var(--hb-accent-shade,#296a94)}
.sq-chip:active{transform:translateY(4px);box-shadow:none}
.sq-row,.sq-invite{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:10px 14px;border-radius:18px;border:1px solid var(--hb-line,rgba(63,175,243,.22));background:var(--hb-surface-2,#10202f);color:var(--sa-text,#eef1f7);text-align:left}
.sq-row .arrow{color:var(--sa-text-2,#a3abbd);font-size:22px}
.sq-row-text,.sq-invite-text{flex:1;min-width:0;display:grid;gap:4px}
.sq-row-text b,.sq-invite-text b{font:800 18px/1.1 var(--hb-font-display)}
.sq-row-text small,.sq-invite-text span{font-size:13px;color:var(--sa-text-2,#a3abbd)}
.sq-stack{display:flex}
.sq-stack img+img{margin-left:-8px}
.sq-crew{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 4px;scrollbar-width:none}
.sq-member{flex:none;width:64px;display:grid;justify-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--sa-text-2,#a3abbd)}
.sq-member span{max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sq-member.you span{color:var(--hb-accent,#3faff3)}
.sq-member.invited{opacity:.45}
.sq-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.sq-add{display:flex;gap:8px;align-items:center;min-width:0}
.sq-add .sq-input{min-height:44px;font-size:15px}
.sq-actions .sq-secondary{min-height:44px;font-size:16px;padding:3px 16px 0}
.sq-label{margin:4px 2px 0;font:600 12px/1 var(--hb-font-mono,ui-monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--sa-text-2,#a3abbd)}
.sq-play{display:flex;align-items:center;gap:10px;min-height:62px;padding:8px 10px 8px 12px;border-radius:18px;background:var(--hb-surface-2,#10202f);border:1.5px solid transparent}
.sq-play.you{border-color:color-mix(in srgb,var(--hb-accent,#3faff3) 50%,transparent)}
.sq-play-text{flex:1;min-width:0;display:grid;gap:4px}
.sq-play-text b{font:700 15px/1.15 var(--sa-font,system-ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sq-game{font-weight:500;color:var(--sa-text-2,#a3abbd)}
.sq-play-text small{font-size:12px;color:var(--sa-text-2,#a3abbd)}
.sq-result{display:grid;justify-items:end;gap:3px;font-variant-numeric:tabular-nums}
.sq-result b{font:800 17px/1 var(--hb-font-display);color:#a3abbd}
.sq-result.won b{color:var(--hb-win,#4fd57f)}
.sq-result small{font-size:12px;color:var(--sa-text-2,#a3abbd)}

/* Compact (founder 2026-10-27: "way too big, it's covering games"): a short bottom sheet, at most 40% of the screen, the
   game visible above it; anything longer scrolls inside. */
dialog.sheet.squad-sheet{max-height:40dvh;padding-top:8px}
dialog.sheet.squad-sheet::backdrop{background:rgba(0,0,0,.28)}
.squad-sheet .sheet-head{margin-bottom:8px}
.squad-sheet .sheet-head h2{font-size:22px}
.squad-sheet .sq-body{gap:10px}
.squad-sheet .sq-create,.squad-sheet .sq-form,.squad-sheet .sq-squad,.squad-sheet .sq-list,.squad-sheet .sq-plays{gap:8px}
.squad-sheet .sq-hero{padding:10px 14px;border-radius:16px;gap:2px;box-shadow:0 4px 0 #3b3f86}
.squad-sheet .sq-hero b{font-size:18px}
.squad-sheet .sq-hero span{font-size:12px}
.squad-sheet .sq-hero-faces{display:none}
.squad-sheet .sq-input{min-height:44px;font-size:15px}
.squad-sheet .sq-primary,.squad-sheet .sq-secondary{min-height:46px;font-size:17px;box-shadow:0 4px 0 var(--hb-accent-shade,#296a94)}
.squad-sheet .sq-secondary{box-shadow:0 4px 0 #07080d}
.squad-sheet .sq-row,.squad-sheet .sq-invite{min-height:52px;padding:8px 12px}
.squad-sheet .sq-note{font-size:12px;line-height:1.35}
