/* Poker 51 v0.2 — betting controls, pot line and Riemann's read. Loaded after poker-51-v0-1.css. */
body[data-game=poker] .poker-pot{text-align:center;font:600 13px/1.3 system-ui;letter-spacing:.06em;color:var(--a51-gold);min-height:18px}
body[data-game=poker] .poker-controls{flex-wrap:wrap;justify-content:center;gap:8px}
body[data-game=poker] .poker-controls .cg51-button{min-width:0;flex:0 1 auto;white-space:normal}
body[data-game=poker] .poker-read-panel{margin-top:12px}
body[data-game=poker] .poker-read p{font:13px/1.5 system-ui;color:#ccdbc2;margin:.4rem 0 0}
body[data-game=poker] .a51-rule-card table{max-width:100%;display:block;overflow-x:auto}
@media (max-width:420px){body[data-game=poker] .poker-controls .cg51-button{flex:1 1 calc(50% - 8px)}}
/* A stable slot keeps the table still while Riemann considers a decision. */
body[data-game=poker] .poker-presence{display:flex;align-items:center;justify-content:center;gap:10px;min-height:88px;margin:2px 0 7px}
body[data-game=poker] .poker-thinking-slot{min-height:80px;max-width:230px;min-width:0;display:grid;align-items:center}
body[data-game=poker] .poker-avatar{width:46px;height:46px;flex:0 0 46px;overflow:visible}
body[data-game=poker] .poker-avatar-orbit{fill:none;stroke:#e4c27744;stroke-width:1;stroke-dasharray:7 5;transform-origin:26px 26px}
body[data-game=poker] .poker-avatar-aerial{fill:none;stroke:#e4c277;stroke-width:1.5}
body[data-game=poker] .poker-avatar-head{fill:#183b36;stroke:#a2d9c3;stroke-width:1.4}
body[data-game=poker] .poker-avatar-brow,body[data-game=poker] .poker-avatar-smile{fill:none;stroke:#e4c277;stroke-width:1.5;stroke-linecap:round}
body[data-game=poker] .poker-avatar-eyes{fill:#c3f2df;transform-origin:26px 25px}
body[data-game=poker] .poker-avatar-tie,body[data-game=poker] .poker-avatar-light{fill:#e4c277}
body[data-game=poker] .is-thinking .poker-avatar-orbit{stroke:#e4c277;animation:poker51-orbit 5s linear infinite}
body[data-game=poker] .is-thinking .poker-avatar-eyes{animation:poker51-look 1.3s ease-in-out infinite}
body[data-game=poker] .poker-quip{padding:6px 10px;border:1px solid #a2d9c333;border-radius:12px 12px 12px 3px;background:#102b2866;color:#d6e8dc;font:12px/1.35 system-ui}
body[data-game=poker] .poker-quip[hidden]{display:none}
body[data-game=poker] .poker-thinking{display:inline-flex;flex-direction:column;align-items:center;gap:5px;padding:6px 11px;border:1px solid #e4c27766;border-radius:14px;background:#e4c27714;color:var(--a51-gold);font:11px/1.3 system-ui}
body[data-game=poker] .poker-thinking[hidden]{display:none}
body[data-game=poker] .poker-thinking-dots{display:inline-flex;gap:3px;margin-left:7px}
body[data-game=poker] #riemann-german{display:block;margin-top:4px;color:#b7cdbc;font:italic 10.5px/1.3 system-ui}
body[data-game=poker] #riemann-quip-source{display:block;margin-top:3px;color:#d9c58f;font:9px/1.3 system-ui;text-decoration:none}
body[data-game=poker] #riemann-german[hidden],body[data-game=poker] #riemann-quip-source[hidden],body[data-game=poker] #riemann-thinking-note[hidden]{display:none}
body[data-game=poker] .poker-thinking-dots i{width:3px;height:3px;border-radius:50%;background:currentColor;animation:poker51-think 1s ease-in-out infinite}
body[data-game=poker] .poker-thinking-dots i:nth-child(2){animation-delay:.16s}
body[data-game=poker] .poker-thinking-dots i:nth-child(3){animation-delay:.32s}
@keyframes poker51-think{0%,75%,100%{opacity:.3}35%{opacity:1}}
@keyframes poker51-orbit{to{transform:rotate(360deg)}}
@keyframes poker51-look{0%,100%{transform:translateX(-1px)}50%{transform:translateX(1px)}}
@media(prefers-reduced-motion:reduce){body[data-game=poker] .poker-thinking-dots i,body[data-game=poker] .is-thinking .poker-avatar-orbit,body[data-game=poker] .is-thinking .poker-avatar-eyes{animation:none;opacity:1}}
