#host[data-game="basket"] {
  --accent: #ffb467;
  background: #253e3e;
}
#host[data-game="basket"] .scene-shade {
  background: linear-gradient(90deg,#192e32b8, #192e323b 44%,transparent 65%);
}
#host[data-game="basket"][data-stage="playing"] .scene-shade {display:none}
#host[data-game="basket"] #panel {
  width:min(37vw,470px); max-width:none; left:clamp(18px,5vw,92px);
  padding:clamp(22px,2.7vw,42px); color:#fff3d7;
  background:#193737f7; border:3px solid #9dad94; border-top:7px solid var(--accent);
  border-radius:0; box-shadow:5px 6px 0 #1c292cad,inset 0 0 0 2px #2b4a48; text-shadow:none;
}
#host[data-game="basket"] .panel-copy {position:relative}
#host[data-game="basket"][data-stage="intro"] .panel-copy::before {
  content:""; position:absolute; right:0; top:1.6em; width:clamp(40px,5vw,74px); aspect-ratio:1;
  background:url('../art/hoops/club-badge.png') center/contain no-repeat; image-rendering:pixelated;
}
#host[data-game="basket"] #gameTitle {
  font:italic 900 clamp(34px,3.9vw,64px)/.95 system-ui,sans-serif; letter-spacing:-.045em;
  margin:14px 0; max-width:76%; color:#ffe6be;
}
#host[data-game="basket"] #gameTitle img {display:block;width:min(100%,240px);image-rendering:pixelated}
#host[data-game="basket"] #panelLabel {color:#f4cc97;letter-spacing:.08em}
#host[data-game="basket"] #instruction {font-size:clamp(16px,1.42vw,21px);line-height:1.4}
#host[data-game="basket"] #panelTitle {font-size:clamp(26px,3.25vw,52px)}
#host[data-game="basket"] :is(#panel button,#panel a,.icon,.game-locale,#count>div,#helpBox,.readouts span) {border-radius:3px}
#host[data-game="basket"] :is(.icon,.game-locale,.readouts span) {background-color:#193737f7}
#host[data-game="basket"] #count>div {border-top:4px solid var(--accent);background:#193737f2}
#host[data-game="basket"] .bottom-hud {width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#phone[data-game="basket"] {
  border:5px solid var(--phone-color);
  background:repeating-linear-gradient(90deg,#193737 0 34px,#1c3b39 34px 68px);
}
#phone[data-game="basket"] .phone-inner {text-align:center;color:#fff4d8}
#basketHandPlayer {
  display:inline-block;width:96px;height:96px;background-image:url('../art/hoops/portraits.png');
  background-size:400% 100%;image-rendering:pixelated;border-bottom:3px solid var(--phone-color);
}
#phone[data-game="basket"] #phoneButtons {justify-content:center}
#phone[data-game="basket"] #phoneButtons button {color:#152e30;background:#ffb467;border-radius:3px}
#phone[data-game="basket"] #phoneButtons .secondary {background:#294944;color:#fff4d8}
@media(max-aspect-ratio:1.16) {
  #host[data-game="basket"] #panel {inset:auto 5% max(3vh,10px);transform:none;width:90%;max-height:calc(100% - 75px);padding:clamp(15px,3.4vw,28px)}
  #host[data-game="basket"] #gameTitle img {width:min(37vw,160px)}
  #host[data-game="basket"] .scene-shade {background:linear-gradient(to top,#193737aa,transparent 63%)}
}
@media(max-height:540px) and (min-aspect-ratio:1.16) {
  #host[data-game="basket"] #panel {padding:12px 16px;left:2vw;width:42vw;max-height:calc(100% - 54px)}
  #host[data-game="basket"] #gameTitle img {width:min(22vw,145px)}
  #host[data-game="basket"] #instruction {font-size:14px}
}
