.pickup{background:var(--white);padding:36px 0 64px;border-top:1px solid var(--rule)}
.pickup .wrap{max-width:1200px}
.pickup h2{margin:8px 0 10px}
.pickup-sub{color:var(--ink2);margin-bottom:24px}
.pickup-hud{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center;border-top:3px solid var(--navy);padding:18px 0;color:var(--navy)}
.pickup-team{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px;line-height:1.3}
.pickup-team:last-child{justify-content:flex-end;text-align:right}
.pickup-team b{display:block;overflow-wrap:anywhere}
.pickup-team small{display:block;margin-top:4px;font-size:10px;letter-spacing:1.5px}
.pickup-jersey{display:block;width:28px;height:28px;flex:0 0 28px;background:var(--navy);border:2px solid var(--navy)}
.pickup-jersey.white{background:var(--white)}
.pickup-score{text-align:center;font-family:"Archivo",Arial,sans-serif;font-variant-numeric:tabular-nums}
.pickup-score strong{display:block;font-size:clamp(25px,4vw,38px);line-height:1.15;font-weight:800;white-space:nowrap}
.pickup-score time{display:block;font-size:18px;font-weight:700}
.pickup-meters{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:0 0 10px;font-size:11px;color:var(--slate)}
.pickup-meters label{display:flex;align-items:center;gap:8px;font-weight:700;letter-spacing:1px}
.pickup-meters meter{width:88px;height:12px;accent-color:var(--brass)}
.pickup-meters meter::-webkit-meter-bar{background:var(--pale);border:0;border-radius:0}
.pickup-meters meter::-webkit-meter-optimum-value{background:var(--brass)}
.pickup-meters meter::-moz-meter-bar{background:var(--brass)}
.pickup-stage{position:relative;width:100%;border:4px solid var(--navy);background:var(--navy)}
.pickup-stage canvas{display:block;width:100%;height:auto;aspect-ratio:16/9;touch-action:none}
.pickup-overlay{position:absolute;top:2%;left:0;right:0;padding:5px 8px;background:rgba(0,46,76,.82);text-align:center;color:var(--white);font:800 clamp(10px,2vw,18px) "Archivo",Arial,sans-serif;letter-spacing:1px;pointer-events:none}
.pickup-controls{margin-top:16px}
.pickup-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pickup-actions .btn{font-size:12px;letter-spacing:1px;padding:12px 16px}
.pickup-actions small{margin-left:auto;font-size:11px;color:var(--slate)}
.pickup button:disabled{opacity:.55;cursor:default}
.pickup-keys{font-size:12px;line-height:1.8;color:var(--ink2);margin-top:12px;max-width:74ch}
.pickup-touch{display:none;grid-template-columns:minmax(0,1fr) minmax(60px,.55fr) minmax(96px,.8fr);gap:8px;margin-top:14px}
.pickup-touch button{min-width:48px;min-height:48px;padding:8px 4px;border:1px solid var(--navy);background:var(--white);color:var(--navy);font:700 11px "Archivo",Arial,sans-serif;touch-action:none;user-select:none}
.pickup-touch button:active{background:var(--navy);color:var(--white)}
.pickup-touch button[data-input="context"]{background:var(--brass)}
.pickup-note{margin-top:16px;font-size:13px;color:var(--ink2)}
.pickup [hidden]{display:none!important}
@media(pointer:coarse){.pickup-touch{display:grid}.pickup-keys{font-size:11px}}
@media(max-width:540px){
  .pickup{padding:26px 0 36px}.pickup-sub{font-size:13px;margin-bottom:18px}
  .pickup-hud{gap:8px;padding:14px 0}.pickup-team{gap:6px;font-size:11px}
  .pickup-jersey{width:18px;height:18px;flex-basis:18px}.pickup-score time{font-size:15px}
  .pickup-actions{gap:8px}.pickup-actions .btn{padding:11px 12px}
  .pickup-actions small{width:100%;margin:0}.pickup-stage{border-width:3px}
}
@media(prefers-reduced-motion:reduce){.pickup *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* Shared court row lets controls overlay the court without moving DOM nodes. */
.pickup-game{position:relative;min-width:0;display:grid;grid-template-areas:"hud" "turn" "court" "feedback" "touch" "actions" "keys" "help" "sample" "note"}
.pickup-hud{grid-area:hud}
.pickup-team:last-child{grid-column:3;grid-row:1}
.pickup-meters{grid-column:1/-1;grid-row:2;padding:0}
.pickup-stage{grid-area:court;align-self:center;justify-self:center;border:0;aspect-ratio:16/9;min-width:0}
.pickup-stage canvas{width:100%;height:100%}
.pickup-controls{display:contents}
.pickup-actions{grid-area:actions;margin-top:16px}
.pickup-keys{grid-area:keys}
.pickup-touch{grid-area:touch}
.pickup-note{grid-area:note}
.pickup-sample{grid-area:sample;font-size:10px;color:var(--slate);margin-top:6px}
.pickup-turn,.pickup-key-short,.pickup-key-touch{display:none}
.pickup-fullscreen{position:absolute;top:4px;right:4px;z-index:6;display:grid;place-items:center;width:44px;height:44px;padding:0;background:var(--navy);color:var(--white);border:1px solid var(--brass)}
.pickup-fullscreen span{display:none;font-size:24px;line-height:1}
.pickup-fullscreen[aria-pressed="true"] svg{display:none}
.pickup-fullscreen[aria-pressed="true"] span{display:block}
.pickup-overlay{padding-left:52px;padding-right:52px}
@media(pointer:coarse){
  .pickup-touch{margin-top:8px}
  .pickup-key-long{display:none}.pickup-key-touch{display:inline}
  .pickup-keys{max-width:none;white-space:nowrap}
}
html.pickup-locked,html.pickup-locked body{overflow:hidden;overscroll-behavior:none}
.pickup-game.is-fullscreen{
  --hud:44px;--legend:24px;--safe-y:calc(env(safe-area-inset-top,0px) + env(safe-area-inset-bottom,0px));
  position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;box-sizing:border-box;background:var(--navy);color:var(--white);
  padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  grid-template-areas:"hud" "court" "keys";grid-template-rows:var(--hud) minmax(0,1fr) var(--legend);overflow:hidden;
}
.pickup-game.is-fullscreen .pickup-hud{display:grid;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr);gap:12px;padding:0 12px;border:0;background:var(--white);color:var(--navy);height:var(--hud)}
.pickup-game.is-fullscreen .pickup-hud{padding-right:56px}
.pickup-game.is-fullscreen .pickup-fullscreen{position:fixed;top:env(safe-area-inset-top,0px);right:env(safe-area-inset-right,0px)}
.pickup-game.is-fullscreen[data-status="idle"] .pickup-overlay,.pickup-game.is-fullscreen[data-status="paused"] .pickup-overlay{display:none}
.pickup-game.is-fullscreen .pickup-team{gap:6px;font-size:12px;white-space:nowrap;overflow:hidden}
.pickup-game.is-fullscreen .pickup-team>div{min-width:0}
.pickup-game.is-fullscreen .pickup-team b{overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.pickup-game.is-fullscreen .pickup-team small{display:none}
.pickup-game.is-fullscreen .pickup-team:last-child{grid-column:4;grid-row:1}
.pickup-game.is-fullscreen .pickup-jersey{width:16px;height:16px;flex-basis:16px}
.pickup-game.is-fullscreen .pickup-score{display:flex;align-items:center;gap:12px}
.pickup-game.is-fullscreen .pickup-score strong,.pickup-game.is-fullscreen .pickup-score time{font-size:14px;line-height:1}
.pickup-game.is-fullscreen .pickup-meters{grid-column:3;grid-row:1;padding:0;font-size:12px}
.pickup-game.is-fullscreen [data-shot-clock]{display:none}
.pickup-game.is-fullscreen meter{width:48px}
.pickup-game.is-fullscreen .pickup-stage{width:min(100%,calc((100dvh - var(--hud) - var(--legend) - var(--safe-y)) * 16 / 9))}
.pickup-game.is-fullscreen .pickup-actions{grid-area:court;align-self:center;justify-self:center;justify-content:center;z-index:5;margin:0;padding:12px;background:rgba(0,46,76,.9);max-width:90%}
.pickup-game.is-fullscreen .pickup-actions .ghost{color:var(--white)}
.pickup-game.is-fullscreen .pickup-actions small{display:none}
.pickup-game.is-fullscreen[data-status="playing"] .pickup-actions,.pickup-game.is-fullscreen[data-status="check"] .pickup-actions{display:none}
.pickup-game.is-fullscreen .pickup-sample{grid-area:court;align-self:end;justify-self:center;margin:0 0 3px;z-index:2;color:var(--white);background:var(--navy);padding:0 4px;font-size:9px;pointer-events:none}
.pickup-game.is-fullscreen .pickup-keys{margin:0;align-self:center;justify-self:center;max-width:none;color:var(--white);font-size:11px;line-height:1;white-space:nowrap}
.pickup-game.is-fullscreen .pickup-key-long{display:none}
.pickup-game.is-fullscreen .pickup-key-short{display:inline}
@media (orientation:landscape){
  .pickup-game.is-fullscreen .pickup-stage{max-height:100%}
}
@media(pointer:coarse){
  .pickup-game.is-fullscreen{--legend:0px;grid-template-areas:"hud" "court";grid-template-rows:var(--hud) minmax(0,1fr)}
}
@media (orientation:portrait){
  .pickup-game.is-fullscreen{grid-template-areas:"hud" "turn" "court" "thumbs";grid-template-rows:auto auto minmax(0,1fr) max(240px,38dvh)}
  .pickup-game.is-fullscreen .pickup-hud{gap:6px;padding:0 50px 0 6px;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr)}
  .pickup-game.is-fullscreen .pickup-meters label{font-size:0;gap:0}
  .pickup-game.is-fullscreen meter{width:32px}
  .pickup-game.is-fullscreen .pickup-score{gap:6px}
  .pickup-game.is-fullscreen .pickup-stage{width:100%}
  .pickup-game.is-fullscreen .pickup-turn{grid-area:turn;display:flex;justify-content:center;align-items:center;margin:0;font-size:11px;white-space:nowrap;color:var(--white)}
  .pickup-turn button{width:44px;height:44px;flex-shrink:0;color:var(--brass)}
  .pickup-game.is-fullscreen .pickup-actions{grid-area:thumbs;align-self:start;margin-top:12px;padding:8px}
  .pickup-game.is-fullscreen .pickup-keys{display:none}
}
@media(prefers-reduced-motion:reduce){.pickup-fullscreen{display:none}}
/* Lift the section's existing motion-layer stacking context above the header. */
html.pickup-locked .pickup{z-index:1000}
/* The tab lives inside main, itself a stacking context: lift it for fallback fullscreen. */
html.pickup-locked main{z-index:1000}
.pickup-fullscreen:focus-visible{position:absolute;z-index:6}

/* Fixed base, analog knob; shared inline/fullscreen control cluster. */
.pickup-touch{min-width:0;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-content:space-between;gap:18px;padding:8px 0}
.pickup-joystick{position:relative;width:clamp(112px,38.5dvh,150px);aspect-ratio:1;border:2px solid #E4E7F2aa;border-radius:50%;background:rgba(0,46,76,.55);touch-action:none;user-select:none}
.pickup-joystick i{position:absolute;width:clamp(56px,16.5dvh,64px);aspect-ratio:1;left:50%;top:50%;border:2px solid #E4E7F2;border-radius:50%;background:#C89D6F;transform:translate(-50%,-50%);pointer-events:none}
.pickup-touch-buttons{display:flex;justify-content:flex-end;align-items:center;gap:18px}
.pickup-touch button{width:clamp(56px,17.8dvh,64px);height:clamp(56px,17.8dvh,64px);flex-shrink:0;border-radius:50%}
.pickup-touch button[data-input="context"]{width:clamp(64px,20dvh,78px);height:clamp(64px,20dvh,78px)}
.pickup-touch button.isPressed{transform:scale(.94);filter:brightness(1.3)}
.pickup-touch,.pickup-touch *{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media(pointer:coarse){
  .pickup-game.is-fullscreen .pickup-keys{display:none}
  .pickup-game.is-fullscreen .pickup-touch{position:absolute;left:calc(12px + env(safe-area-inset-left,0px));right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));display:flex;justify-content:space-between;align-items:end;z-index:4;margin:0;padding:0;pointer-events:none}
  .pickup-game.is-fullscreen .pickup-joystick,.pickup-game.is-fullscreen .pickup-touch button{pointer-events:auto}
  .pickup-game.is-fullscreen .pickup-touch-buttons{flex-direction:column}
}
@media(pointer:coarse) and (orientation:portrait){
  .pickup-game.is-fullscreen .pickup-touch{grid-area:thumbs;position:relative;left:auto;right:auto;bottom:auto;align-self:end;margin:0 12px calc(24px + env(safe-area-inset-bottom,0px))}
  .pickup-game.is-fullscreen .pickup-touch-buttons{flex-direction:row;gap:18px}
}

/* Fit both thumbs inside narrow phones without shrinking the page viewport. */
@media(pointer:coarse) and (max-width:374px){
  .pickup-joystick{width:112px}
  .pickup-joystick i{width:56px}
  .pickup-touch,.pickup-touch-buttons{gap:10px}
  .pickup-touch button{width:56px;height:56px}
  .pickup-touch button[data-input="context"]{width:64px;height:64px}
  .pickup-game.is-fullscreen .pickup-touch-buttons{gap:10px}
}

/* Inline controls fit the content column, including 375–430px phones. */
@media(pointer:coarse) and (max-width:640px){
  .pickup-game:not(.is-fullscreen) .pickup-joystick{width:112px}
  .pickup-game:not(.is-fullscreen) .pickup-joystick i{width:56px}
  .pickup-game:not(.is-fullscreen) .pickup-touch,.pickup-game:not(.is-fullscreen) .pickup-touch-buttons{gap:10px}
  /* 10px as under 540px: the 12px label ran TURBO into the rim of a 56px button */
  .pickup-game:not(.is-fullscreen) .pickup-touch button{width:56px;height:56px;font-size:10px}
  .pickup-game:not(.is-fullscreen) .pickup-touch button[data-input="context"]{width:64px;height:64px}
  .pickup-game:not(.is-fullscreen) .pickup-keys{white-space:normal;font-size:12px}
  /* Keep the primary start action on the court preview. Tapping it enters the
     complete touch layout, so short phones never hide Play below the fold. */
  .pickup-game:not(.is-fullscreen) .pickup-actions{grid-area:court;align-self:center;justify-self:center;justify-content:center;z-index:5;margin:0;padding:10px;max-width:calc(100% - 24px);background:rgba(0,46,76,.9)}
  .pickup-game:not(.is-fullscreen) .pickup-actions small{display:none}
  .pickup-game:not(.is-fullscreen)[data-status="playing"] .pickup-actions,.pickup-game:not(.is-fullscreen)[data-status="check"] .pickup-actions{display:none}
}

.pickup-loadout{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:20px 0;padding:18px;border:1px solid var(--rule);background:var(--white)}.pickup-loadout label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--navy)}.pickup-loadout select{width:100%;min-height:44px;font-size:16px}.pickup-loadout p,.pickup-loadout small{grid-column:1/-1;margin:0;line-height:1.6}.pickup-loadout p{font-weight:700;color:var(--navy)}.pickup-loadout small{color:var(--slate)}.pickup-dunk-label{color:var(--navy);font-size:14px;font-weight:700;min-height:24px}@media(max-width:640px){.pickup-loadout{grid-template-columns:1fr;padding:14px}}

/* Long real names must not widen the mobile loadout. */
.pickup-loadout label{min-width:0}.pickup-loadout select{max-width:100%;min-width:0}

/* Arcade cabinet: inline composition. Fullscreen keeps its space-saving grid. */
.arcade-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 18px}
.arcade-heading h2{font-size:clamp(26px,3vw,40px);margin-top:5px}
.arcade-heading>span{font:700 11px/1.5 "Archivo",sans-serif;letter-spacing:1.4px;color:var(--slate);text-align:right}
.arcade-heading .eyebrow{font-size:10px;letter-spacing:1.6px}
.pickup-setup{border:1px solid var(--rule);margin-bottom:12px;background:var(--white)}
.pickup-setup summary{display:flex;align-items:center;gap:14px;min-height:52px;padding:10px 16px;cursor:pointer;list-style:none;font-size:12px}
.pickup-setup summary::-webkit-details-marker{display:none}
.pickup-setup summary>span:first-child{font-weight:700;color:var(--navy)}
.pickup-setup [data-setup-label]{color:var(--slate);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.pickup-setup-action{margin-left:auto;color:var(--navy);white-space:nowrap;font-weight:700}
.pickup-setup[open] .pickup-setup-action{color:var(--brass-d)}
.pickup-setup .pickup-loadout{margin:0;border:0;border-top:1px solid var(--rule);padding:14px 16px;gap:8px 20px}
.pickup-loadout [data-player-hint],.pickup-loadout [data-ratings]{font-size:12px;font-weight:400}
.pickup-loadout small{font-size:11px}
.pickup-game:not(.is-fullscreen){background:var(--navy);color:var(--white);padding:0 16px 12px;border-top:3px solid var(--brass)}
.pickup-game:not(.is-fullscreen) .pickup-hud{border:0;padding:0;gap:0 16px;color:var(--white);grid-template-rows:auto auto auto}
.pickup-broadcast{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #ffffff26;color:var(--brass);font:700 9px "Archivo",sans-serif;letter-spacing:1.5px}
.pickup-game:not(.is-fullscreen) .pickup-team{grid-row:2;padding:16px 0;font-size:14px;border-bottom:2px solid transparent;align-self:stretch}
.pickup-game:not(.is-fullscreen) .pickup-team:nth-child(2){grid-column:1}
.pickup-game:not(.is-fullscreen) .pickup-team:last-child{grid-column:3;grid-row:2}
.pickup-game:not(.is-fullscreen) .pickup-team small{color:#B6C9D6;font-size:9px;letter-spacing:1px}
.pickup-game:not(.is-fullscreen) .pickup-team b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pickup-game:not(.is-fullscreen) .pickup-jersey{width:22px;height:22px;flex-basis:22px;background:var(--navy2);border:2px solid #B6C9D6}
.pickup-game:not(.is-fullscreen) .pickup-jersey.white{background:var(--white);border-color:var(--white)}
.pickup-game:not(.is-fullscreen) .pickup-score{grid-column:2;grid-row:2;padding:12px 0}
.pickup-game:not(.is-fullscreen) .pickup-score strong{font-size:clamp(28px,4vw,44px);letter-spacing:1px;line-height:1.1}
.pickup-clock{display:flex;justify-content:center;align-items:center;gap:6px;color:var(--brass);margin-top:5px}
.pickup-clock small{font:700 8px "Archivo",sans-serif;letter-spacing:1px}
.pickup-score time{font-size:16px;line-height:1}
.pickup-game:not(.is-fullscreen) .pickup-meters{grid-row:3;grid-column:1/-1;padding:9px 0;color:#B6C9D6;border-top:1px solid #ffffff26;font-size:10px}
.pickup-possession{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.pickup-possession b{color:var(--brass);font:700 10px "Archivo",sans-serif;letter-spacing:1px}
.pickup-game[data-urgent="true"] [data-shot-clock]{color:var(--brass);font-weight:700}
.pickup-game:not(.is-fullscreen)[data-possession-side="0"] .pickup-team:nth-child(2),.pickup-game:not(.is-fullscreen)[data-possession-side="1"] .pickup-team:last-child{border-bottom-color:var(--brass)}
.pickup-game:not(.is-fullscreen) .pickup-stage{width:calc(100% + 32px);max-width:none}
.pickup-basket-accent{position:absolute;inset:0;z-index:1;pointer-events:none;box-shadow:inset 0 0 0 3px var(--brass);opacity:0}
.pickup-game[data-basket="true"] .pickup-basket-accent{animation:pickup-basket .55s ease-out both}
@keyframes pickup-basket{0%{opacity:0}18%{opacity:.85}100%{opacity:0}}
.pickup-feedback{grid-area:feedback;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:38px;padding:8px 0;border-bottom:1px solid #ffffff26;font-size:11px;color:var(--brass)}
.pickup-feedback .pickup-dunk-label{font-size:10px;min-height:0;font-weight:400;color:#B6C9D6;text-align:right}
.pickup-game:not(.is-fullscreen) .pickup-actions{margin-top:14px}
.pickup-game:not(.is-fullscreen) .pickup-actions .ghost{color:var(--white);border-color:#B6C9D6}
.pickup-game:not(.is-fullscreen) .pickup-actions small,.pickup-game:not(.is-fullscreen) .pickup-sample,.pickup-game:not(.is-fullscreen) .pickup-keys{color:#B6C9D6}
.pickup-game:not(.is-fullscreen) .pickup-note{color:var(--white)}
.pickup-key-long{font-size:12px;line-height:1.8}
.pickup-key-inline{display:inline}.pickup-keys{max-width:none;font-size:11px}
.pickup-help{grid-area:help;font-size:11px;color:#B6C9D6;margin-top:4px}
.pickup-help summary{cursor:pointer;min-height:36px;display:flex;align-items:center;gap:8px;width:max-content}
.pickup-help summary::after{content:"+";color:var(--brass)}
.pickup-help[open] summary::after{content:"−"}
.pickup-help p{max-width:80ch;padding:4px 0 12px}
.pickup-game.is-fullscreen .pickup-broadcast,.pickup-game.is-fullscreen .pickup-feedback,.pickup-game.is-fullscreen .pickup-help,.pickup-game.is-fullscreen .pickup-key-inline,.pickup-game.is-fullscreen [data-possession],.pickup-game.is-fullscreen .pickup-clock small{display:none}
.pickup-game.is-fullscreen .pickup-clock{margin:0;color:var(--navy)}
.arcade-opponents{border-bottom:1px solid var(--rule);padding:10px 0;font-size:13px;color:var(--navy)}
.arcade-opponents summary{cursor:pointer;min-height:44px;align-content:center;font-weight:700}
.arcade-opponents summary span{font-size:11px;font-weight:400;color:var(--slate);margin-left:12px}
.arcade-opponents .chips{padding:12px 0}
.arcade-footnote{font-size:11px;color:var(--slate);margin-top:14px}
@media(pointer:coarse){.pickup-key-inline{display:none}}
@media(max-width:540px){
 .arcade-heading{margin-bottom:12px}.arcade-heading>span{display:none}.arcade-heading h2{font-size:28px}
 .pickup-setup summary{padding:8px 12px;gap:8px;font-size:11px;min-height:48px}
 .pickup-game:not(.is-fullscreen){padding:0 12px 12px}
 .pickup-game:not(.is-fullscreen) .pickup-stage{width:calc(100% + 24px)}
 .pickup-game:not(.is-fullscreen) .pickup-hud{column-gap:8px}
 .pickup-game:not(.is-fullscreen) .pickup-team{font-size:11px;padding:12px 0;gap:5px}
 .pickup-game:not(.is-fullscreen) .pickup-jersey{width:16px;height:16px;flex-basis:16px}
 .pickup-broadcast{font-size:8px;letter-spacing:1px}
 .pickup-possession{gap:6px}.pickup-game:not(.is-fullscreen) .pickup-meters{font-size:9px}
 .pickup-meters meter{width:48px}.pickup-feedback{font-size:10px}
 .pickup-feedback .pickup-dunk-label{max-width:44%;font-size:9px}
 .pickup-game:not(.is-fullscreen) .pickup-touch{gap:8px}
 .pickup-game:not(.is-fullscreen) .pickup-joystick{background:#ffffff20}
 .pickup-actions .btn{font-size:11px;letter-spacing:.7px}
}
@media(prefers-reduced-motion:reduce){.pickup-basket-accent{display:none!important}}

/* Search uses native selects for keyboard and mobile accessibility. */
.pickup-picker{display:grid;gap:7px;min-width:0;align-content:start}
.pickup-picker input{width:100%;min-width:0;box-sizing:border-box;min-height:44px;padding:8px;font:inherit;font-size:16px;border:1px solid var(--rule);color:var(--navy);background:var(--white)}
.pickup-picker [role="status"]{font-size:12px;line-height:1.5;color:var(--slate)}
.pickup-picker select option{padding:8px}

/* A reachable pause control on phones; never cover the exit control. */
.pickup-pause{position:absolute;top:4px;right:52px;z-index:6;width:44px;height:44px;padding:0;border:1px solid var(--brass);background:var(--navy);color:var(--white);font:700 22px "Archivo",sans-serif;touch-action:manipulation}
.pickup-game.is-fullscreen .pickup-pause{position:fixed;top:env(safe-area-inset-top,0px);right:calc(48px + env(safe-area-inset-right,0px))}
.pickup-game.is-fullscreen .pickup-hud{padding-right:100px}

/* Three arcade actions in a thumb-sized triangle; never widen a 320px phone. */
.pickup-touch-buttons{display:grid;grid-template-columns:repeat(2,56px);grid-template-rows:56px 56px;gap:8px}
.pickup-touch button[data-input="context"]{grid-column:2;grid-row:1 / 3;align-self:center;width:64px;height:64px}
.pickup-touch button[data-input="pass"]{grid-column:1;grid-row:1}
.pickup-touch button[data-input="turbo"]{grid-column:1;grid-row:2}
.pickup-game .pickup-touch button{font-size:10px}
.pickup-game.is-fullscreen .pickup-touch-buttons{display:grid;gap:8px;grid-template-columns:repeat(2,56px)}
.pickup-game.is-fullscreen .pickup-touch button{width:56px;height:56px}
.pickup-game.is-fullscreen .pickup-touch button[data-input="context"]{width:64px;height:64px}
.pickup-game.is-fullscreen .pickup-team b{font-size:10px}
.pickup-game.is-fullscreen .pickup-team{min-width:0}

/* WAC Jam cabinet: the 2v2 scoreboard is rendered with the arena; its DOM HUD stays accessible. */
.pickup-game[data-mode="2v2"] .pickup-hud{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
/* ShootAround keeps its DOM scoreboard: the 1v1 renderer paints no canvas HUD. */
.pickup-game[data-mode="1v1"]:not(.is-fullscreen) .pickup-hud{background:#fff;color:var(--navy);padding:12px 14px;border-top:0;border-bottom:2px solid #d4a450}
/* The cabinet's brass/light-blue accents were tuned for a navy background;
   this HUD's background is white, so darken them here to keep them legible. */
.pickup-game[data-mode="1v1"]:not(.is-fullscreen) .pickup-broadcast{color:var(--brass-d)}
.pickup-game[data-mode="1v1"]:not(.is-fullscreen) .pickup-team small{color:var(--slate)}
.pickup-game[data-mode="1v1"]:not(.is-fullscreen) .pickup-clock{color:var(--brass-d)}
.pickup-game[data-mode="1v1"]:not(.is-fullscreen) .pickup-meters{color:var(--slate)}
.pickup-game[data-mode="1v1"]:not(.is-fullscreen) .pickup-possession b{color:var(--brass-d)}
/* The white HUD background is a fixed light surface: keep its own text dark
   regardless of the cabinet skin's white-on-navy default for this section. */
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-hud{grid-area:court;align-self:start;justify-self:stretch;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 108px 6px 12px;border:0;background:#021124ec;color:#ffdf89;font-size:12px;min-width:0;min-height:44px}
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-hud .pickup-broadcast{display:none}
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-score{min-width:0}
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-score strong{font-size:20px}
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-score time{font-size:14px}
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-meters{padding:0;color:#e1ebf3}
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-jersey{width:16px;height:16px;flex-basis:16px}
/* The generic fullscreen clock is navy-on-white; this HUD is white-on-navy. */
.pickup-game[data-mode="1v1"].is-fullscreen .pickup-clock{color:#ffdf89}
.pickup-game:not(.is-fullscreen){padding:0!important;border:2px solid #d4a450;background:#03152d;overflow:hidden}
.pickup-game:not(.is-fullscreen) .pickup-stage{width:100%!important}
.pickup-game:not(.is-fullscreen) .pickup-feedback,.pickup-game:not(.is-fullscreen) .pickup-actions,.pickup-game:not(.is-fullscreen) .pickup-keys,.pickup-game:not(.is-fullscreen) .pickup-help,.pickup-game:not(.is-fullscreen) .pickup-sample{padding-left:14px;padding-right:14px}
.pickup-game .pickup-stage{position:relative}
.pickup-game .pickup-touch{padding:10px 16px;background:linear-gradient(#092849,#03152d);border-top:2px solid #d4a450;margin-top:0;min-height:116px;box-sizing:border-box}
.pickup-game .pickup-touch-buttons{display:flex!important;gap:14px!important;align-items:center;flex-direction:row!important}
.pickup-game .pickup-touch button{width:64px;height:64px;min-width:48px;min-height:48px;box-shadow:inset 0 0 0 3px #ffffff30,inset 0 -5px 0 #0004,0 3px 0 #0007;border:3px solid #378acc;background:radial-gradient(circle at 35% 25%,#2867a7,#07386c);color:#ffdf89;font:900 12px Archivo,sans-serif;text-shadow:1px 2px #001c38}
.pickup-game .pickup-touch button[data-input="turbo"]{background:radial-gradient(circle at 35% 25%,#f18d49,#ac310e);border-color:#ffb378}
.pickup-game .pickup-touch button[data-input="context"]{width:78px;height:78px;background:radial-gradient(circle at 35% 25%,#f2c25b,#a57519);border-color:#ffe49a;color:#fff1c1}
.pickup-game .pickup-joystick{width:108px;background:radial-gradient(circle,#1d426a 30%,#071b3e 65%);border:3px solid #5e7caf;box-shadow:inset 0 0 0 7px #102347;flex-shrink:0}
.pickup-game .pickup-joystick i{width:54px;background:radial-gradient(circle at 35% 25%,#7397bd,#1a3862);border:3px solid #7397bd;box-shadow:0 5px 0 #0006}
.pickup-game .pickup-fullscreen,.pickup-game .pickup-pause{background:#03152ddd;border-color:#b7c8e4;width:36px;height:36px;top:2px;right:2px}
.pickup-game .pickup-pause{right:40px;font-size:17px}
.pickup-game.is-fullscreen{--hud:0px;--legend:0px;display:grid;grid-template-areas:"court" "thumbs";grid-template-rows:minmax(0,1fr) 116px;background:#03152d}
.pickup-game.is-fullscreen .pickup-stage{width:min(100%,calc((100dvh - 116px - var(--safe-y)) * 16 / 9));max-height:100%;align-self:center}
.pickup-game.is-fullscreen .pickup-touch{position:relative;grid-area:thumbs;left:auto;right:auto;bottom:auto;align-self:stretch;display:flex;align-items:center;justify-content:space-between;padding:8px max(16px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));margin:0;pointer-events:auto;z-index:4}
.pickup-game.is-fullscreen .pickup-touch button{width:64px;height:64px}
.pickup-game.is-fullscreen .pickup-touch button[data-input="context"]{width:78px;height:78px}
.pickup-game.is-fullscreen .pickup-actions{grid-area:court;align-self:center;justify-self:center;max-width:90%;margin:0!important}
.pickup-game.is-fullscreen .pickup-fullscreen{top:2px;right:2px}
.pickup-game.is-fullscreen .pickup-pause{top:2px;right:40px}
.pickup-game.is-fullscreen .pickup-turn{display:none}
.pickup-game.is-fullscreen .pickup-sample{grid-area:court;align-self:end;bottom:0}
@media(pointer:fine){.pickup-game.is-fullscreen{grid-template-rows:minmax(0,1fr);grid-template-areas:"court"}.pickup-game.is-fullscreen .pickup-stage{width:min(100%,calc((100dvh - var(--safe-y)) * 16 / 9))}.pickup-game.is-fullscreen .pickup-touch{display:none}}
@media(pointer:coarse) and (max-width:540px){
 .pickup-game .pickup-touch,.pickup-game.is-fullscreen .pickup-touch{padding:12px;gap:10px}
 .pickup-game .pickup-touch-buttons{display:grid!important;grid-template-columns:54px 62px;grid-template-rows:54px 54px;gap:6px!important}
 .pickup-game .pickup-touch button,.pickup-game.is-fullscreen .pickup-touch button{width:54px;height:54px;font-size:10px}
 .pickup-game .pickup-touch button[data-input="context"],.pickup-game.is-fullscreen .pickup-touch button[data-input="context"]{width:62px;height:62px}
 .pickup-game.is-fullscreen{grid-template-rows:minmax(0,1fr) 170px}
 .pickup-game.is-fullscreen .pickup-stage{width:100%}
 .pickup-game.is-fullscreen .pickup-touch{align-items:center}
 .pickup-game .pickup-joystick{width:112px}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:420px){
 .pickup-game.is-fullscreen{grid-template-rows:minmax(0,1fr) 86px}
 .pickup-game.is-fullscreen .pickup-stage{width:min(100%,calc((100dvh - 86px - var(--safe-y)) * 16 / 9))}
 .pickup-game.is-fullscreen .pickup-touch{min-height:86px;padding-top:4px;padding-bottom:4px}
 .pickup-game.is-fullscreen .pickup-joystick{width:76px}.pickup-game.is-fullscreen .pickup-joystick i{width:42px}
 .pickup-game.is-fullscreen .pickup-touch button{width:58px;height:58px}.pickup-game.is-fullscreen .pickup-touch button[data-input="context"]{width:70px;height:70px}
}

/* Keep pause/exit finger-sized and clear of display cutouts. */
.pickup-game .pickup-fullscreen,.pickup-game .pickup-pause{width:44px;height:44px}
.pickup-game .pickup-pause{right:48px}
.pickup-game.is-fullscreen .pickup-fullscreen{right:max(2px,env(safe-area-inset-right));top:max(2px,env(safe-area-inset-top))}
.pickup-game.is-fullscreen .pickup-pause{right:calc(48px + env(safe-area-inset-right));top:max(2px,env(safe-area-inset-top))}
@media(pointer:coarse) and (orientation:portrait){
 .pickup-game.is-fullscreen .pickup-turn:not([hidden]){display:flex;grid-area:court;align-self:end;justify-self:center;align-items:center;gap:6px;margin:0 0 24px;color:#ffdf89;font-size:11px;z-index:6}
}

/* Real asset loading, no artificial delay or fake percentage. */
.pickup-loading{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:radial-gradient(ellipse at center,#113d62,#03152d);color:#ffdf89;text-align:center;padding:12px;pointer-events:auto}
.pickup-loading[hidden]{display:none}
.pickup-loading strong{font:900 clamp(20px,4vw,46px) Archivo,sans-serif;letter-spacing:3px}
.pickup-loading span,.pickup-loading small{font:13px Archivo,sans-serif;color:#e1ebf3}
.pickup-loading progress{width:min(70%,280px);height:10px;accent-color:#e7b351}
.pickup-game[data-art="loading"] .pickup-actions{visibility:hidden}
.pickup-guide{color:#e1ebf3;background:#08243d;padding:14px 16px;border-top:1px solid #48647a;font:13px/1.7 Archivo,sans-serif}
.pickup-guide>strong{color:#ffdf89;letter-spacing:1.5px;font-size:12px}
.pickup-guide p{margin:5px 0}.pickup-guide small{display:block;color:#bdd0df;font-size:11px}
.pickup-guide-touch{display:none}
.pickup-game.is-fullscreen .pickup-guide{display:none}
@media(pointer:coarse){.pickup-guide-desktop{display:none}.pickup-guide-touch{display:block}}
@media(max-width:540px){.pickup-loading{gap:7px}.pickup-loading span,.pickup-loading small{font-size:10px}.pickup-guide{font-size:12px}}
.pickup-game:not(.is-fullscreen){grid-template-areas:"hud" "turn" "court" "feedback" "guide" "touch" "actions" "keys" "help" "sample" "note"}
.pickup-guide{grid-area:guide}

/* Static, prominent start/resume cue; no additional animation loop. */
.pickup-game[data-status="idle"] .pickup-overlay,.pickup-game[data-status="paused"] .pickup-overlay{left:50%;right:auto;top:18%;transform:translateX(-50%);width:max-content;max-width:80%;padding:10px 20px;border:2px solid var(--brass,#C89D6F);border-radius:6px;font-size:clamp(13px,2vw,22px);box-shadow:0 3px 0 #001b2c}
