.hand.open{background:linear-gradient(145deg,#5d6680,#363e55);border-color:#ffffff38;box-shadow:inset 0 0 0 1px #ffffff14,0 6px 16px #0004}
.hand.open span{opacity:.9}
.hand.open.found{background:linear-gradient(145deg,#8a6d2c,#3e2f12);border-color:#ffe38b99;box-shadow:0 0 18px #d8b45b66}
.team-members{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.members-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border:1px solid #ffffff0f;border-radius:15px}
.members-card h3{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0;font-size:13px}
.members-card h3 span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.members-card h3 b{display:grid;min-width:22px;height:22px;place-items:center;border-radius:8px;background:#0003;font-size:11px}
.members-card ul{display:flex;flex-direction:column;gap:5px;margin:0;padding:0;list-style:none}
.members-card li{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:6px 8px;border-radius:10px;background:#0000002e;color:#fff;font-size:13px;font-weight:700}
.members-card li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.members-card li.empty{justify-content:center;color:#ffffff70;font-size:11px;font-weight:600}
.members-card li button{flex:none;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#ffffff14;color:#ff9a9a;font-size:14px;line-height:1;cursor:pointer}
.members-card form{display:flex;gap:5px}
.members-card input{flex:1;min-width:0;padding:7px 9px;border:1px solid #ffffff1c;border-radius:10px;background:#0000003a;color:#fff;font:inherit;font-size:13px}
.members-card form button{flex:none;width:34px;border:0;border-radius:10px;color:#10181f;font-size:17px;font-weight:900;cursor:pointer}
.members-card.green form button{background:#74e9af}
.members-card.yellow form button{background:#ffdf87}

/* whose turn (tap to switch) */
.turn-bar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;width:100%;margin:-6px 0 14px;padding:10px 12px;border-radius:16px;border:2px solid currentColor;background:#0b1220cc;font:inherit;cursor:pointer;animation:turnGlow 1.6s ease-in-out infinite}
.turn-bar.green{color:#74e9af}.turn-bar.yellow{color:#ffdf87}
.turn-bar small{font-size:12px;font-weight:800;color:#ffffffc0}
.turn-bar b{font-size:20px;font-weight:900}
.turn-bar span{font-size:12px;color:#ffffffd0;font-weight:700}
.turn-bar em{flex-basis:100%;font-style:normal;font-size:11px;color:#ffffff80;font-weight:700}
.turn-bar:active{transform:scale(.98)}
@keyframes turnGlow{50%{box-shadow:0 0 18px currentColor}}
.score label.on-turn{outline:3px solid currentColor;outline-offset:2px;transform:scale(1.04);transition:transform .2s}
