#host[data-game="volley"]{--accent:#ffc45f;--vb-ink:#182c41;--vb-cream:#fff3ce;--vb-teal:#60e6d5;background:#fed89a;color:var(--vb-cream)}
#host[data-game="volley"] .scene-shade{background:linear-gradient(90deg,#28304428,transparent 64%)}
#host[data-game="volley"][data-stage="playing"] .scene-shade{display:none}
#host[data-game="volley"] #panel{left:clamp(14px,3.4vw,76px);width:min(380px,34vw);max-width:unset;padding:clamp(16px,1.55vw,28px);border:3px solid var(--vb-ink);border-top:7px solid #ffab63;border-radius:6px;background:#fff2d9;color:var(--vb-ink);text-shadow:none;box-shadow:5px 5px 0 #203044b3}
#host[data-game="volley"] #panelLabel{color:#226663;font-weight:850;letter-spacing:.065em}
#host[data-game="volley"] :is(#panelTitle,#gameTitle){color:var(--vb-ink);font-size:clamp(30px,3.4vw,58px);line-height:1.02;letter-spacing:-.052em}
#host[data-game="volley"] #instruction{color:#263c4b;font-size:clamp(14px,1.12vw,18px);line-height:1.37;margin:12px 0 18px}
#host[data-game="volley"] #panel :is(button,a){font-weight:800;border-radius:4px;border:2px solid var(--vb-ink);background:#ffc45f;color:var(--vb-ink);box-shadow:0 3px 0 var(--vb-ink)}
#host[data-game="volley"] #buttons button.secondary,#host[data-game="volley"] #buttons a{background:#b9eede;color:#162f3e;font-size:13px}
#host[data-game="volley"] .roster{background:#ffdfaa;color:var(--vb-ink)}
#host[data-game="volley"] .roster small{color:#1b424c}
#host[data-game="volley"] :is(.readouts span,.icon,.game-locale,#count>div,#helpBox){border:2px solid #354f59;border-radius:4px;background-color:#1e3546;color:#fff2d4}
#host[data-game="volley"] #countNum{color:#ffc45f}
#host[data-game="volley"] #scores{display:none}
#volleyScores{position:absolute;top:max(var(--edge),env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:2;display:grid;grid-template-columns:1fr 1fr;direction:ltr;width:clamp(300px,35vw,650px);color:#fff7df;background:#1c3244;border:3px solid #152a37;border-radius:5px;box-shadow:3px 4px 0 #263b444d;pointer-events:none;overflow:hidden}
.volley-side{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 9px;border-top:5px solid #32bfdf;font-weight:800;min-width:0}
.volley-side[data-side="1"]{flex-direction:row-reverse;text-align:right;border-top-color:#ff7762;border-left:2px solid #7e9297}
.volley-side span{font:750 clamp(13px,1.25vw,23px)/1.15 system-ui;overflow:hidden;text-overflow:ellipsis}
.volley-side strong{color:#ffe39b;font:900 clamp(27px,2.6vw,47px)/1 system-ui;font-variant-numeric:tabular-nums}
#volleyScores small{grid-column:span 2;text-align:center;font:800 clamp(11px,.9vw,15px)/1.45 system-ui;background:#fff0d1;color:#20384b}
.volley-face{width:32px;height:32px;display:inline-block;background:url('../art/volley/portraits.png') no-repeat center/400% 100%;image-rendering:pixelated;vertical-align:middle;flex-shrink:0}
#phone[data-game="volley"]{border:5px solid #142e3c;background:#f8cd8c;color:#203244}
#phone[data-game="volley"] .phone-inner{background:#fff1d4;border:3px solid #203244;box-shadow:5px 5px 0 #203244;border-radius:6px;text-align:center;padding:24px 18px;color:#203244}
#volleyHandPlayer{width:96px;height:96px}
#phone[data-game="volley"] #phoneButtons{justify-content:center}
#phone[data-game="volley"] #phoneButtons button{color:#203244;background:#80ddce;border:2px solid #203244;border-radius:4px;box-shadow:0 3px 0 #203244}
#phone[data-game="volley"] :is(#phoneInfo,#sensorStatus,#phoneKind){color:#34505b}
@media (max-aspect-ratio:1.16){#host[data-game="volley"] #panel{inset:auto 4% max(12px,3vh);width:92%;max-height:calc(100% - 85px);transform:none}#volleyScores{top:calc(var(--edge) + 48px);width:min(90%,480px)}}
@media (max-height:540px) and (min-aspect-ratio:1.16){#host[data-game="volley"] #panel{top:auto;bottom:10px;transform:none;max-height:calc(100% - 60px);padding:12px 15px;width:40vw}#host[data-game="volley"] #instruction{font-size:13px}#host[data-game="volley"] :is(#panelTitle,#gameTitle){font-size:28px}#volleyScores{width:34vw;min-width:205px}}
