.ddz-risk-options{display:flex;gap:8px}.ddz-risk-options button,.ddz-tools button{border:1px solid #777;border-radius:7px;padding:7px 12px;color:#ddd;background:#162516;cursor:pointer}.ddz-risk-options button.selected{border-color:#ffd700;color:#ffd700}.ddz-confirm{color:#d9d1b4;font-size:12px;line-height:1.7;text-align:center;padding:0 20px}.ddz-stake{font-size:10px;color:#c3b98c;max-width:170px;line-height:1.5}.ddz-tools{display:flex;gap:6px;margin-top:8px}.ddz-tools button{padding:5px 9px;font-size:10px}.ddz-tools button:disabled{opacity:.4}#ddzStatus{color:#c6d4c6;text-align:center;font-size:12px;max-width:90%;min-height:18px}.ov-wait{gap:10px}.ov-bid{bottom:auto;top:8px;left:10px;right:10px;border-radius:16px;padding:14px;box-shadow:0 10px 45px #000;gap:10px}.bid-preview .card{width:28px;height:36px}.ddz-pending .player-hand,.ddz-pending .bottom-cards{animation:ddzWaiting 1s infinite alternate}.ddz-pending .card.sel{box-shadow:0 0 16px #ffcd32}.ddz-pending .wait-icon{animation:bounce .6s infinite}.player-hand{justify-content:flex-start;padding:16px 10px 8px;min-height:78px}.player-hand .card{margin-right:-16px}.player-hand .card:last-child{margin-right:0}.ddz-help{width:min(92vw,450px);max-height:85dvh;border:1px solid #9f893d;border-radius:12px;background:#101d13;color:#ddd;padding:18px;line-height:1.7;font-size:13px}.ddz-help::backdrop{background:#000b}.ddz-help h2{font-size:17px;color:#ffd700;margin-bottom:12px}.ddz-help button{margin-top:14px;padding:8px 22px;background:#ffd700;border:0;border-radius:6px}.res-det{padding:0 16px;white-space:pre-line;line-height:1.7;color:#c6c6b5}.res-big{font-size:52px}.ready-row{display:none!important}.card[role=button]:focus-visible{outline:2px solid #ffd700}.ann-bar{top:51px;height:18px}.opp-row{padding-top:22px}.p-wallet{display:none}.ddz-history{padding:10px 0;border-top:1px solid #555;margin-top:10px;font-size:11px}
@keyframes ddzWaiting{from{opacity:.45;filter:brightness(.8)}to{opacity:1;filter:brightness(1.3)}}
@media (max-height:520px) and (orientation:landscape){.hdr{max-width:none;height:40px}.game-wrap{max-width:none;margin-top:40px;height:calc(100dvh - 40px)}.ann-bar{display:none}.opp-row{position:absolute;inset:0 0 auto;padding:6px 10px;justify-content:space-between}.p-slot{min-width:80px;max-width:22vw}.p-avatar{width:32px;height:32px;font-size:18px}.opp-backs,.opp-last{display:none}.center{min-height:90px;padding:3px 90px}.bottom-area{margin-bottom:0}.bottom-lbl{display:none}.bottom-cards .card.sm{height:25px;width:20px;font-size:8px}.play-cards{min-height:28px}.play-cards .card{height:32px;width:24px;font-size:9px}.play-cards .cr{font-size:10px}.ddz-tools{position:absolute;right:6px;bottom:6px}.turn-txt{font-size:11px;margin-top:0}.self-info{padding:2px 10px}.self-avatar{height:25px;width:25px}.player-hand{min-height:58px;padding:8px 10px 4px;justify-content:center}.player-hand .card{height:44px;width:32px;margin-right:-8px}.actions{padding:4px 12px;max-height:44px}.btn-p,.btn-go{padding:7px;font-size:13px}.ov-bid{left:25%;right:25%;top:4px;padding:8px;gap:5px}.bid-title{font-size:15px}.bid-btns button{padding:8px 18px}.bid-preview{display:none}.ov-wait{gap:5px}.wait-icon{display:none}.btn-restart{padding:9px 30px;margin-top:2px}.res-big{font-size:30px}.ov-result{gap:5px}.res-det{line-height:1.4;font-size:11px}}

/* Keep every card rank and action visible; shared floating tools stay off the hand. */
.player-hand .card{margin-right:calc(var(--ddz-step,20px) - 36px);align-items:flex-start;padding-left:3px}.player-hand .card:last-child{margin-right:0}
.game-wrap #cw-root{bottom:260px;left:8px;width:110px;max-width:110px}.game-wrap #cw-strip{height:30px}.game-wrap #cw-panel{height:45dvh}
#gc-cs-btn{top:calc(50% - 34px)!important;right:4px!important;left:auto!important;bottom:auto!important}
#yy9UnifiedAnnounceBar{top:51px!important;width:min(75vw,320px)!important}
@media(max-height:520px) and (orientation:landscape){.player-hand .card{width:36px;margin-right:calc(var(--ddz-step,28px) - 36px)}.player-hand .card:last-child{margin-right:0}.game-wrap #cw-root{bottom:175px}.game-wrap #cw-panel{height:42dvh}.ddz-tools{right:auto;left:50%;transform:translateX(-50%)}#yy9UnifiedAnnounceBar{top:41px!important}}

.player-hand{gap:0}

/* Phone hands use two touchable rows instead of covered card hit targets. */
.player-hand{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:12px 2px;overflow:visible;padding:14px 10px 6px;min-height:72px}.player-hand .card{width:100%;margin-right:0!important;align-items:center;padding-left:0}
@media(max-height:520px) and (orientation:landscape){.player-hand{display:flex;flex-wrap:nowrap;justify-content:center;gap:2px;min-height:58px;padding:8px 10px 4px}.player-hand .card{flex:0 0 34px;width:34px}}
