/* Same fold-sheet/window lifecycle; V2 replaces only its content geometry. */
body #ponderHandReadPanel[data-hand-read-version="2"] {
  left: var(--phr-left, calc(50% - 160px)) !important;
  width: var(--phr-width, 320px) !important;
  right: auto !important; top: auto !important;
  bottom: var(--phr-bottom, 6px) !important;
  height: 164px !important; min-height: 0 !important;
  max-height: 48vh !important; max-width: calc(100vw - 24px) !important;
  padding: 6px 8px !important; margin: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 21px minmax(0, 1fr) 27px !important;
  gap: 2px !important; overflow: hidden !important;
  border: 1px solid rgba(95,224,237,.56) !important;
  border-radius: 10px !important;
  background: rgba(3,14,23,.95) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.3) !important;
  backdrop-filter: none !important;
}
body #ponderHandReadPanel[data-hand-read-version="2"].active { display: grid !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-head { display:flex; align-items:center; gap:9px; min-width:0; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-title { font-size:11px !important; letter-spacing:.09em !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-street { margin-left:auto; color:#b8cad7; font-size:10px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-close { position:static !important; width:28px !important; height:24px !important; line-height:1; padding:0 !important; display:grid !important; place-items:center; font-size:19px !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-select { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-prompt { font-size:15px; font-weight:700; color:#e4fbff; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-select > span:last-child { color:#9db6c4; font-size:11px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-input { min-height:0; display:grid; grid-template-rows:21px minmax(0,1fr); }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-target-line { display:flex; gap:6px; align-items:center; min-width:0; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-target { max-width:54%; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#78edfa; border:0; border-bottom:1px solid #397683; border-radius:0; background:none; padding:1px 3px; font-size:11px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-announcement { min-width:0; font-size:9px !important; color:#c6d3dc; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-drums { display:flex; align-items:stretch; gap:8px; min-height:0; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-rank-drum { width:60px !important; min-width:60px !important; height:100% !important; min-height:0 !important; padding:0 !important; display:grid !important; grid-template-rows:12px minmax(0,1fr) !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-label { font-size:9px !important; margin:0 !important; line-height:12px !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-drum-window { min-height:0 !important; height:100% !important; max-height:none !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-drum-window button { padding:0 !important; line-height:1 !important; min-height:0 !important; overflow:hidden; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-drum-current { font-size:24px !important; height:24px !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-drum-step { font-size:14px !important; height:16px !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-next-hint { align-self:center; color:#9db6c4; font-size:11px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-options { min-width:0; flex:1; display:flex; flex-wrap:wrap; align-content:center; gap:4px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-toggle { height:25px !important; min-height:25px !important; width:auto !important; padding:1px 7px !important; font-size:10px !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-pocket { align-self:center; color:#93b4c5; font-size:10px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-suits { width:100%; display:flex; gap:3px; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-suit { flex:1; height:27px !important; min-height:27px !important; min-width:0 !important; padding:0 !important; font-size:19px !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-v2-footer { display:flex; justify-content:flex-end; align-items:center; gap:6px; min-width:0; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-error { font-size:9px !important; line-height:1.1 !important; margin:0 !important; min-height:0 !important; flex:1; }
body #ponderHandReadPanel[data-hand-read-version="2"] .phr-submit { height:27px !important; min-height:27px !important; width:auto !important; padding:0 12px !important; font-size:11px !important; letter-spacing:.045em !important; }
body #ponderHandReadPanel[data-hand-read-version="2"] [hidden] { display:none !important; }
body:has(#ponderHandReadPanel[data-hand-read-version="2"]) #ponderHandReadBackdrop { background:transparent !important; backdrop-filter:none !important; }
body.phr-v2-selecting:has(#ponderHandReadPanel[data-hand-read-version="2"]) #ponderHandReadBackdrop { pointer-events:none !important; background:rgba(0,5,12,.72)!important; }
body.phr-v2-selecting .seat.phr-v2-eligible,
body.phr-v2-selecting .seat.phr-v2-eligible :is(.seat-circle,.seat-name,.seat-cards,.card-ui,.seat-player-label,.seat-floating-role,.opponent-action-timer) { cursor:pointer; pointer-events:auto!important; }
.phr-v2-target-ripple { position:absolute; left:50%; top:50%; width:90px; height:90px; box-sizing:border-box; border:2px solid #62e9f5; border-radius:50%; box-shadow:0 0 8px #62e9f566; pointer-events:none; z-index:6; animation:phr-v2-target-ripple 350ms ease-out forwards; }
@keyframes phr-v2-target-ripple { from { transform:translate(-50%,-50%) scale(.4); opacity:.9; } to { transform:translate(-50%,-50%) scale(1.5); opacity:0; } }
@media (min-height:600px) { body #ponderHandReadPanel[data-hand-read-version="2"] { height:185px !important; } }
@media (prefers-reduced-motion:reduce) { .phr-v2-target-ripple { animation-duration:1ms; } }
/* Tap feedback only; receipt/save authority is independent of this bounded visual. */
.phr-v2-lock-ripple{position:fixed;pointer-events:none;width:40px;height:40px;transform:translate(-50%,-50%);animation:phrLockLifetime 650ms linear;z-index:364;}
.phr-v2-lock-ripple::before,.phr-v2-lock-ripple::after{content:"";position:absolute;inset:0;border:3px solid var(--ponder-cyan,#20f7ff);border-radius:50%;animation:phrLockRing 540ms ease-out both;}
.phr-v2-lock-ripple::after{animation-delay:90ms;}
@keyframes phrLockRing{from{transform:scale(.5);opacity:.9;}to{transform:scale(4);opacity:0;}}
@keyframes phrLockLifetime{from{visibility:visible;}to{visibility:visible;}}
