/*! Copyright (c) 1988-2026 Daniel Hedrick. ChesSphere(TM). m0198: the small "open the poles" control inside the game view. Every rule is scoped to #poleBtn and #poleTip. */
#poleBtn{position:fixed;z-index:30;width:44px;height:44px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;
  background:radial-gradient(circle at 50% 35%,#1a2650 0%,#0d1430 70%);border:1.5px solid #c9a65a;color:#dcc17c;box-shadow:0 6px 18px -8px rgba(0,0,0,.85),0 0 0 0 rgba(255,190,90,.0);-webkit-tap-highlight-color:transparent;font:inherit}
#poleBtn.hidden{display:none}
#poleBtn svg{width:30px;height:30px;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#poleBtn svg .pl{fill:#ffd98a;stroke:none}
#poleBtn svg .ray{stroke:#ffb050;stroke-width:1.6}
#poleBtn[data-s=ready]{animation:poleBtnPulse 2.6s ease-in-out infinite}
#poleBtn[data-s=ready]:hover,#poleBtn[data-s=ready]:focus-visible{border-color:#ffd98a;color:#fff0c8;outline:2px solid rgba(255,217,138,.55);outline-offset:2px}
#poleBtn[data-s=off]{opacity:.45;filter:grayscale(.7);cursor:not-allowed;border-color:#4a5578;color:#8e98b8}
#poleBtn[data-s=open]{cursor:default;border-color:#ffb050;color:#ffe3a8;box-shadow:0 0 14px 2px rgba(255,160,60,.55)}
#poleBtn[data-s=open] svg .pl{fill:#fff2c8}
@keyframes poleBtnPulse{0%,100%{box-shadow:0 6px 18px -8px rgba(0,0,0,.85),0 0 0 0 rgba(255,190,90,.0)}50%{box-shadow:0 6px 18px -8px rgba(0,0,0,.85),0 0 0 7px rgba(255,190,90,.22)}}
@media (prefers-reduced-motion:reduce){#poleBtn[data-s=ready]{animation:none}}
#poleTip{position:fixed;z-index:31;max-width:230px;padding:8px 11px;border-radius:10px;background:#101832;border:1px solid #2b3760;color:#ece6d6;font:500 13px/1.35 Inter,system-ui,sans-serif;box-shadow:0 10px 26px -12px rgba(0,0,0,.9);pointer-events:none}
#poleTip.hidden{display:none}
body.in-xr #poleBtn,body.in-xr #poleTip{display:none}
