.square {
  aspect-ratio: 1;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  line-height: 1.2;
  font-size: clamp(12px, 3.5vw, 18px);
  word-break: break-word;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
}

.square.medium-text {
  font-size: clamp(11px, 3vw, 16px);
}

.square.small-text {
  font-size: clamp(10px, 2.6vw, 14px);
}

.square.active {
  background: #4caf50;
  color: white;
}

.square.free {
  background: #ffd54f;
  color: #333;
  font-weight: bold;
  cursor: default;
}