.sg-status{color:#e4c8ff;font-size:12px;min-height:34px;line-height:1.5;text-align:center;padding:3px 4px}
.sg-status[aria-busy=true]::after{content:' ···';animation:sgPulse .6s alternate infinite}
.sg-pending .card.back{animation:sgPulse .6s alternate infinite}
@keyframes sgPulse{to{opacity:.35;transform:translateY(-3px)}}
.sg-tools{display:flex;gap:6px}.sg-tools button{flex:1;border:1px solid #9c66c588;background:#2a1342;color:#d8b5f2;border-radius:7px;padding:7px;min-height:34px}
button{touch-action:manipulation}button:active{filter:brightness(1.25)}
.ann-bar{display:none}.p-row{padding-top:20px}.res-det{white-space:pre-line;color:#cbb8db}.ready-row{display:none!important}
.sg-dialog{margin:auto;width:min(90vw,480px);max-height:80dvh;overflow:auto;background:#1a0b2c;color:#f4e7ff;border:1px solid #aa76d6;border-radius:14px;padding:24px;line-height:1.7}
.sg-dialog::backdrop{background:#000b}.sg-dialog h3{margin-right:25px}.sg-dialog-body{white-space:pre-wrap;font-size:13px;margin-top:14px}.sg-close{position:absolute;top:8px;right:8px;border:0;background:#ffffff15;color:white;width:30px;height:30px;border-radius:50%}
.self-result{font-size:14px}.s-av{overflow:hidden}.bet-lbl{color:#c8a7e2}
@media(min-width:700px) and (orientation:landscape){
 .hdr{max-width:1100px}.gw{max-width:1100px;display:grid;grid-template-columns:1.15fr 1fr;grid-template-rows:auto 1fr;gap:0 10px;padding:0 48px 5px}
 .p-row{grid-column:1;grid-row:1;padding:12px 0 0}.bk-zone{grid-column:1;grid-row:2;padding:0}.self-area{grid-column:2;grid-row:1}.bet-area{grid-column:2;grid-row:2;padding:4px 8px;gap:4px;align-self:start}
 .chip-btn{padding:6px 2px}.btn-deal{padding:8px}.sg-status{min-height:30px}.p-slot{min-width:0}.sg-tools button{min-height:30px;padding:4px}
 .p-slot{gap:1px}.p-av{width:32px;height:32px}.p-cards{min-height:34px}.card.sm{height:32px;width:23px}.p-result{min-height:14px}
}
@media(max-height:700px) and (orientation:portrait){.p-row{padding-top:8px}.p-av{width:32px;height:32px}.p-cards{min-height:34px}.card.sm{height:32px;width:23px}.bk-zone{padding:0;gap:0}.bk-cards{min-height:44px}.bk-zone .card{height:42px}.bk-lbl{min-height:20px;font-size:15px}.self-row{padding:3px 10px}.self-hand{min-height:42px}.self-hand .card{height:42px}.self-gong{min-height:16px;font-size:12px}.sg-status{min-height:30px}.chip-btn{padding:6px}.btn-deal{padding:8px}.bet-area{gap:3px;padding:4px 12px}}
