.alkkagi-hud {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.alkkagi-player-info {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, opacity 0.3s, border-color 0.3s, box-shadow 0.3s;
  opacity: 0.5;
}
.alkkagi-player-info.active {
  border-color: #ffeb3b;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 235, 59, 0.42), inset 0 0 14px rgba(255, 235, 59, 0.08);
}

.ak-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  border: 2px solid #fff;
}
.omok-player-info .ak-name {
  font-weight: bold;
  color: white;
  font-size: 16px;
}
.omok-player-info .ak-turn-indicator {
  display: none;
  color: #ffeb3b;
  font-size: 12px;
  margin-left: 10px;
  animation: akBounce 1s infinite alternate;
}
.omok-player-info.active .ak-turn-indicator {
  display: inline-block;
}

@keyframes akBounce {
  from { transform: translateX(0); }
  to { transform: translateX(-5px); }
}

.alkkagi-board-wrapper {
  position: relative;
  width: 600px;
  height: 600px;
  box-shadow: 0 14px 45px rgba(0,0,0,0.82), 0 3px 0 #2d160b;
  border-radius: 12px;
  background: #8b5429;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.alkkagi-board-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  border: 7px solid rgba(72, 35, 15, 0.92);
  border-radius: 10px;
  box-shadow: inset 0 0 0 2px rgba(255, 222, 153, 0.5), inset 0 0 18px rgba(35, 12, 3, 0.58);
  box-sizing: border-box;
}

#alkkagiCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  touch-action: none;
  border-radius: 10px;
  cursor: grab;
}

#alkkagiCanvas:active { cursor: grabbing; }

#alkkagiTimerBox {
  font-size: 24px;
  font-weight: 900;
  color: #ff9800;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 20px;
  border: 2px solid #ff9800;
}
