/* match-guard.js: last placement ring, connection banner; game.js focus colour */
#colorlink-game button[data-cell].cc-last-move {position:relative}
#colorlink-game button[data-cell].cc-last-move::after {
  content:'';position:absolute;inset:8%;border-radius:50%;pointer-events:none;z-index:4;
  border:2.5px solid #fff;box-shadow:0 0 0 2px rgba(8,14,26,.62),0 0 10px 2px rgba(255,255,255,.55);
  animation:cc-last-move 1.1s ease-out 1;
}
@keyframes cc-last-move {0% {transform:scale(1.7);opacity:0} 45% {opacity:1} 100% {transform:scale(1)}}
#colorlink-game .focus-dim {opacity:.2!important;filter:saturate(.4)}
html:root[data-design] .btn.focus-color-toggle {font-size:.78rem;padding-inline:10px;white-space:nowrap}
.cc-connection-banner {
  position:fixed;left:50%;top:calc(max(8px,env(safe-area-inset-top)) + 52px);transform:translateX(-50%);z-index:60;
  max-width:calc(100vw - 32px);margin:0;padding:8px 14px;border-radius:10px;
  background:#7a1f2b;color:#fff;font-size:.85rem;font-weight:700;line-height:1.35;text-align:center;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
@media (prefers-reduced-motion:reduce) {#colorlink-game button[data-cell].cc-last-move::after {animation:none}}
